]> sourceware.org Git - glibc.git/blame - ChangeLog
(_EXTERN_INLINE): Remove. Use static __inline instead of _EXTERN_INLINE.
[glibc.git] / ChangeLog
CommitLineData
0232a3ae
AJ
12000-08-23 Andreas Jaeger <aj@suse.de>
2
3 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
4 lr_error.
5
39d4e06f
AJ
62000-08-23 Jakub Jelinek <jakub@redhat.com>
7
8 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
9 __setrlimit as strong name. Takes only 2 arguments.
10
11 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
12 takes only 2 arguments.
13
84056c71
AJ
142000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
15
ea18f670
AJ
16 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
17
84056c71
AJ
18 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
19
4b156cb2
UD
202000-08-23 Ulrich Drepper <drepper@redhat.com>
21
22 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
23 default_missing character being specified, pick the first
24 representable.
25
d6585e0b
AJ
262000-08-23 Andreas Jaeger <aj@suse.de>
27
28 * include/wchar.h: Add some pure attributes.
29
30 * time/time.h: Add const attribute for dysize.
31
32 * include/stdlib.h: Add malloc attribute to __posix memalign.
33
34 * stdlib/stdlib.h: Add some pure and malloc attributes.
35 * wcsmbs/wchar.h: Likewise.
36
37 * dirent/dirent.h: Add some pure attributes.
38 * include/dirent.h: Likewise.
39
24c7f4c1
UD
402000-08-23 Jakub Jelinek <jakub@redhat.com>
41
42 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
43 on 64bit arches.
44
4cee32dd
UD
452000-08-22 Ulrich Drepper <drepper@redhat.com>
46
47 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
48 missing buffer size checks.
49
b4246fd6
UD
502000-08-23 Andreas Jaeger <aj@suse.de>
51
7e7b6007
AJ
52 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
53 strong name.
54 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
55
b4246fd6
UD
56 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
57 otherwise __LINUX_KERNEL_VERSION might not be defined.
58 (MIN): Define if not already defined.
59
dc63ee35
UD
602000-08-22 Ulrich Drepper <drepper@redhat.com>
61
6c46718f
UD
62 * stdio-common/vfprintf.c: Handle %F format.
63 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
64 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
65
66 * stdio-common/tstdiomisc.c: Add test for %F printf format.
67
68 * po/zh.po: New file.
69
cf970a32
UD
70 * iconvdata/sjis.c: In conversion from UCS4, correct test for
71 enough room in target buffer.
72 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
73 * iconvdata/bug-iconv1.c: New file.
74 * iconvdata/Makefile (tests): Add bug-iconv1.
75
dc63ee35
UD
76 * locale/iso-4217.def: Update entry for Nicaragua.
77
64659255
MK
782000-08-22 Mark Kettenis <kettenis@gnu.org>
79
80 * hurd/hurdsig.c: Rearrange headers a bit.
81 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
82 when cthreads is being used.
83
ea83223c
UD
842000-08-22 Ulrich Drepper <drepper@redhat.com>
85
32b4fe6a
UD
86 * elf/Makefile (distribute): Add dl-osinfo.h.
87 * sysdeps/generic/dl-osinfo.h: New file.
88 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
89 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
90 if defined.
91 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
84056c71 92 only for !SHARED case. Get the code from dl-osinfo.h.
32b4fe6a 93
ea83223c
UD
94 * stdlib/random_r.c: Cleanups.
95 * stdlib/tst-random.c: New file.
96 * stdlib/Makefile (tests): Add tst-random.
97 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
98
84056c71 992000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
26830935 100
ea83223c
UD
101 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
102 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
103 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
104 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
26830935 105
8859f576
UD
1062000-08-22 Jakub Jelinek <jakub@redhat.com>
107
108 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
109 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
110 (__syscall__sysctl): Add.
111
fe615dce
AJ
1122000-08-21 Andreas Jaeger <aj@suse.de>
113
114 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
115 libc/1864).
116 * stdlib/tst-strtoll.c: Likewise.
117
ce19d417
UD
1182000-08-21 Ulrich Drepper <drepper@redhat.com>
119
faa57563
UD
120 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
121 correctly.
122 (__initstate_r): Set errno on error.
123 (__random_r): Likewise.
124 (__setstate_r): Correct offset when computing
125 new rptr and fptr. Test for arg_state being NULL.
126 Reported by Michael Fischer <fischer@cs.yale.edu>.
7ca404ad
UD
127
128 * posix/regex.h: Add macro definitions to allow compiling outside
129 glibc.
130
63336471
UD
131 * sysdeps/i370/Implies: Removed.
132 * sysdeps/mvs/Implies: Removed.
133
134 * catgets/catgets.c (catopen): Filter out env_var values with / if
135 necessary.
136
137 * locale/findlocale.c (_nl_find_locale): Move test for unusable
138 locale name after all getenvs.
139
ce19d417
UD
140 * configure.in: Allow sed versions like 3.02.8.
141 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
142
959eb65d
UD
1432000-08-21 Marko Myllynen <myllynen@lut.fi>
144
145 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
146
9ca00c5b
UD
1472000-08-21 Ulrich Drepper <drepper@redhat.com>
148
fb7268b2
UD
149 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
150 of gethostbyname2_r call.
151
9ca00c5b
UD
152 * intl/locale.alias: Add aliases for Korean.
153
84056c71 1542000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
b7d2cec0 155
b6341471
AJ
156 * sysdeps/s390/__longjmp.c: Remove unused variable result.
157 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
b7d2cec0
AJ
158 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
159 * sysdeps/s390/fpu/fegetenv.c: New file.
160 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
161 * sysdeps/s390/fpu/feholdexcpt.c: New file.
162 * sysdeps/s390/fpu/fenv_libc.h: New file.
163 * sysdeps/s390/fpu/fesetenv.c: New file.
164 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
165 * sysdeps/s390/fpu/feupdateenv.c: New file.
166 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
167 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
168 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
169 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
170 * sysdeps/s390/fpu/ftestexcept.c: New file.
171 * sysdeps/s390/fpu/libm-test-ulps: New file.
172 * sysdeps/s390/gmp-mparam.h: Add end of comment.
173 * sysdeps/s390/initfini.c: New file.
174 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
175 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
176 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
177 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
b6341471 178 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
b7d2cec0
AJ
179 sys/procfs.h as proposed by Mark Kettenis.
180 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
181
d4b0774f
AJ
1822000-08-21 Andreas Jaeger <aj@suse.de>
183
184 * include/poll.h: Include include/sys/poll.h to get __poll
185 declaration.
186
187 * io/sys/poll.h: Move __poll declaration from here...
188 * include/sys/poll.h: ...to here.
189
190 * include/sys/socket.h (__getpeername): Add declaration.
191
192 * include/wchar.h (__vswprintf): Add declaration.
193
194 * include/stdio.h (__flockfile): Add declaration.
195 (__funlockfile): Likewise.
196
a785f6c5
UD
1972000-08-20 Ulrich Drepper <drepper@redhat.com>
198
98cbe360
UD
199 * misc/sys/cdefs.h: Define __restrict_arr.
200 * include/sys/time.h: Add restrict where required by AGd4.
201 * inet/arpa/inet.h: Likewise.
202 * io/sys/stat.h: Likewise.
203 * io/sys/statvfs.h: Likewise.
204 * misc/search.h: Likewise.
205 * misc/sys/select.h: Likewise.
206 * posix/glob.h: Likewise.
207 * posix/regex.h: Likewise.
208 * posix/spawn.h: Likewise.
209 * posix/unistd.h: Likewise.
210 * rt/aio.h: Likewise.
211 * signal/signal.h: Likewise.
212 * socket/sys/socket.h: Likewise.
213 * stdlib/ucontext.h: Likewise.
214 * streams/stropts.h: Likewise.
215 * string/string.h: Likewise.
216 * time/time.h: Likewise.
217 * time/sys/time.h: Likewise.
218
219 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
220 and posix_spawnattr_setscheparam.
221
222 * libio/stdio.h: Make cuserid prototype again available for all
223 XPG versions.
224
4aebaa6b
UD
225 * argp/argp-help.c: Unify use of function aliases to make more compact
226 PLT.
227 * include/libintl.h: Likewise.
228 * inet/rcmd.c: Likewise.
229 * intl/dcigettext.c: Likewise.
230 * libio/iofputws.c: Likewise.
231 * libio/iofputws_u.c: Likewise.
232 * libio/iogetwline.c: Likewise.
233 * libio/swprintf.c: Likewise.
234 * malloc/malloc.c: Likewise.
235 * nss/digits_dots.c: Likewise.
236 * posix/fnmatch.c: Likewise.
237 * posix/spawn_faction_addclose.c: Likewise.
238 * posix/spawn_faction_adddup2.c: Likewise.
239 * posix/spawn_faction_addopen.c: Likewise.
240 * posix/spawni.c: Likewise.
241 * posix/wordexp.c: Likewise.
242 * posix/spawni.c: Likewise.
243 * resolv/res_hconf.c: Likewise.
244 * resolv/res_init.c: Likewise.
245 * shadow/lckpwdf.c: Likewise.
246 * signal/sighold.c: Likewise.
247 * signal/sigrelse.c: Likewise.
248 * stdio-common/printf-parse.h: Likewise.
249 * stdio-common/printf-prs.c: Likewise.
250 * stdio-common/printf_fp.c: Likewise.
251 * stdio-common/vfprintf.c: Likewise.
252 * stdio-common/vfscanf.c: Likewise.
253 * stdlib/rpmatch.c: Likewise.
254 * sunrpc/create_xid.c: Likewise.
255 * sunrpc/key_call.c: Likewise.
256 * sysdeps/generic/setrlimit64.c: Likewise.
257 * sysdeps/generic/utmp_file.c: Likewise.
258 * sysdeps/generic/vlimit.c: Likewise.
259 * sysdeps/posix/posix_fallocate.c: Likewise.
260 * sysdeps/posix/posix_fallocate64.c: Likewise.
261 * sysdeps/posix/sigpause.c: Likewise.
262 * sysdeps/posix/sigset.c: Likewise.
263 * sysdeps/unix/grantpt.c: Likewise.
264 * sysdeps/unix/bsd/ualarm.c: Likewise.
265 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
266 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
267 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
268 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
269 * time/strftime.c: Likewise.
270 * wcsmbs/wcscoll.c: Likewise.
271 * wcsmbs/wcsxfrm.c: Likewise.
272
a785f6c5
UD
273 * time/tst-getdate.c (main): Make error messages more human readable.
274
4aebaa6b
UD
275 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
276 postinc/predec instruction.
a785f6c5
UD
277 (_FPU_SETCW): Likewise.
278 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
279
7a66c585
AJ
2802000-08-20 Andreas Jaeger <aj@suse.de>
281
282 * time/tst-getdate.c (main): Increase error in case of wrong
283 conversion.
284 Fix typo in test case.
285
2f599545
UD
2862000-08-20 Ulrich Drepper <drepper@redhat.com>
287
00d8bc81
UD
288 * ctype/ctype.h (isblank): Make available if ISO C99.
289 * wctype/wctype.h (iswblank): Make available if ISO C99.
290 * math/math.h (signgam): Don't make available if ISO C99.
291 * math/tgmath.h (tgamma): Renamed from gamma.
292 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
293
2f599545
UD
294 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
295 Pretty printing.
296 * intl/plural.y (new_exp): Take number of optional parameters in
297 second parameter. Test for correct number of parameters and free
298 correctly in case of failure. Adjust all callers.
299 (yylex): Allow ';' as terminator character.
300
6145e823
UD
3012000-08-19 Ulrich Drepper <drepper@redhat.com>
302
9b02e868
UD
303 * locale/lc-time.c (free_mem): New function. Free alt_digits and
304 walt_digits.
305
f1ba489e
UD
306 * locale/findlocale.c (free_mem): Also free here->filename.
307
308 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
309
6145e823
UD
310 * math/test-fenv.c (feenv_tests): Clear all exceptions before
311 first test.
312 (feexcp_nomask_test): Correct printf args.
313 (feexcp_mask_test): Likewise.
314
60f0e64b
UD
3152000-08-19 Andreas Jaeger <aj@suse.de>
316
03ae3c1e
AJ
317 * inet/tst-gethnm.c: Include string.h to provide prototype for
318 strcmp.
319
60f0e64b
UD
320 * malloc/mtrace.pl (usage): Inform about --help.
321
3222000-08-19 Wolfram Gloger <wg@malloc.de>
323
f1ba489e 324 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
60f0e64b
UD
325 size HEAP_MAX_SIZE.
326
3272000-08-19 Andreas Jaeger <aj@suse.de>
328
329 * shlib-versions: Remove libnss_db, libdb and libdb1.
330
3312000-08-19 Jakub Jelinek <jakub@redhat.com>
332
333 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
334 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
335 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
336 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
337 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
338 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
339 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
340 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
341 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
342 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
343 getdents.
344 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
345 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
346
3472000-08-18 Jakub Jelinek <jakub@redhat.com>
348
349 * include/glob.h (__glob64): Add prototype.
350 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
351 define glob and glob_in_dir.
352 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
353 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
354 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
355 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
356 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
357 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
358 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
359 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
360
3612000-08-18 Jakub Jelinek <jakub@redhat.com>
362
363 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
364
3652000-08-17 Andreas Jaeger <aj@suse.de>
366
367 * math/test-fenv.c (fe_single_test): New function.
368 (fe_env_tests): Use fe_single_test.
369 (feenable_test): New tests for feenable/fedisable and
370 fegetexcpetions.
371 (feexcp_mask_test): New function.
372 (feexcp_nomask_test): New function.
373
3742000-08-19 Richard Henderson <rth@cygnus.com>
375
376 * sysdeps/alpha/fpu/fenv_libc.h: New file.
377 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
378 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
379 * sysdeps/alpha/fpu/fesetround.c: Likewise.
380 * sysdeps/alpha/fpu/fegetround.c: Likewise.
381 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
382 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
383 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
384 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
385 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
386 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
387 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
388 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
389 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
390 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
391 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
392 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
393
f3322bec
AJ
3942000-08-19 Andreas Jaeger <aj@suse.de>
395
396 * elf/constload1.c: Include <stdio.h> for puts prototype.
397
752a2a50
UD
3982000-08-19 Ulrich Drepper <drepper@redhat.com>
399
400 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
401 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
402 a dynamically loaded object remove old l_initfini list.
403 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
404 remove some dynamically allocated memory blocks in the dynamic
405 loading data structures.
406 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
407 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
408 Instead call _dl_check_map_versions only for the dependencies.
409 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
410 information of initial objects as not free-able.
411 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
412 element.
413
414 * elf/filter.c: Call mtrace.
415 * elf/restest1.c: Likewise. Close the objects.
416 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
417 debug information.
418
419 * elf/constload1.c: Add comment explaining not freed memory.
420
a0c9a28b
AJ
4212000-08-18 Andreas Jaeger <aj@suse.de>
422
423 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
424 alignment for structs stat and stat64.
425 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
426
de9bd685
UD
4272000-08-17 Ulrich Drepper <drepper@redhat.com>
428
09970c4e
UD
429 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
430 handling. Patch by Richard Henderson <rth@twiddle.net>.
431
de9bd685
UD
432 * nss/Versions: Remove libnss_db information.
433
4c4b9518
UD
4342000-08-16 Jakub Jelinek <jakub@redhat.com>
435
436 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
437 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
438 * sysdeps/sparc/fpu/fegetexcept.c: New file.
439 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
440
441 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
442 to match Solaris.
443
0f6b172f
UD
4442000-08-17 Ulrich Drepper <drepper@redhat.com>
445
319b400b
UD
446 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
447 (_FPU_SETCW): Likewise.
448 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
449
0f6b172f
UD
450 * stdio-common/printf_fp.c: Fix chars_needed computation.
451 Patch by Greg McGary <greg@mcgary.org>.
452
4532000-08-17 Jakub Jelinek <jakub@redhat.com>
454
455 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
456 _dl_loaded are NULL.
457
4582000-08-17 Jakub Jelinek <jakub@redhat.com>
459
460 * manual/arith.texi (feholdexcept): Returns 0 on success.
461
4622000-08-17 Andreas Jaeger <aj@suse.de>
463
464 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
465 (ifr_newname): New.
466 Reported by Andi Kleen <ak@suse.de>.
467
4682000-08-17 Jakub Jelinek <jakub@redhat.com>
469
470 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
471 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
472 * sysdeps/alpha/fpu/fegetexcept.c: New file.
473
4742000-08-16 Jakub Jelinek <jakub@redhat.com>
475
476 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
477 of buf->st_ino and kbuf->st_ino, not __st_ino.
478 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
479 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
480 directive so that only linux/getdents.c is used, not some
481 architecture specific one.
482
4832000-08-16 Jakub Jelinek <jakub@redhat.com>
484
485 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
486 enabled, not disabled exceptions.
487 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
488 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
489
e64911d1
GM
4902000-08-17 Greg McGary <greg@mcgary.org>
491
492 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
493 from test program name when constructing suffix for $(LDLIBS-*).
494 (bounded-thread-library): New variable.
495 * crypt/Makefile
496 [build-shared, build-static] (libcrypt-dep): Remove variable.
497 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
498 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
499 * linuxthreads/Makefile (libpthread, librt): Remove variables.
500 (librt-tests): Add variable. (tests): Use it.
501 [build-shared, build-static]
0f6b172f
UD
502 ($(addprefix $(objpfx),$(tests)),
503 $(addprefix $(objpfx),$(librt-tests))):
e64911d1
GM
504 Consolidate individual dependencies.
505 [build-bounded]
506 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
507 Add dependencies.
508 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
509 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
510 * misc/Makefile
511 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
512 * rt/Makefile
513 [build-shared, build-static]
514 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
515 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
516
5172000-08-17 Greg McGary <greg@mcgary.org>
518
519 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
520 * sysdeps/unix/make-syscalls.sh: Likewise.
521 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
522 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
523 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
524 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
525 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
526
5272000-08-17 Greg McGary <greg@mcgary.org>
528
529 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
530 Wrap extern symbols in BP_SYM ().
531 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
532 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
533 * sysdeps/i386/fpu/s_remquo.S: Likewise.
534 * sysdeps/i386/fpu/s_remquof.S: Likewise.
535 * sysdeps/i386/fpu/s_remquol.S: Likewise.
536 * sysdeps/i386/fpu/s_sincos.S: Likewise.
537 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
538 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
539 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
540 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
541
9a81430b
AS
5422000-08-16 Andreas Schwab <schwab@suse.de>
543
544 * sysdeps/m68k/fpu/fegetexcept.c: New file.
545 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
546 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
547
1ebba33e
UD
5482000-08-15 Ulrich Drepper <drepper@redhat.com>
549
550 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
551 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
552 * elf/dl-support.c: Define _nl_nloaded.
553 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
554 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
555 object to global list.
556 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
557 from _dl_loaded list.
558 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
559 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
560 number here.
561
562 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
563 unmask, exceptions.
564 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
565 exceptions.
566 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
567
6784ab92
AJ
5682000-08-16 Andreas Jaeger <aj@suse.de>
569
570 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
571
9df76933
UD
5722000-08-15 Marko Myllynen <myllynen@lut.fi>
573
574 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
575
5763742f
UD
5762000-08-15 Ulrich Drepper <drepper@redhat.com>
577
3a41e723
UD
578 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
579 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
580 (sysdep_routines): Add oldgetrlimit64.
581 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
582 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
583
0f6b172f 584 * include/link.h: Undo last patches. Hurd now has stat64.
5763742f
UD
585 * elf/Makefile: Likewise.
586 * elf/dl-load.c: Likewise.
587 * elf/dl-misc.c: Likewise.
588 * elf/dl-profile.c: Likewise.
589 * sysdeps/generic/sysd-link.h: Removed.
590 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
591
592 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
593 thread event callback function.
594 (__aio_notify_only): Use function above.
595 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
596
dee6b86d
MK
5972000-08-16 Mark Kettenis <kettenis@gnu.org>
598
599 * sysdeps/mach/hurd/lseek64.c: New file.
600
724000bc
MK
6012000-08-15 Mark Kettenis <kettenis@gnu.org>
602
603 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
604 Remove typedefs.
605 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
606 typedefs.
607 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
608 typedefs.
609 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
610
fd811dc6
MK
6112000-08-15 Mark Kettenis <kettenis@gnu.org>
612
613 * sysdeps/mach/hurd/xstatconv.c: New file.
614 * sysdeps/mach/hurd/fxstat64.c: New file.
615 * sysdeps/mach/hurd/lxstat64.c: New file.
616 * sysdeps/mach/hurd/xstat64.c: New file.
617 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
618
3142475c
MK
6192000-08-15 Mark Kettenis <kettenis@gnu.org>
620
621 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
622 Initialize, needed for change in common symbol handling in newer
623 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
624
07a3d63e
UD
6252000-08-15 Ulrich Drepper <drepper@redhat.com>
626
805d2e7d
UD
627 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
628 * elf/constload2.c: Add destructor to unload constload3.
629
fc7f617d
UD
630 * include/link.h: Include sysd-link.h.
631 * sysdeps/generic/sysd-link.h: New file.
632 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
633 * elf/Makefile (distribute): Add sysd-link.h.
634 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
635 types and functions directly.
636 * elf/dl-misc.c: Likewise.
637 * elf/dl-profile.c: Likewise.
638
639 * elf/loadfail.c (main): Close all successfully loaded objects.
640
07a3d63e
UD
641 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
642 free wd.
643 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
644 there is already one.
645
646 * elf/dl-close.c: Pretty print.
647
a6bd56c7
UD
6482000-08-14 Ulrich Drepper <drepper@redhat.com>
649
b8fd5502
UD
650 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
651 global (with file scope). Add __libc_subfreeres function to free the
652 string.
653 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
654 in ttyname function.
655
656 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
657
658 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
659
660 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
661 mapping them to /x5c and /x7e respectively.
662
a6bd56c7
UD
663 * locale/programs/ld-ctype.c: Add support for more definitions after
664 copy statement.
665
14860991
UD
6662000-08-14 Jakub Jelinek <jakub@redhat.com>
667
668 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
669 * sysdeps/unix/sysv/linux/kernel-features.h
670 (__ASSUME_GETDENTS64_SYSCALL): Define.
671 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
672 syscall if available to get d_type fields.
673 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
674 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
675 __lxstat64): Export at GLIBC_2.2.
676 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
677 Likewise.
678 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
679 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
680 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
681 getdirentries64, versionsort64): Remove.
682 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
683 getdirentries64, versionsort64): Remove.
684
47b853e8
UD
6852000-08-13 Ulrich Drepper <drepper@redhat.com>
686
687 * posix/Makefile: Remove rules to generate glob package.
688
689 * posix/Makefile (tests): Add tst-regexloc.
690 (tst-regexloc-ENV): Add LOCPATH.
691 * posix/tst-regexloc.c: New file.
692
91bc38d0
UD
6932000-08-12 Andreas Jaeger <aj@suse.de>
694
695 * include/features.h (__STDC_ISO_10646__): Define.
696 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
697
7e3399b3
UD
6982000-08-13 Ulrich Drepper <drepper@redhat.com>
699
91bc38d0
UD
700 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
701
702 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
703 for revision 6 and up).
704
705 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
706 including <time.h>.
707 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
708 to get definitions of just these types.
709
710 * signal/signal.h: Define thread signal handling functions also for
711 POSIX95.
712
713 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
714 POSIX95.
715 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
716 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
717 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
718 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
719
720 * sysvipc/sys/shm.h: Define pid_t for XPG.
721
8de72f53
UD
722 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
723 they are not anymore required here.
724
91bc38d0
UD
725 * wcsmbs/wchar.h: Make the various wide char string and stream
726 functions available for the respective XPG versions.
727
7e3399b3
UD
728 * nss/Makefile: Remove rules to build and distribute nss_db.
729
730 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
731 * sysdeps/generic/scandir64.c: Likewise.
732 * sysdeps/generic/versionsort64.c: Likewise.
733
319d719d
UD
7342000-08-13 Ulrich Drepper <drepper@redhat.com>
735 Benjamin Koznik <bkoz@redhat.com>
736
737 * libio/fileops.c: Merge with libstdc++-v3.
738 * libio/genops.c: Likewise.
739 * libio/iofclose.c: Likewise.
740 * libio/iofopen.c: Likewise.
741 * libio/iofwide.c: Likewise.
742 * libio/libio.h: Likewise.
743 * libio/libioP.h: Likewise.
744 * libio/stdfiles.c: Likewise.
745 * libio/stdio.c: Likewise.
746 * libio/wfileops.c: Likewise.
747 * libio/wgenops.c: Likewise.
748
749 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
750
8868f97b
UD
7512000-08-12 Ulrich Drepper <drepper@redhat.com>
752
8a82cc30
UD
753 * locale/programs/localedef.c: Implement --prefix option to allow
754 writing in standard places of alternative install directories.
755
8868f97b
UD
756 * posix/regex.c (compile_range): Implement collation sequence
757 handling for glibc. Use simple character ordering otherwise and
758 not strcoll.
759
451fc032
UD
7602000-08-12 Mark Kettenis <kettenis@gnu.org>
761
762 * sysdeps/generic/scandir64.c: Include <dirent.h>.
763
2390667f
UD
7642000-08-12 Andreas Jaeger <aj@suse.de>
765
766 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
767 __USE_FILE_OFFSET64 correctly for locking.
768 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
769
00c02822
UD
7702000-08-12 Jakub Jelinek <jakub@redhat.com>
771
772 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
773 Define for 2.4.1 on sparc as well.
774 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
775 for F_GETLK64, F_SETLK64, and F_SETLKW64.
776 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
777 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
778
977588cd
UD
7792000-08-12 Ulrich Drepper <drepper@redhat.com>
780
781 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
782 defined.
783
590a6393
UD
7842000-08-12 Andreas Jaeger <aj@suse.de>
785
facd11c2
AJ
786 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
787 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
788
e762517d
AJ
789 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
790 mips2 for assembler.
791
590a6393
UD
792 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
793 if fnctl64 is not available for F_*LK*64.
794
795 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
796
21f6a100
UD
7972000-08-12 Ulrich Drepper <drepper@redhat.com>
798
799 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
800 Define for 2.4.1 on x86.
801 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
802 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
803 for F_GETLK64, F_SETLK64, and F_SETLKW64.
804
805 * dirent/dirent.h: Define DT_WHT.
806
807 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
808 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
809 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
810 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
811 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
812 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
813
56ddf355
UD
8142000-08-11 Ulrich Drepper <drepper@redhat.com>
815
8337f053
UD
816 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
817 lookup, pass pointer to array with NULL pointer [PR libc/1858].
11a9c0ce
UD
818 * inet/Makefile (tests): Add tst-gethnm.
819 * inet/tst-gethnm.c: New file.
8337f053 820
56ddf355
UD
821 * rt/aio_cancel.c: If canceling a specific request which is running
822 *really* do nothing.
823 * rt/aio_misc.h: Add `done' to states of a request.
824 * rt/aio_misc.c: Add several tests for the correct state.
825 Simplify request table memory handling.
826
8272000-08-10 Jakub Jelinek <jakub@redhat.com>
828
829 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
830 * dirent/scandir64.c: Move...
831 * sysdeps/generic/scandir64.c: ...here.
832 * dirent/alphasort64.c: Move...
833 * sysdeps/generic/alphasort64.c: ...here.
834 * dirent/versionsort64.c: Move...
835 * sysdeps/generic/versionsort64.c: ...here.
836 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
837 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
838 Export symbols at GLIBC_2.2.
839 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
840 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
841 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
842 __versionsort64): Add prototypes.
843 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
844 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
845 unused prototype.
846 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
847 and GLIBC_2.2.
848 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
849 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
850 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
851 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
852 __u_quad_t.
853 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
854 Adjust for kernel-2.4.0-test6 layout.
855 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
856 GLIBC_2.1 and GLIBC_2.2.
857 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
858 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
859 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
860 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
861 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
862 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
863 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
864 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
865 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
866 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
867 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
868 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
869 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
870 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
871 __u_quad_t.
872 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
873 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
874 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
875 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
876 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
877 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
878 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
879 __u_quad_t.
880 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
881 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
882 Define.
883 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
884 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
885 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
886 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
887 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
888 Define.
889 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
890 alpha/readdir.c.
891 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
892 alpha/readdir_r.c
893 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
894 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
895 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
896 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
897 st_ino from __st_ino.
898 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
899 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
900 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
901 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
902 set __st_ino in addition to st_ino.
903 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
904 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
905 __old_getdents64 as well.
906 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
907 getdirentries64 and old_getdirentries64 as well.
908 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
909 __GETDENTS): Define.
910 (GETDENTS64): Remove.
911 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
912 Define.
913 (GETDENTS64): Remove.
914 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
915 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
916 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
917 as well.
918 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
919 __old_readdir64_r as well.
920 * sysdeps/unix/sysv/linux/kernel-features.h: Define
921 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
922
1a5b42af
UD
9232000-08-08 Jes Sorensen <jes@linuxcare.com>
924
56ddf355 925 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
1a5b42af
UD
926 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
927 define of the kernel.
928 Add missing __SEG_PSTKOVF definition.
929 Adjust the padding of struct siginfo and struct sigevent to
930 match the fact that sigval_t is 64 bit.
931
3459f702
UD
9322000-08-10 Ulrich Drepper <drepper@redhat.com>
933
934 * timezone/zic.c: Update from tzcode2000f.
935 * timezone/australasia: Update from tzdata2000f.
936 * timezone/europe: Likewise.
937 * timezone/southamerica: Likewise.
938 * timezone/yearistype: Likewise.
939
5c75f32d
AJ
9402000-08-10 Andreas Jaeger <aj@suse.de>
941
942 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
943 stat with current MIPS kernel.
944
835bf8e0
UD
9452000-08-01 Mark Kettenis <kettenis@gnu.org>
946
947 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
948 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
949 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
950 Remove the junk that's only relevant in the Linux kernel itself.
951 Add a warning saying that this file is now obsolete, and include
952 <sys/procfs.h>.
953 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
954 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
955 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
956 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
957 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
958 and add the notice that the file is primarily there for GDB.
959 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
960
9612000-08-09 Jakub Jelinek <jakub@redhat.com>
962
963 * time/tzfile.c (__tzfile_compute): __tzstring zones
964 from zone_names.
965
9662000-08-09 Jakub Jelinek <jakub@redhat.com>
967
968 * resolv/resolv.h (__res_state): Surround prototype with
969 __BEGIN_DECLS/__END_DECLS.
970 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
971
9722000-08-04 Jes Sorensen <jes@linuxcare.com>
973
974 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
975 Make independant of asm/resource.h from the Linux kernel.
976
9772000-08-06 Bruno Haible <haible@clisp.cons.org>
978
979 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
980
9812000-08-06 Bruno Haible <haible@clisp.cons.org>
982
983 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
984 * locale/Makefile (locale-CPPFLAGS): Likewise.
985
9862000-08-09 Ulrich Drepper <drepper@redhat.com>
987
988 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
989 for AMD processors.
990
9912000-08-03 Jakub Jelinek <jakub@redhat.com>
992
993 * misc/Versions (mincore): Export at GLIBC_2.2.
994
9952000-08-03 Bruno Haible <haible@clisp.cons.org>
996
997 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
998
36f7b1df
MK
9992000-08-02 Mark Kettenis <kettenis@gnu.org>
1000
1001 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
1002 socketpair. Made socketpair a weak alias.
1003 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
1004 __socketpair. Use S_IFIFO protocol to make pipes POSIX
1005 conforming, but fall back on the old protocol if the socket server
1006 doesn't support it.
1007 * include/sys/socket.h: Add prototype for __socketpair.
1008
1d2f626e
AS
10092000-08-09 Andreas Schwab <schwab@suse.de>
1010
1000d1e5
AS
1011 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
1012 long long modifier is seen.
1013
bce0e517
AS
1014 * elf/nodelete.c (do_test): Remove reference to undefined member
1015 sa_restorer.
1016 * rt/tst-aio4.c (do_test): Likewise.
1017
1d2f626e
AS
1018 * configure.in: Add `-lm' when checking for libgd.
1019 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
1020 linking.
1021
2bbc70d5
AJ
10222000-08-09 Andreas Jaeger <aj@suse.de>
1023
1024 * configure.in: Change required make versions.
1025
1026 * manual/install.texi (Tools for Compilation): Document required
1027 make version.
1028 (Supported Configurations): Update list of supported
1029 configurations.
835bf8e0 1030
d364e525
UD
10312000-08-08 Ulrich Drepper <drepper@redhat.com>
1032
1033 * locale/linereader.c (get_string): Don't print an error is a string
1034 contains an unknown character.
1035
91933d23
UD
10362000-08-06 Ulrich Drepper <drepper@redhat.com>
1037
1038 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
1039 (new_symbol): Take new parameters with name of the symbol.
1040 Adjust callers.
1041 (handle_ellipsis): Don't only allow character symbols.
1042 (collate_read): Allow string of collating elements contain invalid
1043 characters; ignore entry in this case.
1044 Handle ellipsis of collating symbols before first order_start.
1045 Allow ellipsis in state 0.
1046
21b2be88
UD
10472000-08-04 Ulrich Drepper <drepper@redhat.com>
1048
1049 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
1050 error message.
1051 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
1052
13550428
GM
10532000-08-04 Greg McGary <greg@mcgary.org>
1054
1055 * posix/regex.c (SET_HIGH_BOUND): New macro.
1056 (MOVE_BUFFER_POINTER): Use it.
1057 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
1058 (EXTEND_BUFFER): Use it.
1059
faf8ccab
UD
10602000-08-03 Ulrich Drepper <drepper@redhat.com>
1061
1062 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
1063 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
1064 _wide_data but from _IO_FILE directly.
1065 * libio/iofclose.c: Likewise.
1066 * libio/wfileops.c: Likewise.
1067
1068 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
1069 * libio/libioP.h: Change prototypes.
1070
7f6f3e35
GM
10712000-08-03 Greg McGary <greg@mcgary.org>
1072
eb48f491
GM
1073 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
1074 frame pointer early so that we save caller's frame pointer.
1075 * sysdeps/i386/elf/setjmp.S: Likewise.
1076
7f6f3e35
GM
1077 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
1078 * io/test-utime.c: Test passing NULL as utimbuf* arg.
1079
1080 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
1081 (MOVE_BUFFER_POINTER): Handle high_bound properly.
1082 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
1083
139a4d95
UD
10842000-08-03 Ulrich Drepper <drepper@redhat.com>
1085
1086 * iconvdata/big5.c: Updated.
1087 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
1088
aaf688e8
UD
10892000-08-02 Ulrich Drepper <drepper@redhat.com>
1090
1091 * Makeconfig (all-subdirs): Add conform.
1092 * conform/Makefile: Include ../Rules.
1093
1094 * Makefile (README): Add rules to generate here as well.
1095
ea1c96f5
UD
10962000-08-02 Ulrich Drepper <drepper@redhat.com>
1097
bf3888be
UD
1098 * version.h (VERSION): Bump to 2.1.92.
1099
74dd1fee
UD
1100 * sysdeps/ia64/Dist: Add _mcount.S.
1101
1102 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
1103
1104 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
1105
1106 * elf/Makefile (distribute): Add missing modules.
1107
349e00ef
UD
1108 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
1109
21b2be88 1110 * posix/regex.c (compile_range): Translate range start and end
f6cfb13f
UD
1111 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
1112
cfd57cdc
UD
1113 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
1114 asm/resource.h.
1115
ea1c96f5
UD
1116 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
1117
847b055c
AJ
11182000-08-02 Andreas Jaeger <aj@suse.de>
1119
3d2b5f69
AJ
1120 * elf/elf.h (EM_S390): Added.
1121 (R_390_*): New relocs for S390.
1122
847b055c
AJ
1123 * sysdeps/unix/sysv/linux/s390/Dist: New file.
1124 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
1125 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
1126 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
1127 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
1128 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1129 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
1130 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
1131 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
1132 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
1133 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
1134 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
1135 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
1136 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
1137 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
1138 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
1139 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
1140 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
1141 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
1142 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
1143 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
1144 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
1145 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
1146 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
1147 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
1148 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
1149 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
1150 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
1151 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
1152 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
1153 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
1154 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
1155 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
1156 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
1157 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
1158 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
1159 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
1160 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
1161 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
1162 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
1163 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
1164 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
1165 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
1166 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
1167 * sysdeps/s390/sysdep.h: New file.
1168 * sysdeps/s390/sys/ucontext.h: New file.
1169 * sysdeps/s390/sub_n.S: New file.
1170 * sysdeps/s390/strncpy.S: New file.
1171 * sysdeps/s390/strcpy.S: New file.
1172 * sysdeps/s390/stackinfo.h: New file.
1173 * sysdeps/s390/setjmp.S: New file.
1174 * sysdeps/s390/s390-mcount.S: New file.
1175 * sysdeps/s390/mul_1.S: New file.
1176 * sysdeps/s390/memusage.h: New file.
1177 * sysdeps/s390/memset.S: New file.
1178 * sysdeps/s390/memcpy.S: New file.
1179 * sysdeps/s390/memchr.S: New file.
1180 * sysdeps/s390/machine-gmon.h: New file.
1181 * sysdeps/s390/ldbl2mpn.c: New file.
1182 * sysdeps/s390/gmp-mparam.h: New file.
1183 * sysdeps/s390/fpu/fpu_control.h: New file.
1184 * sysdeps/s390/fpu/fesetround.c: New file.
1185 * sysdeps/s390/fpu/fegetround.c: New file.
1186 * sysdeps/s390/fpu/fclrexcpt.c: New file.
1187 * sysdeps/s390/fpu/bits/fenv.h: New file.
1188 * sysdeps/s390/ffs.c: New file.
1189 * sysdeps/s390/elf/start.S: New file.
1190 * sysdeps/s390/elf/setjmp.S: New file.
1191 * sysdeps/s390/elf/bsd-setjmp.S: New file.
1192 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
1193 * sysdeps/s390/dl-machine.h: New file.
1194 * sysdeps/s390/bzero.S: New file.
1195 * sysdeps/s390/bsd-setjmp.S: New file.
1196 * sysdeps/s390/bsd-_setjmp.S: New file.
1197 * sysdeps/s390/bits/string.h: New file.
1198 * sysdeps/s390/bits/setjmp.h: New file.
1199 * sysdeps/s390/bits/huge_val.h: New file.
1200 * sysdeps/s390/bits/endian.h: New file.
1201 * sysdeps/s390/bits/byteswap.h: New file.
1202 * sysdeps/s390/bcopy.S: New file.
1203 * sysdeps/s390/backtrace.c: New file.
1204 * sysdeps/s390/atomicity.h: New file.
1205 * sysdeps/s390/asm-syntax.h: New file.
1206 * sysdeps/s390/addmul_1.S: New file.
1207 * sysdeps/s390/add_n.S: New file.
1208 * sysdeps/s390/abort-instr.h: New file.
1209 * sysdeps/s390/__longjmp.c: New file.
1210 * sysdeps/s390/Makefile: New file.
1211 * sysdeps/s390/Implies: New file.
1212 * sysdeps/s390/Dist: New file.
1213 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
1214
ca8d5a5f
UD
12152000-08-01 Ulrich Drepper <drepper@redhat.com>
1216
be18eced
UD
1217 Remove incompatible IPv6 extension of RPC.
1218 * sunrpc/Makefile: Undo changes.
1219 * sunrpc/rpc_main.c: Likewise.
1220 * sunrpc/rpc/clnt.h: Likewise.
1221 * sunrpc/rpc/svc.h: Likewise.
1222 * sunrpc/bindrsvprt6.c: Removed.
1223 * sunrpc/clnt_tcp6.c: Removed.
1224 * sunrpc/clnt_udp6.c: Removed.
1225 * sunrpc/svc_tcp6.c: Removed.
1226 * sunrpc/svc_udp6.c: Removed.
1227
1228 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
1229 dgettext, and dcgettetxt.
1230
1231 * intl/locale.alias: Update japanese aliases.
1232
ca8d5a5f
UD
1233 * sysdeps/ia64/bits/byteswap.h: New file.
1234 Patch by Dan Pop <Dan.Pop@cern.ch>.
1235
1236 * misc/sys/cdefs.h: Define __attribute_format_arg__.
1237 * intl/libintl.h: Use it here instead of using __attribute__ directly.
1238
12392000-07-13 H.J. Lu <hjl@gnu.org>
1240
1241 * posix/regex.c (re_max_failures): Set to 4000.
1242
8fb81470
UD
12432000-08-01 Ulrich Drepper <drepper@redhat.com>
1244
1245 * gnulib/Makefile (tests): Add tst-gcc.
1246 * gnulib/tst-gcc.c: New file.
1247
1248 * assert/Makefile (routines): Add __assert.
1249 * assert/Versions: Export __assert for glibc 2.2.
1250 * assert/__assert.c: New file.
1251 * assert/assert.h: Declare __assert.
1252
12532000-07-27 Bruno Haible <haible@clisp.cons.org>
1254
1255 * locale/localeinfo.h (_ISCTYPE): New macro.
1256 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
1257 LC_CTYPE locale format.
1258 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
1259 (ctype_output): Output class_b[nr] right before class_3level[nr].
1260 (allocate_arrays): Fill class_b, similarly to class_3level.
1261
925e31d9
UD
12622000-08-01 Ulrich Drepper <drepper@redhat.com>
1263 Joseph S. Myers <jsm28@cam.ac.uk>
1264
1265 * math/tgmath.h: Make standard compliant. Don't ask how.
1266
12672000-07-04 H.J. Lu <hjl@gnu.org>
1268
1269 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
1270 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
1271 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
1272
12732000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1274
1275 * include/features.h (_XOPEN_SOURCE): Update the explanation.
1276 (__USE_LARGEFILE): Add an explanation.
1277 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
1278 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
1279
12802000-08-01 Ulrich Drepper <drepper@redhat.com>
1281
1282 * libio/Makefile: Enable exception handling for genops, wgenops,
1283 fileops, and wfileops.
1284
15f033cf
MK
12852000-07-29 Mark Kettenis <kettenis@gnu.org>
1286
1287 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
1288 acount that elf/rtld's main program might remove some varibales
1289 from the environment if we're trying to be secure. Move the Hurd
1290 startup data if necessary, or, if we there is no startup data,
1291 make sure the magical convention that ARGV[0] is stored just after
1292 the environment list.
1293
b73204bf
UD
12942000-08-01 Philip Blundell <philb@gnu.org>
1295
1296 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
1297 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
1298 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
1299 oldsetrlimit for GLIBC_2.0.
1300
5cc90078
AJ
13012000-08-01 Andreas Jaeger <aj@suse.de>
1302
9bd0bec2 1303 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
b73204bf
UD
1304 (LINE_PARSER): Allow any number of spaces between ip address and
1305 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
9bd0bec2 1306
eba8c0e2
AJ
1307 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
1308
1309 * include/netdb.h: Remove getipnodebyaddr and friends, leave
1310 constants in.
1311
1312 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
1313 _nss_nisplus_getipnodebyname_r.
1314
1315 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
1316 now, getipnodebyname is deprecated.
b73204bf
UD
1317 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
1318 Likewise.
eba8c0e2
AJ
1319
1320 * inet/Makefile (routines): Don't build getipnodebyaddr and
1321 friends.
1322
4df4f8b1
AJ
1323 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
1324
5cc90078
AJ
1325 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
1326
1327 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
1328
1329 * wctype/Makefile (distribute): Add wchar-lookup.h.
1330
4df4f8b1 1331 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
5cc90078
AJ
1332
1333 * iconvdata/Makefile (distribute): Add isiri-3342.h.
1334
db54bbfb
AJ
13352000-08-01 Andreas Schwab <schwab@suse.de>
1336
b73204bf 1337 * Make-dist (dist): Resolve `..' in file names.
db54bbfb 1338
d9fd4f33
AJ
13392000-08-01 Andreas Jaeger <aj@suse.de>
1340
1341 * stdio-common/Makefile (distribute): Remove removed files, add
1342 new files.
1343
1344 * Makefile (distribute): Remove include/db_185.h and db.h.
1345
1346 * include/db_185.h: Remove, it's not needed anymore.
1347 * include/db.h: Likewise.
1348
6eace24c
UD
13492000-07-31 Ulrich Drepper <drepper@redhat.com>
1350
68c685f9 1351 * inet/Makefile (tests): Remove tst-ipnode.
6eace24c
UD
1352 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
1353 now.
1354
ed80b9ee
UD
13552000-07-31 Jes Sorensen <jes@linuxcare.com>
1356
1357 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
1358 endp statements have already been added.
1359
13602000-04-18 David Mosberger <davidm@hpl.hp.com>
1361
1362 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
1363 <sysdeps/ia64/sysdep.h>.
1364
1365 * sysdeps/ia64/_mcount.S: New file.
1366
1367 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
1368 __gmon_start__. Fix up extraneous whitespace.
1369
13702000-01-12 H.J. Lu <hjl@gnu.org>
1371
1372 * sysdeps/ia64/elf/initfini.c: New file.
1373
13742000-07-31 Jes Sorensen <jes@linuxcare.com>
1375
1376 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
1377 dependency between branch and ar.pfs write.
1378
a535ce14
UD
13792000-07-31 H.J. Lu <hjl@gnu.org>
1380
1381 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
1382 handle the wchar_t array.
1383
b3cedb09
UD
13842000-07-31 Ulrich Drepper <drepper@redhat.com>
1385
1386 * iconvdata/gb18030.c: Don't map to and from positions in ISO
1387 10646 which are not yet assigned.
1388 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
1389
b669ab02
UD
13902000-07-31 Andreas Jaeger <aj@suse.de>
1391
1392 * inet/Versions: Remove getipnodebyaddr and friends from
1393 GLIBC_2.2.
1394
1395 * resolv/netdb.h: Remove getipnodebyaddr and friends.
1396
5134584a
UD
13972000-07-30 Bruno Haible <haible@clisp.cons.org>
1398
1399 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
1400 ch >= 0x81 && ch2 < 0x40 as invalid.
1401
14022000-07-30 Bruno Haible <haible@clisp.cons.org>
1403
1404 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
1405 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
1406
14072000-07-30 Bruno Haible <haible@clisp.cons.org>
1408
1409 * iconvdata/johab.c (BODY for TO_LOOP): After calling
1410 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
1411
14122000-07-30 Bruno Haible <haible@clisp.cons.org>
1413
1414 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
1415 0xb8.
1416 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
1417
14182000-07-30 Bruno Haible <haible@clisp.cons.org>
1419
1420 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
1421
14222000-07-30 Bruno Haible <haible@clisp.cons.org>
1423
1424 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
1425 (from_ucs4): Change values of U+00A4 and U+00ED.
1426 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
1427
14282000-07-30 Bruno Haible <haible@clisp.cons.org>
1429
1430 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
1431 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
1432
14332000-07-30 Bruno Haible <haible@clisp.cons.org>
1434
1435 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
1436 * iconvdata/isiri-3342.h: New file.
1437 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
1438 treat 0x80 as a gap.
1439
14402000-07-30 Bruno Haible <haible@clisp.cons.org>
1441
1442 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
1443 (utf8_encode): Use simple shifts instead. Fix return value.
1444
89533d41
UD
14452000-07-31 Ulrich Drepper <drepper@redhat.com>
1446
1447 * timezone/private.h: Update from tzcode2000e.
1448 * timezone/asia: Update from tzdata2000e.
1449 * timezone/australasia: Likewise.
1450 * timezone/europe: Likewise.
1451 * timezone/northamerica: Likewise.
1452 * timezone/zone-tab: Likewise.
1453
9316fb42
AJ
14542000-07-30 Ralf Baechle <ralf@gnu.org>
1455
1456 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
1457 the order of struct sigaltstack members is different.
1458
e6cc1ee3
UD
14592000-07-26 Philip Blundell <philb@gnu.org>
1460
1461 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
1462
a9706118
UD
14632000-07-29 Ulrich Drepper <drepper@redhat.com>
1464
1465 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
1466 * locale/programs/ld-ctype.c: Adjust for this.
1467
1468 * locale/programs/ld-collate.c: Add more alignment checks.
1469 * locale/string/strcoll.c: Likewise.
1470
14712000-07-30 Mark Kettenis <kettenis@gnu.org>
1472
1473 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
1474 outside USE_IN_LIBIO block.
1475
fb032fbd
UD
14762000-07-26 Philip Blundell <philb@gnu.org>
1477
1478 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
1479 (elf_machine_rel): Use it for out-of-range PC24 relocs.
1480
497b8ef4
UD
14812000-07-28 Philip Blundell <philb@gnu.org>
1482
1483 * math/test-fpucw.c: Ignore reserved bits in control word.
1484
14852000-07-28 Philip Blundell <philb@gnu.org>
1486
1487 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
1488 (ret): Redefine to PSEUDO_RET.
1489 (PSEUDO): Remove jump to syscall_error.
1490
14912000-07-29 Mark Kettenis <kettenis@gnu.org>
1492
1493 * resolv/README: Add some information about using the resolver in
1494 multi-threaded code and with C++. Spelling fixes.
1495
14962000-07-29 Mark Kettenis <kettenis@gnu.org>
1497
1498 * resolv/resolv.h (struct __sockaddr_in): Remove.
1499 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
1500
41d998a6
GM
15012000-07-29 Greg McGary <greg@mcgary.org>
1502
1503 * Rules (test-bp-inputs, make-test-out): New variables.
1504 ($(objpfx)%-bp.out): New rule.
1505 ($(objpfx)%.out): Rewrite in terms of new variables.
1506
1507 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
1508 internal function that uses vtable.
1509 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1510 * libio/vswprintf.c (_IO_vswprintf): Likewise.
1511
1512 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
1513 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
1514 (chunk_align): Likewise.
1515
1516 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
1517 in a way that conforms to decl, and avoids spurious bounds violation.
1518
1519 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
1520 * sysdeps/generic/frame.h: Likewise.
1521 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
1522 around return value.
1523 (__backtrace): Qualify frame-pointer chain and return address
1524 pointers as __unbounded. Wrap bounds around variable `current'.
1525 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
1526 around return value.
1527 (catch_segfault): Qualify frame-pointer chain and return address
1528 pointers as __unbounded. Wrap bounds around variable `current'.
1529 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
1530 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
497b8ef4
UD
1531 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
1532 __unbounded.
41d998a6
GM
1533 (__backtrace): Qualify frame-pointer chain and return address
1534 pointers as __unbounded. Wrap bounds around variable `current'.
1535
1536 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
1537 * sysdeps/i386/mul_1.S: Likewise.
1538 * sysdeps/i386/submul_1.S: Likewise.
1539 * sysdeps/i386/i586/addmul_1.S: Likewise.
1540 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
1541 * sysdeps/i386/i586/submul_1.S: Likewise.
1542
7f394842
AJ
15432000-07-27 Andreas Jaeger <aj@suse.de>
1544
1545 * libio/Depend: New file, libio needs localedata for tests.
1546 * posix/Depend: Likewise.
1547
69c69fe1
UD
15482000-07-28 Ulrich Drepper <drepper@redhat.com>
1549
1550 * stdio-common/_i18n_itoa.c: Removed.
1551 * stdio-common/_i18n_itoa.h: Removed.
1552 * stdio-common/_i18n_itowa.c: Removed.
1553 * stdio-common/_i18n_itowa.h: Removed.
1554 * stdio-common/_i18n_number.h: New file.
1555 * stdio-common/Depend: New file.
1556 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
1557 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
1558 printing. Change printing of numbers with locale specific digits to
1559 use new code in _i18n_number.h.
c1d835ce
UD
1560 * stdio-common/Makefile (routines): Remove _i18n_itoa and
1561 _i18n_itowa.
69c69fe1
UD
1562
1563 * stdio-common/bug13.c: Improve messages.
1564
1565 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
1566 (set_class_defaults): Always search also for Uxxxx names.
1567 Detect insufficient number of outdigits.
1568
1569 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
1570
5e463393
UD
15712000-07-27 Bruno Haible <haible@clisp.cons.org>
1572
1573 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
1574 _NL_CTYPE_MAP_NAMES.
1575 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
1576 * wctype/wcfuncs.c (towlower, towupper): Use them.
1577 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
1578 * wctype/wctrans.c (wctrans): Likewise.
1579 * wctype/wctrans_l.c (__wctrans_l): Likewise.
1580
15812000-07-27 Bruno Haible <haible@clisp.cons.org>
1582
1583 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
1584 Use the optimized version of this function outside glibc as well.
1585
eac4282f
UD
15862000-07-27 Jakub Jelinek <jakub@redhat.com>
1587
1588 * locale/indigits.h (indigit_value): Correct.
1589 * locale/indigitswc.h (indigitwc_value): Correct.
1590 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
1591 conversion, add GROUP checking for it, fix GROUP number
1592 conversion with strlen(thousands) > 1.
1593 Honour width correctly in the presence of floating
1594 decimal points and thousands separators.
1595 * stdio-common/tst-sscanf.c: New test.
1596 * stdio-common/Makefile: Add it to tests.
1597 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
1598 thousands separators and group argument is non-zero.
1599
f3cfed61
AJ
16002000-07-25 Bruno Haible <haible@clisp.cons.org>
1601
1602 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
1603 starts at GLIBC_2.2.
1604
af9a0841
AJ
16052000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1606
1607 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
1608 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
1609 _test_and_set.
1610 (headers): Add sys/tas.h.
1611 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
1612 GLIBC_2.2 from libc.
1613 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
1614 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
1615 _test_and_set.
1616
00213fe4
AJ
16172000-07-28 Andreas Jaeger <aj@suse.de>
1618
1619 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
1620
1621 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
1622 ($(objpfx)tst-dladdr.out): new.
1623 (tests): Add tst-dladdr.
1624 ($(objpfx)glrefmain): Use libdl.
1625
1626 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
1627 <vs@caldera.de>.
af9a0841 1628
51f46f92
UD
16292000-07-27 Jes Sorensen <jes@linuxcare.com>
1630
1631 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
1632 ftruncate(64) calls.
1633
e4a0c468
UD
16342000-07-27 Jes Sorensen <jes@linuxcare.com>
1635
1636 * intl/tst-translit.c: Include string.h to get prototype for
1637 strcmp().
1638
37d33038
UD
16392000-07-27 Jes Sorensen <jes@linuxcare.com>
1640
1641 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
1642 name and add weak alias for __fork.
1643
1644 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
1645 & pwrite to use __libc_<name> as strong names instead of
1646 __syscall_<name>.
1647
1648 * include/sched.h: Add clone2 prototype.
1649
16502000-07-26 Jes Sorensen <jes@linuxcare.com>
1651
1652 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
1653 procedure name twice.
1654
16552000-07-27 Philip Blundell <philb@gnu.org>
1656
1657 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
1658
aef116ea
AJ
16592000-07-27 Andreas Jaeger <aj@suse.de>
1660
64c81855
AJ
1661 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
1662 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
1663 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
eac4282f 1664 Reported by Andi Kleen <ak@suse.de>.
64c81855 1665
aef116ea
AJ
1666 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
1667 (do_wait): Test requests with aio_return64.
1668 (do_test): Change callers of do_wait.
1669
92806ee9
UD
16702000-07-26 Andreas Jaeger <aj@suse.de>
1671
1672 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
1673 (do_wait): Test requests with aio_return.
1674 (do_test): Change callers of do_wait.
1675
16762000-07-27 Ulrich Drepper <drepper@redhat.com>
1677
1678 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
1679 from request list. Don't do the list handling here, call
1680 __aio_remove_request.
1681 * rt/aio_misc.h: Add prototype for __aio_remove_request.
1682 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
1683 request might already be processed. Don't do the list handling
1684 here, call __aio_remove_request.
1685
1686 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
1687 LIO_DSYNC.
1688
1689 * rt/aio_misc.c: Add comment explaining why writer memory barriers
1690 are missing.
1691
da8f38c5
GM
16922000-07-27 Greg McGary <greg@mcgary.org>
1693
1694 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
1695 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
1696 in union init. Pass zero for ignored semnum arg to semctl.
1697 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
1698
d25c879d
GM
16992000-07-26 Greg McGary <greg@mcgary.org>
1700
1701 * sysdeps/gnu/bits/msq.h: Qualify kernel's
1702 data structure pointers as __unbounded.
1703 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1704 * sysdeps/generic/bp-semctl.h: New file.
1705 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
1706 pointers as __unbounded. Check bounds of syscall args.
1707 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1708 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1709 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1710 * sysdeps/unix/sysv/linux/semop.c: Likewise.
1711 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
1712 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1713 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1714 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
1715 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
1716 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
1717 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
1718 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
1719 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
1720 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
1721 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1722 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
1723
476b6d7f
UD
17242000-07-26 Ulrich Drepper <drepper@redhat.com>
1725
1726 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
1727 by default.
1728 * locale/C-ctype.c: Likewise.
1729 * wcsmbs/wcsmbsload.c: Likewise.
1730
2ed5fd9a
GM
17312000-07-26 Greg McGary <greg@mcgary.org>
1732
1733 * Makeconfig (+link-bounded, link-libc-bounded,
1734 link-extra-libs-bounded): New variables.
1735 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
1736 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
1737 * Rules (tests-bp.out): New variable.
1738 (tests): Conditionally add BP tests.
1739 (binaries-bounded): Add variable and associated rule.
1740 * csu/Makefile [build-bounded] (extra-objs, install-lib):
1741 Move conditional stuff after place where condition is defined.
1742
1743 * malloc/malloc.c (bp-checks.h): Add #include.
1744 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
1745 (_bin_at): Add unbounded version of bin_at.
1746 (IAV, chunk_alloc): Use unbounded _bin_at.
1747 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
1748 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
1749 Wrap BOUNDED_N around return value.
1750 (chunk_realloc): Adjust oldsize once.
1751
1752 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
1753 (__ubp_memchr): Add correct decl.
1754 (_CHECK_STRING): Use __ubp_memchr.
1755 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1756 New alias for unbounded-pointer __memchr.
1757 * sysdeps/i386/memchr.S: Likewise.
1758 * sysdeps/ia64/memchr.S: Likewise.
1759 * sysdeps/m68k/memchr.S: Likewise.
1760 * sysdeps/sparc/sparc32/memchr.S: Likewise.
1761 * sysdeps/sparc/sparc64/memchr.S: Likewise.
1762 * sysdeps/vax/memchr.s: Likewise.
1763
1764 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
1765 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
1766 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
1767 * sysdeps/i386/i686/strtok.S: Likewise.
1768 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
1769 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
1770
1771 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
1772 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
1773
1774 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
1775 bounds of copy_result to mount_proc.
1776
e04b831a
UD
17772000-07-25 Bruno Haible <haible@clisp.cons.org>
1778
1779 * wctype/wctype.h (__wctrans_l): New declaration.
1780 * wctype/wctrans_l.c: New file.
1781 * wctype/Makefile (routines): Add wctrans_l.
1782
10301ff8
UD
17832000-07-26 Ulrich Drepper <drepper@redhat.com>
1784
1785 * posix/fnmatch_loop.c: Fixes for use outside glibc.
1786 Patch by MacGyver <macgyver@tos.net>.
1787
9881cbf8
AJ
17882000-07-26 Andreas Jaeger <aj@suse.de>
1789
e04b831a
UD
1790 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
1791 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
9881cbf8
AJ
1792 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
1793
1794 * rt/tst-aio.c (test_file): Fix typo.
1795 * rt/tst-aio64.c (test_file): Likewise.
1796
1797 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
1798 * rt/Makefile: Add rules to build and run tst-aio3.
1799
1800 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
1801 it's not needed and confuses only.
1802
438e8239
UD
18032000-07-26 Ulrich Drepper <drepper@redhat.com>
1804
1805 * resolv/res_init.c: Add support for nameserver communication with
1806 IPv6.
1807 * resolv/res_send.c: Likewise.
1808 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
1809 in nsaddrs field.
1810 Patch by <venaas@nvg.ntnu.no>.
1811
ec08818d
UD
18122000-07-25 Bruno Haible <haible@clisp.cons.org>
1813
1814 * locale/programs/ld-ctype.c (wctype_table_get): New function.
1815 (wcwidth_table_get): New function.
1816 (wcwidth_table_add): Call it.
1817 (wctrans_table_get): New function.
1818 (wctrans_table_add): Call it.
1819
b7ed26c6
UD
18202000-07-25 Ulrich Drepper <drepper@redhat.com>
1821
025a5afa
UD
1822 * rt/lio_listio.c (lio_listio): Always disable individual
1823 notification.
1824 * rt/Makefile: Add rules to build and run tst-aio2.
1825 * rt/tst-aio2.c: New file.
1826
b7ed26c6
UD
1827 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
1828 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
1829
3452aba8
UD
18302000-07-25 Mark Kettenis <kettenis@gnu.org>
1831
1832 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
1833 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
1834 leading and trailing spaces from host, user and domain name.
1835
18362000-07-25 Jes Sorensen <jes@linuxcare.com>
1837
1838 * csu/defs.awk: Add support for need_endp.
1839
18402000-07-25 Mark Kettenis <kettenis@gnu.org>
1841
1842 * resolv/resolv.h: Remove __P from res_send_qhook and
1843 res_send_rhook typedefs.
1844
18452000-07-25 Bruno Haible <haible@clisp.cons.org>
1846
1847 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
1848
16093625
UD
18492000-07-25 Ulrich Drepper <drepper@redhat.com>
1850
1851 * iconv/gconv_builtin.h: Add WCHAR_T alias.
1852
2d3d740b
MK
18532000-07-25 Mark Kettenis <kettenis@gnu.org>
1854
1855 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
1856 calling thread, set the cancellation flag and return success
1857 instead of EINTR.
1858
d54adfd9
UD
18592000-07-25 Ulrich Drepper <drepper@redhat.com>
1860
a3b231b7
UD
1861 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
1862 * libio/tst-widetext.c: New file.
1863 * libio/tst-widetext.input: New file.
1864
1865 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
1866
70e392a3 1867 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
d54adfd9
UD
1868 empty external buffer correctly.
1869
7f6ba52f
AJ
18702000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1871
1872 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
1873 __STRING(entry) and not #entry.
1874 (_RTLD_EPILOGUE): Likewise.
1875 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1876
18772000-07-25 Andreas Jaeger <aj@suse.de>
1878
1879 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
1880 according to changes in test program, run also with static only
1881 builds.
1882 ($(objpfx)tst-printf.out): Likewise.
1883
1884 * stdio-common/tst-unbputc.sh: Likewise.
1885 * stdio-common/tst-printf.sh: Likewise.
1886
9494452c
UD
18872000-07-25 Ulrich Drepper <drepper@redhat.com>
1888
11fd973a
UD
1889 * libio/wfileops.c (_IO_wdo_write): Correct return value.
1890
9494452c
UD
1891 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
1892 loop.
1893
1894 * libio/fileops.c: Pretty print.
1895
ef446144
UD
18962000-07-23 Bruno Haible <haible@clisp.cons.org>
1897
1898 * wctype/wchar-lookup.h: New file.
1899 * wctype/iswctype.c: Include "wchar-lookup.h".
1900 (__iswctype): Support alternate locale format with 3-level tables.
1901 * wctype/iswctype_l.c (__iswctype_l): Likewise.
1902 * wctype/towctrans.c (__towctrans): Likewise.
1903 * wctype/towctrans_l.c (__towctrans_l): Likewise.
1904 * wctype/wcfuncs.c: Include "wchar-lookup.h".
1905 (__ctype32_wctype, __ctype32_wctrans): Declare external.
1906 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
1907 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
1908 __iswxdigit, towlower, towupper): Support alternate locale format
1909 with 3-level tables.
1910 * wctype/wcextra.c (iswblank): Likewise.
1911 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
1912 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
1913 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
1914 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
1915 format with 3-level tables.
1916 * wctype/wcextra_l.c (__iswblank_l): Likewise.
1917 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
1918 format, return a 3-level table pointer.
1919 * wctype/wctype_l.c (__wctype_l): Likewise.
1920 * wctype/wctrans.c (wctrans): Likewise.
1921 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
1922 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
1923 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
1924 (iswctype): Remove macro definition.
1925 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
1926 (internal_wcwidth): Support alternate locale format with 3-level
1927 tables.
1928 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
1929 New nl_items.
1930 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
1931 Define them as being type "word".
1932 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
1933 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
1934 __ctype32_width): New exported variables.
1935 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
1936 alternate locale format. Don't initialize __ctype_names and
1937 __ctype_width in the alternate locale format.
1938 * locale/programs/localedef.h (oldstyle_tables): New declaration.
1939 * locale/programs/localedef.c (oldstyle_tables): New variable.
1940 (OPT_OLDSTYLE): New macro.
1941 (options): Add --old-style option.
1942 (parse_opt): Handle --old-style option.
1943 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
1944 map_offset, class_3level, map_3level, width_3level members.
1945 (ctype_output): Support for alternate locale format: Computation of
1946 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
1947 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
1948 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
1949 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
1950 now contain both class and map tables.
1951 (struct wctype_table): New type.
1952 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
1953 functions.
1954 (struct wcwidth_table): New type.
1955 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
1956 functions.
1957 (struct wctrans_table): New type.
1958 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
1959 functions.
1960 (allocate_arrays): Support for alternate locale format: Set
1961 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
1962 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
1963 to the first 256 characters. Compute ctype->map_3level. Set
1964 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
1965 instead of ctype->width.
1966
a64e8af1
UD
19672000-07-24 Ulrich Drepper <drepper@redhat.com>
1968
1969 * libio/iogetwline.c (_IO_getwline_info): Use wide character
1970 string functions.
1971
5bef2820
UD
19722000-07-24 Jakub Jelinek <jakub@redhat.com>
1973
1974 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
1975 in wide characters, not bytes.
1976 * libio/tst_putwc.c (do_test): Add test for writing lots of data
1977 into file.
1978
19792000-07-22 Bruno Haible <haible@clisp.cons.org>
1980
1981 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
1982 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
1983 LC_MEASUREMENT, LC_IDENTIFICATION.
1984
1985 * locale/xlocale.h (struct __locale_struct): Increase size of
1986 __locales array.
1987 * locale/duplocale.c (__duplocale): Copy newly added categories as
1988 well.
1989 * locale/freelocale.c (__freelocale): Free newly added categories.
1990 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
1991 If a base is given, use it, don't simply return it.
1992
19932000-07-22 Bruno Haible <haible@clisp.cons.org>
1994
1995 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
1996 variables, copied_key and copied_salt, instead of boolean variables.
1997
cddad6b2
AJ
19982000-07-24 Andreas Jaeger <aj@suse.de>
1999
02d0efdf
AJ
2000 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
2001 check for offset.
2002
2003 * grp/initgroups.c (initgroups_dyn_function): Renamed from
2004 initgroups_function, adopted prototype for change from 2000-07-23.
2005 (initgroups): Follow type change.
2006
9f4b36ca
AJ
2007 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
2008 & PAGE_MASK case, reformat.
2009
2010 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
2011 from stdin and setup environment.
cddad6b2 2012
9a18638a
AS
20132000-07-24 Andreas Schwab <schwab@suse.de>
2014
2015 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
2016
cf9e9ad9
UD
20172000-07-23 Ulrich Drepper <drepper@redhat.com>
2018
7603ea28
UD
2019 * string/endian.h: Explain the _*_ENDIAN constant values a bit
2020 more. Patch by scarlet@mit.edu [PR libc/1799].
2021
2022 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
2023 [PR libc/1792].
2024
2025 * argp/argp-parse.c (parser_finalize): Reverse order in which
2026 parsers are run for ARGP_KEY_END. [PR libc/1755].
2027
cf9e9ad9
UD
2028 * grp/initgroups.c (initgroups): Don't limit the possible number
2029 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
2030 the setgroups call while the call fails and descrease the number
2031 of groups each round.
2032 The name of the initgroups function in the NSS modules changed.
2033 (compat_call): Adapt for dynamic resizing.
2034 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2035 Implement dynamic resizing.
2036 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2037 Likewise.
2038 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
2039 * hesiod/Versions: Change exported interface name.
2040 * nis/Versions: Change exported interface name.
2041
945b22ed
UD
20422000-07-23 Ulrich Drepper <drepper@redhat.com>
2043
2044 * locale/iso-639.def: Some errors corrected.
2045 Patch by Keld Simonsen.
2046
2047 * include/limits.h: Update non-gcc portion.
2048 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2049
6abc15e9
MK
20502000-07-22 Mark Kettenis <kettenis@gnu.org>
2051
2052 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
2053 program's data space, reallocate only the space that was just
2054 deallocated to release its backing space.
2055
a1d4a3bc
UD
20562000-07-23 Ulrich Drepper <drepper@redhat.com>
2057
6a1fc4ed
UD
2058 * stdio-common/vfprintf.c (process_string_arg): For wide character
2059 version, handle precision also correctly.
2060
3accf5d1
UD
2061 * nss/nss_files/files-hosts.c: Correct problem with three or more
2062 entries with the same name.
2063
a1d4a3bc
UD
2064 * nss/nss_files/files-hosts.c: Implement multi handling.
2065 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
2066
3f36c563
UD
20672000-07-22 Ulrich Drepper <drepper@redhat.com>
2068
3b9754f4
UD
2069 * nss/nss_files/files-parse.c: Don't pollute namespace by using
2070 strcasecmp.
2071
3f36c563
UD
2072 * grp/Makefile: Change Makefiles and tests to run only when necessary.
2073 * malloc/Makefile: Likewise.
2074 * malloc/tst-mtrace.sh: Likewise.
2075 * posix/Makefile: Likewise.
2076 * posix/globtest.sh: Likewise.
2077 * posix/wordexp-tst.sh: Likewise.
2078 * string/Makefile: Likewise.
2079
5df3a373
UD
20802000-07-22 Mark Kettenis <kettenis@gnu.org>
2081
2082 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
2083 size instead of LC_ALL to take into account the new locale
2084 categories.
2085
40c014b3
UD
20862000-07-22 Ulrich Drepper <drepper@redhat.com>
2087
04fbc779
UD
2088 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
2089 remainders of hash table.
2090 * locale/categories.def: Remove remainders of transliteration
2091 hash table.
2092 * locale/langinfo.h: Likewise.
2093 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
2094 transliteration tables.
2095
2096 * locale/gen-translit.pl: New file.
2097 * locale/C-translit.h.in: New file.
2098 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
2099 data pointers with data from this file.
2100 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
2101 and gen-translit.pl.
2102 Add rule to generate C-translit.h.
49ba1c12
UD
2103 * intl/tst-translit.c (main): Update for now performed
2104 transliteration.
04fbc779 2105
fcc10ffa
UD
2106 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
2107 (it's no input error).
2108 * stdio-common/tstscanf.c: Add test case for format %f with input --.
2109 * stdio-common/scanf12.c: Correct expected result for first scanf.
2110
40c014b3
UD
2111 * stdio-common/vfprintf.c (process_string_arg): Correct handling
2112 of multibyte character strings in %s format with precision.
2113
dfef32ef
UD
21142000-07-21 Ulrich Drepper <drepper@redhat.com>
2115
d58c3ad0 2116 * locale/programs/ld-collate.c (collate_read): Allow collating
c056ee48 2117 symbols and elements be named in reorder-after instructions.
d58c3ad0
UD
2118 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
2119
0c0c8bde
UD
2120 * locale/programs/ld-collate.c (handle_ellipsis): Test for
2121 duplication with generated name, not the name of the first
2122 character.
2123 Patch by Yong Li <yong.li@asu.edu>.
2124
dfef32ef
UD
2125 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
2126 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2127
f74e61f0
UD
21282000-07-21 Wolfram Gloger <wg@malloc.de>
2129
2130 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
2131 allocations only if a non-main arena cannot be extended.
2132
58bad803
UD
21332000-07-21 Ulrich Drepper <drepper@redhat.com>
2134
2135 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
2136 in DF_1_NODEFLIB handling.
2137
c7e6b2e7
AJ
21382000-07-21 Andreas Jaeger <aj@suse.de>
2139
10b36b41
AJ
2140 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
2141 own rule.
2142
c7e6b2e7
AJ
2143 * libio/fwide.c: Include <wchar.h> for prototype.
2144
cb5113c1
GM
21452000-07-21 Greg McGary <greg@mcgary.org>
2146
2147 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
2148 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
2149 Define in terms of chunk_at_offset.
2150 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
2151 (next_bin, prev_bin): offset by size of real array elements.
2152 (chunk_align): Make `m' a scalar, since that's how it's used.
2153
df0f2bf8
GM
21542000-07-21 Greg McGary <greg@mcgary.org>
2155
f74e61f0
UD
2156 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
2157 UNCHECK_BOUNDS.
df0f2bf8
GM
2158 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
2159 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
2160 Wrap bounds around argv & envp and each of their string members.
2161 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
2162 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
2163 symbol in BP_SYM (). Discard bounds of address arg.
2164 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
2165 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
2166 Discard bounds on address arg, add bounds to return value.
2167
2f54c82d
UD
21682000-07-20 Ulrich Drepper <drepper@redhat.com>
2169
fcacb36a
UD
2170 * elf/Makefile (tests): Add filter. Add rules to generate filter.
2171 * elf/filter.c: New file.
2172 * elf/filtmod1.c: New file.
2173 * elf/filtmod2.c: New file.
2174
f53c03c2
UD
2175 * elf/rtld.c: Define _dl_bind_not variable.
2176 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
2177 * elf/dl-support.c: Likewise.
2178 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
2179 * elf/dl-runtime.c (fixup): Don't remember looked up value if
2180 _dl_bind_not.
2181 (profile_fixup): Likewise.
2182
d052b31b
UD
2183 * libio/Makefile (routines): Add fwide.
2184 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
2185 fwide now. Internal calls to _IO_fwide must do locking themselves
2186 or don't need locking.
2187 * libio/fwide.c: New file.
2188
2189 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
266bb989 2190
2cb8cefb
UD
2191 * elf/Makefile: Add no modules for nodelete test.
2192 * elf/nodelmod3.c: New file.
2193 * elf/nodelmod4.c: New file.
2194 * elf/nodelete.c: Also test case where dependency of dlopen() object
2195 is marked nodelete.
2196
2f54c82d 2197 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
2cb8cefb
UD
2198 * elf/nodlopen.c: New file.
2199 * elf/nodlopenmod.c: New file.
2f54c82d
UD
2200 * include/dlfcn.h: Define __RTLD_DLOPEN.
2201 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
2202 and this is a dlopen() call, do not load the binary.
2203 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
2204 * dlfcn/dlopenold.c: Likewise.
2205 * configure.in: Add test for -z nodelete option.
2206 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
2207
22082000-07-20 Mark Kettenis <kettenis@gnu.org>
2209
2210 Make Hesiod NSS module thread-safe.
2211
2212 * hesiod/README.hesiod: Update.
2213
2214 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
2215 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
2216 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
2217 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
2218 hesiod-proto.
2219 * hesiod/nss_hesiod/hesiod-init.c: New file.
2220 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
2221 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
2222 * hesiod/nss_hesiod/nss_hesiod.h: New file.
2223 * hesiod/nss_hesiod/hesiod-service.c
2224 (_nss_hesiod_getservbyport_r): New function. Provide support for
2225 looking up services by port number.
2226 * hesiod/nss_hesiod/hesiod-proto.c: New file.
2227
2228 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
2229 * hesiod/hesiod.h: Likewise.
2230 * hesiod/hesiod_p.h: Likewise.
2231
22322000-07-20 Mark Kettenis <kettenis@gnu.org>
2233
2234 Fix problems with `struct __res_state' getting too big.
2235 * resolv/resolv.h (struct __sockaddr_in): New definition.
2236 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
2237 the private parts of the structure to save some space.
2238 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
2239 (struct sockaddr_in *) in call to sock_eq.
2240 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
2241
9c38a689
UD
22422000-07-20 Ulrich Drepper <drepper@redhat.com>
2243
bf8b3e74
UD
2244 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
2245 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
2246 with nodelete.
2247 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
2248 to _dl_map_object. Return immediately if no object loaded.
2249 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
2250 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
2251 if it exists into l_flags_1 word.
2252 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
2253 it to determine whether loading is wanted or not.
2254 (_dl_map_object): Likewise.
2255 Call _dl_map_object_from_fd with new parameter.
2256 * sysdeps/generic/ldsodefs.h: Update prototype.
2257 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
2258 * elf/rtld.c: Likewise.
2f54c82d 2259 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
bf8b3e74
UD
2260 * elf/Makefile (tests): Add noload. Add rules to generate noload.
2261 * elf/noload.c: New file.
2262 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
2263 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
2264 * sysdeps/mips/bits/dlfcn.h: Likewise.
0fb7851f
UD
2265 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
2266 (tests-nodelete-yes): Define.
2267 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
2268 Add rules to build nodelete and modules.
2269 * elf/nodelete.c: New file.
2270 * elf/nodelmod1.c: New file.
2271 * elf/nodelmod2.c: New file.
2272 * configure.in: Add test for -z nodelete option.
2273 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
bf8b3e74 2274
9c38a689
UD
2275 * libio/Makefile (tests): Add tst_wprintf2.
2276 (tst_wprintf2-ARGS): Define.
2277 * libio/tst_wprintf2.c: New file.
2278 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
2279
2280 * libio/wfiledoalloc.c: Only allocate external buffer if this
2281 hasn't happened yet.
2282
2283 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
2284 something in the buffer. gconv call can write up to end of the
2285 buffer, not only _IO_write_end.
2286 (_IO_wfile_overflow): Allocate also external buffer.
2287
4e8286ac
UD
22882000-07-19 Ulrich Drepper <drepper@redhat.com>
2289
9c38a689
UD
2290 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
2291 strings with precision in vfwprintf correctly.
2292 * stdio-common/vfprintf.c: Fix completely broken handling of
2293 unbuffered wide character streams.
2294 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
2295
4e8286ac
UD
2296 * resolv/Makefile (distribute): Add README.
2297
2298 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
2299
e685e07d
UD
23002000-07-18 Mark Kettenis <kettenis@gnu.org>
2301
2302 Update resolver code to BIND 8.2.3-T5B.
2303
2304 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
2305 __res_nclose.
2306 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
2307 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
2308 __res_search.
2309 * resolv/Banner: BIND-8.2.3-T5B.
2310
2311 * resolv/base64.c: Update from BIND 8.2.3-T5B.
2312 * resolv/herror.c: Likewise.
2313 * resolv/inet_addr.c: Likewise.
2314 * resolv/inet_net_ntop.c: Likewise.
2315 * resolv/inet_net_pton.c: Likewise.
2316 * resolv/inet_neta.c: Likewise.
2317 * resolv/inet_ntop.c: Likewise.
2318 * resolv/nsap_addr.c: Likewise.
2319 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
2320 IPv6 addresses (ISC bug #520).
2321
2322 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
2323 * resolv/ns_parse.c: Likewise.
2324 * resolv/ns_netint.c: Likewise.
2325 * resolv/ns_samedomain.c: Likewise.
2326 * resolv/ns_ttl.c: Likewise.
2327 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
2328 RCS ID in object file.
2329
2330 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
2331 * resolv/res_mkquery.c: Likewise.
2332 * resolv/res_query.c: Likewise.
2333 * resolv/res_init.c: Likewise.
2334 (res_setoptions): Mark internal.
2335 * resolv/res_send.c: Likewise.
2336 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
2337 by using poll instead.
2338 * resolv/res_comp.c: Likewise.
2339 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
2340 weak alias for __dn_expand.
2341 * resolv/res_data.c: Likewise.
2342 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
2343 in _res.options. Avoids a potential security risk by avoiding a
2344 close (0).
2345 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
2346 res_mkquery, res_query, res_querydomain adn res_search weak
2347 aliases for __res_mkquery, __res_query, __res_querydomain and
2348 __res_search.
2349 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
2350 instead to avoid close(0).
2351 (res_init): Always use the static resolver context.
2352 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
2353 alias for __res_init.
2354
2355 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
2356 RES_SET_H_ERRNO and accompanying comment to...
2357 * include/resolv.h: ... here.
2358
2359 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
2360 * resolv/arpa/nameser_compat.h: Likewise.
2361
695a0763
UD
23622000-07-18 Ulrich Drepper <drepper@redhat.com>
2363
247c8869
UD
2364 * nss/makedb.c (main): Compare result of load_db with
2365 NSS_STATUS_SUCCESS and not 0.
2366 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
2367
695a0763
UD
2368 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
2369
f306e7ff
GM
23702000-07-18 Greg McGary <greg@mcgary.org>
2371
2372 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
2373 (EXTEND_BUFFER): Use it.
2374
83142e8f
UD
23752000-07-18 Ulrich Drepper <drepper@redhat.com>
2376
2377 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
2378 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
2379 __builtin_return_address.
2380 * dlfcn/dlopenold.c: Likewise.
2381 * dlfcn/dlsym.c: Likewise.
2382 * dlfcn/dlvsym.c: Likewise.
2383 * elf/dl-profstub.c: Likewise.
2384 * malloc/malloc.c: Likewise.
2385 * sysdeps/generic/machine-gmon.h: Likewise.
2386 Based on a patch by schwidefsky@de.ibm.com.
2387
626da526
AJ
23882000-07-18 Andreas Jaeger <aj@suse.de>
2389
9f791dcf
AJ
2390 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
2391 NULL to elf_machine_fixup_plt t argument to silence GCC.
2392
80f41baa
AJ
2393 * include/string.h: Add prototype for __memchr.
2394
626da526
AJ
2395 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
2396
2397 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
2398 instead of memrchr.
2399
c6df09ad
UD
24002000-07-18 Ulrich Drepper <drepper@redhat.com>
2401
2402 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
2403
2404 * locale/C-ctype.c: Add initializers for gap elements.
2405 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
2406 for gap elements.
2407
9aaac141
UD
24082000-07-16 Ulrich Drepper <drepper@redhat.com>
2409
2410 * nscd/nscd.c (print_version): Update copyright year.
2411
4d928e8d
GM
24122000-07-17 Greg McGary <greg@mcgary.org>
2413
2414 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
2415 keyletters F, I, S, W. Remove unused keyletter V. Surround
2416 signature argnames with angle-brackets for use as word delimiters,
2417 and to induce syntax errors for any args not handled. Split
2418 multi-echo echoes and comment each stage.
2419 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
2420 * sysdeps/unix/inet/syscalls.list: Likewise.
2421 * sysdeps/unix/mman/syscalls.list: Likewise.
2422 * sysdeps/unix/syscalls.list: Likewise.
2423 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2424 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2425 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2426 * sysdeps/unix/sysv/syscalls.list: Likewise.
2427 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
2428
14fa17cc
GM
2429 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
2430 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
2431 qualifiers. Don't check NULL-terminator of argv & envp.
2432 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
2433 unbounded pointer type in word-size assertion.
2434 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
2435 cases to stifle warnings.
2436
2437 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
2438 _IO_file_attach.
2439 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2440
03df72bf
GM
2441 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
2442 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
2443 ptr as __unbouned.
2444
916c1395
GM
2445 * Makerules (o-objects): Supplement with $(o-objects$o).
2446 * string/Makefile (o-objects.ob): Add variable to pull
2447 unbounded versions of memcpy, memset and memchr into libc_b.
2448
abf70633
GM
2449 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
2450 rather than non-existent __ubp_memchr.
2451 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
2452 (_CHECK_STRING, _CHECK_N): New macros.
2453 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
2454 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
2455 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
2456 Add weak alias "memchr".
2457 * sysdeps/generic/memchr.c: Likewise.
2458 * sysdeps/i386/memchr.S: Likewise.
2459 * sysdeps/ia64/memchr.S: Likewise.
2460 * sysdeps/m68k/memchr.S: Likewise.
2461 * sysdeps/sparc/sparc32/memchr.S: Likewise.
2462 * sysdeps/sparc/sparc64/memchr.S: Likewise.
2463 * sysdeps/vax/memchr.s: Likewise.
2464
7884bf47
GM
2465 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
2466
2467 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
2468 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
2469 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
2470 __BOUNDED_POINTERS__.
2471 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
2472 for __BOUNDED_POINTERS__.
2473
8114530a
UD
24742000-07-17 Bruno Haible <haible@clisp.cons.org>
2475
2476 * iconv/gconv_open.c (__gconv_open): Initialize the __data
2477 field of struct __gconv_trans_data differently. Don't pass NULL to
2478 trans_init_fct. Simplify list append operation.
2479
24802000-07-14 Bruno Haible <haible@clisp.cons.org>
2481
2482 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
2483 not only those having tsearch.
2484
24852000-07-17 Ulrich Drepper <drepper@redhat.com>
2486
2487 * locale/langinfo.h: Add placeholder values in enum for removed
2488 LC_CTYPE entries.
2489
24902000-07-17 Jakub Jelinek <jakub@redhat.com>
2491
2492 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
2493 chain if the PHDR check fails.
2494
24952000-07-17 Mark Kettenis <kettenis@gnu.org>
2496
2497 * nss/getent.c (print_hosts): Make sure we always print a space
2498 between numeric addresses and hostnames.
2499
25002000-07-17 Wolfram Gloger <wg@malloc.de>
2501
2502 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
2503 i.e. if n_mmaps_max>0.
2504
25052000-07-16 Mark Kettenis <kettenis@gnu.org>
2506
2507 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
2508 values to remove possible clash with other AI_* constants.
2509 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
2510 hexadecimal constants to stress the fact they're in fact
2511 bit flags.
2512
25132000-07-15 Mark Kettenis <kettenis@gnu.org>
2514
2515 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
2516 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
2517 instead of res_init.
2518
7f53da19
UD
25192000-07-16 Ulrich Drepper <drepper@redhat.com>
2520
2521 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
2522 parameters of memset calls to avoid warnings.
2523
9ff9add9
UD
25242000-07-15 Ulrich Drepper <drepper@redhat.com>
2525
7f53da19
UD
2526 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
2527 necessary.
2528
9ff9add9
UD
2529 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
2530 Patch by Greg McGary <greg@mcgary.org>.
2531
2532 * io/Makefile (tests): Add tst-getcwd.
2533 * io/tst-getcwd.c: New file.
2534
e0ea35a3
UD
2535 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
2536
e993e9cc
UD
25372000-07-15 Jakub Jelinek <jakub@redhat.com>
2538
7f53da19 2539 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
e993e9cc
UD
2540 structure.
2541
25422000-07-13 Jakub Jelinek <jakub@redhat.com>
2543
2544 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
2545 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
2546
101c92fc
UD
25472000-07-12 H.J. Lu <hjl@gnu.org>
2548
2549 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
2550 GLIBC_2.2.
2551 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
2552 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
2553 (sysdep-routines): Add clone2.
2554 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
2555
a9a4127e
UD
25562000-07-13 Jes Sorensen <jes@linuxcare.com>
2557
2558 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
2559 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
2560
25612000-06-05 David Mosberger <davidm@hpl.hp.com>
2562
2563 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
2564 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
2565 Change type of si_band from "int" to "long".
2566 (si_imm) [USE_GNU]: Define
2567 (si_isr) [USE_GNU]: Ditto.
2568 (ILL_BREAK) [USE_GNU]: Ditto.
2569 (FPE_DECOVF) [USE_GNU]: Ditto.
2570 (FPE_DECDIV) [USE_GNU]: Ditto.
2571 (FPE_DECERR) [USE_GNU]: Ditto.
2572 (FPE_INVASC) [USE_GNU]: Ditto.
2573 (FPE_INVDEC) [USE_GNU]: Ditto.
2574 (TRAP_BRANCH) [USE_GNU]: Ditto.
2575 (TRAP_HWBKPT) [USE_GNU]: Ditto.
2576
25772000-07-06 Jes Sorensen <jes@linuxcare.com>
2578
2579 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
2580 bits/sigcontext as struct mcontext does not depend on it.
2581
2582 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
2583
25842000-07-04 Jes Sorensen <jes@linuxcare.com>
2585
2586 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
2587
25882000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
2589
2590 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
2591
25922000-06-22 Jes Sorensen <jes@linuxcare.com>
2593
2594 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
2595
4ab8e75a
UD
25962000-07-15 Ulrich Drepper <drepper@redhat.com>
2597
2598 * intl/Makefile (test-srcs): Add tst-translit.
2599 (tests): Likewise.
2600 Add rules to build and run tst-translit.
2601 * intl/tst-translit.c: New file.
2602 * intl/tst-translit.sh: New file.
a9a4127e 2603 * intl/translit.po: New file.
4ab8e75a 2604
7888313d
UD
26052000-07-14 Ulrich Drepper <drepper@redhat.com>
2606
2607 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
2608 transliteration function did its job, continue, don't stop.
2609
2610 * iconvdata/iso646.c: Little optimizations in body for conversion
2611 from UCS4.
2612
ea1efc6f
UD
26132000-07-14 Mark Kettenis <kettenis@gnu.org>
2614
2615 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
2616
c218729d
UD
26172000-07-14 Mark Kettenis <kettenis@gnu.org>
2618
2619 * configure.in: Check for pwd binary.
2620 * config.make.in: Add PWD_P to be subsituted.
2621 * Makerules: Use $(PWD_P) instead of /bin/pwd.
2622
cfd14df5
UD
26232000-07-14 Ulrich Drepper <drepper@redhat.com>
2624
2625 * iconvdata/Makefile (modules): Add GB18030.
2626 (distribute): Add gb18030.c.
2627 * iconvdata/gconv-modules: Add entries for GB18030 module.
2628 * iconvdata/gb18030.c: New file.
2629 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
2630 and Wu Jian.
2631
4ea1f016
AJ
26322000-07-13 Andreas Jaeger <aj@suse.de>
2633
2634 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
2635 patch.
2636
2637 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
2638 * inet/getnetgrent.c (free_mem): Likewise.
2639 * misc/mntent.c (free_mem): Likewise.
2640 * nss/getXXbyYY.c (free_mem): Likewise.
2641 * nss/getXXent.c (free_mem): Likewise.
2642 * pwd/fgetpwent.c (free_mem): Likewise.
2643 * shadow/fgetspent.c (free_mem): Likewise.
2644
f218b5f5
UD
26452000-07-14 Ulrich Drepper <drepper@redhat.com>
2646
2647 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
2648 64-bit architecture correctly [PR libc/1794].
2649
aa4068f2
UD
26502000-07-13 Ulrich Drepper <drepper@redhat.com>
2651
ca3c0135
UD
2652 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
2653 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
2654 report that we are out of memory.
2655 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2656 * elf/dl-libc.c (dlerror_run): Likewise.
2657 * elf/dl-open.c (_dl_open): Likewise.
2658 * elf/rtld.c (dl_main): Likewise.
2659 * elf/dl-error.c: Define _dl_out_of_memory.
383b654b 2660 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
ca3c0135
UD
2661 the error string.
2662 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
383b654b 2663 [PR libc/1813].
ca3c0135
UD
2664
2665 * dlfcn/dlerror.c (free_key_mem): Also free error string.
2666
2667 * iconv/loop.c: Fix comment.
2668
aa4068f2
UD
2669 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
2670
9cd865e0
UD
26712000-07-13 Andreas Jaeger <aj@suse.de>
2672
2673 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
2674 getcwd (NULL, size) with size > 0.
aa4068f2 2675 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
9cd865e0
UD
2676
26772000-07-13 Andreas Jaeger <aj@suse.de>
2678
2679 * posix/Makefile: Remove build rules for libposix.
2680
1338451b
AJ
26812000-07-13 Andreas Schwab <schwab@suse.de>
2682
2683 * sysdeps/generic/glob.c (glob): Fix memory leak.
2684 [SHELL]: Remove reference to undefined variable `files'.
2685 Fixes PR libc/1782.
2686
5f85c7ac
AJ
26872000-07-13 Andreas Jaeger <aj@suse.de>
2688
e940b742
AJ
2689 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
2690 functions.
2691
5f85c7ac
AJ
2692 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
2693 memory if it was allocated.
2694
7039a4c9
UD
26952000-07-12 Ulrich Drepper <drepper@redhat.com>
2696
405b8c60
UD
2697 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
2698 step.
2699
2700 * iconv/gconv_open.c (__gconv_open): Reapply
2701 2000-07-12 Bruno Haible <haible@clisp.cons.org>
2702
aa4068f2 2703 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
405b8c60 2704
7039a4c9
UD
2705 * iconv/gconv_open.c: Undo last two changes for now. They break
2706 everything.
2707
8ca91b36
UD
27082000-07-12 Andreas Jaeger <aj@suse.de>
2709
2710 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
2711 compiler.
2712 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
2713 (CFLAGS-dl-cache.c): Likewise.
2714 (CFLAGS-ldconfig.c): Added, passes directory locations.
2715
2716 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
2717 locate cache.
2718 * elf/ldconfig.c (LD_SO_CONF): Likewise.
2719 (main): Use configured LIBDIR and SLIBDIR.
2720
27212000-07-11 Jakub Jelinek <jakub@redhat.com>
2722
2723 * math/bits/cmathcalls.h (cimag): Add __THROW.
2724 (creal, conj): Likewise.
2725 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
2726 by negative value.
2727
0d655550
UD
27282000-07-12 H.J. Lu <hjl@gnu.org>
2729
2730 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
2731 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
2732
27332000-07-12 Ulrich Drepper <drepper@redhat.com>
2734
2735 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
2736 it is wrong.
2737
9f835f5f
UD
27382000-07-12 Bruno Haible <haible@clisp.cons.org>
2739
2740 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
2741
27422000-07-12 Bruno Haible <haible@clisp.cons.org>
2743
2744 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
2745 __modname.
2746
27472000-07-12 Bruno Haible <haible@clisp.cons.org>
2748
2749 * iconv/gconv_open.c (__gconv_open): Initialize
2750 result->__steps[cnt].__data.
2751
27522000-07-12 Mark Kettenis <kettenis@gnu.org>
2753
2754 * nss/getent.c (services_keys): Pass port number in network byte
2755 order in call to getservbyport.
2756
27572000-07-11 Andreas Jaeger <aj@suse.de>
2758
2759 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
2760 source dir.
2761 * intl/Makefile (do-gettext-test): Likewise.
2762 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
2763
27642000-07-11 Andreas Schwab <schwab@suse.de>
2765
2766 * Makeconfig (run-program-prefix): New rule.
2767 (built-program-cmd): Use run-program-prefix.
2768
50a65643
UD
27692000-07-12 Ulrich Drepper <drepper@redhat.com>
2770
2771 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
2772 and NOEXPR unconditionally available.
2773
e279e90b
GM
27742000-07-12 Greg McGary <greg@mcgary.org>
2775
2776 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
2777 * sysdeps/posix/open64.c: Likewise.
2778 * sysdeps/generic/fegetenv.c: Likewise.
2779 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
2780 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2781 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2782 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
2783 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
2784 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
2785
c62f5cab
GM
27862000-07-11 Greg McGary <greg@mcgary.org>
2787
2788 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
2789 Add extra level of macro expansion.
2790 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
2791 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
2792 is available at the time `select' prototype is declared.
2793 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
2794 Collect non-versioned weak aliases. Consider only non-versioned
2795 aliases for the user-visible systemcall name. Do checks inline with
2796 call to primitive system call.
2797 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
2798 stand-alone bounds checks to suppress unused value warnings.
2799 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2800
f80f1a4a
UD
28012000-07-10 Mark Kettenis <kettenis@gnu.org>
2802
19624ed6
MK
2803 * sysdeps/mach/hurd/check_fds.c: New file. Implements
2804 file descriptor checking in SUID programs for the Hurd.
2805
f80f1a4a
UD
2806 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
2807 res_hostalias instead of __hostalias for thread-safety.
2808
47a81620
UD
28092000-07-09 Mark Kettenis <kettenis@gnu.org>
2810
2811 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
2812 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
2813
28142000-07-10 Ulrich Drepper <drepper@redhat.com>
2815
2816 * include/features.h: Include ISO C99 features if the compiler used
2817 is an ISO C99 compiler.
2818 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2819
28202000-07-08 Mark Kettenis <kettenis@gnu.org>
2821
2822 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
2823
02ba6e61
AJ
28242000-07-10 Andreas Jaeger <aj@suse.de>
2825
ab18b1e1
AJ
2826 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
2827 it's overridden by libpthreads.
2828 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2829 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2830 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2831 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2832 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2833
02ba6e61
AJ
2834 * malloc/Makefile: Run tst-mtrace only with shared libs.
2835
2836 * stdio-common/Makefile: Run unbputc and tst-printf tests only
2837 with shared libs.
2838
28392000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2840
2841 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
2842 that gpreg really points to the GOT section of the calling object.
2843 Scan all PT_LOAD segments of objects for stub_pc, instead of only
2844 checking a start address of first one.
2845 Fix typos.
2846 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
2847 Likewise.
2848
2849 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
2850
989eef3e
AJ
28512000-07-10 Andreas Jaeger <aj@suse.de>
2852
2853 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
2854 (string_alias->strong_alias).
2855
f9812076
MK
28562000-07-08 Mark Kettenis <kettenis@gnu.org>
2857
2858 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
2859
f2c9942e
GM
28602000-07-07 Greg McGary <greg@mcgary.org>
2861
2862 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
2863 have no names without leading underscores.
2864
0755050e
UD
28652000-07-07 Ulrich Drepper <drepper@redhat.com>
2866
6ccf5e67
UD
2867 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
2868 U007E.
2869
0755050e
UD
2870 * stdio-common/Makefile (tests): Remove tst-printf here...
2871 (tests-srcs): ...and add it here.
2872 (distribute): Add tst-unbputc.sh and tst-printf.sh.
2873 Add rules to run tst-printf.sh.
2874 * stdio-common/tst-printf.c: Move code around so that there is really
2875 no further output where it's stated.
2876 * stdio-common/tst-printf.sh: New file.
2877
f5dcffc5
MK
28782000-07-07 Mark Kettenis <kettenis@gnu.org>
2879
2880 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
2881 (do_write): Renamed from pwrite.
2882 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
2883 `struct _IO_cookie_file'.
2884
d6a25063
UD
28852000-07-07 Ulrich Drepper <drepper@redhat.com>
2886
2887 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
2888 detected.
2889 * malloc/tst-mtrace.sh: Run mtrace script.
2890
8ccd2cb1
GM
28912000-07-07 Greg McGary <greg@mcgary.org>
2892
2893 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
2894 Move all three components of a bounded pointer.
2895
89a4f6ff
UD
28962000-07-07 Ulrich Drepper <drepper@redhat.com>
2897
2898 * locale/programs/locale.c (write_locales): Don't simply add all
2899 directories found in the subdir, test whether at least the
2900 LC_CTYPE file is in there.
2901
c0f53cdd
UD
29022000-07-06 Ulrich Drepper <drepper@redhat.com>
2903
2528edd3
UD
2904 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
2905 * iconvdata/euc-kr.c: Likewise.
2906
ca4447d6
UD
2907 * stdio-common/vfprintf.c (process_string_arg): Check result of
2908 wcrtomb call and bail out if it failed.
2909
199d6eb0
UD
2910 * malloc/Makefile (test-srcs): Add tst-mtrace.
2911 (distribute): Add tst-mtrace.sh.
2912 Add rule to run tst-mtrace.sh.
2913 * malloc/tst-mtrace.c: New file.
2914 * malloc/tst-mtrace.sh: New file.
2915
c0f53cdd
UD
2916 * include/signal.h: Declare __libc_sigaction.
2917 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
2918 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
2919 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2920 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2921 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2922 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2923 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2924
ca4447d6 2925 * configure.in: Fix CFLAGS-memprofstat.c definition after
c0f53cdd
UD
2926 2000-06-19 change.
2927 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
2928
29292000-07-06 Jakub Jelinek <jakub@redhat.com>
2930
2931 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
2932 instead of NULL to elf_machine_fixup_plt t argument.
2933 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2934 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
2935 cast.
2936
29372000-07-06 Andreas Jaeger <aj@suse.de>
2938
2939 * crypt/Makefile (LDLIBS-cert): Removed.
2940 (LDLIBS-md5c-test): Removed.
2941 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
2942 ($(objpfx)md5c-test): Likewise for md5c-test.out.
2943
f7b0d45a
AJ
29442000-07-06 Andreas Jaeger <aj@suse.de>
2945
2946 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
2947 of the proc system is "proc".
2948
394d3277 2949 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
5d7ecaa8 2950 thread library for static programs.
394d3277 2951
1055cf7c
GM
29522000-07-06 Greg McGary <greg@mcgary.org>
2953
4bbb61e4
GM
2954 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
2955 New macros.
2956 * sysdeps/generic/strcpy.c: Add bounds checks.
2957 * sysdeps/unix/fxstat.c: Likewise.
2958 * sysdeps/unix/xstat.c: Likewise.
2959 * sysdeps/unix/common/lxstat.c: Likewise.
2960 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2961 * sysdeps/unix/sysv/linux/execve.c: Likewise.
2962 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
2963 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2964 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2965 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2966 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
2967 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2968 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2969 * sysdeps/unix/sysv/linux/poll.c: Likewise.
2970 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2971 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2972 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
2973 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2974 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2975 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2976 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2977 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2978 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2979 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2980 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2981 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
2982 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2983 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
2984 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
2985 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
2986 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2987 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
2988 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2989 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2990 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2991 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
2992 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2993 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2994 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2995 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2996 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2997 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
2998 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2999 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3000 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3001 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3002 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3003 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3004 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
3005 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
3006 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3007 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
3008 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
3009 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
3010 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
3011 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
3012 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3013 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3014 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3015 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3016 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3017 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
3018 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
3019 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
3020 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3021 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
3022 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
3023 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
3024
ca1cde9e
GM
3025 * string/endian.h (__LONG_LONG_PAIR): New macro.
3026 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
3027 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3028 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3029 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3030 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3031 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3032 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
3033 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3034 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3035 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3036 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3037 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3038
1055cf7c
GM
3039 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
3040
fe4e204f
AJ
30412000-07-06 Andreas Jaeger <aj@suse.de>
3042
71cebc12
AJ
3043 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
3044 Initialize result.
3045
fe4e204f
AJ
3046 * math/test-fpucw.c: Include <stdio.h> for printf.
3047
34173b51
GM
30482000-07-05 Greg McGary <greg@mcgary.org>
3049
3050 * sysdeps/generic/bp-checks.h: New file.
3051 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
3052 with list of #include files.
3053 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
3054 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
3055 Don't generate BP thunk if `V' appears in signature.
3056 Generate thunks with complete bounds checks.
3057 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
3058 * sysdeps/unix/inet/syscalls.list: Likewise.
3059 * sysdeps/unix/mman/syscalls.list: Likewise.
3060 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3061 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3062 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3063 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
3064
11b34882
UD
30652000-07-05 Ulrich Drepper <drepper@redhat.com>
3066
77432371
UD
3067 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
3068 result. Search first in /etc/mtab (proc/mounts would be stupid).
3069 If mount not in the file fall back on /proc.
3070
11b34882
UD
3071 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
3072 string got copied in.
3073 Patch by Solar Designer <solar@false.com>.
3074
30752000-07-05 Andreas Jaeger <aj@suse.de>
3076
3077 * manual/install.texi (Installation): Update information about
3078 add-ons.
3079 (Configuring and compiling): Update for glibc 2.2.
3080
30812000-07-04 Andreas Jaeger <aj@suse.de>
3082
3083 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
3084 (_FPU_IEEE): Likewise.
3085
3086 * math/Makefile (tests): Add test-fpucw.
3087
3088 * math/test-fpucw.c (main): New file.
3089
f3e29a1a
UD
30902000-07-05 Ulrich Drepper <drepper@redhat.com>
3091
3092 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
3093
3094 * locale/programs/ld-collate.c (collate_output): Also write out the
3095 collation sequence values and the wide character string for the
3096 collation symbol table.
3097
3098 * posix/fnmatch.c: Include "../locale/elem-hash.h".
3099 * posix/fnmatch_loop.c: Implement collating symbol handling.
3100 * posix/tst-fnmatch.input: Add more tests, especially for collating
3101 symbol handling.
3102
3103 * posix/regex.c: Fix comment.
3104
0843ed1c
AJ
31052000-07-05 Andreas Jaeger <aj@suse.de>
3106
a2616aed
AJ
3107 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
3108 (_FPU_GETCW): Remove extra colon.
3109 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
3110
0843ed1c
AJ
3111 * posix/fnmatch_loop.c (FCT): Only declare len if
3112 !WIDE_CHAR_VERSION to silence GCC.
3113
3114 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
3115 prototype.
3116 * sysdeps/generic/strchrnul.c: Likewise.
d41293c7
AJ
3117 * sysdeps/generic/strlen.c: Likewise.
3118 * sysdeps/generic/strchr.c: Likewise.
3119 * sysdeps/generic/memchr.c: Likewise.
0843ed1c 3120
3248e3a3
UD
31212000-07-04 Ulrich Drepper <drepper@redhat.com>
3122
ecce00a9
UD
3123 * posix/fnmatch_loop.c: Implement equivalence class handling.
3124 * posix/tst-fnmatch.input: Add tests for equivalence class
3125 handling.
3126
7239b3a4
UD
3127 * posix/fnmatch_loop.c: Improve performance for single-byte
3128 character sets by not using btowc.
3129
ab9afc21
UD
3130 * posix/tst-fnmatch.input: Add tests for locale dependent
3131 behaviour.
3132 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
3133
f5c68a01
UD
3134 * posix/tst-fnmatch.input: Add more test cases.
3135
3248e3a3
UD
3136 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
3137 are not aligned to alignof(md5_uint32) do it before calling
3138 __md5_process_bytes.
3139 * crypt/md5.c: Make sure buffers are aligned.
3140 * crypt/md5.h: Likewise.
3141 Reported by Solar Designer <solar@false.com>.
3142
3143 * crypt/Makefile: Add dependencies for test programs.
3144
3145 * Rules: Define LC_ALL=C in environments of all programs we run.
3146
3147 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
3148
31492000-07-03 H.J. Lu <hjl@gnu.org>
3150
3151 * locale/programs/ld-ctype.c (ctype_output): The size of iov
3152 is 2 + elem + offset, not 2 + elem + offset + 2.
3153
31542000-07-04 Ulrich Drepper <drepper@redhat.com>
3155
3156 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
3157 suite.
3158 * posix/Makefile (tests): Add tst-fnmatch.
3159 (tst-fnmatch-ENV): Define.
3160 * posix/tst-fnmatch.c: New file.
3161 * posix/tst-fnmatch.sh: New file.
3162
a88b96f4
UD
31632000-07-04 NIIBE Yutaka <gniibe@chroot.org>
3164
3165 * locale/programs/charmap.c (charmap_read): Prepend
3166 the condition filename == NULL.
3167
b1fc7a6a
GM
31682000-07-03 Greg McGary <greg@mcgary.org>
3169
293c6b3c 3170 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
a2616aed 3171
98186375
GM
3172 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
3173 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
3174
73c115ed
GM
3175 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
3176 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
3177 (FILEBUF_LITERAL): Add cast for CHAIN init.
3178 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
3179 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
3180 Revert type of `fp' to _IO_FILE*.
3181 (_IO_iter_file): Remove cast.
3182 (_IO_iter_next): Elide intermediate member reference.
3183
b1fc7a6a
GM
3184 * sysdeps/powerpc/strchr.S: Check bounds.
3185 Wrap extern symbols in BP_SYM ().
3186
68eefde7 31872000-07-03 Andreas Jaeger <aj@suse.de>
3248e3a3 3188
68eefde7
UD
3189 * dlfcn/Makefile (generated): New.
3190
6f98fd7e
UD
31912000-07-03 Ulrich Drepper <drepper@redhat.com>
3192
3193 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
3194 (__uflow): Likewise.
3195 (__underflow): Likewise.
3196 * libio/wgenops.c (__wunderflow): Likewise.
3197 * stdio-common/tst-unbputc.c: New file.
3198 * stdio-common/tst-unbputc.sh: New file.
3199 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
3200
3201 * po/en_GB.po: New file.
3202 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
3203
40c4c9b5
UD
32042000-07-01 Andreas Jaeger <aj@suse.de>
3205
3206 * intl/Makefile (generated-dirs): New.
3207
3208 * elf/Makefile (generated): trusted-dirs.h is always generated,
3209 move out of build-shared condition.
3210 (generated): Merge the two entries for build-shared.
3211
32122000-07-01 Ulrich Drepper <drepper@redhat.com>
3213
3214 * debug/Makefile (distribute): Add xtrace.sh.
3215
5e087c71
UD
32162000-06-30 Ulrich Drepper <drepper@redhat.com>
3217
a2294e57
UD
3218 * version.h (VERSION): Bump to 2.1.91.
3219
3220 * configure.in: Update warning comment. glibc should not be
3221 broken anymore.
3222
3223 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
3224 ioperm.c, sys/procfs.h, and sys/io.h.
3225
3226 * sysdeps/powerpc/Dist: Add bp-asm.h.
3227
5e087c71
UD
3228 * assert/Depend: Add localedata.
3229 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
3230 (test-assert-perr-ENV): New. Define LANGUAGE=C.
3231
3232 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
3233 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
3234 relocation address to prevent unaligned trap.
3235 Suggested by Richard Henderson <rth@cygnus.com>.
3236
32372000-06-30 Jakub Jelinek <jakub@redhat.com>
3238
3239 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
3240 if redirecting and either redirection is done using defines or
3241 not optimizing.
3242
dbda6079
UD
32432000-06-30 Ulrich Drepper <drepper@redhat.com>
3244
a2294e57 3245 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
b856f875
UD
3246 generated expressions.
3247 Patch by Darren McClelland <dmcclell@zetec.com>.
3248
71d82dbe
UD
3249 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
3250 since zic uses setlocale and gettext but we cannot make it use the
3251 new locale data since zic calls a shell which might not use the
3252 new libc.
3253
3da67f99
UD
3254 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
3255 handling the internation currency symbol. POSIX says that the
3256 fourth character is used to separate the currency symbol from the
3257 value. Therefore it does not have to be printed. But we cannot
3258 remove the space if the currency symbol is printed before the
3259 number since this is what many locales expect.
3da67f99 3260
7f455351
UD
3261 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
3262 whether this information is available.
3263
3264 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
3265 buffers in case the translation is too large. Remember allocated
3266 memory blocks in a list.
3267 (free_mem): Free memory for translations.
3268
3269 * intl/tst-gettext.c: Use correct locale. Improve error messages.
3270
3271 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
3272 information is available set the string length to zero.
3273
dbda6079
UD
3274 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
3275
cb2eb742
GM
32762000-06-30 Greg McGary <greg@mcgary.org>
3277
fa87f403
GM
3278 * sysdeps/powerpc/bp-asm.h: New file.
3279 * sysdeps/powerpc/__longjmp.S: Check bounds.
3280 Wrap extern symbols in BP_SYM ().
3281 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
3282 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
3283 * sysdeps/powerpc/setjmp.S: Likewise.
3284 * sysdeps/powerpc/add_n.S: Likewise.
3285 * sysdeps/powerpc/addmul_1.S: Likewise.
3286 * sysdeps/powerpc/lshift.S: Likewise.
3287 * sysdeps/powerpc/rshift.S: Likewise.
3288 * sysdeps/powerpc/mul_1.S: Likewise.
3289 * sysdeps/powerpc/sub_n.S: Likewise.
3290 * sysdeps/powerpc/submul_1.S: Likewise.
3291 * sysdeps/powerpc/strlen.S: Likewise.
3292 * sysdeps/powerpc/memset.S: Likewise.
3293 * sysdeps/powerpc/stpcpy.S: Likewise.
3294 * sysdeps/powerpc/strcmp.S: Likewise.
3295 * sysdeps/powerpc/strcpy.S: Likewise.
3296 * sysdeps/powerpc/elf/bzero.S: Likewise.
3297
cb2eb742
GM
3298 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
3299 Line up operands column with tabs.
3300
cb48e60f
UD
33012000-06-30 Ulrich Drepper <drepper@redhat.com>
3302
394679eb
UD
3303 * elf/Makefile (LDFLAGS-origtest): Actually add it.
3304
cb48e60f
UD
3305 * sysdeps/ia64/htonl.S: New file.
3306 * sysdeps/ia64/htons.S: New file.
3307 * sysdeps/ia64/memcpy.S: Replace with version which does not use
3308 floating point registers.
3309 Patches by Dan Pop <Dan.Pop@cern.ch>.
3310
4a3c3ca1
AJ
33112000-06-30 Andreas Jaeger <aj@suse.de>
3312
e8c6a442
AJ
3313 * posix/Makefile (tests): tst-exec and tst-spawn only work with
3314 shared libraries.
3315
4a3c3ca1
AJ
3316 * io/Makefile (CFLAGS-test-lfs.c): New.
3317 (tests): Add test-lfs.
3318
3319 * io/test-lfs.c: New file.
3320
2fc9b742
UD
33212000-06-30 Jakub Jelinek <jakub@redhat.com>
3322
3323 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
3324 instruction.
3325
e7262a65
UD
33262000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
3327
3328 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
3329
33302000-06-29 Jes Sorensen <jes@linuxcare.com>
3331
3332 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
3333 alias to the fstatfs call.
3334
3335 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
3336 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
3337
3338 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
3339 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
3340
3341 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
3342 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
3343 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
3344 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
3345
3346 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
3347 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
3348
3349 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
3350 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
3351
3352 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
3353 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
3354
3355 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
3356
c421d4b7
AJ
33572000-06-29 Andreas Jaeger <aj@suse.de>
3358
3359 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
3360 with syslog.
3361 (print_err_message): Likewise.
3362 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
3363
f175216d
UD
33642000-06-29 Ulrich Drepper <drepper@redhat.com>
3365
e43e0dd6
UD
3366 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
3367 used as words is properly aligned.
3368
f175216d
UD
3369 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
3370 data files.
3371
e5f88e0c
GM
33722000-06-29 Greg McGary <greg@mcgary.org>
3373
5785c39f
GM
3374 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
3375 * sysdeps/unix/make-syscalls.sh: Handle signatures of
3376 length 7..9, just in case...
3377 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
3378
e5f88e0c
GM
3379 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
3380 (POP_ERRNO_LOCATION_RETURN): Fold insns.
3381 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
3382 (PUSH_SIGNAL_MASK): New macro.
3383 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
3384 LEAVE is unnecessary. Check bounds of jmp_buf.
3385 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
3386 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
3387 immediately before tail-call.
3388 * sysdeps/i386/setjmp.S: Likewise.
3389 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3390 * sysdeps/i386/bsd-setjmp.S: Likewise.
3391
d3d89ab3
UD
33922000-06-29 Jakub Jelinek <jakub@redhat.com>
3393
3394 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
3395 versioned_symbol.
3396 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
3397 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
3398 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
3399 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3400 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
3401 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
3402 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
3403 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
3404
a5707dad
UD
34052000-06-29 Ulrich Drepper <drepper@redhat.com>
3406
3407 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
3408 we later need to calling free().
3409 Patch by Matt Wilson <msw@redhat.com>.
3410
a0e5d73a
UD
3411 * stdio-common/tst-printf.c: Add test for above problem.
3412
a5707dad
UD
34132000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
3414
3415 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
3416 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
3417
34182000-06-28 Jes Sorensen <jes@linuxcare.com>
3419
3420 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
3421 prototype for abs().
3422 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
3423
6fc1dd3f
AJ
34242000-06-23 Andreas Jaeger <aj@suse.de>
3425
3426 * config.h.in: Don't use regparm with bounded pointers.
3427
a748c3c6
UD
34282000-06-29 Ulrich Drepper <drepper@redhat.com>
3429
3430 * stdlib/grouping.h: Correctly handle multibyte thousands
3431 separator and decimal point.
3432 * stdlib/stdtod.c: Likewise.
3433 * sysdeps/generic/strtol.c: Likewise.
3434
3435 * locale/categories.def: Add entries for wide character decimal point
3436 and thousands separator in numeric and monetary category.
3437
34382000-06-28 Ulrich Drepper <drepper@redhat.com>
3439
3440 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
3441 second definition and initialization of decimal.
3442
2ca8b1ee
GM
34432000-06-28 Greg McGary <greg@mcgary.org>
3444
a748c3c6
UD
3445 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
3446 out.
2ca8b1ee 3447 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
a748c3c6
UD
3448 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
3449 in.
3450 (_IO_JUMPS): Don't cast THIS--expect arg to be a
3451 (struct _IO_FILE_plus *).
2ca8b1ee
GM
3452 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
3453 THIS, since _IO_JUMPS no longer does it implicitly.
3454 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
3455 arg type as (struct _IO_FILE_plus *).
3456 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
3457 arg as (_IO_strfile *).
3458 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
3459 Declare 1st arg as (_IO_strfile *).
3460 * libio/fileops.c (_IO_new_file_init): Declare
3461 arg type as (struct _IO_FILE_plus *).
3462 * libio/oldfileops.c (_IO_old_file_init): Likewise.
3463 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
3464 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
3465 Declare iteration pointer as (struct _IO_FILE_plus *).
a748c3c6
UD
3466 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
3467 (struct _IO_FILE_plus *).
2ca8b1ee
GM
3468 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
3469 * libio/oldstdfiles.c (_IO_list_all): Likewise.
a748c3c6
UD
3470 (_IO_check_libio): Set user-visible handles to
3471 (struct _IO_FILE_plus *).
2ca8b1ee
GM
3472 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
3473 to (struct _IO_FILE_plus *).
3474
3475 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
3476 whose high bound includes vtable to all functions that will use
3477 vtable. For streambufs, pass pointer whose bounds include struct
3478 _IO_strfile.
3479 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
3480 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3481 * libio/iofopen.c (_IO_new_fopen): Likewise.
3482 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3483 * libio/iofopen64.c (_IO_fopen64): Likewise.
3484 * libio/iopopen.c (_IO_new_popen): Likewise.
3485 * libio/oldiopopen.c (_IO_old_popen): Likewise.
3486 * libio/memstream.c (open_memstream): Likewise.
3487 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
3488 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
3489 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3490 * libio/iofopncook.c (_IO_cookie_init): Likewise.
3491 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
3492 * libio/vasprintf.c (_IO_vasprintf): Likewise.
3493 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3494 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
3495 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
3496 * stdlib/strfmon.c (__strfmon_l): Likewise.
3497 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
3498 (vfprintf): Qualify computed-goto targets as unbounded.
3499
72acaddf
UD
35002000-06-28 Ulrich Drepper <drepper@redhat.com>
3501
3502 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
3503 thousands separator correctly.
3504
3505 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
3506 * stdio-common/vfwscanf.c: Likewise.
3507
2d7fb37a
UD
35082000-06-27 Jes Sorensen <jes@linuxcare.com>
3509
3510 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
3511 count into signatures for most calls.
3512
99274b38
UD
35132000-06-28 Ulrich Drepper <drepper@redhat.com>
3514
3515 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
3516 the generic parser now.
3517
aa1b0984
UD
35182000-06-28 Jes Sorensen <jes@linuxcare.com>
3519
3520 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
3521 table entries are 32 bit on the ia64 (as specified by the ABI),
3522 not 64 bit as on the Alpha.
3523
3524 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
3525 change of objects to use 32 bit hash table indices (see above).
3526
35272000-06-28 Jes Sorensen <jes@linuxcare.com>
3528
3529 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
3530 prototype for abs().
3531
07c35131
UD
35322000-06-28 Wolfram Gloger <wg@malloc.de>
3533
3534 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
3535 fails, try mmap_chunk() as a last resort even though n_mmaps_max
3536 may have been reached.
3537
044ff622
UD
35382000-06-28 Ulrich Drepper <drepper@redhat.com>
3539
5295113f
UD
3540 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
3541 symbols in multi-character weights correctly.
3542
f1f1b6b9
UD
3543 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
3544 depending on whether the input string is empty or not.
3545
3546 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
3547 given state and not avoiding this by modifying a local object.
3548 * wcsmbs/wcrtomb.c: Likewise.
3549
3550 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
3551 object since some incomplete characters might be in there.
3552
392ac969 3553 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
72acaddf 3554 sequences with first byte 0x8e correctly.
392ac969 3555
044ff622
UD
3556 * iconvdata/jis0208.h: Remove redundant test.
3557
37696206
UD
35582000-06-27 Ulrich Drepper <drepper@redhat.com>
3559
d1660439
UD
3560 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
3561 Add it where it is needed now.
3562
0e16ecfa
UD
3563 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
3564 the input charset into account when generating the hash table.
3565 (allocate_arrays): Correct setting default width. Not all empty slots
3566 in the table are filled, only those not covert explicitly by the
3567 locale description and in the charset.
3568
37696206
UD
3569 * wctype/towctrans.c (__towctrans): Be graceful and accept error
3570 return values from the wctrans function.
3571
0e16ecfa
UD
3572 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
3573 wide character version.
3574 For %C handling, test correct pointer variable for NULL.
3575
3576 * wcsmbs/wctob.c: Handle WEOF special.
3577
3578 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
3579
3580 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
3581 always-true test to avoid warning.
3582
ebdf53a7
GM
35832000-06-27 Greg McGary <greg@mcgary.org>
3584
3585 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
3586 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
3587 (symbol_version, default_symbol_version): Factor redundant
3588 definitions out of conditional.
ebdf53a7 3589
1cf98aae
UD
35902000-06-27 Jakub Jelinek <jakub@redhat.com>
3591
3592 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
3593 not obstack_blank.
3594
8b943b4a
UD
35952000-06-26 Ulrich Drepper <drepper@redhat.com>
3596
3597 * include/libc-symbols.h (symbol_version): Add extra level of
3598 macro expansion.
3599 (default_symbol_version): Likewise.
3600
f9e7bbce
GM
36012000-06-26 Greg McGary <greg@mcgary.org>
3602
ee63ca21
GM
3603 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
3604 for BP return value & push implicit struct-return pointer to
3605 __errno_location.
3606 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3607 (SYSCALL_ERROR_HANDLER): Likewise.
3608 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
3609 (SYSCALL_ERROR_HANDLER): Likewise.
3610
58ff985d
GM
3611 * Makeconfig: Add missing comment.
3612 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
3613 BP-flavored startup object.
3614 ($(objpfx)b$(start-installed-name)): New rule.
3615 * include/libc-symbols.h (symbol_set_declare): Change type
3616 of `__start_##set' and `__stop_##set' to pointer-to-function.
3617 (symbol_set_declare): Change type of `set' to array of
3618 pointer-to-function.
3619 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
3620 pointer-to-function.
3621
7c90419b
GM
3622 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
3623
22fda766
GM
3624 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
3625 Remove clock_* and timer_* entries.
3626 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
3627 arg-count with signatures.
3628
2fc08826
GM
3629 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
3630 Check bounds of arguments.
3631 * sysdeps/i386/addmul_1.S: Likewise.
3632 * sysdeps/i386/lshift.S: Likewise.
3633 * sysdeps/i386/mul_1.S: Likewise.
3634 * sysdeps/i386/rshift.S: Likewise.
3635 * sysdeps/i386/sub_n.S: Likewise.
3636 * sysdeps/i386/submul_1.S: Likewise.
3637 * sysdeps/i386/i586/add_n.S: Likewise.
3638 * sysdeps/i386/i586/addmul_1.S: Likewise.
3639 * sysdeps/i386/i586/lshift.S: Likewise.
3640 * sysdeps/i386/i586/rshift.S: Likewise.
3641 * sysdeps/i386/i586/sub_n.S: Likewise.
3642 * sysdeps/i386/i686/add_n.S: Likewise.
3643
3644 * sysdeps/i386/memchr.S: Likewise.
3645 * sysdeps/i386/memcmp.S: Likewise.
3646 * sysdeps/i386/rawmemchr.S: Likewise.
3647 * sysdeps/i386/i586/bzero.S: Likewise.
3648 * sysdeps/i386/i586/memcpy.S: Likewise.
3649 * sysdeps/i386/i586/mempcpy.S: Likewise.
3650 * sysdeps/i386/i586/memset.S: Likewise.
3651 * sysdeps/i386/i686/bzero.S: Likewise.
3652 * sysdeps/i386/i686/memcpy.S: Likewise.
3653 * sysdeps/i386/i686/mempcpy.S: Likewise.
3654 * sysdeps/i386/i686/memset.S: Likewise.
3655
3656 * sysdeps/i386/stpcpy.S: Likewise.
3657 * sysdeps/i386/stpncpy.S: Likewise.
3658 * sysdeps/i386/strchr.S: Likewise.
3659 * sysdeps/i386/strchrnul.S: Likewise.
3660 * sysdeps/i386/strcspn.S: Likewise.
3661 * sysdeps/i386/strpbrk.S: Likewise.
3662 * sysdeps/i386/strrchr.S: Likewise.
3663 * sysdeps/i386/strspn.S: Likewise.
3664 * sysdeps/i386/strtok.S: Likewise.
3665 * sysdeps/i386/strtok_r.S: Likewise.
3666 * sysdeps/i386/i486/strcat.S: Likewise.
3667 * sysdeps/i386/i486/strlen.S: Likewise.
3668 * sysdeps/i386/i586/strchr.S: Likewise.
3669 * sysdeps/i386/i586/strcpy.S: Likewise.
3670 * sysdeps/i386/i586/strlen.S: Likewise.
3671 * sysdeps/i386/i686/strcmp.S: Likewise.
3672 * sysdeps/i386/i686/strtok.S: Likewise.
3673 * sysdeps/i386/i686/strtok_r.S: Likewise.
3674
3675 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
3676 * sysdeps/i386/fpu/fesetenv.c: Likewise.
3677 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
3678 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
3679 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
3680
f9e7bbce
GM
3681 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
3682 * sysdeps/i386/mul_1.S: Likewise.
3683 * sysdeps/i386/submul_1.S: Likewise.
3684 * sysdeps/i386/i586/add_n.S: Likewise.
3685 * sysdeps/i386/i586/addmul_1.S: Likewise.
3686 * sysdeps/i386/i586/lshift.S: Likewise.
3687 * sysdeps/i386/i586/mul_1.S: Likewise.
3688 * sysdeps/i386/i586/rshift.S: Likewise.
3689 * sysdeps/i386/i586/sub_n.S: Likewise.
3690 * sysdeps/i386/i586/submul_1.S: Likewise.
3691
c000cdad
UD
36922000-06-26 Ulrich Drepper <drepper@redhat.com>
3693
3694 * rt/Makefile (librt-routines): Add clock_nanosleep.
3695 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
3696 * sysdeps/generic/clock_nanosleep.c: New file.
3697 * sysdeps/unix/clock_nanosleep.c: New file.
3698 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
3699 * time/time.h: Declare clock_nanosleep.
3700
43c81906
GM
37012000-06-26 Greg McGary <greg@mcgary.org>
3702
3703 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
3704 INSN1, INSN2, TEXT, GLOBL): Remove macros.
3705 (ALIGN): Cleanup surrounding conditionals.
3706
3707 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
3708 Call ENTER/LEAVE macros.
3709 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
3710 * sysdeps/i386/submul_1.S: Likewise.
3711
3712 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
3713 syntax. Define & use symbolic argument stack offsets. Call
3714 ENTER/LEAVE macros.
3715 * sysdeps/i386/i586/mul_1.S: Likewise.
3716 * sysdeps/i386/i586/submul_1.S: Likewise.
3717
7475d016
UD
37182000-06-25 Greg McGary <greg@mcgary.org>
3719
3720 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
3721 not as bcopy.
3722
07dab0c3
UD
37232000-06-25 Ulrich Drepper <drepper@redhat.com>
3724
8b682b99
UD
3725 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
3726 * iconvdata/gen-8bit-gap.sh: Likewise.
3727 * iconvdata/gen-8bit.sh: Likewise.
3728
3729 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
3730
3731 * locale/programs/ld-collate.c (collate_read): Don't actually read
3732 the copy locale if we are ignoring the content.
3733
45a9eda2
UD
3734 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
3735 unknown character.
3736
07dab0c3
UD
3737 * locale/programs/ld-collate.c: Correct handling of different
3738 collation sections.
3739 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
3740 as extra parameter from which to copy category information.
3741 Change all callers.
3742 (load_locale): Likewise.
3743 * locale/programs/localedef.h: Update prototypes of add_to_readlist
3744 and load_locale.
3745 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
3746 * locale/programs/locfile.h: Likewise.
3747 * locale/programs/locfile-kw.gperf: Add entry for script.
3748 * locale/programs/locfile-token.h: Add tok_script.
3749
3750 * locale/programs/locale.c: Update copyright year.
3751 * locale/programs/localedef.c: Likewise.
3752
eacc6555
AJ
37532000-06-23 Thorsten Kukuk <kukuk@suse.de>
3754
8b682b99
UD
3755 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
3756 Jens Moeller <jens.moeller@waii.com>.
eacc6555 3757
756186e7
UD
37582000-06-24 Ulrich Drepper <drepper@redhat.com>
3759
ae1aff77
UD
3760 * locale/programs/ld-name.c (name_finish): Add missing format
3761 specifier to test for name_fmt.
3762
17955ae2
UD
3763 * locale/programs/ld-address.c (iso639): Correct length of string
3764 elements.
0ea5f1b8 3765 (iso3166): Likewise.
17955ae2
UD
3766
3767 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
756186e7 3768
17955ae2
UD
3769 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
3770 Define.
756186e7
UD
3771
3772 * elf/elf.h (NT_PRFPXREG): Define.
3773
64f022a4
UD
37742000-06-23 Ulrich Drepper <drepper@redhat.com>
3775
3776 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
3777 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
3778
a4b33f03
AS
37792000-06-23 Andreas Schwab <schwab@suse.de>
3780
3781 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
3782 with signatures.
3783
16b02fef
AJ
37842000-06-23 Andreas Jaeger <aj@suse.de>
3785
536f4e87
AJ
3786 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
3787
ffce1bc7
AJ
3788 * io/test-stat.c: Add copyright header, mention Maciej.
3789
16b02fef
AJ
3790 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
3791 SYS_mincore, SYS_madvise): Added.
3792
3793 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
3794 execve.
3795
e7d3a52a
UD
37962000-06-22 Ulrich Drepper <drepper@redhat.com>
3797
e8595e84
UD
3798 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
3799 (CFLAGS-tst_putwc.c): New definition.
3800 * libio/tst_getwc.c: New file.
3801 * libio/tst_getwc.input: New file.
3802 * libio/tst_putwc.c: New file.
3803
e7d3a52a
UD
3804 * include/string.h: Add prototype for __strdup.
3805
6a05c783
GM
38062000-06-22 Greg McGary <greg@mcgary.org>
3807
3808 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
3809 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
3810 Fix signatures.
3811
d2e7a240
UD
38122000-06-23 Jes Sorensen <jes@linuxcare.com>
3813
3814 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
3815
3a10a8bc
UD
38162000-06-22 Jes Sorensen <jes@linuxcare.com>
3817
3818 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
3819
33256e8a
UD
38202000-06-22 Jes Sorensen <jes@linuxcare.com>
3821
3822 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
3823 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
3824
2fcbf75b
UD
38252000-06-22 Ulrich Drepper <drepper@redhat.com>
3826
3827 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
3828 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
3829 and __S_TYPEISSHM.
3830 * sysdeps/mach/hurd/bits/stat.h: Likewise.
3831 * sysdeps/unix/bsd/bits/stat.h: Likewise.
3832 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
3833 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3834 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
3835 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
3836 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
3837 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
3838 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3839 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
3840 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
3841 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
3842 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
d0db5a44
UD
3843 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
3844 S_TYPEISSHM.
2fcbf75b 3845
72a96435
AJ
38462000-06-22 Andreas Jaeger <aj@suse.de>
3847
2b22b881
AJ
3848 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
3849 with signatures.
3850
3cfd2d07
AJ
3851 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
3852
72a96435
AJ
3853 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
3854
de568fbe
UD
38552000-06-21 Ulrich Drepper <drepper@redhat.com>
3856
3857 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
3858 ahead.
3859
2b6fb3df
GM
38602000-06-21 Greg McGary <greg@mcgary.org>
3861
3862 * Makerules (elide-routines.*, elide-bp-thunks):
3863 Define unconditionally.
3864
387be087
UD
38652000-06-21 Jes Sorensen <jes@linuxcare.com>
3866
3867 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
3868
514f9e32
UD
38692000-06-21 Andreas Jaeger <aj@suse.de>
3870
3871 * io/Makefile (tests): Add test-stat.
3872 (CFLAGS-test-stat.c): New.
3873
3874 * io/test-stat.c: New file from Maciej W. Rozycki
3875 <macro@ds2.pg.gda.pl>.
3876
4cdf2d81
UD
38772000-06-21 Jes Sorensen <jes@linuxcare.com>
3878
3879 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
3880 in __rlimit_resource to make them match the kernel order.
3881 rlim_t is always 64 bit, use __rlim64_t to declare it
3882 unconditionally.
3883
38842000-05-04 Jes Sorensen <jes@linuxcare.com>
3885
3886 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
3887 RLIM_INFINITY before defining it to avoid clash with kernel header
3888
38892000-05-03 Jes Sorensen <jes@linuxcare.com>
3890
3891 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
3892
b1b5152b
UD
38932000-06-21 Ulrich Drepper <drepper@redhat.com>
3894
3895 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
3896
ae0d72a5
AJ
38972000-06-21 Andreas Jaeger <aj@suse.de>
3898
906ec4a2
AJ
3899 * stdio-common/temptest.c: Include <stdlib.h>.
3900 * stdio-common/tst-fileno.c: Likewise.
3901 * stdio-common/scanf4.c: Likewise.
3902 * stdio-common/scanf5.c: Likewise.
3903 * time/clocktest.c: Likewise.
3904 * posix/test-vfork.c: Likewise.
3905 * posix/globtest.c: Likewise.
3906 * io/test-utime.c: Likewise.
3907 * wctype/test_wcfuncs.c: Likewise.
3908 * crypt/cert.c: Likewise.
3909
3910 * stdio-common/tst-printfsz.c: Include <string.h>.
3911 * libio/tst_swscanf.c: Likewise.
3912 * libio/tst_wscanf.c: Likewise.
3913 * posix/runtests.c: Likewise.
3914 * posix/tst-getaddrinfo.c: Likewise.
3915 * posix/wordexp-test.c: Likewise.
3916 * misc/tst-efgcvt.c: Likewise.
3917
3918 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
3919 * nss/test-netdb.c: Likewise.
3920
3921 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
3922 supported kernel for MIPS.
3923
ae0d72a5
AJ
3924 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
3925 * rt/aio_suspend.c: Likewise.
3926
bdf09fab
UD
39272000-06-20 Ulrich Drepper <drepper@redhat.com>
3928
ae0d72a5 3929 * math/libm-test.inc: Include <string.h>.
bdf09fab 3930
697568d1
UD
39312000-06-20 Jes Sorensen <jes@linuxcare.com>
3932
3933 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
3934
39352000-06-20 Jes Sorensen <jes@linuxcare.com>
3936
3937 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
3938 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
3939
39402000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
3941
3942 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
3943
39442000-06-20 Jes Sorensen <jes@linuxcare.com>
3945
3946 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
3947
1b97149d
UD
39482000-06-20 Ulrich Drepper <drepper@redhat.com>
3949
3950 * locale/programs/ld-collate.c (insert_value): Now take string and
3951 length instead of struct token* parameter. Adjust use of token.
3952 (handle_ellipsis): Likewise.
3953 (collate_read): Allow <Uxxxx> names and transform them into names
3954 to be passed to insert_value and handle_ellipsis.
3955
3956 * locale/programs/ld-ctype.c (uninames): New array with names of
3957 digits in <Uxxxxxxxx> format.
3958 (ctype_finish): Correct search for space character value. Likewise
3959 for default outdigits values.
3960
28546617
GM
39612000-06-20 Greg McGary <greg@mcgary.org>
3962
3963 * Makerules (objects): Add BP thunks.
3964
620cdffb
UD
39652000-06-20 Ulrich Drepper <drepper@redhat.com>
3966
3967 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
3968 in width definitions.
3969
a8a9cd6b
AJ
39702000-06-20 Andreas Jaeger <aj@suse.de>
3971
9380bb48
AJ
3972 * sysdeps/mips/fpu/libm-test-ulps: New file.
3973
a8a9cd6b
AJ
3974 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
3975 first.
3976
3977 * sysdeps/mips/fpu/feholdexcpt.c: New file.
3978
3979 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
3980
ea97f90c
UD
39812000-06-19 Ulrich Drepper <drepper@redhat.com>
3982
5d5a23df
UD
3983 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
3984 change in gconv_builtin.h.
3985
ba80a015
UD
3986 * malloc/Makefile: Change all references to memprof into memusage.
3987 * malloc/memprof.c: Rename to...
3988 * malloc/memusage.c: ...this. New file.
3989 * malloc/memprof.sh: Rename to...
3990 * malloc/memusage.sh: ...this. New file.
3991 * malloc/memprofstat.c: Rename to...
3992 * malloc/memusagestat.c: ...this. New file.
fa4a5fe7
UD
3993 * sysdeps/alpha/memprof.h: Rename to..
3994 * sysdeps/alpha/memusage.h: ...this. New file.
3995 * sysdeps/arm/memprof.h: Rename to..
3996 * sysdeps/arm/memusage.h: ...this. New file.
3997 * sysdeps/generic/memprof.h: Rename to..
3998 * sysdeps/generic/memusage.h: ...this. New file.
3999 * sysdeps/i386/memprof.h: Rename to..
4000 * sysdeps/i386/memusage.h: ...this. New file.
4001 * sysdeps/ia64/memprof.h: Rename to..
4002 * sysdeps/ia64/memusage.h: ...this. New file.
4003 * sysdeps/m68k/memprof.h: Rename to..
4004 * sysdeps/m68k/memusage.h: ...this. New file.
4005 * sysdeps/mips/memprof.h: Rename to..
4006 * sysdeps/mips/memusage.h: ...this. New file.
4007 * sysdeps/powerpc/memprof.h: Rename to..
4008 * sysdeps/powerpc/memusage.h: ...this. New file.
4009 * sysdeps/sparc/memprof.h: Rename to..
4010 * sysdeps/sparc/memusage.h: ...this. New file.
4011 * sysdeps/sh/memprof.h: Rename to..
4012 * sysdeps/sh/memusage.h: ...this. New file.
ba80a015 4013
ea97f90c
UD
4014 * elf/sprof.c (print_version): Update year.
4015
4016 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
4017 table entry values. Use D_PTR.
4018 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
4019 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
4020
131bf9f3
UD
40212000-06-20 Jes Sorensen <jes@linuxcare.com>
4022
4023 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
4024 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
4025 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
4026 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
4027
40282000-05-05 Jes Sorensen <jes@linuxcare.com>
4029
4030 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
4031
0289ab3b
UD
40322000-06-16 Jes Sorensen <jes@linuxcare.com>
4033
4034 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
4035 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
4036 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
4037
4038 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
4039
4040 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
4041 kernel change.
4042
4043 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
4044 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
4045 structure.
4046 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
4047 implementation.
4048
40492000-06-15 Jes Sorensen <jes@linuxcare.com>
4050
4051 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
4052
40532000-06-08 Jes Sorensen <jes@linuxcare.com>
4054
4055 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
4056
d6204268
UD
40572000-06-19 Ulrich Drepper <drepper@redhat.com>
4058
d2dfc5de
UD
4059 * iconv/gconv_int.h (strict gconv_module): Remove all members
4060 associated with regular expressions. Use a simple string as the
4061 from name.
4062 * iconv/gconv_db.c: Remove code handling regular expressions.
4063 * iconv/gconv_conf.c: Likewise.
4064 * iconv/iconv_prog.c: Likewise.
4065 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
4066
d6204268
UD
4067 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
4068 General namespace cleanup.
4069 (struct __gconv_trans_data): Add next field.
4070 (struct __gconv_step_data): Make __trans a pointer.
4071 * iconv/gconv_conf.c: Split out code to find gconv directories from
4072 __gconv_read_conf in new functions.
4073 * iconv/gconv_int.h: Define new data structure and declare new
4074 functions for handling of gconv directory list.
4075 * iconv/gconv_open.c: Allow more than one error handling step being
4076 used. Call function to load error handling module if it is none
4077 of the builtin transformations.
4078 * iconv/gconv_close.c: Add code to free transliteration data.
4079 * iconv/gconv_trans.c: Add functions to load and unload modules
4080 implementing transliteration etc.
4081 * iconv/skeleton.c: Call all context functions now that more than
4082 one module is allowed.
4083 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
4084 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
4085 where the full error handling using transliteration is needed.
4086 * iconvdata/8bit-gap.c: Likewise.
4087 * iconvdata/8bit-generic.c: Likewise.
4088 * iconvdata/ansi_x3.110.c: Likewise.
4089 * iconvdata/big5.c: Likewise.
4090 * iconvdata/big5hkscs.c: Likewise.
4091 * iconvdata/euc-cn.c: Likewise.
4092 * iconvdata/euc-jp.c: Likewise.
4093 * iconvdata/euc-kr.c: Likewise.
4094 * iconvdata/euc-tw.c: Likewise.
4095 * iconvdata/gbgbk.c: Likewise.
4096 * iconvdata/gbk.c: Likewise.
4097 * iconvdata/iso-2022-cn.c: Likewise.
4098 * iconvdata/iso-2022-jp.c: Likewise.
4099 * iconvdata/iso-2022-kr.c: Likewise.
4100 * iconvdata/iso646.c: Likewise.
4101 * iconvdata/iso8859-1.c: Likewise.
4102 * iconvdata/iso_6937-2.c: Likewise.
4103 * iconvdata/iso_6937.c: Likewise.
4104 * iconvdata/johab.c: Likewise.
4105 * iconvdata/sjis.c: Likewise.
4106 * iconvdata/t.61.c: Likewise.
4107 * iconvdata/uhc.c: Likewise.
4108 * iconvdata/unicode.c: Likewise.
4109 * iconvdata/utf-16.c: Likewise.
4110 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
4111 structure correctly after last change.
4112 * wcsmbs/btowc.c: Likewise.
4113 * wcsmbs/mbrtowc.c: Likewise.
4114 * wcsmbs/mbsnrtowcs.c: Likewise.
4115 * wcsmbs/mbsrtowcs.c: Likewise.
4116 * wcsmbs/wcrtomb.c: Likewise.
4117 * wcsmbs/wcsnrtombs.c: Likewise.
4118 * wcsmbs/wcsrtombs.c: Likewise.
4119 * wcsmbs/wctob.c: Likewise.
4120
4121 * localedata/Makefile: Set -Wno-format for some files since gcc does
4122 not know all the format specifiers.
4123
41242000-06-18 Ulrich Drepper <drepper@redhat.com>
4125
4126 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
4127 unneeded code.
4128 * locale/lc-time.c (_nl_init_era_entries): Likewise.
4129
85577882
AJ
41302000-06-18 Andreas Jaeger <aj@suse.de>
4131
4132 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
4133 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4134
a8e4c924
UD
41352000-06-17 Ulrich Drepper <drepper@redhat.com>
4136
89ffa8a8
UD
4137 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
4138 LINUX_LINK_MAX.
4139 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
a9c464ab 4140
498b733e
UD
4141 * locale/programs/ld-ctype.c (ctype_output): Really write out
4142 mboutdigits information.
4143 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
4144 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
4145 * localedata/tests/trans.def: Add outdigit information.
4146
4147 * localedata/tst-mbswcs3.c: Remove comment.
4148
9d54e984 4149 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
ce723583
UD
4150 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
4151 * libio/tst_wprintf.c (main): Add test for I flag.
9d54e984 4152
a8e4c924
UD
4153 * iconv/gconv_trans.c: Implement handling if translit_ignore.
4154 * locale/langinfo.h: Add entries for translit_ignore information.
4155 * locale/categories.def: Add entries for new LC_CTYPE elements.
4156 * locale/C-ctype.c: Add initializers for new fields. Use NULL
4157 pointer instead of "" where possible.
4158 * locale/programs/ld-ctype.c: Write out translit_ignore information.
4159 * intl/Depend: Add localedata.
4160 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
4161 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
4162
323fb88d
UD
41632000-06-16 Ulrich Drepper <drepper@redhat.com>
4164
1d96d74d
UD
4165 * locale/langinfo.h: Add entries for default_missing information.
4166 * locale/C-ctype.c: Add initializers for new fields.
4167 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
4168 information.
4169 * locale/categories.h: Add entries for all LC_CTYPE values.
4170 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
4171 information.
4172
4173 * localedata/tst-trans.c: Write out an error message if class is
4174 not found.
4175
323fb88d
UD
4176 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
4177 * iconv/gconv_open.c: Remove error handling specification from `from'
4178 character set name.
4179 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
4180 new parameter to always enable transliteration.
4181 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
4182 change.
4183 (struct locale_data): Add new members use_translit and options.
4184 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
4185 character set name contained modifier TRANSLIT.
4186 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
4187 and options fields.
4188 (_nl_unload_locale): Free options string if necessary.
4189 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
4190 the locale names suggested this.
4191 * locale/C-address.c: Add two new initialilzers to adjust data
4192 structure for new format.
4193 * locale/C-collate.c: Likewise.
4194 * locale/C-ctype.c: Likewise.
4195 * locale/C-identification.c: Likewise.
4196 * locale/C-measurement.c: Likewise.
4197 * locale/C-messages.c: Likewise.
4198 * locale/C-monetary.c: Likewise.
4199 * locale/C-name.c: Likewise.
4200 * locale/C-numeric.c: Likewise.
4201 * locale/C-paper.c: Likewise.
4202 * locale/C-telephone.c: Likewise.
4203 * locale/C-time.c: Likewise.
4204
4205 * locale/setlocale.c: Add some more __builtin_expect.
4206
f1d5c60d
UD
42072000-06-15 Ulrich Drepper <drepper@redhat.com>
4208
4209 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
4210 unsigned char **.
4211 (__gconv_init_fct): Remove two parameters.
4212 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
4213 gconv_transliterate. Remove two parameters.
4214 Change prototypes of builtin functions according to __gconv_fct change.
4215 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
4216 != NULL only during error handling. Stop in this case after the
4217 conversion.
4218 * iconv/gconv_trans.c: Replace with real implementation for
4219 __gconv_transliterate.
4220 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
4221 * iconv/gconv.c: Change calls to downstream functions once again.
4222 Use NULL for the fifth parameter instead of pointer to output buffer.
4223 * libio/iofwide.c: Likewise.
4224 * wcsmbs/btowc.c: Likewise.
4225 * wcsmbs/mbrtowc.c: Likewise.
4226 * wcsmbs/mbsnrtowcs.c: Likewise.
4227 * wcsmbs/mbsrtowcs.c: Likewise.
4228 * wcsmbs/wcrtomb.c: Likewise.
4229 * wcsmbs/wcsnrtombs.c: Likewise.
4230 * wcsmbs/wcsrtombs.c: Likewise.
4231 * wcsmbs/wctob.c: Likewise.
4232 * iconv/gconv_simple.c: Remove two parameters from error handling
4233 function call.
4234 * iconvdata/8bit-gap.c: Likewise.
4235 * iconvdata/8bit-generic.c: Likewise.
4236 * iconvdata/ansi_x3.110.c: Likewise.
4237 * iconvdata/big5.c: Likewise.
4238 * iconvdata/big5hkscs.c: Likewise.
4239 * iconvdata/euc-cn.c: Likewise.
4240 * iconvdata/euc-jp.c: Likewise.
4241 * iconvdata/euc-kr.c: Likewise.
4242 * iconvdata/euc-tw.c: Likewise.
4243 * iconvdata/gbgbk.c: Likewise.
4244 * iconvdata/gbk.c: Likewise.
4245 * iconvdata/iso-2022-cn.c: Likewise.
4246 * iconvdata/iso-2022-jp.c: Likewise.
4247 * iconvdata/iso-2022-kr.c: Likewise.
4248 * iconvdata/iso646.c: Likewise.
4249 * iconvdata/iso8859-1.c: Likewise.
4250 * iconvdata/iso_6937-2.c: Likewise.
4251 * iconvdata/iso_6937.c: Likewise.
4252 * iconvdata/johab.c: Likewise.
4253 * iconvdata/sjis.c: Likewise.
4254 * iconvdata/t.61.c: Likewise.
4255 * iconvdata/uhc.c: Likewise.
4256 * iconvdata/unicode.c: Likewise.
4257 * iconvdata/utf-16.c: Likewise.
4258
f5361098
UD
42592000-06-15 Greg McGary <greg@mcgary.org>
4260
4261 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
4262 of callnum assignment. Tolerate callnum expressions containing
4263 parens.
4264
6bca0305
UD
42652000-06-14 Ulrich Drepper <drepper@redhat.com>
4266
18b149d8
UD
4267 * login/Makefile (utmpd): Remove rule to build utmpd.
4268
4269 * csu/Versions: Move libgcc frame handling functions from here...
4270 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
4271 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
4272 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
4273 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
4274 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
4275 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
4276 New file.
fcf81e81 4277 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
18b149d8 4278
9ca23765
UD
4279 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
4280
6bca0305
UD
4281 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
4282
e26dd47f
UD
42832000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
4284
4285 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
4286 compatibility.
4287 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
4288 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
4289 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
4290 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
4291
42922000-06-14 Jakub Jelinek <jakub@redhat.com>
4293
4294 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
4295 defined, terminate quotes and read them after the comment char.
4296 * configure.in (HAVE_SECTION_QUOTES): Test whether
4297 __attribute__((section ("x"))) puts quotes around x or not.
4298 * config.h.in (HAVE_SECTION_QUOTES): Add.
4299 * configure: Rebuilt.
4300
e85db9de
AJ
43012000-06-14 Andreas Jaeger <aj@suse.de>
4302
cee49e0c
AJ
4303 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
4304 depending on the configure option --sysconfdir.
e3978a35
UD
4305 Closes PR libc/1762.
4306 Patch by Andreas Schwab <schwab@suse.de>.
cee49e0c 4307
e85db9de
AJ
4308 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
4309 entry point.
4310 Reported by Jim Pick <jim@jimpick.com>.
4311
594cee6c
UD
43122000-06-14 Ulrich Drepper <drepper@redhat.com>
4313
4314 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
4315 crashing the application. Emit some simple error message.
4316 Reported by mju@panasas.com [PR libc/1769].
4317
b8d36e83
UD
43182000-06-13 Ulrich Drepper <drepper@redhat.com>
4319
1bfae401
UD
4320 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
4321
46462326
UD
4322 * crypt/Makefile (distribute): Add md5.h.
4323
cf2964e2
UD
4324 * Makefile (distribute): Add include/shlib-compat.h.
4325
002ab034
UD
4326 * Make-dist: Search for tests also in sysdeps hierachy.
4327
afa0569f
UD
4328 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
4329 ufc.c, speeds.c, README.ufc-crypt, and Banner.
4330
4331 * sysdeps/sparc/Subdirs: New file.
4332
4333 * locale/Makefile (distribute): Add weightwc.h and
4334 programs/localedef.h.
4335
4336 * time/Makefile (distribute): Add datemsk.
4337
4338 * sysdeps/ia64/Dist: Add softpipe.h.
4339
4340 * sysdeps/unix/sysv/aix/Dist: New file.
4341
4342 * posix/setpgrp.c: Moved to...
4343 * sysdeps/generic/setpgrp.c: ...here. New file.
4344 * io/mknod.c: Moved to...
4345 * sysdeps/generic/mknod.c: ...here. New file.
4346
4347 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
4348
4349 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
4350
4351 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
4352
4353 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
4354 gprsave0.S, gprrest1.S, and gprrest0.S.
4355
4356 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
4357
4358 * posix/Makefile (routines): Add spawnattr_getsigmask,
4359 spawnattr_getschedpolicy, spawnattr_getschedparam,
4360 spawnattr_setsigmask, spawnattr_setschedpolicy, and
4361 spawnattr_setschedparam.
4362 * posix/Versions: Add posix_spawnattr_getschedpolicy,
4363 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
4364 posix_spawnattr_setschedparam.
4365
4366 * posix/spawnattr_setschedparam.c: Fix typo.
4367
4368 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
4369 Correct typo.
4370
4371 * login/programs/utmpd.c: Removed.
4372 * login/programs/utmpd.h: Removed.
4373 * login/programs/utmpd-private.h: Removed.
4374
4375 * Makefile (distribute): Add include/db_185.h and include/db.h.
4376
4377 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
4378 iso-ir-165.h.
4379
4380 * elf/Makefile (distribute): Add missing files.
4381
4382 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
4383 * elf/eval.c: Moved to...
4384 * dlfcn/eval.c: ...here. New file.
4385
4386 * Makefile (distribute): Also distribute ChangeLog.1?.
4387
490dc9aa
UD
4388 * Make-dist (+tsrcs): Remove .args handling here as well.
4389
7ae1fe4d
UD
4390 * rt/Makefile (tests): Add tst-timer.
4391 * sysdeps/generic/tst-timer.c: New file.
4392
5539d257
UD
4393 * Makerules (sources): Don't add BP sources here.
4394
4395 * login/Makefile (distribute): Remove xtmp.h.
4396
b8d36e83
UD
4397 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
4398 is true. Reported by Bruno Haible <haible@ilog.fr>.
4399
f7b94528
AJ
44002000-06-13 Andreas Jaeger <aj@suse.de>
4401
4402 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
4403 Patch by Ralf Baechle <ralf@gnu.org>.
4404
ab95290c
UD
44052000-06-13 Ulrich Drepper <drepper@redhat.com>
4406
b4e3d964
UD
4407 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
4408 for mincore syscall.
4409
ab95290c
UD
4410 * misc/sys/cdefs.h: Define __bounded and __unbounded if
4411 __BOUNDED_POINTERS__ is not defined.
4412
44132000-06-07 Greg McGary <greg@mcgary.org>
4414
4415 * sysdeps/generic/bp-sym.h: New file.
4416 * sysdeps/generic/bp-start.h: New file.
4417 * sysdeps/i386/elf/start.S: Designate BP symbols.
4418 * sysdeps/generic/libc-start.c: Wrap bounds around
4419 argv & envp and each of their string members.
4420
44212000-06-07 Greg McGary <greg@mcgary.org>
4422
4423 * sysdeps/unix/make-syscalls.sh: Add comments to
4424 output that aid debugging & comprehension.
4425 Map simple syscall signatures to number of args.
4426 Generate BP syscall thunk definitions.
4427 * sysdeps/generic/bp-thunks.h: New file.
4428 * sysdeps/unix/syscalls.list: Replace arg-count with
4429 simple return+arg signature.
4430 * sysdeps/unix/common/syscalls.list: Likewise.
4431 * sysdeps/unix/inet/syscalls.list: Likewise.
4432 * sysdeps/unix/mman/syscalls.list: Likewise.
4433 * sysdeps/unix/sysv/syscalls.list: Likewise.
4434 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4435 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4436
44372000-06-07 Greg McGary <greg@mcgary.org>
4438
ee63ca21
GM
4439 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
4440 for all files *.[cS].
ab95290c
UD
4441 (CFLAGS-.ob): Don't optimize sibling calls.
4442 (bppfx): New variable.
4443 * Makerules (elide-bp-thunks): New variable.
4444 (elide-routines.*): Elide BP-* files for all but *.ob.
4445 (sources): Include bp-thunks.
4446
4b40cff4
UD
44472000-06-12 Ulrich Drepper <drepper@redhat.com>
4448
ab95290c
UD
4449 * iconv/gconv_simple.c: Remove unnecessary prototype.
4450
4451 * iconv/gconv_trans.c: Pretty print.
4452
a5c88158
UD
4453 * elf/elf.h (R_SH_NUM): Got accidently dropped.
4454
48d0c5d8
UD
4455 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
4456 minimal kernel versions. Add information about IA-64 kernel.
4457
003a02c6
UD
4458 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
4459 specific minimal supported kernel versions to be specified.
4460
ff048a13
UD
4461 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
4462 step data structure.
4463 * wcsmbs/btowc.c: Likewise.
4464 * wcsmbs/mbrtowc.c: Likewise.
4465 * wcsmbs/mbsnrtowcs.c: Likewise.
4466 * wcsmbs/mbsrtowcs.c: Likewise.
4467 * wcsmbs/wcrtomb.c: Likewise.
4468 * wcsmbs/wcsnrtombs.c: Likewise.
4469 * wcsmbs/wcsrtombs.c: Likewise.
4470 * wcsmbs/wctob.c: Likewise.
4471
0aaf6d96
UD
4472 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
4473 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
4474
6e62dceb
UD
4475 * shlib-versions: Earliest backward compatible version for SH is 2.2.
4476
fbedbe9d
UD
4477 * misc/sys/cdefs.h: Remove one more __P.
4478
04cdaa08 4479 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
0da2f50b
UD
4480 Reported by HJ Lu.
4481
4b40cff4
UD
4482 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
4483 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
4484 * sysdeps/sh/bits/setjmp.h: ...here. New file.
4485
88615235
UD
44862000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
4487 Yutaka Niibe <gniibe@chroot.org>
4488
4489 * configure.in: Add machine sh3, sh4.
4490 * elf/elf.h: Add SH specific declarations of relocations.
4491 * shlib-versions: Add sh*-*-linux* cases.
4492
37fb8add
UD
44932000-06-12 Ulrich Drepper <drepper@redhat.com>
4494
9405414f
UD
4495 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
4496 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
4497 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
4498 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
4499 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
4500 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
4501
afa0db7a
UD
4502 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
4503 instead of KERNEL_MATH_EMULATION.
4504 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
4505 KERNEL_MATH_EMULATION.
4506
65074d23
UD
4507 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
4508 * sysdeps/sh/sh3/dl-machine.h: Moved to...
4509 * sysdeps/sh/dl-machine.h: ...here. New file.
4510 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
4511 and include generic SH version.
4512 * sysdeps/sh/sh3/bits/endian.h: Move to...
4513 * sysdeps/sh/bits/endian.h: ...here. New file.
4514 * sysdeps/sh/sh4/bits/endian.h: Removed.
4515 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
4516 * sysdeps/sh/bits/huge_val.h: ...here. New file.
4517 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
4518
37fb8add 4519 * include/libc-symbols.h (link_warning): Work around a change in
65074d23
UD
4520 GAS which warns about changing section attributes.
4521 Proposed by Nick Clifton <nickc@redhat.com>.
37fb8add 4522
2caacb0a
UD
45232000-06-12 H.J. Lu <hjl@gnu.org>
4524
4525 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
4526
45272000-06-11 H.J. Lu <hjl@gnu.org>
4528
4529 * sysdeps/i386/fpu/Versions: New file.
4530
4d37e19c
UD
45312000-06-12 Ulrich Drepper <drepper@redhat.com>
4532
4533 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
4534 parameters.
4535 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
4536 exists.
4537
30010c63
UD
45382000-06-12 Jes Sorensen <jes@linuxcare.com>
4539
4540 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
4541 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
4542 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
4543
4544 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
4545 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
4546 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
4547
3846ef75
UD
45482000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
4549 Yutaka Niibe <gniibe@chroot.org>
4550
4551 * sysdeps/sh/Dist: New file.
4552 * sysdeps/sh/Implies: New file.
65074d23 4553 * sysdeps/sh/elf/initfini.c: New file.
3846ef75
UD
4554 * sysdeps/sh/gmp-mparam.h: New file.
4555 * sysdeps/sh/init-first.c: New file.
4556 * sysdeps/sh/machine-gmon.h: New file.
4557 * sysdeps/sh/memcpy.S: New file.
4558 * sysdeps/sh/memprof.h: New file.
4559 * sysdeps/sh/memset.S: New file.
4560 * sysdeps/sh/sh3/__longjmp.S: New file.
4561 * sysdeps/sh/sh3/bits/endian.h: New file.
4562 * sysdeps/sh/sh3/bits/huge_val.h: New file.
4563 * sysdeps/sh/sh3/bits/setjmp.h: New file.
4564 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
4565 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
4566 * sysdeps/sh/sh3/dl-machine.h: New file.
3846ef75 4567 * sysdeps/sh/sh3/setjmp.S: New file.
3846ef75
UD
4568 * sysdeps/sh/sh4/__longjmp.S: New file.
4569 * sysdeps/sh/sh4/bits/endian.h: New file.
4570 * sysdeps/sh/sh4/bits/huge_val.h: New file.
4571 * sysdeps/sh/sh4/bits/setjmp.h: New file.
4572 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
4573 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
4574 * sysdeps/sh/sh4/dl-machine.h: New file.
3846ef75
UD
4575 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
4576 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
4577 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
4578 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
4579 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
4580 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
4581 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
4582 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
4583 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
4584 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
4585 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
4586 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
4587 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
4588 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
4589 * sysdeps/sh/sh4/setjmp.S: New file.
65074d23
UD
4590 * sysdeps/sh/elf/start.S: New file.
4591 * sysdeps/sh/sys/ucontext.h: New file.
3846ef75
UD
4592 * sysdeps/sh/strlen.S: New file.
4593 * sysdeps/sh/sysdep.h: New file.
4594 * sysdeps/unix/sh/sysdep.S: New file.
4595 * sysdeps/unix/sh/sysdep.h: New file.
4596 * sysdeps/unix/sysv/linux/sh/Dist: New file.
4597 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
4598 * sysdeps/unix/sysv/linux/sh/Versions: New file.
4599 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
4600 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
4601 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
4602 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
4603 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
4604 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
4605 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
4606 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
4607 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
4608 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
4609 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
4610 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
4611 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
4612 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
4613 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
4614 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
4615 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
4616 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
4617 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
4618 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
4619 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
4620 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
4621 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
4622 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
4623 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
4624 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
4625 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
4626 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
4627 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
4628 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
4629 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
4630 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
4631 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
4632 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
4633 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
4634 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
4635 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
4636 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
4637 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
4638 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
4639 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4640 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
4641 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
4642 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
4643 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
4644 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
4645 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
4646
55985355
UD
46472000-06-12 Ulrich Drepper <drepper@redhat.com>
4648
4649 * Rules (%.out): Define GCONV_PATH in the environment.
4650 * assert/Depend: New file.
4651 * iconvdata/Depend: New file.
4652 * intl/Depend: New file.
4653 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
4654 * intl/tst-gettext.sh: Likewise.
4655 * iconv/Makefile (routines): Add gconv_trans.
4656 * iconv/gconv_trans.c: New file.
4657 * iconv/gconv.h (struct __gconv_trans_data): New type.
4658 (__gconv_fct): New parameter with starting position in output buffer.
4659 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
4660 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
4661 (struct __gconv_step): Add new member __trans.
4662 * iconv/gconv_int.h: Pretty print prototypes.
4663 (gconv_transliterate): New prototype.
4664 (__BUILTIN_TRANS): Update for new conversion function interface.
4665 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
4666 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
4667 in names, find appropriate function, and install in the conversion
4668 steps it can be used.
4669 * iconv/skeleton.c: Add additional parameter for beginning of output
4670 buffer. Change calls of downstream functions.
4671 * iconv/loop.c: Change loop function interface completely. Pass in
4672 step and step_data structure. Remove optimization for BODY with
4673 NEED_LENGTH_TEST == 0.
4674 * iconv/gconv_simple.c: Update interfaces of functions. Insert
4675 appropriate error handling code to use transliteration steps. Remove
4676 optimization for BODY with NEED_LENGTH_TEST == 0.
4677 * iconvdata/8bit-gap.c: Likewise.
4678 * iconvdata/8bit-generic.c: Likewise.
4679 * iconvdata/ansi_x3.110.c: Likewise.
4680 * iconvdata/big5.c: Likewise.
4681 * iconvdata/big5hkscs.c: Likewise.
4682 * iconvdata/euc-cn.c: Likewise.
4683 * iconvdata/euc-jp.c: Likewise.
4684 * iconvdata/euc-kr.c: Likewise.
4685 * iconvdata/euc-tw.c: Likewise.
4686 * iconvdata/gbgbk.c: Likewise.
4687 * iconvdata/gbk.c: Likewise.
4688 * iconvdata/iso-2022-cn.c: Likewise.
4689 * iconvdata/iso-2022-jp.c: Likewise.
4690 * iconvdata/iso-2022-kr.c: Likewise.
4691 * iconvdata/iso646.c: Likewise.
4692 * iconvdata/iso8859-1.c: Likewise.
4693 * iconvdata/iso_6937-2.c: Likewise.
4694 * iconvdata/iso_6937.c: Likewise.
4695 * iconvdata/johab.c: Likewise.
4696 * iconvdata/sjis.c: Likewise.
4697 * iconvdata/t.61.c: Likewise.
4698 * iconvdata/uhc.c: Likewise.
4699 * iconvdata/unicode.c: Likewise.
4700 * iconvdata/utf-16.c: Likewise.
4701 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
4702 DL_CALL_FCT.
4703 * wcsmbs/btowc.c: Likewise.
4704 * wcsmbs/mbrtowc.c: Likewise.
4705 * wcsmbs/mbsnrtowcs.c: Likewise.
4706 * wcsmbs/mbsrtowcs.c: Likewise.
4707 * wcsmbs/wcrtomb.c: Likewise.
4708 * wcsmbs/wcsnrtombs.c: Likewise.
4709 * wcsmbs/wcsrtombs.c: Likewise.
4710 * wcsmbs/wctob.c: Likewise.
4711
b6299091
GK
47122000-04-11 Geoff Keating <geoffk@cygnus.com>
4713
4714 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
4715 other header files. Mention about 128-byte cache line sizes.
4716 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
4717 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
4718 for current calling sequence.
4719 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
4720
4721 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
4722 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4723
4724 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
4725 and setrlimit syscalls for backwards compatibility.
4726
e5221165
UD
47272000-06-10 Ulrich Drepper <drepper@redhat.com>
4728
38677ace
UD
4729 * iconv/skeleton.c: Rename converted written to correcter name
4730 irreversible.
4731 * iconv/gconv.c: Rename converted variable to correcter name
4732 irreversible.
4733 * iconv/gconv_int.h: Likewise.
4734 * iconv/gconv_simple.c: Likewise.
4735 * iconv/iconv.c: Likewise.
4736 * iconv/loop.c: Likewise.
4737 * iconvdata/8bit-gap.c: Likewise.
4738 * iconvdata/8bit-generic.c: Likewise.
4739 * iconvdata/ansi_x3.110.c: Likewise.
4740 * iconvdata/big5.c: Likewise.
4741 * iconvdata/big5hkscs.c: Likewise.
4742 * iconvdata/euc-cn.c: Likewise.
4743 * iconvdata/euc-jp.c: Likewise.
4744 * iconvdata/euc-kr.c: Likewise.
4745 * iconvdata/gbgbk.c: Likewise.
4746 * iconvdata/gbk.c: Likewise.
4747 * iconvdata/iso-2022-cn.c: Likewise.
4748 * iconvdata/iso-2022-jp.c: Likewise.
4749 * iconvdata/iso-2022-kr.c: Likewise.
4750 * iconvdata/iso646.c: Likewise.
4751 * iconvdata/iso8859-1.c: Likewise.
4752 * iconvdata/iso_6937-2.c: Likewise.
4753 * iconvdata/iso_6937.c: Likewise.
4754 * iconvdata/johab.c: Likewise.
4755 * iconvdata/sjis.c: Likewise.
4756 * iconvdata/t.61.c: Likewise.
4757 * iconvdata/uhc.c: Likewise.
4758 * iconvdata/unicode.c: Likewise.
4759 * iconvdata/utf-16.c: Likewise.
4760
e5221165
UD
4761 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
4762 __cmsg_data field with __extension__.
4763
d049b712
UD
47642000-06-10 David Mosberger <davidm@hpl.hp.com>
4765
4766 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
4767
3f912cee
UD
47682000-06-10 Ulrich Drepper <drepper@redhat.com>
4769
3593973b
UD
4770 * iconv/gconv_simple.c: Fix various small bugs in several
4771 functions.
4772
3f912cee
UD
4773 * iconv/loop.c: Fix comment.
4774
7e6d3809
UD
47752000-06-10 Jakub Jelinek <jakub@redhat.com>
4776
4777 * elf/link.h: Remove libc internal declarations.
4778 * include/link.h: Move them here.
4779
8e17ea58
UD
47802000-06-09 Ulrich Drepper <drepper@redhat.com>
4781
000171e5
UD
4782 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
4783 Patch by Dan Pop <Dan.Pop@cern.ch>.
4784
8e17ea58
UD
4785 Rewrite error message handling.
4786 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
4787 _dl_catch_error.
4788 * elf/dl-error (struct catch): Add objname member.
4789 (_dl_signal_error): Take new parameter with object name. When
4790 passing message on simply store object name and duplicate error
4791 message.
4792 (_dl_catch_error): Take new parameter. Store object name in the
4793 place pointed to.
4794 * include/dlfcn.h: Adjust _dl_catch_error prototype.
4795 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
04470dc0
UD
4796 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
4797 (dlerror): Add objname to asprintf() parameters.
4798 (_dl_error_run): Pass new parameter to _dl_catch_error.
8e17ea58
UD
4799 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
4800 * elf/dl-open.c (_dl_open): Likewise.
4801 * elf/rtld.c (dl_main): Likewise.
4802 * elf/dl-close.c: Mark error messages with N_().
4803 * elf/dl-deps.c: Likewise.
4804 * elf/dl-error.c: Likewise.
4805 * elf/dl-load.c: Likewise.
4806 * elf/dl-open.c: Likewise.
4807 * elf/dl-reloc.c: Likewise.
4808 * elf/dl-support.c: Likewise.
4809 * elf/dl-sym.c: Likewise.
4810 * elf/dl-version.c: Likewise.
4811 * elf/dl-lookup.c: Add comments about problems with error message
4812 translations.
4813 * elf/dl-reloc.c: Likewise.
4814 * elf/dl-version.c: Likewise.
4815
d743ba1e
UD
48162000-06-09 H.J. Lu <hjl@gnu.org>
4817
4818 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
4819 after freeing it.
4820
4821 * dlfcn/Makefile (distribute): Add failtestmod.c.
4822 (tests): Add failtest.
4823 Add rules to build and run failtest.
4824 * dlfcn/failtest.c: New file.
4825 * dlfcn/failtestmod.c: New file.
4826
f3863621
UD
48272000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
4828
4829 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
4830 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
4831 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
4832 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
4833 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
4834
af501e15
UD
48352000-06-09 Jes Sorensen <jes@linuxcare.com>
4836
4837 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
4838 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
4839
c79c9039
UD
48402000-06-09 Jes Sorensen <jes@linuxcare.com>
4841 Ulrich Drepper <drepper@redhat.com>
4842
4843 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
4844 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
4845 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
4846 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
4847 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
4848 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
4849
301909fb
UD
48502000-06-09 Ulrich Drepper <drepper@redhat.com>
4851
4852 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
4853 to find correct mount point despite wrong information from the
4854 kernel.
4855
b511d8fc
UD
48562000-06-09 Jes Sorensen <jes@linuxcare.com>
4857
4858 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
4859 the address of a symbol so function pointers are handled properly.
4860
1acc0b55
UD
48612000-06-08 Ulrich Drepper <drepper@redhat.com>
4862
8aa8fc7f
UD
4863 * sysdeps/i386/Dist: Add bp-asm.h.
4864
480a06df
UD
4865 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
4866 defaultdir variable instead of "/var/shm" everywhere.
4867 (defaultdir): Change to /dev/shm/.
1acc0b55 4868
3f02f778
GM
48692000-06-08 Greg McGary <greg@mcgary.org>
4870
4871 * sysdeps/i386/bp-asm.h: New file.
4872 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
4873 offsets. Add ENTER/LEAVE macros for optionally maintaining
4874 frame-pointer chain when debugging.
4875 * sysdeps/i386/add_n.S: Likewise.
4876 * sysdeps/i386/addmul_1.S: Likewise.
4877 * sysdeps/i386/lshift.S: Likewise.
4878 * sysdeps/i386/memchr.S: Likewise.
4879 * sysdeps/i386/memcmp.S: Likewise.
4880 * sysdeps/i386/mul_1.S: Likewise.
4881 * sysdeps/i386/rawmemchr.S: Likewise.
4882 * sysdeps/i386/rshift.S: Likewise.
4883 * sysdeps/i386/stpcpy.S: Likewise.
4884 * sysdeps/i386/stpncpy.S: Likewise.
4885 * sysdeps/i386/strchr.S: Likewise.
4886 * sysdeps/i386/strchrnul.S: Likewise.
4887 * sysdeps/i386/strcspn.S: Likewise.
4888 * sysdeps/i386/strpbrk.S: Likewise.
4889 * sysdeps/i386/strrchr.S: Likewise.
4890 * sysdeps/i386/strspn.S: Likewise.
4891 * sysdeps/i386/strtok.S: Likewise.
4892 * sysdeps/i386/sub_n.S: Likewise.
4893 * sysdeps/i386/submul_1.S: Likewise.
4894 * sysdeps/i386/elf/setjmp.S: Likewise.
4895 * sysdeps/i386/i486/strcat.S: Likewise.
4896 * sysdeps/i386/i486/strlen.S: Likewise.
4897 * sysdeps/i386/i586/add_n.S: Likewise.
4898 * sysdeps/i386/i586/lshift.S: Likewise.
4899 * sysdeps/i386/i586/memcpy.S: Likewise.
4900 * sysdeps/i386/i586/memset.S: Likewise.
4901 * sysdeps/i386/i586/rshift.S: Likewise.
4902 * sysdeps/i386/i586/strchr.S: Likewise.
4903 * sysdeps/i386/i586/strcpy.S: Likewise.
4904 * sysdeps/i386/i586/strlen.S: Likewise.
4905 * sysdeps/i386/i586/sub_n.S: Likewise.
4906 * sysdeps/i386/i686/add_n.S: Likewise.
4907 * sysdeps/i386/i686/memcpy.S: Likewise.
4908 * sysdeps/i386/i686/mempcpy.S: Likewise.
4909 * sysdeps/i386/i686/memset.S: Likewise.
4910 * sysdeps/i386/i686/strcmp.S: Likewise.
4911
9e56352f
UD
49122000-06-08 Ulrich Drepper <drepper@redhat.com>
4913
47bc7a9b
UD
4914 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
4915
9001274d
UD
4916 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
4917 256 and don't use OPEN_MAX.
4918
9e56352f
UD
4919 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
4920 use it instead of LINK_MAX.
de1a7177 4921 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
9e56352f 4922
46a26d45
AJ
49232000-06-08 Andreas Jaeger <aj@suse.de>
4924
4925 * libio/genops.c (_IO_list_lock): Only compile body if we're
4926 thread safe.
4927 (_IO_list_unlock): Likewise.
4928 (_IO_list_resetlock): Likewise.
4929
dc3b5786
UD
49302000-06-07 Ulrich Drepper <drepper@redhat.com>
4931
bb790106
UD
4932 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
4933 unless user defined it.
4934
104d0690
UD
4935 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
4936 if not defined by the user.
4937
a27c96b0
UD
4938 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
4939 * libio/iofwrite.c (_IO_fwrite): Likewise.
4940
77741499
UD
4941 * time/time.h: Add missing __THROW for clock_getcpuclockid
4942 prototype.
4943
ffa8a903 4944 * elf/Makefile (distribute): Add dl-dtprocnum.h.
b0982c4a
UD
4945 * include/elf.h: Include also <dl-dtprocnum.h>.
4946 * elf/dl-deps.c: Likewise.
4947 * elf/dl-lookup.c: Likewise.
4948 * elf/dl-runtime.c: Likewise.
4949 * elf/dl-version.c: Likewise.
4950 * elf/do-rel.h: Likewise.
4951 * elf/dynamic-link.h: Likewise.
4952 * elf/link.h: Likewise.
4953 * elf/rtld.c: Likewise.
4954 * sysdeps/generic/dl-dtprocnum.h: New file.
4955 * sysdeps/ia64/dl-dtprocnum.h: New file.
4956 * sysdeps/mips/dl-dtprocnum.h: New file.
4957 * sysdeps/sparc/dl-dtprocnum.h: New file.
4958
d4f170a9
UD
4959 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
4960
7e281477
UD
4961 * elf/do-lookup.h: Add some __builtin_expect.
4962
dec126b4
UD
4963 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
4964
4965 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
4966 (_dl_dynamic_weak): New variable.
4967 * elf/dl-support.c: Likewise.
4968 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
4969 * elf/do-lookup.h: If we find a weak definition treat it like a
4970 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
4971 case treat it like before.
4972
b8565e78
UD
4973 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
4974 is in main program.
4975 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
4976
1c14af44
UD
4977 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
4978 using l_map_start and l_map_end.
4979
7b228b68
UD
4980 * elf/dl-version.c: Add __builtin_expect in many places.
4981
dc3b5786
UD
4982 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
4983 Update.
4984
3fc9ca4e
UD
49852000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
4986
4987 Lock for stdio stream list becomes global, for use in LinuxThreads.
4988
4989 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
4990 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
4991 _IO_list_resetlock): New interface for iterating global list of
4992 streams without accessing the _IO_list_all global variable,
4993 and for manipulating the lock which protects this list.
4994 * libio/libioP.h: Likewise.
4995 * libio/Version: Add entries for the new functions.
4996
4997 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
4998 pointer to _IO_FILE.
4999
2a631990
UD
50002000-06-07 Ulrich Drepper <drepper@redhat.com>
5001
ce177a84
UD
5002 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
5003 BIT() must actually be BITw().
5004
45c95239
UD
5005 * locale/programs/ld-ctype.c: Handle SP and space consistently.
5006
2a631990
UD
5007 * locale/programs/charmap.c: Allow string arguments for
5008 code_set_name and repertoiremap.
5009
99ac5e47
UD
50102000-06-07 Andreas Jaeger <aj@suse.de>
5011
5012 * elf/Makefile: Build ldconfig only when building shared libraries.
5013
50142000-06-07 Jakub Jelinek <jakub@redhat.com>
5015
5016 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
5017 __USE_ISOC99.
5018 (fdimf, __fdim, fdim): Likewise.
5019
345f9ac0
UD
50202000-06-07 Ulrich Drepper <drepper@redhat.com>
5021
5022 * locale/findlocale.c: Add __builtin_expect in many places.
5023 * locale/loadlocale.c: Likewise.
5024
9b6a9cee
GM
50252000-06-06 Greg McGary <greg@mcgary.org>
5026
d5bc737a
GM
5027 * sysdeps/mips/elf/start.S: Trim redundant code.
5028
1d280d9f
GM
5029 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
5030 Use C comments throughout. Line up operands column with tabs.
5031 * sysdeps/powerpc/strchr.S: Likewise.
5032 * sysdeps/powerpc/strcmp.S: Likewise.
5033 * sysdeps/powerpc/strcpy.S: Likewise.
5034 * sysdeps/powerpc/strlen.S: Likewise.
5035
9b6a9cee
GM
5036 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
5037 Get low part of &__curbrk with @l.
5038
89301d68
UD
50392000-06-06 Ulrich Drepper <drepper@redhat.com>
5040
4c3192f9
UD
5041 * iconvdata/utf-16.c: Add __builtin_expect in many places.
5042 * iconvdata/unicode.c: Likewise.
5043 * iconvdata/uhc.c: Likewise.
5044 * iconvdata/t.61.c: Likewise.
5045 * iconvdata/sjis.c: Likewise.
5046 * iconvdata/johab.c: Likewise.
5047 * iconvdata/iso_6937.c: Likewise.
5048 * iconvdata/iso_6937-2.c: Likewise.
5049 * iconvdata/iso8859-1.c: Likewise.
5050 * iconvdata/iso646.c: Likewise.
5051 * iconvdata/iso-2022-kr.c: Likewise.
89301d68
UD
5052 * iconvdata/iso-2022-jp.c: Likewise.
5053 * iconvdata/iso-2022-cn.c: Likewise.
5054 * iconvdata/gbgbk.c: Likewise.
5055 * iconvdata/gbk.c: Likewise.
5056 * iconvdata/euc-kr.c: Likewise.
5057 * iconvdata/euc-jp.c: Likewise.
5058 * iconvdata/euc-cn.c: Likewise.
5059
b0f1ca68
UD
50602000-06-05 Ulrich Drepper <drepper@redhat.com>
5061
5ea1a82d
UD
5062 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
5063 * iconvdata/big5.c: Likewise.
5064 * iconvdata/ansi_x3.110.c: Likewise.
5065 * iconvdata/8bit-generic.c: Likewise.
5066 * iconvdata/8bit-gap.c: Likewise.
5067 * iconv/loop.c: Likewise.
5068 * iconv/gconv_db.c: Likewise.
5069 * iconv/gconv_dl.c: Likewise.
5070 * iconv/gconv_simple.c: Likewise.
5071 * iconv/skeleton.c: Likewise.
365afefc 5072
85830c4c
UD
5073 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
5074 (struct __gconv_step_data): Rename __is_last to __flags.
5075 * iconv/gconv_close.c: Change all uses of __is_last.
5076 * iconv/skeleton.c: Likewise.
5077 * iconvdata/iso-2022-cn.c: Likewise.
5078 * iconvdata/iso-2022-jp.c: Likewise.
5079 * iconvdata/iso-2022-kr.c: Likewise.
5080 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
5081 Recognize IGNORE error handling, set flag, and remove from name.
5082 * iconv/loop.c (ignore_errors_p): Define.
5083 Add flags parameter to both functions.
5084 * iconv/skeleton.c: Pass flags to all conversion functions.
5085 * iconv/gconv_simple.c: Add flags parameter to all functions.
5086 Don't return error for invald error if ignore flag is set.
5087 (ucs4_internal_loop_single): Add missing pointer increment.
5088 (internal_ucs4le_loop_single): Likewise.
5089 * iconv/iconv_prog.c: Implement handling of -c parameter.
5090 * iconvdata/8bit-gap.c: Don't return error for invald error if
5091 ignore flag is set.
5092 * iconvdata/8bit-generic.c: Likewise.
5093 * iconvdata/ansi_x3.110.c: Likewise.
5094 * iconvdata/big5.c: Likewise.
5095 * iconvdata/big5hkscs.c: Likewise.
5096 * iconvdata/euc-cn.c: Likewise.
5097 * iconvdata/euc-jp.c: Likewise.
5098 * iconvdata/euc-kr.c: Likewise.
5099 * iconvdata/gbgbk.c: Likewise.
5100 * iconvdata/gbk.c: Likewise.
5101 * iconvdata/iso-2022-cn.c: Likewise.
5102 * iconvdata/iso-2022-jp.c: Likewise.
5103 * iconvdata/iso-2022-kr.c: Likewise.
5104 * iconvdata/iso646.c: Likewise.
5105 * iconvdata/iso8859-1.c: Likewise.
5106 * iconvdata/iso_6937-2.c: Likewise.
5107 * iconvdata/iso_6937.c: Likewise.
5108 * iconvdata/johab.c: Likewise.
5109 * iconvdata/sjis.c: Likewise.
5110 * iconvdata/t.61.c: Likewise.
5111 * iconvdata/uhc.c: Likewise.
5112 * iconvdata/unicode.c: Likewise.
5113 * iconvdata/utf-16.c: Likewise.
5114 * libio/fileops.c: Likewise.
5115 * libio/iofwide.c: Likewise.
5116 * wcsmbs/btowc.c: Likewise.
5117 * wcsmbs/mbrtowc.c: Likewise.
5118 * wcsmbs/mbsnrtowcs.c: Likewise.
5119 * wcsmbs/mbsrtowcs.c: Likewise.
5120 * wcsmbs/wcrtomb.c: Likewise.
5121 * wcsmbs/wcsnrtombs.c: Likewise.
5122 * wcsmbs/wcsrtombs.c: Likewise.
5123 * wcsmbs/wctob.c: Likewise.
5124
5125 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
b0f1ca68
UD
5126 an error.
5127
add40772
UD
51282000-06-04 Ulrich Drepper <drepper@redhat.com>
5129
5130 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
5131 counter for the object we are releasing, just decrement it.
5132 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
5133
1dd54850
UD
51342000-06-04 Jakub Jelinek <jakub@redhat.com>
5135
5136 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
5137 if -ffast-math.
5138
dda5c10b
UD
51392000-06-04 Ulrich Drepper <drepper@redhat.com>
5140
5141 * iconvdata/big5hkscs.c: New file.
5142 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
5143
5144 * iconvdata/gconv-modules: Add entry for new module.
61da7687
UD
5145 * iconvdata/Makefile (modules): Add BIG5HKSCS.
5146 (distribute): Add big5hkscs.c.
dda5c10b 5147
cc46c92d
UD
51482000-06-01 Jakub Jelinek <jakub@redhat.com>
5149
5150 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
5151 inlines to match prototypes in mathcalls.h.
5152 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
5153 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
5154 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
5155 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5156
b7a65b86
UD
51572000-06-03 Ulrich Drepper <drepper@redhat.com>
5158
ec880cc7
UD
5159 * elf/elf.h (SHT_SUNW_move): Define.
5160
b7a65b86
UD
5161 * elf/elf.h: Add more Solaris compatiblity definitions.
5162
ec215d43
AJ
51632000-06-03 Andreas Jaeger <aj@suse.de>
5164
cc46c92d 5165 * sysdeps/powerpc/dl-start.S: Close open comment.
ec215d43
AJ
5166
51672000-06-03 Jakub Jelinek <jakub@redhat.com>
5168
5169 * inet/Versions: Fix typo in rresvport_af export.
5170
a6dd2e55
UD
51712000-06-02 Ulrich Drepper <drepper@redhat.com>
5172
5173 * math/tgmath.h: Pretty print.
5174
7b61638d
AJ
51752000-06-02 Andreas Jaeger <aj@suse.de>
5176
5177 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
5178 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
5179
75e8d1f5
UD
51802000-06-02 Ulrich Drepper <drepper@redhat.com>
5181
5182 * elf/rtld.c (process_envvars): Test for = after variable name.
5183
61d655c1
UD
51842000-06-01 Ulrich Drepper <drepper@redhat.com>
5185
6c021fdc
UD
5186 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
5187 have extra call to __gmon_start__, use the pointer we already have.
5188
68979757
UD
5189 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
5190 shifting.
5191
61d655c1
UD
5192 * sysdeps/i386/elf/setjmp.S: Work around change is recent
5193 binutils. gas now emits a jump through the PLT instead of a
5194 relative jump if the jump target is an exported symbol.
5195
9f97f790
UD
51962000-05-31 Ulrich Drepper <drepper@redhat.com>
5197
5198 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
5199
c3e485f1
AJ
52002000-05-31 Andreas Jaeger <aj@suse.de>
5201
5202 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
5203 gregset_t.
5204
5205 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
5206 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
9f97f790 5207
c3e485f1
AJ
5208 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
5209 syscall.
5210 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5211
a907bff9
UD
52122000-05-30 Ulrich Drepper <drepper@redhat.com>
5213
a2fa8605
UD
5214 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
5215
9b014809
UD
5216 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
5217 * locale/localeconv.c: Make function versioned (with same definition).
5218
a907bff9
UD
5219 * elf/Makefile (modules-names): Strip before using it.
5220
e82a0295
AJ
52212000-05-30 Andreas Jaeger <aj@suse.de>
5222
5223 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
5224 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
5225 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
5226 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
5227 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
5228 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
5229
3846463e
UD
52302000-05-29 Ulrich Drepper <drepper@redhat.com>
5231
c8d32817
UD
5232 * Makefile: Add GNU make magic.
5233
3846463e
UD
5234 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
5235 Removed.
5236 * inet/rcmd.c: Remove __P. Remove unused variables.
5237 (iruserfopen): Make first parameter const.
5238 (ruserok_sa): Return result of ruserok2_sa.
5239 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
5240 * inet/rexec.c: Remove unused variables. Other small cleanups.
5241 * inet/ruserpass.c: Remove __P. Remove unused variables.
5242 (ruserpass): Check results of memory allocation.
5243 * include/netdb.h: Add prototype for ruserpass.
5244
03fad0ec
AJ
52452000-05-29 Andreas Jaeger <aj@suse.de>
5246
5247 * elf/readlib.c (interpreters): Use LD_SO since this is supported
5248 for all platforms.
5249
a8322b4f
UD
52502000-05-29 Jakub Jelinek <jakub@redhat.com>
5251
5252 * inet/rcmd.c (rresvport_af): Use correct port number.
5253
52542000-05-26 Andreas Schwab <schwab@suse.de>
5255
5256 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
5257 entries in all-sonames.
5258 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
5259 preserving the old name if different for compatibility.
5260
08c7f6b0
UD
52612000-05-29 Ulrich Drepper <drepper@redhat.com>
5262
5263 * posix/Makefile (tests): Add tst-spawn.
5264 (tst-spawn-ARGS): New variable.
5265 * posix/tst-spawn.c: New file.
5266
5267 * posix/spawn_faction_addclose.c: Correctly account for new entry.
5268 * posix/spawn_faction_adddup2.c: Likewise.
5269 * posix/spawn_faction_addopen.c: Likewise.
5270 * posix/spawni.c: Correctly test for success of dup2 calls.
5271
5272 * posix/tst-preadwrite.c: Check success of malloc call.
5273
31eb0a91
UD
52742000-05-28 Ulrich Drepper <drepper@redhat.com>
5275
079199de
UD
5276 * posix/Makefile (tests): Add tst-exec.
5277 (tst-exec-ARGS): New variable.
5278 * posix/tst-exec.c: New file.
5279
31eb0a91
UD
5280 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
5281
84838b8f
UD
52822000-05-04 Andreas Jaeger <aj@suse.de>
5283
5284 * string/string.h: Remove __strdup prototype, it's not needed in
5285 this file anymore.
5286
2588068b
UD
52872000-05-28 Ulrich Drepper <drepper@redhat.com>
5288
c0f3519d 5289 * posix/Makefile (tests): Add tst-fork.
079199de 5290 * posix/tst-fork.c: New file.
c0f3519d 5291
2588068b
UD
5292 * resolv/inet_pton.c: Loose __P.
5293
7163e69e
UD
52942000-05-21 Jakub Jelinek <jakub@redhat.com>
5295
5296 * libio/libioP.h (_IO_CHECK_WIDE): Define.
5297 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
7163e69e
UD
5298 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5299 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
5300 _IO_CHECK_WIDE fails.
5301
e6e81391
UD
53022000-05-28 Ulrich Drepper <drepper@redhat.com>
5303
1ef9f0b6
UD
5304 * po/da.po: New file.
5305
e6e81391
UD
5306 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
5307 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
5308
b160422e
UD
5309 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
5310 (Other iconv Implementations): Fix typo.
5311 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
5312
741845cb
AJ
53132000-05-27 Andreas Jaeger <aj@suse.de>
5314
5315 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
5316 normal version now.
5317 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
5318 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
5319 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5320 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5321 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
5322 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
5323
5324 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
5325 endianness to decide how to pass arguments.
5326 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5327
5328 * elf/vismain.c: Use test-skeleton interface.
5329 (TEST_FUNCTION): New macro.
5330 (do_test): Renamed from main.
5331
b455972f
UD
53322000-05-27 Ulrich Drepper <drepper@redhat.com>
5333
5334 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
5335 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
5336
5337 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
5338 handling of AI_V4MAPPED flag.
5339
5340 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
5341 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
5342 perform lookup for T_A type and tell getanswer_r to convert the
5343 result with new argument.
5344 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
5345 Don't convert addresses from IPv4 to IPv6 here.
5346 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
5347 IPv6 is wanted. Allow qtype and type from reply to disagree if
5348 IPv4 mapping has to be done. Perform mappings if required by the
5349 caller and not if RES_USE_INET6 bit in _res.options is set.
5350 Add several __builtin_expect.
5351
09bbe3bf
UD
53522000-05-26 Ulrich Drepper <drepper@redhat.com>
5353
e84e339f
UD
5354 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
5355
5356 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
4c540916
UD
5357 NULL.
5358
0a550321
UD
5359 * posix/tst-preadwrite.c: Allow parallel execution of
5360 tst-preadwrite and tst-preadwrite64.
5361
ad92208d
UD
5362 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
5363 * posix/tst-truncate.c: New file.
5364 * posix/tst-truncate64.c: New file.
5365
f0b2767b
UD
5366 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
5367 was switched.
5368
bd9df4cd 5369 * posix/Makefile (tests): Add tst-preadwrite64.
09bbe3bf
UD
5370 * posix/tst-preadwrite.c: Alloc file being used also for testing
5371 pread64 and pwrite64.
5372 * posix/tst-preadwrite64.c: New file.
5373
dc95d158
AJ
53742000-05-26 Andreas Jaeger <aj@suse.de>
5375
aac468ae
AJ
5376 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
5377 of arguments dependend on endianness.
5378 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5379
088b9917
AJ
5380 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
5381 normal version now.
5382 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
5383 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
5384 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5385 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5386
5387 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
5388 endianness to check how to pass argument.
5389 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5390
dc95d158
AJ
5391 * elf/ldconfig.h: Update parameter list for process_elf_file.
5392
5393 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
5394 Add parameter file_length and pass it ot process_elf*file.
5395
5396 * sysdeps/generic/readelflib.c (check_ptr): New.
5397 (process_elf_file): Use check_ptr to check all accesses to the
5398 mmapped file. Add parameter file_length.
5399
5400 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
5401 library names.
5402
5403 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
5404 Closes PR libc/1573, reported by Bradley White
5405 <bww@laurelnetworks.com>.
5406
81e43fc1
UD
54072000-05-25 Ulrich Drepper <drepper@redhat.com>
5408
5409 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
5410 __FAST_MATH__ is defined.
5411
378fbeb4
UD
54122000-05-22 Andreas Jaeger <aj@suse.de>
5413
5414 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
5415 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
5416
5417 * manual/math.texi (FP Function Optimizations): Document gcc
5418 -ffast-math behaviour with mathinlines.
5419
5420 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
5421 functions unless -ffast-math is given to gcc.
5422
0f550417
UD
54232000-05-23 Jakub Jelinek <jakub@redhat.com>
5424
5425 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
5426 __sincosl): Guard with __USE_GNU.
5427
acb5ee2e
UD
54282000-05-24 Ulrich Drepper <drepper@redhat.com>
5429
db33f7d4
UD
5430 * csu/Makefile (routines): Add check_fds.
5431 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
5432 binaries. Add various __builtin_expect.
5433 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
5434 * sysdeps/generic/check_fds.c: ...here. New file.
5435
5436 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
5437 binaries if file /etc/suid-debug is available.
5438
acb5ee2e
UD
5439 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
5440 and wcseqorder members.
5441 (struct locale_collate_t): Likewise.
5442 (collate_finish): Assign collation sequence value to each character.
5443 Create tables for output.
5444 (collate_output): Write out tables with collation sequence information.
5445 * locale/C-collate.c: Provide C locale data for collation sequence
5446 table.
5447 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
5448 _NL_COLLATE_COLLSEQWC.
5449 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
5450 _NL_COLLATE_COLLSEQWC.
5451 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
5452 include fnmatch_loop.c.
5453 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
5454 character is matched by range expression. Use collation sequence
5455 table. Outside glibc fall back on simple character value comparison.
5456
ff31ba59
AJ
54572000-05-24 Andreas Jaeger <aj@suse.de>
5458
fff82885
AJ
5459 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
5460 words.
5461
ff31ba59
AJ
5462 * intl/Makefile: Run gettext-test only if msgfmt is available.
5463
a074fa3c
AJ
5464 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
5465 Define it for newer kernels.
5466
eec8ef5a
UD
54672000-05-23 Ulrich Drepper <drepper@redhat.com>
5468
5e76a346
UD
5469 * elf/dl-sym.c: Minor cleanups.
5470
2d499f55
UD
5471 * configure.in: Add test for .protected.
5472 * config.make.in: Add have-protected variable.
eec8ef5a
UD
5473 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
5474 (tests-vis-yes): Add vismain.
5475 (modules-names): Add $(modules-vis-$(have-protected)).
5476 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
5477 Add rules to generate and run vismain.
5478 * elf/vismain.c: New file.
5479 * elf/vismod1.c: New file.
5480 * elf/vismod2.c: New file.
5481 * elf/vismod3.c: New file.
5482
21ad6b26
AJ
54832000-05-23 Andreas Jaeger <aj@suse.de>
5484
5485 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
5486
5487 * manual/search.texi (Array Sort Function): Document that qsort is
5488 not necessarily in-place.
5489
5490 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
5491 Closes PR libc/1731.
5492
bcaad6ee
AJ
5493 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
5494 * dirent/scandir64.c: Likewise.
5495 * pwd/getpw.c: Likewise.
5496 * stdlib/bsearch.c (bsearch): Likewise.
5497 * stdlib/tst-strtoll.c: Likewise.
5498 * localedata/collate-test.c: Likewise.
5499 * localedata/xfrm-test.c: Likewise.
5500 * posix/bsd-getpgrp.c: Likewise.
5501 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
5502 * sysdeps/generic/bits/siginfo.h: Likewise.
5503 * sysdeps/generic/bits/sockaddr.h: Likewise.
5504 * sysdeps/generic/sys/swap.h: Likewise.
5505 * sysdeps/generic/sys/sysinfo.h: Likewise.
5506 * sysdeps/generic/vfork.c: Likewise.
5507 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
5508 * sysdeps/mach/hurd/fdopen.c: Likewise.
5509 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
5510 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5511 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5512 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5513 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5514 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5515 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
5516
5517 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
5518 * shadow/lckpwdf.c: Likewise.
5519 * stdlib/tst-strtol.c: Likewise.
5520 * sysdeps/generic/tcsetattr.c: Likewise.
5521 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5522 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5523
6a7c9bb4
UD
55242000-05-22 Jakub Jelinek <jakub@redhat.com>
5525
5526 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
5527 free it and set to (void *) -1.
5528
3f651a4d
UD
55292000-05-22 Jakub Jelinek <jakub@redhat.com>
5530
5531 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
5532 not the second character in the range.
5533 * stdio-common/tstscanf.c (main): Add testcase for the above.
5534 Reported by jik@kamens.brookline.ma.us.
5535
6aa29abe
UD
55362000-05-21 H.J. Lu <hjl@gnu.org>
5537
5538 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
5539 with noexec and noplt parameter.
5540 (do_lookup): Likewise.
5541
5542 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
5543 do_lookup. Support STV_PROTECTED.
5544 (_dl_lookup_symbol_skip): Likewise.
5545 (_dl_lookup_versioned_symbol): Likewise.
5546 (_dl_lookup_versioned_symbol_skip): Likewise.
5547
5548 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
5549
5550 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
5551
85153f6c
AJ
55522000-05-21 Jakub Jelinek <jakub@redhat.com>
5553
5554 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
5555 * sysdeps/i386/bits/huge_val.h: Likewise.
5556 * sysdeps/ieee754/bits/huge_val.h: Likewise.
5557 * sysdeps/m68k/bits/huge_val.h: Likewise.
5558 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
5559 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
5560
5748f418
AJ
55612000-05-22 Andreas Jaeger <aj@suse.de>
5562
5563 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
5564 change in iconv.h.
5565
4a624ae3
UD
55662000-05-19 Andreas Jaeger <aj@suse.de>
5567
5568 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
5569 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
5570 breaks compilation without linuxthreads.
5571
99a20616
UD
55722000-05-21 Ulrich Drepper <drepper@redhat.com>
5573
5bfc4252
UD
5574 * sysdeps/ia64/memccpy.S: New file.
5575 * sysdeps/ia64/memchr.S: New file.
5576 * sysdeps/ia64/memcmp.S: New file.
5577 * sysdeps/ia64/memcpy.S: New file.
5578 * sysdeps/ia64/memmove.S: New file.
5579 * sysdeps/ia64/memset.S: New file.
5580 * sysdeps/ia64/strcat.S: New file.
5581 * sysdeps/ia64/strchr.S: New file.
5582 * sysdeps/ia64/strcmp.S: New file.
5583 * sysdeps/ia64/strcpy.S: New file.
5584 * sysdeps/ia64/strlen.S: New file.
5585 * sysdeps/ia64/strncmp.S: New file.
5586 * sysdeps/ia64/strncpy.S: New file.
5587 * sysdeps/ia64/softpipe.h: New file.
5588 Patches by Dan Pop <Dan.Pop@cern.ch>.
5589
5590 * manual/memory.texi: Document memory handling functions (mlock,
5591 munlock, mlockall, munlockall, brk, and sbrk)
99a20616
UD
5592 * manual/time.texi: Document timespec and friends.
5593 * manual/conf.texi: Fix references.
5594 * manual/ctype.texi: Likewise.
5595 * manual/errno.texi: Likewise.
5596 * manual/intro.texi: Likewise.
5597 * manual/locale.texi: Likewise.
5598 * manual/sysinfo.texi: Likewise.
5599 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
5600
371071d5
UD
56012000-05-09 Jes Sorensen <jes@linuxcare.com>
5602
5603 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
5604 * sysdeps/ia64/dl-lookupcfg.h: ...here.
5605
f87e0815
UD
56062000-05-21 Jakub Jelinek <jakub@redhat.com>
5607
5608 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
5609 dxfer_direction.
5610
0efb48a1
UD
56112000-05-21 Ulrich Drepper <drepper@redhat.com>
5612
3b434940
UD
5613 * locale/locale.h (struct lconv): Add new elements from ISO C99.
5614 * locale/localeconv.c: Initialize new elements from ISO C99.
3446e2c3
UD
5615 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
5616 new standard elements.
5617 * locale/categories.def: Adjust accordingly.
3b434940 5618
0efb48a1
UD
5619 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
5620 * iconv/iconv.c: Likewise.
5621 * conform/data/iconv.h-data: Likewise.
3b434940
UD
5622 * iconv/iconv_prog.c (process_block): Remove const from second
5623 parameter.
5624 (main): Remove const from addr definition.
70a1a465
UD
5625 * manual/charset.texi (Generic Conversion Interface): Remove from
5626 inbuf parameter of iconv.
0efb48a1
UD
5627
5628 * intl/dcigettext.c: Fix typo in comment.
5629
5d1fba6d
AJ
56302000-05-20 2000 H.J. Lu <hjl@gnu.org>
5631
5632 * resolv/res_libc.c (_res): Initialize _sock to -1.
5633
56342000-05-18 Jakub Jelinek <jakub@redhat.com>
5635
5636 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
5637 (fopencookie@@GLIBC_2.2): New.
5638 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
5639 (fopencookie@GLIBC_2.0): New.
5640 * libio/Versions: Add fopencookie to GLIBC_2.2.
5641
600a7457
AJ
56422000-05-18 Andreas Jaeger <aj@suse.de>
5643
5d1fba6d
AJ
5644 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
5645 Closes PR libc/1731.
5646
600a7457
AJ
5647 * manual/arith.texi (Parsing of Integers): Fix typo.
5648 Closes PR libc/1744, reported by blp@gnu.org.
5649
cc3f0ddb
AJ
56502000-05-17 Jakub Jelinek <jakub@redhat.com>
5651
5652 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
5653 __extension__ to hexadecimal floating constant notation.
5654 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
5655 Likewise.
5656 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
5657 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
5658 Likewise.
5659 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
5660 HUGE_VALL): Likewise.
5661 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
5662 HUGE_VALL): Likewise.
5663 (HUGE_VALL): Set to HUGE_VAL on sparc32.
5664
e656498e
AJ
56652000-05-17 Andreas Jaeger <aj@suse.de>
5666
5667 * string/envz.h: Add pure attributes if possible.
5668
5669 * string/argz.h: argz_count is a pure function.
5670
5671 * string/strings.h: Add pure and const attributes if possible.
5672
1261b97d
AJ
5673 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
5674 possibly searching through the whole memory.
5675 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
5676
e25054c4
AJ
56772000-05-17 Jakub Jelinek <jakub@redhat.com>
5678
5679 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
5680 not yet defined.
5681 (_dl_cache_check_flags): Likewise.
5682 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
5683 dl-cache.h.
5684
56852000-05-17 Andreas Jaeger <aj@suse.de>
5686
5687 * manual/creature.texi (Feature Test Macros): Remove paragraph
5688 since the description is wrong.
5689 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
5690
7626e16c
AJ
5691 * scripts/config.sub: New version.
5692 * scripts/config.guess: Likewise.
5693 * manual/texinfo.tex: Likewise.
5694
e25054c4
AJ
5695 * time/test_time.args: Removed.
5696 * time/Makefile (test_time-ARGS): Added contents here instead.
5697
5698 * posix/tstgetopt.args: Removed.
5699 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
5700
5701 * Rules: Allow arguments for test files to be specified in
5702 Makefile with testname-ARGS; remove rules with .args in it.
5703
5704 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
5705 remove old bogus rule for opendir-tst1.args.
5706
5707 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
5708
5709 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
5710 into objdir. This allows a readonly sourcetree.
5711 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
5712
57132000-05-16 Andreas Jaeger <aj@suse.de>,
0efb48a1 5714 David Huggins-Daines <dhd@linuxcare.com>
e25054c4
AJ
5715
5716 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
5717 cache_data in case of only new cache format correctly.
5718
5719 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
5720 cache_file_new.
5721
5722 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
5723 struct cache_file_new.
5724
5725 * elf/cache.c (save_cache): Fix str_offset if only new cache is
5726 present.
5727
5728 * elf/cache.c (save_cache): Align struct new_file_cache.
5729 (print_cache): Likewise.
5730
d7dcf126
AJ
57312000-05-13 Jakub Jelinek <jakub@redhat.com>
5732
5733 * elf/soinit.c (__libc_global_ctors): Move
5734 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
5735 * resolv/resolv.h (__res_state): Added __attribute__((const)).
5736 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
5737 variable, don't define it to __res_state call.
5738
99356b9b
AJ
57392000-05-13 Andreas Jaeger <aj@suse.de>
5740
5741 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
5742 Linux 2.3.99pre7.
5743 (AF_PPPOX): Likewise.
5744 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
5745 (AF_PPPOX): Likewise.
5746
88d9b1b2
AJ
57472000-05-12 Andreas Jaeger <aj@suse.de>
5748
5749 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
5750 Reported by tmoestl@gmx.net, closes PR libc/1732.
5751
ca5a4c3c
AJ
57522000-05-11 Jan Hubicka <jh@suse.cz>
5753
5754 * misc/sys/cdefs.h: Add support for pure attribute.
5755
5756 * include/string.h: Add __attribute_pure__ to various functions.
5757 * string/string.h: Likewise.
5758
b227a3a6
AJ
57592000-05-10 Jakub Jelinek <jakub@redhat.com>
5760
99356b9b
AJ
5761 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
5762 argument.
5763 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5764 R_SPARC_UA64.
5765 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
b227a3a6 5766
676d12fd
AJ
57672000-05-10 Jakub Jelinek <jakub@redhat.com>
5768
5769 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
5d693ae3 5770 at proper place. Compute the high nibble correctly.
676d12fd 5771
a8571d37
AJ
57722000-05-09 Jakub Jelinek <jakub@redhat.com>
5773
9c95d361
AJ
5774 * elf/ldconfig.c: Include elf.h.
5775
a8571d37
AJ
5776 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
5777 (_dl_vsym): Likewise.
5778 Reported by Owen Taylor <otaylor@redhat.com>.
5779
5780 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
5781 always.
5782
fbd61fc1
AJ
57832000-05-08 Andreas Jaeger <aj@suse.de>
5784
5785 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
5786
5787 * intl/bindtextdom.c (set_binding_values): Add prototype.
5788
470175f1
AJ
57892000-05-08 Jakub Jelinek <jakub@redhat.com>
5790
5791 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
5792 call to elf_machine_fixup_plt.
5793 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5794 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5795
3b3938c9
UD
57962000-05-08 Jakub Jelinek <jakub@redhat.com>
5797
5798 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
5799 they are not dlclose'd from underneath us.
5800
0320a5aa
UD
58012000-05-08 Andreas Schwab <schwab@suse.de>
5802
5803 * posix/execle.c: Fix size parameter of memcpy.
5804
4159408a
AS
58052000-05-08 Andreas Schwab <schwab@suse.de>
5806
5807 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
5808 getpagesize syscall if available.
5809
97d9957b
AJ
58102000-05-08 Andreas Jaeger <aj@suse.de>
5811
5812 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
5813 set errno.
5814
ded812f4
AJ
58152000-05-08 Jakub Jelinek <jakub@redhat.com>
5816
5817 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
5818 sizeof(struct link_map *) chunks, not in bytes.
5819
33f5839f
UD
58202000-05-07 Ulrich Drepper <drepper@redhat.com>
5821
5822 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
5823 only needed for locale.
5824 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
5825 It's only needed for catgets.
5826 Patches by Greg McGary <gkm@eng.ascend.com>.
5827
d1c2a14c
UD
58282000-05-07 Mark Kettenis <kettenis@gnu.org>
5829
5830 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
5831 Remove duplicate <errno.h> include. Remove inclusion of
5832 <libintl.h> and "nsswitch.h".
5833 (set_cloexec_flag): New function, broken out of dbopen.
5834 (dbopen): Changed return type to `enum
5835 nss_status'. Mostly rewritten to make sure that we do not report
5836 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
5837 (internal_setent): Change return type to nss_status.
5838 Document, and make sure that the function
5839 behaves accordingly. Make dynamically loading the database
5840 library really thread-safe and return NSS_STATUS_UNAVAIL if it
5841 failed.
5842 (db_cursor): Return ENOMEM is memory allocation failed. Remove
5843 unecessary casts.
5844 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
5845 documentation.
5846 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
5847 c_get function member.
5848 * nss/nss_db/nss_db.h: Add and tweak some comments.
5849 (DBT): Move typedef before NSS_DBC typedef.
5850 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
5851
93414bb9
UD
58522000-05-07 H.J. Lu <hjl@gnu.org>
5853
5854 * csu/initfini.c: Moved to ....
5855 * sysdeps/generic/initfini.c: ...here.
5856
5857 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
5858
c63b67bd
UD
58592000-05-07 Ulrich Drepper <drepper@redhat.com>
5860
639c6286
UD
5861 * manual/resource.texi: Document POSIX scheduling functions.
5862 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5863
6ac52e83
UD
5864 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
5865 reading anything. Reported by Andries.Brouwer@cwi.nl.
5866
74a0513d
UD
5867 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
5868 for x since promotion in comparison might leads to unexpected
5869 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
5870
c63b67bd
UD
5871 * iconv/Makefile (tests): Add tst-iconv1.
5872 * iconv/tst-iconv1.c: New file.
1336419e
UD
5873 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
5874 empty input buffer over full output buffer.
fc08075d
UD
5875 (ucs4_internal_loop): Likewise.
5876 (ucs4_internal_loop_unaligned): Likewise.
5877 (internal_ucs4le_loop): Likewise.
5878 (internal_ucs4le_loop_unaligned): Likewise.
5879 (ucs4le_internal_loop): Likewise.
5880 (ucs4le_internal_loop_unaligned): Likewise.
c63b67bd
UD
5881 Reported by yaoz@nih.gov.
5882
45eca4d1
UD
58832000-05-06 Bruno Haible <haible@clisp.cons.org>
5884
5885 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
5886 returned != __GCONV_OK, there is nothing to clean up.
5887
58882000-05-06 Bruno Haible <haible@clisp.cons.org>
5889
5890 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
5891 OUTPUT_CHARSET environment variables.
5892
58932000-05-06 Andreas Jaeger <aj@suse.de>
5894
5895 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
5896 (struct cache_file_new): New.
5897 (struct file_entry): New (moved from cache.c).
5898 (struct cache_file): New (moved from cache.c).
5899
5900 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
5901 from _dl_load_cache_lookup.
5902 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
5903 the different cache formats.
5904 New variable cache_new for new format.
5905
5906 * elf/ldconfig.h: Change according to changes in cache.c and
5907 ldconfig.c; remove cache_libcmp; add opt_format.
5908
5909 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
5910 stuff that's defined in those headers.
5911 Add hwcap to struct lib_entry.
5912 (opt_format): New variable to select cache format.
5913 (options): Add format parameter.
5914 (is_hwcap): New function.
5915 (path_hwcap): New function.
5916 (parse_opt): Handle new format parameter.
5917 (search_dir): Handle hwcap, search also subdirectories with hwcap.
5918
5919 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
5920 ldconfig is part of glibc.
5921 Include dl-cache.h and remove stuff that's defined there.
5922 (struct cache_entry): Add new member hwcap.
5923 (print_entry): Print hwcap, cleanup a bit.
5924 (print_cache): Print new and old formats.
5925 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
5926 (save_cache): Save new and old formats.
5927 (add_to_cache): Handle hwcap.
5928
5929 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
5930 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
5931 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
5932 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
5933 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
5934 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
5935
59362000-05-05 Bruno Haible <haible@clisp.cons.org>
5937
5938 * intl/dcigettext.c (alignof): New macro.
5939 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
5940 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
5941 freemem_size to 0.
5942
59432000-05-05 Bruno Haible <haible@clisp.cons.org>
5944
5945 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
5946 return value.
5947
f0a7f742
UD
59482000-05-06 Ulrich Drepper <drepper@redhat.com>
5949
5950 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
5951 (mempcpy): Correct typo is parameter list.
5952
badd9b02
AJ
59532000-05-06 Andreas Jaeger <aj@suse.de>
5954
5955 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
5956 functions unless -ffast-math is given to gcc.
5957
d02b1569
UD
59582000-05-06 Ulrich Drepper <drepper@redhat.com>
5959
5960 * po/ko.po: Update from translation team.
5961
3c38e028
UD
59622000-05-05 Ulrich Drepper <drepper@redhat.com>
5963
5964 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
5965 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
5966 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
5967 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
5968 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
5969 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
5970
5971 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
5972 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
5973 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
5974
5975 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
5976 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
5977 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
5978 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
5979
fda4deac 5980 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
3c38e028
UD
5981 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
5982
f1d86a93
UD
59832000-05-05 Jes Sorensen <jes@linuxcare.com>
5984
5985 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
5986 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
5987
5988 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
5989 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
5990
5991 * sysdeps/ia64/Implies: New file.
5992 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
5993 * sysdeps/ia64/Makefile: New file.
5994 * sysdeps/ia64/gmp-mparam.h: New file,
5995
5996 * sysdeps/ia64/elf/start.S: New file.
5997
5998 * sysdeps/ia64/bits/fenv.h: New file.
5999
60002000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
6001
6002 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
6003
60042000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
6005
6006 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
6007 ia64 has 64 bit .hash entries just as the Alpha.
6008
60092000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
6010
6011 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
6012
60132000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
6014
6015 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
6016 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
6017 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
6018 * sysdeps/ia64/fpu/fegetenv.c: New file.
6019 * sysdeps/ia64/fpu/fegetexcept.c: New file.
6020 * sysdeps/ia64/fpu/fegetround.c: New file.
6021 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
6022 * sysdeps/ia64/fpu/fesetenv.c: New file.
6023 * sysdeps/ia64/fpu/fesetround.c: New file.
6024 * sysdeps/ia64/fpu/feupdateenv.c: New file.
6025 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
6026 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
6027 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
6028 * sysdeps/ia64/fpu/ftestexcept.c: New file.
6029
621d9092
AJ
60302000-05-05 Andreas Jaeger <aj@suse.de>
6031
6032 * misc/tst-tsearch.c (main): Correct type for initstate argument.
6033
0b630168
AJ
6034 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
6035 (_dl_string_hwcap): New, does nothing.
6036
f1d86a93 6037 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
0b630168
AJ
6038 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
6039 (_dl_string_hwcap): New function, converts from string to hwcap
6040 encoding.
f1d86a93
UD
6041 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
6042 (_DL_HWCAP_COUNT): New.
0b630168
AJ
6043 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
6044 (_dl_string_hwcap): New function, converts from string to hwcap
6045 encoding.
f1d86a93
UD
6046 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
6047 (_DL_HWCAP_COUNT): New.
0b630168
AJ
6048 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
6049 (_dl_string_hwcap): New function, converts from string to hwcap
6050 encoding.
f1d86a93 6051
c0282c06
UD
60522000-05-05 Ulrich Drepper <drepper@redhat.com>
6053
c77ec56d
UD
6054 * elf/Makefile (distribute): Add dl-lookupcfg.h.
6055 * sysdeps/ia64/Dist: New file.
6056
c0282c06
UD
6057 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
6058 parameter to mprotect and for variable assignments.
6059
60602000-05-03 Jes Sorensen <jes@linuxcare.com>
6061
6062 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
6063 validity of map before dereferencing it.
6064
6065 * elf/dl-reloc.c (RESOLVE_MAP): Define.
6066
60672000-05-02 Jes Sorensen <jes@linuxcare.com>
6068
6069 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
6070 lookup to the arguments to elf_machine_fixup_plt().
6071
6072 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
6073 of the symbol being resolved to input argument list and make the
6074 function return the pointer to the reloc.
6075
6076 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
6077 return valuie to lookup_t and return the value.
6078 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
6079 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
6080 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
6081 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
6082 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
6083 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
6084
6085 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
6086 Make it an inline function returning value after calling
6087 __elf_machine_fixup_plt().
6088
6089 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
6090 symbol address.
6091
6092 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
6093 obtain the symbol address.
6094
6095 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
6096 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
6097
6098 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
6099 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
6100 inline on non ia64.
6101
61022000-04-28 Jes Sorensen <jes@linuxcare.com>
6103
6104 * elf/dl-runtime.c (fixup): Use the portable macros to get the
6105 symbol address of an object.
6106
6107 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
6108 the symbol address of an object.
6109
6110 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
6111 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
6112 (_dl_lookup_symbol_skip): Likewise.
6113 (_dl_lookup_versioned_symbol): Likewise.
6114 (_dl_lookup_versioned_symbol_skip): Likewise.
6115
61162000-04-27 Jes Sorensen <jes@linuxcare.com>
6117
6118 * elf/rtld.c (_dl_start): Get the function pointer return address
6119 via _dl_start_address for architectures that need a function
6120 pointer descriptor rather than just a pointer (ia64).
6121
6122 * sysdeps/generic/dl-lookupcfg.h: New file.
6123 * sysdeps/ia64/dl-lookupcfg.h: New file.
6124 * sysdeps/ia64/dl-machine.h: New file.
6125 * sysdeps/ia64/dl-symaddr.c: New file.
6126 * sysdeps/ia64/dl-fptr.c: New file.
6127
6128 * elf/elf.h: Add IA-64 specific definitions.
6129
61d357ca
UD
61302000-05-04 Jakub Jelinek <jakub@redhat.com>
6131
6132 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
6133 end of enum.
6134
61352000-05-04 Jakub Jelinek <jakub@redhat.com>
6136
6137 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
6138 happy.
6139
5a59a3a5
GK
61402000-04-11 Geoff Keating <geoffk@cygnus.com>
6141
6142 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
6143 symbol. Call _dl_init rather than the old way.
6144
6c51aa64
UD
61452000-05-04 Ulrich Drepper <drepper@redhat.com>
6146
6147 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
6148 test for pointer in range of DSO address space.
6149
68843294
AJ
61502000-05-04 Andreas Jaeger <aj@suse.de>
6151
6c51aa64 6152 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
68843294 6153
17c389fc
UD
61542000-05-03 Ulrich Drepper <drepper@redhat.com>
6155
229c86ea
UD
6156 * locale/findlocale.c (_nl_find_locale): Add new parameter to
6157 calls of _nl_make_l10nflist.
6158
17c389fc
UD
6159 * libio/stdio.h: Make fseeko and ftello prototypes available is
6160 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
6161
6162 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
6163 real unsetenv implementation from 1999-07-29 [PR libc/1714].
6164
61652000-05-03 Bruno Haible <haible@clisp.cons.org>
6166
6167 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
6168 before calling tfind.
6169
61702000-03-05 Jakub Jelinek <jakub@redhat.com>
6171
6172 * resolv/resolv.h (res_querydomain): Remove redefinition to
6173 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
6174
61752000-05-03 Ulrich Drepper <drepper@redhat.com>
6176
6177 * po/gl.po: Update from translation team.
6178
6179 * manual/intro.texi (Program Basics): Change section title.
6180 * manual/process.texi: Fix reference.
6181 (Executing a File): Add reference exec in other section.
6182 * manual/signal.texi: Fix reference.
6183 * manual/startup.texi: Document syscall function.
6184 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
6185
61862000-04-29 Bruno Haible <haible@clisp.cons.org>
6187
6188 * intl/libintl.h (bind_textdomain_codeset): New declaration.
6189 * intl/bindtextdom.c (set_binding_values): New function.
6190 (bindtextdomain): Call it.
6191 (bind_textdomain_codeset): New function.
6192 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
6193 (free_mem): Free each binding's codeset.
6194 * intl/gettextP.h (struct binding): Add codeset field.
6195 (_nl_find_domain): Add domainbinding argument.
6196 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
6197 Pass it to _nl_make_l10nflist.
6198 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
6199 (_nl_make_l10nflist): Add domainbinding argument.
6200 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
6201 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
6202 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
6203 locale_charset().
6204 * manual/message.texi: New node "Charset conversion in gettext".
6205
62062000-04-30 Bruno Haible <haible@clisp.cons.org>
6207
6208 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
6209 appropriate. Handle possible __read error.
6210
62112000-04-29 Bruno Haible <haible@clisp.cons.org>
6212
6213 * intl/gettextP.h (__builtin_expect): Define as empty if not a
6214 compiler builtin.
6215 * intl/loadinfo.h (__builtin_expect): Likewise.
6216 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
6217 __builtin_expect where appropriate.
6218 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6219 * intl/localealias.c (extend_alias_table): Return an error indicator.
6220 (read_alias_file): Bail out if extend_alias_table fails.
6221
62222000-04-29 Bruno Haible <haible@clisp.cons.org>
6223
6224 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
6225 * intl/localealias.c: Likewise.
6226
62272000-05-01 Bruno Haible <haible@clisp.cons.org>
6228
6229 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
6230 Initialize domain->plural and domain->nplurals even if there is no
6231 nullentry.
6232
62332000-05-01 Bruno Haible <haible@clisp.cons.org>
6234
6235 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
6236 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
6237 In case of failure, goto converted.
6238
62392000-05-01 Bruno Haible <haible@clisp.cons.org>
6240
6241 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
6242 * iconv/gconv_int.h (norm_add_slashes): Move to here.
6243 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
6244 __gconv_open.
6245
62462000-04-29 Bruno Haible <haible@clisp.cons.org>
6247
6248 * intl/dcigettext.c (transcmp): Compare the domains as well.
6249 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
6250 not before.
6251 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
6252 <errno.h>.
6253
160016c9
UD
62542000-05-03 Ulrich Drepper <drepper@redhat.com>
6255
6256 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
6257 Reported by Bruno Haible.
6258
62592000-04-29 Bruno Haible <haible@clisp.cons.org>
6260
6261 * manual/arith.texi: Remove @w from @itemize.
6262
20d49639
AJ
62632000-05-02 Andreas Jaeger <aj@suse.de>
6264
75cabb04
AJ
6265 * conform/data/tar.h-data: Add some checks for specific values.
6266
6267 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
6268 and RAND_MAX.
6269
6270 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
6271 FOPEN_MAX.
6272
6273 * conform/data/netinet/in.h-data: Add exact checks for the values
6274 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
6275
6276 * conform/data/float.h-data: Add some minimal values.
6277
20d49639
AJ
6278 * conform/conformtest.pl: Test for macros with string constants,
6279 check for minimum and maximum values.
6280 Add limits.h to headers.
6281
6282 * conform/data/cpio.h-data: Test for value of MAGIC.
6283
6284 * conform/data/limits.h-data: New file.
6285
741befc8
AJ
62862000-04-30 Bruno Haible <haible@clisp.cons.org>
6287
6288 * math/Makefile (headers): Add bits/fenvinline.h.
6289
09411686
UD
62902000-05-01 Ulrich Drepper <drepper@redhat.com>
6291
0f50c8d3
UD
6292 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
6293 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
6294
09411686
UD
6295 * posix/Versions: Change posix_spawnattr_getdefault and
6296 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
6297 and posix_spawnattr_setsigdefault respectively.
6298 * posix/spawn.h: Likewise.
6299 * posix/spawnattr_getdefault.h: Likewise.
6300 * posix/spawnattr_setdefault.h: Likewise.
782af2c0 6301 * conform/data/spawn.h-data: Likewise.
09411686 6302
2c1efeaf
AJ
63032000-05-01 Andreas Jaeger <aj@suse.de>
6304
6305 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
6306
e52236e5
UD
63072000-04-30 Ulrich Drepper <drepper@redhat.com>
6308
4b9a6d7c
UD
6309 * manual/sysinfo.texi: Document getdomainname, setdomainname
6310 and sysctl.
e52236e5
UD
6311 * manual/string.texi: Fix typo.
6312 * manual/terminal.texi: Document gtty and stty.
6313 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6314
93b1a554
UD
63152000-04-30 Andreas Jaeger <aj@suse.de>
6316
6317 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
6318 accordance with Austin Draft.
6319
01ed6c51
UD
63202000-04-30 Ulrich Drepper <drepper@redhat.com>
6321
c3880fbd
UD
6322 * catgets/gencat.c (read_input_file): Use isblank and not isspace
6323 to recognize second character in comment line.
6324
edecfcda
UD
6325 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
6326 ENOBUFS if we are out of memory.
6327
01ed6c51
UD
6328 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
6329 available if __USE_XOPEN2K.
6330 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
6331 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6332 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
6333 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6334 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
6335 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6336 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
6337 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
6338
adcf0e4a
UD
63392000-04-29 Ulrich Drepper <drepper@redhat.com>
6340
6341 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
6342 Recognize option -s, -c, and -l.
6343
63442000-04-20 Thorsten Kukuk <kukuk@suse.de>
6345
6346 * nscd/nscd.c: Start new session for nscd, drop privilegs
6347 to configured user if requested and no -S parameter are used.
6348 * nscd/nscd.conf: Add new option "server-user".
6349 * nscd/nscd_conf.c: Add support for new "server-user" option.
6350 * nscd/nscd.h: Add declaration for server_user variable.
6351 Based on patch by Chris Wing <wingc@engin.umich.edu>
6352
63532000-04-29 Mark Kettenis <kettenis@gnu.org>
6354
6355 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
6356 that changing the __restore and __restore_rt signal return code
6357 will break GDB.
6358
63592000-04-29 Mark Kettenis <kettenis@gnu.org>
6360
6361 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
6362 <sys/user.h>.
6363
63642000-04-29 Mark Kettenis <kettenis@gnu.org>
6365
6366 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
6367
d2dc3fc9
UD
63682000-04-29 Ulrich Drepper <drepper@redhat.com>
6369
9d4d69b8
UD
6370 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
6371 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
6372 arpa/inet.h.
6373 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
6374 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
6375 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
6376 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
6377 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
6378 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
6379 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
6380 posix_fallocate, and posix_madvise.
6381 * conform/data/netdb.h-data: New file.
6382 * conform/data/pthread.h-data: Add pthread_barrier_t,
6383 pthread_barrierattr_t, pthread_barrier_destroy,
6384 pthread_barrier_init, pthread_barrier_wait,
6385 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
6386 pthread_barrierattr_init, pthread_barrierattr_setpshared,
6387 pthread_condattr_getclock, pthread_condattr_setclock,
6388 pthread_getcpuclockid, pthread_mutex_timedlock,
6389 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
6390 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
6391 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
6392 * conform/data/sched.h-data: Add sched_ss_low_priority,
6393 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
6394 SCHED_SPORADIC.
6395 * conform/data/semaphore.h-data: Add sem_timedwait.
6396 * conform/data/signal.h-data: Add SIGIO.
6397 * conform/data/spawn.h-data: New file.
6398 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
6399 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
6400 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
6401 Fix typo in gmtime_r definition.
6402 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
6403 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
6404 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
6405 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
6406 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
6407 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
6408 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
6409 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
6410 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
6411 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
6412 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
6413 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
6414 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
6415 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
6416 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
6417 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
6418 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
6419 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
6420 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6421 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
6422 typo in off_t definition.
6423 * conform/data/net/if.h-data: New file.
6424 * conform/data/netinet/in.h-data: New file.
6425 * conform/data/netinet/tcp.h-data: New file.
6426 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
6427 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
6428 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
6429 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
6430 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
6431 and posix_typed_mem_open.
6432 * conform/data/sys/socket.h-data: New file.
6433 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
6434 * conform/data/sys/types.h-data: Add pthread_barrier_t,
6435 pthread_barrierattr_t, and pthread_spinlock_t.
6436 * conform/data/sys/un.h-data: New file.
6437 * conform/data/sys/utsname.h-data: New file.
6438
6439 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
6440 parameter.
6441 * inet/gethstbyad.c (gethostbyname): Likewise.
6442 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
6443 * inet/getipnodebyad.c (getipnodebyad): Likewise.
6444 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
6445 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
6446 Likewise.
6447 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
6448 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
6449 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
6450 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
6451 * resolv/gethnamaddr.c (gethostbyname): Likewise.
6452 * resolv/netdb.h (struct hostent): Fix type of h_length member.
6453 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
6454 and second parameter.
6455
d2dc3fc9
UD
6456 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
6457 == NULL.
6458
9d4d69b8
UD
64592000-04-29 Andreas Jaeger <aj@suse.de>
6460
6461 * conform/data/arpa/inet.h-data: New file.
6462
cffad2ae
AJ
64632000-04-28 Geoff Clare <gwc@unisoft.com>
6464
6465 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
6466 path passed to ftw() or nftw() is an empty string.
6467 Closes PR libc/1710.
6468
0a55a284
UD
64692000-04-27 Ulrich Drepper <drepper@redhat.com>
6470
d4134450
UD
6471 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
6472 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
6473 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
6474 * localedata/tst-mbswcs4.c: New file.
6475 * localedata/tst-mbswcs5.c: New file.
6476
a7f91846
UD
6477 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
6478 == NULL. Little optimization.
6479
6480 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
6481 DT_PREINIT_ARRAYSZ).
6482 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
6483
0a55a284
UD
6484 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
6485 overflows in conversion from ASCII.
6486
64872000-04-26 Jakub Jelinek <jakub@redhat.com>
6488
6489 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
6490 * Makerules (full_config_sysdirs): Likewise.
6491 * MakeTAGS (full_config_sysdirs): Likewise.
6492
64932000-04-26 Jakub Jelinek <jakub@redhat.com>
6494
6495 * .cvsignore: Remove linuxthreads.
6496 * po/.cvsignore: Remove *.pot.
6497 * posix/glob/.cvsignore: Removed.
6498 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
6499
65002000-04-25 Andreas Jaeger <aj@suse.de>
6501
6502 * conform/Makefile (distribute): Also distribute contents of
6503 subdirectories.
6504
6505 * Makerules (no_deps): Remove abi-versions.h.
6506
6507 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
6508
65092000-04-25 Jakub Jelinek <jakub@redhat.com>
6510
6511 * sysdeps/sparc/sparc64/elf/Dist: Remove.
6512 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
6513 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
6514 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
6515 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
6516 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
6517 objects.
6518
65192000-04-25 Thorsten Kukuk <kukuk@suse.de>
6520
6521 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
6522
8651d8a2 65232000-04-23 Bruno Haible <haible@clisp.cons.org>
0a55a284
UD
6524
6525 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
6526 * intl/l10nflist.c: Likewise.
6527
8651d8a2 65282000-04-23 Bruno Haible <haible@clisp.cons.org>
0a55a284
UD
6529
6530 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
6531 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
6532 * intl/textdomain.c [!_LIBC]: Likewise.
6533 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
6534 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
6535 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
6536 syntax error.
6537
8651d8a2 65382000-04-23 Bruno Haible <haible@clisp.cons.org>
0a55a284
UD
6539
6540 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
6541 character set conversion also in the case the translation was found
8651d8a2
UD
6542 after a hash collision or through binary search. Store the maximum
6543 index together with the converted message. Use iconv() when available.
0a55a284
UD
6544 In case of out of memory during conversion, return the unconverted
6545 translated string, not NULL.
6546
0e4ee106
UD
65472000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
6548
6549 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
6550 to avoid name clashes with the ia32 linker.
6551
65522000-04-25 Jakub Jelinek <jakub@redhat.com>
6553
6554 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
6555 handling.
6556
3300816c
UD
65572000-04-27 Ulrich Drepper <drepper@redhat.com>
6558
0e4ee106
UD
6559 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
6560 strtoumax, strfry, and memfrob.
6561 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
6562 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6563
3300816c
UD
6564 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
6565 if this function is available.
6566
6567 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
6568 all values.
6569
159a2a51
AJ
65702000-04-27 Jakub Jelinek <jakub@redhat.com>
6571
6572 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
6573
3c5adb76
UD
65742000-04-27 Ulrich Drepper <drepper@redhat.com>
6575
6576 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
6577 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
6578 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
6579 * localedata/tst-mbswcs3.c: New file.
6580
316518d6
UD
65812000-04-26 Ulrich Drepper <drepper@redhat.com>
6582
1da6cab2
UD
6583 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
6584 characters. Don't handle incomplete characters as errors.
6585 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
6586 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
6587 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
6588 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
6589 * localedata/tst-mbswcs2.c: New file.
6590
316518d6
UD
6591 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
6592 stored character in state in UNPACK_BYTES macro.
6593 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
6594 test for available characters, handle result of BODY code correctly.
6595 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
6596 (distribute): Add tst-mbswcs.sh.
6597 Add rule to run tst-mbswcs.sh.
6598 * localedata/tst-mbswcs.sh: New file.
6599 * localedata/tst-mbswcs1.c: New file.
6600
66012000-04-26 Jakub Jelinek <jakub@redhat.com>
6602
6603 * nis/nis_callback.c (__nis_create_callback): Do failed memory
6604 allocation fixups centrally, fix __builtin_expect call, return NULL
6605 on failure, not NIS_NOMEMORY.
6606
66072000-04-27 Bruno Haible <haible@clisp.cons.org>
fff1a600
AJ
6608
6609 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
6610
6611 * intl/loadinfo.h (internal_function): Define if not already defined.
6612
66132000-04-27 Andreas Jaeger <aj@suse.de>
6614
6615 * intl/libintl.h: Fix typo, reported by Bruno Haible
3300816c 6616 <haible@clisp.cons.org>.
fff1a600 6617
d472655c
UD
66182000-04-25 Ulrich Drepper <drepper@redhat.com>
6619
6620 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
6621 setting the state to GMON_PROF_BUSY.
6622
20b02a2e 66232000-04-24 Ulrich Drepper <drepper@redhat.com>
128e2b0f
UD
6624
6625 * elf/dl-profile.c (_dl_start_profile): define all variables which
6626 do not have to be global as local variables.
20b02a2e 6627
6d5728c8
UD
6628 * nis/nis_callback.c (__nis_create_callback): Partially undo last
6629 patch. Keep needed tests for failed memory allocation.
6630
655ab929
UD
6631 * elf/dl-reloc.c (_dl_relocate_object): Add one more
6632 __builtin_expect saying that we don't normally expect to profile.
6633
20b02a2e
UD
6634 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
6635 __builtin_expect where desirable.
6636
d52b6462
UD
66372000-04-23 Ulrich Drepper <drepper@redhat.com>
6638
6639 * manual/Makefile (chapters): Add syslog.
6640 * manual/syslog.texi: New file.
6641 * manual/math.texi: Fix references.
6642 * manual/terminal.texi: Likewise.
6643 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6644
66452000-04-18 Jakub Jelinek <jakub@redhat.com>
6646
6647 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
6648 stdlib.h was not included or __USE_XOPEN not defined.
6649
bcad2c29
UD
66502000-04-23 Ulrich Drepper <drepper@redhat.com>
6651
4ded1f08 6652 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
bcad2c29
UD
6653 Patch by Zack Weinberg <zack@wolery.cumb.org>.
6654
ef52edfc
UD
66552000-04-22 Ulrich Drepper <drepper@redhat.com>
6656
b1184fcd
UD
6657 * manual/examples/subopt.c (mount_opts): Add missing terminating
6658 entry.
6659 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
6660
ef52edfc
UD
6661 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
6662 * libio/ftello.c: Likewise.
6663 * libio/ftello64.c: Likewise.
6664 * libio/ioftell.c: Likewise.
6665 * sysdeps/generic/memrchr.c: Likewise.
6666 * sysdeps/posix/libc_fatal.c: Likewise.
6667 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6668 * misc/fstab.c: Include <string.h> for strcmp prototype.
6669 * sysdeps/generic/ldsodefs.h: Likewise.
6670 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6671 Patch by Kurt Roeckx <Q@ping.be>.
6672
6673 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
6674 Remove db-open. Change all uses.
6675 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
6676
66772000-04-21 Jakub Jelinek <jakub@redhat.com>
6678
6679 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
6680 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
6681 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
6682 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
6683 with .set noat/at to shut up warnings.
6684 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
6685 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
6686 compilation if __NR_pciconfig_iobase is not defined.
6687 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
6688 Add alias.
6689
4fcfc4c6
UD
66902000-04-21 Ulrich Drepper <drepper@redhat.com>
6691
3566d33c
UD
6692 * manual/sysinfo.texi: Fix typo.
6693 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
6694 Replace "high precision time" with "high accuracy clock".
6695 Fix language.
6696 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
6697
54eb84d0
UD
6698 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
6699 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
6700 instead of malloc.
6701 * nis/nis_subr.c: Use __builtin_expect.
6702 * nis/ypclnt.c: Likewise.
6703 * nis/nis_getservlist.c: Likewise.
6704 * nis/nis_creategroup.c: Likewise.
6705
4fcfc4c6
UD
6706 * nis/nis_callback.c (__nis_create_callback): Check result of
6707 memory allocation. Fix memory leaks. Use __builtin_expect.
6708 (__nis_destroy_callback): Fix memory leaks.
6709
4f263528
AJ
67102000-04-21 Andreas Jaeger <aj@suse.de>
6711
6712 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
6713 * sysdeps/mips/mips64/add_n.S: Likewise.
6714 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
6715 * sysdeps/mips/mips64/lshift.S: Likewise.
6716 * sysdeps/mips/mips64/mul_1.S: Likewise.
6717 * sysdeps/mips/mips64/rshift.S: Likewise.
6718 * sysdeps/mips/mips64/setjmp.S: Likewise.
6719 * sysdeps/mips/mips64/sub_n.S: Likewise.
abd8a0b5
AJ
6720 * sysdeps/mips/mips64/submul_1.S: Likewise
6721 * sysdeps/unix/mips/sysdep.S: Likewise.
4f263528
AJ
6722
6723 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
6724 and update comment. The strtab from _dl_relocate_object can be
6725 used.
6726
a711dd4b
UD
67272000-04-21 Ulrich Drepper <drepper@redhat.com>
6728
6729 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
6730 * iconv/iconv_close.c (iconv_close): Likewise.
6731 * iconv/iconv_open.c (iconv_open): Likewise.
6732
6733 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
6734 __builtin_expect where useful.
6735
6736 * grp/initgroups.c (initgroups): Test for result of memory
6737 allocation and punt if it fails.
6738
6739 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
6740 * grp/fgetgrent.c (fgetfrent): Likewise.
6741 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
6742
761df3a7
UD
67432000-04-21 Jakub Jelinek <jakub@redhat.com>
6744
6745 * libio/vasprintf.c: Include string.h to get memcpy prototype.
6746
978ce92b
UD
67472000-04-20 Ulrich Drepper <drepper@redhat.com>
6748
376b8b3d
UD
6749 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
6750 don't search for NUL byte to decrement counter.
6751 Reported by Ulrich.Brink@sap.com.
6752
4a069c33
UD
6753 * iconv/gconv_simple.c: Define separate functions to convert from
6754 UCS4/UCS4-LE to the internal encoding.
6755 * iconv/gconv_builtin.h: Use separate functions to convert from
6756 UCS4/UCS4-LE to the internal encoding.
6757 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
6758 __gconv_transform_ucs4le_internal.
6759
6760 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
6761 output buffer overflow. Reported by Ulrich.Brink@sap.com.
6762
978ce92b
UD
6763 * iconv/skeleton.c: Add some more __builtin_expect.
6764 * iconv/loop.c: Likewise.
6765
460e040a
UD
67662000-03-08 H.J. Lu <hjl@gnu.org>
6767
6768 * posix/regex.c (regex_compile): Correctly handle "\{" when
6769 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
6770
d879eb85
UD
67712000-04-20 Ulrich Drepper <drepper@redhat.com>
6772
6773 * manual/stdio.texi: Give advise about handling error when using
6774 stream functions.
6775 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
6776
a0edd63e
UD
67772000-04-19 Jakub Jelinek <jakub@redhat.com>
6778
6779 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
6780 field to nelems * sizeof (uint32_t).
6781 * locale/programs/ld-address.c (address_output): Align word fields
6782 properly.
6783 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6784 Don't restart idx pointers to idx end at the duo_int_curr_symbol
6785 field.
6786 Avoid giving arbitrary garbage in the crncystr field.
6787 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
6788 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
6789 fields.
6790 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6791 Don't restart idx pointers to idx end at the decimal_point_wc field.
6792 * locale/programs/ld-time.c (time_output): week_1stday should be
6793 word, not byte. Align it properly.
6794
67952000-04-19 H.J. Lu <hjl@gnu.org>
6796
6797 * csu/gmon-start.c (_start): Declared as "extern void".
6798 (etext): Likewise.
6799
68002000-04-18 Andreas Jaeger <aj@suse.de>
6801
6802 * manual/install.texi (Running make install): Don't mention utmpd
6803 anymore.
6804
68052000-04-18 Andreas Jaeger <aj@suse.de>
6806
6807 * linuxthreads/Versions: Use ld instead of ld.so.
6808
6809 * elf/Makefile (ld-map): Use ld.map.
6810
6811 * Versions.def: Use ld instead of ld.so.
6812 * elf/Versions: Likewise.
6813 * sysdeps/mach/hurd/Versions: Likewise.
6814
8b07d6a8
AJ
68152000-04-20 Andreas Jaeger <aj@suse.de>
6816
6817 * elf/rtld.c (print_statistics): Move ifndef further up.
6818 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
6819 (dl_main): Likewise.
6820
74f99822
UD
68212000-04-18 Ulrich Drepper <drepper@redhat.com>
6822
69173865
UD
6823 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
6824 * gmon/Versions: Move moncontrol to GLIBC_2.2.
6825
17ef6f59
UD
6826 * po/cs.po: Update from translation team.
6827
22b0607b
UD
6828 * sysdeps/generic/updwtmp.c: Remove daemon support.
6829
92da46fc
UD
6830 * login/Makefile (routines): Remove utmp_daemon.
6831
bd4ebb90 6832 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
9434de89 6833 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
acda7090
UD
6834 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
6835 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
6836
dc911631
UD
6837 * elf/rtld.c: Display statitics option also if hp timing is not
6838 available.
6839
74f99822
UD
6840 * login/programs/connection.c: Removed.
6841 * login/programs/database.c Removed.
6842 * login/programs/error.c: Removed.
6843 * login/programs/request.c: Removed.
6844 * login/programs/xtmp.c: Removed.
6845 * login/programs/xtmp.h: Removed.
6846 * login/Makefile: Remove rules for utmpd.
6847 * login/README.utmpd: Removed.
33c50f10
UD
6848 * login/utmp_daemon.c: Removed.
6849 * login/getutent_r.c: Remove references to daemon functions.
6850 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
6851 declaration.
74f99822 6852
d1891b39
AJ
68532000-04-18 Andreas Jaeger <aj@suse.de>
6854
69a79602
AJ
6855 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
6856 2.2 for libnsl, libresolv, librt, libnss_*.
6857
b034c2b1
AJ
6858 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
6859
d1891b39
AJ
6860 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
6861
dc32d4fe
UD
68622000-04-18 Ulrich Drepper <drepper@redhat.com>
6863
ed7abbd0
UD
6864 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
6865 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
dc32d4fe
UD
6866 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
6867 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
6868 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
6869 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
6870 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
6871 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
6872 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
6873 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
6874 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
6875 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
6876 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
6877 it here.
6878 * sysdeps/unix/sysv/aix/msync.c: New file.
6879 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
6880 * sysdeps/unix/sysv/aix/net/if.h: New file.
6881 * sysdeps/unix/sysv/aix/pipe.c: New file.
6882 * sysdeps/unix/sysv/aix/poll.c: New file.
6883 * sysdeps/unix/sysv/aix/rename.c: New file.
6884 * sysdeps/unix/sysv/aix/rmdir.c: New file.
6885 * sysdeps/unix/sysv/aix/select.c: New file.
6886 * sysdeps/unix/sysv/aix/semctl.c: New file.
6887 * sysdeps/unix/sysv/aix/semget.c: New file.
6888 * sysdeps/unix/sysv/aix/semop.c: New file.
6889 * sysdeps/unix/sysv/aix/sendto.c: New file.
6890 * sysdeps/unix/sysv/aix/setgroups.c: New file.
6891 * sysdeps/unix/sysv/aix/setpgid.c: New file.
6892 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
6893 * sysdeps/unix/sysv/aix/setpriority.c: New file.
6894 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
6895 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
6896 * sysdeps/unix/sysv/aix/setsid.c: New file.
6897 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
6898 * sysdeps/unix/sysv/aix/shmat.c: New file.
6899 * sysdeps/unix/sysv/aix/shmctl.c: New file.
6900 * sysdeps/unix/sysv/aix/shmdt.c: New file.
6901 * sysdeps/unix/sysv/aix/shmget.c: New file.
6902 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
6903 * sysdeps/unix/sysv/aix/sigstack.c: New file.
6904 * sysdeps/unix/sysv/aix/socket.c: New file.
6905 * sysdeps/unix/sysv/aix/socketpair.c: New file.
6906 * sysdeps/unix/sysv/aix/speed.c: New file.
6907 * sysdeps/unix/sysv/aix/symlink.c: New file.
6908 * sysdeps/unix/sysv/aix/sync.c: New file.
6909 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
6910 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
6911 * sysdeps/unix/sysv/aix/times.c: New file.
6912 * sysdeps/unix/sysv/aix/ulimit.c: New file.
6913 * sysdeps/unix/sysv/aix/umask.c: New file.
6914 * sysdeps/unix/sysv/aix/unlink.c: New file.
6915 * sysdeps/unix/sysv/aix/ustat.c: New file.
6916 * sysdeps/unix/sysv/aix/utimes.c: New file.
6917
1531e094
AJ
69182000-04-18 Andreas Jaeger <aj@suse.de>
6919
18be3f69
AJ
6920 * manual/startup.texi (Environment Access): Fix putenv prototype
6921 according to recent changes.
6922 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
6923 PR libc/1692.
6924
1531e094
AJ
6925 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
6926 needed.
6927
cd43f797
UD
69282000-04-18 Ulrich Drepper <drepper@redhat.com>
6929
6930 * posix/Makefile (tests): Add tst-getaddrinfo.
6931 * posix/tst-getaddrinfo.c: New file.
6932
5732c4df
UD
69332000-04-17 Ulrich Drepper <drepper@redhat.com>
6934
dbacafe5
UD
6935 * manual/sysinfo.texi: Document that umount2 is not widely available.
6936
5732c4df
UD
6937 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
6938 signal timing is not really implemented.
6939
69402000-04-17 Andreas Jaeger <aj@suse.de>
6941
6942 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
6943
69442000-04-17 Jakub Jelinek <jakub@redhat.com>
6945
6946 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
6947 and inst_libdir.
6948
faf2289f
UD
69492000-04-17 Ulrich Drepper <drepper@redhat.com>
6950
6951 * manual/intro.texi: Change reference from System Information to
6952 System Management.
6953 * manual/users.texi: Likewise.
6954 * manual/conf.texi: Likewise.
6955 * manual/sysinfo.texi: Document mount, umount, and umount2.
6956 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6957
69582000-04-17 Jakub Jelinek <jakub@redhat.com>
6959
6960 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
6961 Create wnumstr as well as numstr to support wide character output
6962 correctly.
6963
69642000-04-15 Jakub Jelinek <jakub@redhat.com>
6965
6966 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
6967 modification and move it...
6968 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
6969 Add -melf64_sparc switch to $(LD) on sparc64-linux.
6970 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
6971 switch to $(LD) on sparc-linux.
6972
69732000-04-17 Thorsten Kukuk <kukuk@suse.de>
6974
6975 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
cd43f797 6976 and setresuid from sysdep_routines.
faf2289f 6977
171b7cf1
UD
69782000-04-17 Ulrich Drepper <drepper@redhat.com>
6979
5ce8f203
UD
6980 * manual/Makefile (chapters): Add resource.
6981
6982 * manual/time.texi: Move section on resources to...
faf2289f
UD
6983 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
6984 and vtimes.
5ce8f203
UD
6985 * manual/setjmp.texi: Adjust back reference.
6986 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6987
171b7cf1
UD
6988 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
6989 definition.
6990 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
6991 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
6992 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
6993 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
6994 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
6995 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
6996 * sysdeps/unix/sysv/aix/close.c: Add copyright.
6997 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
6998 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
6999 * sysdeps/unix/sysv/aix/access.c: Add copyright.
7000 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
7001 * sysdeps/unix/sysv/aix/Implies: New file.
7002 * sysdeps/unix/sysv/aix/Versions: New file.
7003 * sysdeps/unix/sysv/aix/bind.c: New file.
7004 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
7005 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
7006 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
7007 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
7008 * sysdeps/unix/sysv/aix/chdir.c: New file.
7009 * sysdeps/unix/sysv/aix/chmod.c: New file.
7010 * sysdeps/unix/sysv/aix/chroot.c: New file.
7011 * sysdeps/unix/sysv/aix/creat.c: New file.
7012 * sysdeps/unix/sysv/aix/dl-close.c: New file.
7013 * sysdeps/unix/sysv/aix/dl-open.c: New file.
7014 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
7015 * sysdeps/unix/sysv/aix/fchdir.c: New file.
7016 * sysdeps/unix/sysv/aix/fchmod.c: New file.
7017 * sysdeps/unix/sysv/aix/getgroups.c: New file.
7018 * sysdeps/unix/sysv/aix/gethostname.c: New file.
7019 * sysdeps/unix/sysv/aix/getpriority.c: New file.
7020 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
7021 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
7022 * sysdeps/unix/sysv/aix/getrusage.c: New file.
7023 * sysdeps/unix/sysv/aix/link.c: New file.
7024 * sysdeps/unix/sysv/aix/madvise.c: New file.
7025 * sysdeps/unix/sysv/aix/mkdir.c: New file.
7026 * sysdeps/unix/sysv/aix/mknod.c: New file.
7027 * sysdeps/unix/sysv/aix/mprotect.c: New file.
7028 * sysdeps/unix/sysv/aix/msgctl.c: New file.
7029 * sysdeps/unix/sysv/aix/msgget.c: New file.
7030 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
7031
42eb5242
AJ
70322000-04-17 Andreas Jaeger <aj@suse.de>
7033
b0a62805
AJ
7034 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
7035 as suggested by Ulrich Drepper.
7036 (__dl_runtime_resolve): Remove unused variable, initialize sym
7037 directly.
7038 (RTLD_START): Document OFFSET_GP_GOT.
7039 (OFFSET_GP_GOT): New magic value.
7040 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
7041 (elf_machine_got_rel): Only declare strtab if needed.
716c75c4
AJ
7042 (elf_machine_relplt): Removed, it's not needed.
7043 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
b0a62805 7044
42eb5242
AJ
7045 * sysdeps/mips/add_n.S: Add newline at EOF.
7046 * sysdeps/mips/rshift.S: Likewise.
7047 * sysdeps/mips/mul_1.S: Likewise.
7048 * sysdeps/mips/lshift.S: Likewise.
7049 * sysdeps/mips/addmul_1.S: Likewise.
7050
e3265f5b
UD
70512000-04-17 Ulrich Drepper <drepper@redhat.com>
7052
b99a3e9a
UD
7053 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
7054
dc051821
UD
7055 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
7056 * elf/dl-lookup.c: Likewise.
7057 * elf/dl-init.c (_dl_init): Likewise.
7058 * elf/dl-fini.c (_dl_fini): Likewise.
7059 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7060 * elf/dl-close.c (_dl_close): Likewise.
7061 * elf/rtld.c (_dl_start_final): Likewise.
466a0ec9 7062
e3265f5b
UD
7063 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
7064
29094e48
UD
70652000-04-15 Ulrich Drepper <drepper@redhat.com>
7066
c269fdb4
UD
7067 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
7068 only fall back on using Linux.
7069
145b8413
UD
7070 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
7071 Before testing versions check that we actually loaded the object
7072 and whether we are in trace mode. If not loaded during tracing don't
7073 test versions in this object.
7074 (_dl_check_all_versions): Take new parameter and pass to
7075 _dl_check_map_versions.
7076 * sysdeps/generic/ldsodefs.h: Update prototypes for
7077 _dl_check_all_versions and _dl_check_map_versions.
7078 * elf/rtld.c (struct version_check_args): Add dotrace.
7079 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
7080 (dl_main): Pass info about trace mode to version_check_doit.
7081 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
7082 _dl_check_all_versions.
7083
7084 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
7085 and getutmpx.
7086 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7087
29094e48
UD
7088 * manual/argp.texi: Document index parameter of argp_parse.
7089 Fix typo.
7090 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
7091
afdda55a
UD
70922000-04-14 Andreas Jaeger <aj@suse.de>
7093
7094 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
7095 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
7096
7097 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
7098
a5a6f926
UD
70992000-04-15 Ulrich Drepper <drepper@redhat.com>
7100
150f740a
UD
7101 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
7102 compat_symbol call for old adjtime.
7103
7104 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
ef187474
UD
7105 function interface. Patch by Richard Henderson <rth@cygnus.com>.
7106
a5a6f926
UD
7107 * posix/Makefile (headers): Add spawn.h.
7108 (distribute): Add spawn_int.h.
7109 (routines): Add spawn_faction_init, spawn_faction_destroy,
7110 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
7111 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
7112 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
7113 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
7114 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
7115 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
7116 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
7117 posix_spawnattr_init, posix_spawnattr_destroy,
7118 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
7119 posix_spawnattr_getflags, posix_spawnattr_setflags,
7120 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
7121 and posix_spawnp.
7122 * posix/spawn.c: New file.
7123 * posix/spawn.h: New file.
7124 * posix/spawn_faction_addclose.c: New file.
7125 * posix/spawn_faction_adddup2.c: New file.
7126 * posix/spawn_faction_addopen.c: New file.
7127 * posix/spawn_faction_destroy.c: New file.
7128 * posix/spawn_faction_init.c: New file.
7129 * posix/spawn_int.h: New file.
7130 * posix/spawnattr_destroy.c: New file.
7131 * posix/spawnattr_getdefault.c: New file.
7132 * posix/spawnattr_getflags.c: New file.
7133 * posix/spawnattr_getpgroup.c: New file.
7134 * posix/spawnattr_getschedparam.c: New file.
7135 * posix/spawnattr_getschedpolicy.c: New file.
7136 * posix/spawnattr_getsigmask.c: New file.
7137 * posix/spawnattr_init.c: New file.
7138 * posix/spawnattr_setdefault.c: New file.
7139 * posix/spawnattr_setflags.c: New file.
7140 * posix/spawnattr_setpgroup.c: New file.
7141 * posix/spawnattr_setschedparam.c: New file.
7142 * posix/spawnattr_setschedpolicy.c: New file.
7143 * posix/spawnattr_setsigmask.c: New file.
7144 * posix/spawni.c: New file.
7145 * posix/spawnp.c: New file.
7146
7147 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
7148 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
7149
0758ea0c
UD
71502000-04-14 Ulrich Drepper <drepper@redhat.com>
7151
7152 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
7153 * malloc/malloc.c: Implement posix_memalign for glibc.
7154 * include/stdlib.h: Add prototype for __posix_memalign.
7155 * stdlib/stdlib.h: Add prototype for posix_memalign.
7156
12d3e579
AJ
71572000-04-14 Andreas Jaeger <aj@suse.de>
7158
fe81e988
AJ
7159 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
7160 symidx correctly.
c84956c7 7161 (elf_machine_got_rel): Cast sym correctly.
fe81e988 7162
30c2f3c4 7163 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
90bf0e07
AJ
7164 * sysdeps/mips/addmul_1.S: Likewise.
7165 * sysdeps/mips/lshift.S: Likewise.
7166 * sysdeps/mips/mul_1.S: Likewise.
7167 * sysdeps/mips/rshift.S: Likewise.
7168 * sysdeps/mips/sub_n.S: Likewise.
7169 * sysdeps/mips/submul_1.S: Likewise.
fe81e988 7170
c8c73ac3
AJ
7171 * stdlib/stdlib.h: Fix typo in comment.
7172
d0a5dae4
AJ
7173 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
7174 2.2 for libdl, ld and libm.
7175
12d3e579
AJ
7176 * sysdeps/generic/madvise.c: Fix typos.
7177
7178 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
7179
7180 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
7181
7182 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
7183 warnings.
7184
bb8e0116
UD
71852000-04-14 Ulrich Drepper <drepper@redhat.com>
7186
7187 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
7188 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
7189 Make old name weak alias.
7190 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
7191 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
7192 Make old name weak alias.
7193 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
7194
7195 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
7196 posix_fallocate, and posix_fallocate64.
7197 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
7198 posix_fallocate, and posix_fallocate64.
7199 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
7200 posix_fallocate, and posix_fallocate64.
7201 * sysdeps/generic/fadvise.c: New file.
7202 * sysdeps/generic/fadvise64.c: New file.
7203 * sysdeps/generic/fallocate.c: New file.
7204 * sysdeps/generic/fallocate64.c: New file.
7205 * sysdeps/posix/fallocate.c: New file.
7206 * sysdeps/posix/fallocate64.c: New file.
7207 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
7208 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
7209 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
7210 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
7211 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
7212 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
7213 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7214 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
7215 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7216
7217 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
7218 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7219
8f6f7a31
UD
72202000-04-13 Ulrich Drepper <drepper@redhat.com>
7221
7222 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
7223 * misc/sys/mman.h (posix_madvise): Add prototype.
7224 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
7225 old name and posix_madvise weak aliases.
7226 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7227 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
7228 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
7229 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7230 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
7231 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7232 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7233
490a9ab7
AJ
72342000-04-13 Andreas Jaeger <aj@suse.de>
7235
7236 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
7237 versioning.
0fc95464 7238 (elf_machine_got_rel): Only add runtime display if needed.
68e1ab18 7239 (elf_machine_got_rel): Handle symbol versioning.
490a9ab7 7240
382e7b29
AJ
72412000-04-13 Andreas Jaeger <aj@suse.de>
7242
44a202c0 7243 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
ab718a79 7244
382e7b29
AJ
7245 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
7246 default.
7247
7248 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
7249 with some applications.
7250 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
7251
7252 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
7253 * sysdeps/mips/bsd-_setjmp.S: Likewise.
7254 * sysdeps/mips/setjmp.S: Likewise.
44a202c0
AJ
7255
7256 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
8f6f7a31 7257
3737ff12
UD
72582000-04-13 Ulrich Drepper <drepper@redhat.com>
7259
7260 * posix/globtest.sh: Work around inconsistency with expanding ~/
7261 in shell (PR libc/1690). Reported by patsmith@pobox.com.
7262
aee46704
UD
72632000-04-12 Ulrich Drepper <drepper@redhat.com>
7264
b3ae0650
UD
7265 * posix/getconf.c: Add support for many more POSIX options.
7266 * sysdeps/posix/sysconf.c: Likewise.
7267 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
7268 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
7269 _POSIX_SHELL.
7270 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
7271 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
7272 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
7273 CLOCK_THREAD_CPUTIME_ID.
7274 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
7275 CLOCK_PROCESS_CPUTIME_ID.
7276 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
7277 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
7278 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
7279 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
7280
aa780bab
UD
7281 * malloc/Makefile (tests): Add tst-calloc.
7282 * malloc/tst-calloc.c: New file.
7283
c49b2a4e
UD
7284 * sysdeps/arm/libm-test-ulps: New file.
7285
13f536d4
UD
7286 * malloc/malloc.c: Undo all of today's changes.
7287
92d2e18f
UD
7288 * locale/programs/locale.c (show_info): Don't try to look into
7289 data for LC_ALL (there is none).
7290
3ea1b82e
UD
7291 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
7292 avoid writing over boundary.
7293 Patch by Greg McGary <gkm@eng.ascend.com>.
7294
aee46704
UD
7295 * sysdeps/arm/memprof.h: New file.
7296
4a199526
UD
72972000-04-12 Andreas Jaeger <aj@suse.de>
7298
7299 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
7300
7301 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
7302 for memmem declaration.
7303
da240c6b
UD
73042000-04-12 Ulrich Drepper <drepper@redhat.com>
7305
4a199526
UD
7306 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
7307 to -1.
7308 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7309
a4dec43d
UD
7310 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
7311 mode is invalid.
7312 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
7313 Patch by Bart Veer <bartv@redhat.com>.
7314
da240c6b
UD
7315 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
7316 function interface.
7317
bfe42f05
AJ
73182000-04-11 Andreas Jaeger <aj@suse.de>
7319
7320 * sysdeps/mips/dl-machine.h: Update some comments.
7321 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
7322
e7c036b3
UD
73232000-04-11 Ulrich Drepper <drepper@redhat.com>
7324
8a31d742
UD
7325 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
7326 _POSIX_SHARED_MEMORY_OBJECTS.
7327
ca99b8a0
UD
7328 * rt/Makefile (tests): Add tst-shm.
7329 Add rules to generate tst-shm.
7330 * rt/tst-shm.c: New file.
7331
fb125e0c
UD
7332 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
7333 for descriptor.
7334
a63be9f7
UD
7335 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
7336 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
7337 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
7338 * sysdeps/generic/shm_open.c: New file.
7339 * sysdeps/generic/shm_unlink.c: New file.
7340 * sysdeps/unix/sysv/linux/shm_open.c: New file.
7341 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
7342 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
7343 __endmntent, __getmntent_r, __setmntent, and __statfs.
7344
25728f03
UD
7345 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
7346 fragmentation by allocating new memory at the end instead of
7347 reallocating.
7348
e7c036b3
UD
7349 * posix/globtest.sh: Fix last change.
7350
73512000-04-10 Philip Blundell <philb@gnu.org>
7352
7353 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
7354 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
7355 IPV6_DROP_MEMBERSHIP.
7356 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
7357 Likewise.
7358
73592000-04-11 Ulrich Drepper <drepper@redhat.com>
7360
7361 * elf/readlib (process_file): Close streams in case of an error.
7362
73632000-04-09 Andreas Jaeger <aj@suse.de>
7364
7365 * elf/readlib.c (process_file): Check if file is big enough to
7366 contain aout and ELF headers.
7367 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
7368
73692000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
7370
7371 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
7372
73732000-04-11 Ulrich Drepper <drepper@redhat.com>
7374
7375 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
7376 stream unbuffered.
7377 * rt/Makefile (tests): Add tst-clock.
7378 Add rules to build tst-clock.
7379 * rt/tst-clock.c: New file.
7380 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
7381 about initialization of nsec.
7382 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
7383 about initialization of freq. Set retval to zero if successful.
7384 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
7385
6689a188
UD
73862000-04-10 Ulrich Drepper <drepper@redhat.com>
7387
7388 * Versions.def (librt): Add GLIBC_2.2.
7389 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
7390 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
7391 timer_getoverr, timer_gettime, and timer_settime.
7392 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
7393 clock_settime, timer_create, timer_delete, timer_getoverrun,
7394 timer_gettime, and timer_settime.
7395 * sysdeps/generic/clock_getcpuclockid.c: New file.
7396 * sysdeps/generic/get_clockfreq.c: New file.
7397 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
7398 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
7399 * sysdeps/mach/hurd/i386/bits/time.h: New file.
7400 * sysdeps/unix/i386/i586/clock_getres.c: New file.
7401 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
7402 * sysdeps/unix/i386/i686/Implies: New file.
7403 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
7404 * time/Makefile (routines): Move clock_getres, clock_gettime,
7405 clock_settime, timer_create, timer_delete, timer_getoverr,
7406 timer_gettime, and timer_settime to rt/Makefile.
7407 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
7408 clock_settime, timer_create, timer_delete, timer_getoverrun,
7409 timer_gettime, and timer_settime.
094f72c6 7410 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
6689a188
UD
7411
7412 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
7413 and not const as attribute name.
7414
25ee87d6
UD
74152000-04-10 Thorsten Kukuk <kukuk@suse.de>
7416
7417 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
7418
3b690639
UD
74192000-04-10 Andreas Schwab <schwab@suse.de>
7420
7421 * posix/globtest.sh: Skip tests that depend on unreadable
7422 directories if run as root.
7423
e79af11c
UD
74242000-04-10 Ulrich Drepper <drepper@redhat.com>
7425
7426 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
7427 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
7428
8956ac9e
UD
74292000-04-09 Ulrich Drepper <drepper@redhat.com>
7430
13fa3676
UD
7431 * sysdeps/unix/clock_gettime.c: New file.
7432 * sysdeps/unix/clock_settime.c: New file.
7433 * sysdeps/posix/clock_getres.c: New file.
7434
1a8de3e4
UD
7435 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
7436
4186c9f4
UD
7437 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
7438 lseek call be passing in a buffer which never allow a successful
7439 first getdents syscall if not at leas the initial entry can be
7440 stored in the user buffer.
7441
8956ac9e
UD
7442 * localedata/Makefile: Add rules to clean up directories created by
7443 new strfmon tests.
7444
74452000-04-09 Geoff Clare <gwc@unisoft.com>
7446
7447 * localedata/tst-fmon.data: Added new tests for strfmon()
7448 using test locales with all combinations of cs_precedes,
7449 sign_posn and sep_by_space.
7450 * localedata/tst-fmon.sh: Updated to support the new tests.
7451 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
7452 the localedef source for the new strfmon() test locale.
7453 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
7454 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
7455 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
7456 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
7457 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
7458 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
7459 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
7460 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
7461 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
7462 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
7463 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
7464 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
7465 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
7466 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
7467
7468 * stdlib/strfmon.c: Correct problems with missing or extra
7469 spaces for unusual combinations of sign_posn and sep_by_space.
7470 Improved left-precision alignment code.
7471
fe9d16a5
UD
74722000-04-07 Andreas Jaeger <aj@suse.de>
7473
7474 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
7475
ddf0c536
AJ
74762000-04-10 Andreas Jaeger <aj@suse.de>
7477
7478 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
7479
fd1b5c0f
UD
74802000-04-09 Ulrich Drepper <drepper@redhat.com>
7481
7482 Implement handling of restartable conversion functions according to
7483 ISO C.
7484 * iconv/gconv.h (__gconv_fct): Add additional parameter.
7485 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
7486 * iconv/gconv.c: Pass additional parameter to conversion function.
7487 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
7488 (internal_ucs4le_loop_single): New function.
7489 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
7490 (__gconv_transform_internal_ascii): Likewise.
7491 (__gconv_transform_internal_utf8): Likewise.
7492 (__gconv_transform_utf8_internal): Likewise.
7493 (__gconv_transform_ucs2_internal): Likewise.
7494 (__gconv_transform_internal_ucs2): Likewise.
7495 (__gconv_transform_ucs2reverse_internal): Likewise.
7496 (__gconv_transform_internal_ucs2reverse): Likewise.
7497 (internal_ucs4le_loop_unaligned): Before return
7498 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
7499 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
7500 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
7501 * iconv/loop.c: Fit in definition of function to convert one character
7502 for processing of left-over bytes from the state object.
7503 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
7504 inend to match names in loop functions.
7505 (RESET_INPUT_BUFFER): Change apprpriately.
7506 (gconv): If needed, call function to process bytes from the state
7507 object. Similar at the end: store left over bytes if input is
7508 incomplete.
7509 Take extra argument and add new argument to all calls of the
7510 conversion function.
7511 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
7512 information in the state object to not conflict with length count.
7513 * iconvdata/iso-2022-jp.c: Likewise.
7514 * iconvdata/iso-2022-kr.c: Likewise.
7515 * iconvdata/unicode.c: Adjust for change change in parameters of
7516 skeleton function.
7517 * iconvdata/utf-16.c: Likewise.
7518 * libio/iofwide.c: Add new parameter to all calls of conversion
7519 function.
7520 * wcsmbs/btowc.c: Likewise.
7521 * wcsmbs/mbrtowc.c: Likewise.
7522 * wcsmbs/mbsnrtowcs.c: Likewise.
7523 * wcsmbs/mbsrtowcs.c: Likewise.
7524 * wcsmbs/wcrtomb.c: Likewise.
7525 * wcsmbs/wcsnrtombs.c: Likewise.
7526 * wcsmbs/wcsrtombs.c: Likewise.
7527 * wcsmbs/wctob.c: Likewise.
7528
7529 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
7530 MAX_NEEDED_INPUT.
7531
22804455
AJ
75322000-04-07 Andreas Jaeger <aj@suse.de>
7533
7534 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
7535 newer kernels.
7536
aa831d6d
UD
75372000-04-07 Ulrich Drepper <drepper@redhat.com>
7538
7539 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
7540 element a union to allow byte access.
7541 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
7542 mbstate_t.
7543 * iconvdata/iso-2022-jp.c: Likewise.
7544 * iconvdata/iso-2022-kr.c: Likewise.
404ee5fc
UD
7545 * wcsmbs/mbsinit.c: Likewise.
7546 * stdlib/mblen.c: Likewise.
b837918e 7547 * stdio-common/printf-parse.h: Likewise.
aa831d6d 7548
a0dc5206
UD
75492000-04-06 Ulrich Drepper <drepper@redhat.com>
7550
f11b9da6
UD
7551 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
7552 kernel does not allow relative seeks on descriptors associated
7553 with directories. Go back to get the position in the directory
7554 every time we enter the function. Return -1 and set errno if one
7555 entry could be read from the kernel but does not fit into the
7556 buffer passed in by the user.
7557
a0dc5206
UD
7558 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
7559 Support ..(2).. ellipsis.
7560 (parse_charmap): Recognize ..(2).. etc and pass step down.
7561 Correctly generate names for UCS4 characters.
7562
7563 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
7564 (ctype_finish): We know the wide character value for <SP>,
7565 don't search.
7566 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
7567 (charclass_ucs4_ellipsis): Likewise.
7568 (read_translit_ignore_entry): Store ellipsis step.
7569 (ctype_read): Recognize ..(2).. etc and pass step down.
7570
7571 * locale/programs/linereader.c (lr_token): When seeing comment
7572 character ignore only rest of line in sources but stop at escaped
7573 newline.
7574 Recognize ..(2).. and ....(2).....
7575
7576 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
7577 and tok_ellipsis4_2.
7578
372f94ba
UD
75792000-04-06 Andreas Jaeger <aj@suse.de>
7580
7581 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
7582 removed, remove it here also.
7583 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
7584 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
7585 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
7586 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
7587
75882000-04-06 Jakub Jelinek <jakub@redhat.com>
7589
7590 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
7591 include bits/sigcontext.h.
7592 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7593
723faa38
UD
75942000-04-06 Ulrich Drepper <drepper@redhat.com>
7595
5943f0bc
UD
7596 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
7597 collation symbol definition. Value in quivalence definition must
7598 be defined, don't check that it is not.
7599
723faa38
UD
7600 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
7601 values as character names.
7602
7603 * locale/programs/ld-ctype.c (get_character): Handle missing
7604 repertoire map correctly.
7605
a1303dc8
UD
76062000-04-05 Cristian Gafton <gafton@redhat.com>
7607
7608 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
7609 because it is used in generic code.
7610 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
7611 * wcsmbs/wcwidth.h: Declare __ctype32_b.
7612 * intl/gettext.c: Include <locale.h>.
7613 * intl/ngettext.c: Likewise.
7614
76152000-04-05 Jakub Jelinek <jakub@redhat.com>
7616
7617 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
7618 socklen_t type for size.
7619 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
7620 init function interface.
7621 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7622 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
7623 sys/ucontext.h.
7624 (__jmp_buf): Declare the whole type structure here, don't use
7625 ucontext.
7626
2a0ff6ff
UD
76272000-04-05 Ulrich Drepper <drepper@redhat.com>
7628
a1303dc8
UD
7629 * iconv/skeleton.c (put16u): Fix typo.
7630 Reported by Bruno Haible <haible@ilog.fr>.
7631
2a0ff6ff
UD
7632 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
7633 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
7634 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
7635 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
7636 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
7637 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
7638
7639 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
7640 * Makefile (distribute): Add abi-versions.awk and
7641 firstversions.awk.
7642 Patches by Torsten Duwe <duwe@caldera.de>.
7643
5560eac7
UD
76442000-04-05 Andreas Schwab <schwab@suse.de>
7645
7646 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
7647
a6dd65cd
AS
76482000-04-05 Andreas Schwab <schwab@suse.de>
7649
7650 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
7651 entry point, used on Hurd.
7652
7d4de961
UD
76532000-04-04 Andreas Jaeger <aj@suse.de>
7654
7655 * intl/Makefile: Only run the gettext test with shared libraries.
7656
f0d872e9
UD
76572000-03-16 Mark Kettenis <kettenis@gnu.org>
7658
7659 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
7660 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
7661
7499a22a
RM
76622000-04-05 Roland McGrath <roland@baalperazim.frob.com>
7663
7664 * Makeconfig: Undo last change.
7665 * configure.in: If --disable-shared was given, don't set VERSIONING,
7666 don't define DO_VERSIONING, and don't give scare warning for no
7667 versioning.
7668 * configure: Regenerated.
7669
2c57ff21
RM
76702000-04-04 Roland McGrath <roland@baalperazim.frob.com>
7671
7672 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
7673
09847c8d
UD
76742000-04-04 Andreas Jaeger <aj@suse.de>
7675
7676 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
7677
3aaad0b6
UD
76782000-04-04 Ulrich Drepper <drepper@redhat.com>
7679
736d0841
UD
7680 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
7681 STV_HIDDEN and STV_INTERNAL during lookup.
7682 (profile_fixup): Likewise.
7683 * elf/dl-reloc.c (RESOLVE): Likewise.
7684
3aaad0b6
UD
7685 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
7686 unaligned so that it compiles for system which need unaligned
7687 access handling.
7688
0b7219cc
UD
76892000-04-04 Andreas Schwab <schwab@suse.de>
7690
7691 * elf/cache.c (print_entry): Only look at the type field when
7692 printing the type.
7693
76942000-04-04 Andreas Schwab <schwab@suse.de>
7695
7696 * iconvdata/big5.c (BODY): Fix typo.
7697
658943b9
AS
76982000-04-04 Andreas Schwab <schwab@suse.de>
7699
7700 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
7701 function interface. Remove unused _dl_start_user entry point.
7702
bd457114
UD
77032000-04-03 Andreas Jaeger <aj@suse.de>
7704
7705 * include/arpa/inet.h (__inet_aton): Add protoype.
7706
41aefe41
UD
77072000-04-01 Andreas Jaeger <aj@suse.de>
7708
7709 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
7710
7711 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
7712 * sysdeps/mach/mips/thread_state.h: Likewise.
7713
7714 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
7715 * sysdeps/generic/fegetenv.c: Likewise.
7716 * sysdeps/generic/fesetenv.c: Likewise.
7717 * sysdeps/generic/feupdateenv.c: Likewise.
7718 * sysdeps/generic/fraiseexcpt.c: Likewise.
7719 * sysdeps/generic/fsetexcptflg.c: Likewise.
7720 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
7721 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
7722 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7723 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7724
77252000-04-02 H.J. Lu <hjl@gnu.org>
7726
7727 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
7728
ad085e8a
UD
77292000-04-03 Ulrich Drepper <drepper@redhat.com>
7730
839be784
UD
7731 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
7732 (add_name_to_object): Add cast in malloc call.
7733 (fillin_rpath): Optimize loop to initialize ->status a bit.
7734
f9b798ba
UD
7735 * sysdeps/i386/dl-machine.h: Undo last change.
7736 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
7737 Restore %edx register after call here.
7738
ad085e8a
UD
7739 * sysdeps/arm/atomicity.h: New file.
7740 Contributed by Jesper Skov <jskov@redhat.com>.
7741
c6d80202
RM
77422000-04-03 Roland McGrath <roland@baalperazim.frob.com>
7743
ca5becb0
RM
7744 * Makeconfig (preprocess-versions): Undo last change.
7745 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
7746
c6d80202
RM
7747 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
7748 here, before we might move the stack.
7749 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
7750 (init1): And not here.
7751
7752 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
7753 change, to restore argc value in call-clobbered register after
7754 RTLD_START_SPECIAL_INIT, which will contain a call.
7755
7756 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
7757 allocating and initializing L->l_initfini.
7758
7759 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
7760
152e7964
UD
77612000-04-03 Ulrich Drepper <drepper@redhat.com>
7762
7763 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
7764 RUNPATH, RPATH, and LD_LIBRARY_PATH.
7765 (open_path): Change type of fourth parameter. Make pointer to array
7766 of pointers. Create variable dirs with original type.
7767 Track whether any directory for the object exists and if not,
7768 change *DIRSP to (void*) -1 to signal there is no such search path.
7769 (_dl_map_object): Change all calls of open_path.
7770 Rewrite decompose_rpath calls.
7771
42ba2c11
UD
77722000-03-31 Andreas Schwab <schwab@suse.de>
7773
7774 * string/strfry.c: Declare STATE as array of char instead of int
7775 and do not initialize it (done by initstate_r). Pass correct
7776 size.
7777
0a63529d
UD
77782000-04-03 Ulrich Drepper <drepper@redhat.com>
7779
42ba2c11
UD
7780 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
7781
0a63529d
UD
7782 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
7783 instruction out of the code.
7784
cf197e41
UD
77852000-04-02 Ulrich Drepper <drepper@redhat.com>
7786
7787 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
7788 element at this position.
7789
7790 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
7791 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
7792 l_reldeps elements.
7793 * elf/dl-lookup.c (add_dependency): New function.
7794 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
7795 dynamically loaded object.
7796 (_dl_lookup_symbol_skip): Likewise.
7797 (_dl_lookup_versioned_symbol): Likewise.
7798 (_dl_lookup_versioned_symbol_skip): Likewise.
7799 * elf/dl-open.c: Don't define _dl_load_lock here...
7800 * elf/rtld.c: ...but here...
7801 * elf/dl-support.c: ...and here.
7802 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
7803 through relocation.
7804 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
7805 relocations.
7806 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
7807 anymore.
7808 * dlfcn/glrefmain.c: Add one more debug message.
7809
7810 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
7811 command line.
7812 * Makerules (sysd-versions): Use ( ) instead of { }.
7813
7814 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
7815 optimize for the non-debugging case.
7816 * elf/dl-lookup.c: Likewise.
7817 * sysdeps/generic/libc-start.c: Likewise.
7818
e1724cd7
RM
78192000-04-02 Roland McGrath <roland@baalperazim.frob.com>
7820
5879ee9f
RM
7821 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
7822 (init1): Don't initialize __environ here, since init already does it.
7823 (first_init): New function, broken out of _init.
7824 (_hurd_stack_setup): Use it.
7825 [SHARED] (_dl_init_first): New function, renamed from old _init.
7826 (init1) [SHARED]: Don't call posixland_init here.
7827 (posixland_init): Take ENVP arg, so signature is usual for initializer.
7828 [SHARED] (_init): Define as alias for posixland_init.
7829 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
7830 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
7831 RTLD_START_SPECIAL_INIT before calling initializers.
7832 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
7833 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
7834 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
7835 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
7836
e1724cd7
RM
7837 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
7838 since we define the function with the name `tmpfile'.
7839
7840 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
7841 * hurd/Versions: Likewise.
7842
e10b8512
UD
78432000-04-02 Ulrich Drepper <drepper@redhat.com>
7844
e1724cd7 7845 * elf/dl-runtime.c (fixup): Fix typo in comment.
d8655fd7 7846
e1724cd7 7847 * resolv/netdb.h (getnameinfo): All length parameters are of type
e10b8512
UD
7848 socklen_t.
7849 * inet/getnameinfo.c: Likewise.
7850
0adb8e47
UD
78512000-04-01 Ulrich Drepper <drepper@redhat.com>
7852
750f9af6
UD
7853 * posix/unistd.h (socklen_t): Define if it has not yet happened.
7854 (gethostname): Change type of second parameter to socklen_t.
7855 * include/unistd.h (__gethostname): Change type of second
7856 parameter to socklen_t.
7857 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
7858 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
7859 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
7860 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
7861 Likewise.
7862 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
7863 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
7864 Allow definition elsewhere.
7865 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
7866 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7867 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
7868 * sysdeps/generic/bits/types.h: Define __socklen_t.
7869 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
7870 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
7871 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7872 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
7873 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
7874 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
7875 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
7876
ad483238
UD
7877 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
7878 (inet_lnaof): Likewise.
7879 (inet_netof): Likewise.
7880 (inet_network): Likewise.
7881 (inet_aton): Likewise.
7882 (inet_makeaddr): Change parameter types to in_addr_t.
7883 (inet_neta): Likewise.
7884 (inet_ntop): Change type of last parameter to socklen_t.
7885 (inet_aton): Only make available if __USE_MISC.
7886 (inet_neta): Likewise.
7887 (inet_net_ntop): Likewise.
7888 (inet_net_pton): Likewise.
7889 (inet_nsap_ntoa): Likewise.
7890
7891 * inet/in.h: Define in_port_t type.
7892 Define in_addr_t type.
7893 (struct in_addr): Use in_addr_t in definition.
7894 (IN_CLASSA): Use cast to in_addr_t.
7895 (IN_CLASSB): Likewise.
7896 (IN_CLASSC): Likewise.
7897 (IN_CLASSD): Likewise.
7898 (IN_EXPERIMENTAL): Likewise.
7899 (IN_BADCLASS): Likewise.
7900 (INADDR_ANY): Likewise.
7901 (INADDR_BROADCAST): Likewise.
7902 (INADDR_NONE): Likewise.
7903 (INADDR_LOOPBACK): Likewise.
7904 (INADDR_UNSPEC_GROUP): Likewise.
7905 (INADDR_ALLHOSTS_GROUP): Likewise.
7906 (INADDR_ALLRTRS_GROUP): Likewise.
7907 (INADDR_MAX_LOCAL_GROUP): Likewise.
7908 (struct sockaddr_in): Use in_port_t for sin_port element.
7909 (struct sockaddr_in6): Use in_port_t for sin6_port element.
7910 Use uint8_t instead of u_int8_t.
7911
7912 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
7913 Call __inet_aton instead of inet_aton.
7914 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
7915
7916 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
7917 (innetgr): Likewise.
7918 (struct addrinfo): Use socklen_t for ai_addrlen element.
7919
7920 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
7921 IPV6_RECVERR): New defines.
7922
9b48fa9b
UD
7923 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
7924 * inet/getnetbyad.c: Likewise.
7925 * inet/getnetbyad_r.c: Likewise.
7926 * nis/nss_nis/nis-network.c: Likewise.
7927 * nis/nssplus_nis/nisplus-network.c: Likewise.
7928 * nss/nss_files/files-network.c: Likewise.
7929 * resolv/netdb.h: Define uint32_t if not already happened.
7930 Include bits/netdb.h. Remove definition of struct netent.
7931 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
7932 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
7933 * sysdeps/generic/bits/netdb.h: New file.
7934 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
7935
4380ef5e
UD
7936 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
7937 (tests): Add glrefmain.
7938 Add rules to build modules and run tests. Ignore result of glrefmain
7939 for now since it fails.
7940 * dlfcn/glrefmain.c: New file.
7941 * dlfcn/glreflib1.c: New file.
7942 * dlfcn/glreflib2.c: New file.
7943
7944 * test-skeleton.c: Include <string.h> for strsignal prototype.
7945
289e8e7e
UD
7946 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
7947 to be missing.
7948
0adb8e47
UD
7949 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
7950 former init-first.h. Initialize __libc_multiple_libcs.
7951
c0c2af07
UD
79522000-03-31 Ulrich Drepper <drepper@redhat.com>
7953
c1db8b0d
UD
7954 * iconv/skeleton.c: Define access macros with u suffix. Adjust
7955 #if expression for use of unaligned function to the one used in
7956 the definition of these functions.
6674e127 7957 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
c1db8b0d
UD
7958 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
7959 (internal_ucs4le_loop_unaligned): New function.
7960
c0c2af07
UD
7961 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
7962 (tests): Add order.
7963 (module-names): Add dep1, dep2, dep3, and dep4.
7964 Add dependencies for dep* modules and order.
7965 Define rule for order.out which checks the result.
7966 * elf/dep1.c: New file.
7967 * elf/dep2.c: New file.
7968 * elf/dep3.c: New file.
7969 * elf/dep4.c: New file.
7970 * elf/order.c: New file.
7971
e1724cd7 7972 * elf/dl-init.c: Fix typo in comment.
c0c2af07 7973
ad08a5b6
AJ
79742000-03-31 Andreas Jaeger <aj@suse.de>
7975
7976 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
7977 init function interface.
7978 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
7979
e7960df5
AJ
79802000-03-31 Andreas Jaeger <aj@suse.de>
7981
36d04330
AJ
7982 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
7983 * sysdeps/mips/fpu/fegetenv.c: Likewise.
7984 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
7985 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
7986 * sysdeps/mips/fpu/fesetenv.c: Likewise.
7987
88fdf42f 7988 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
e1724cd7 7989 anymore, update comment.
88fdf42f 7990
e7960df5
AJ
7991 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7992
7993 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
7994 SHLIB_COMPAT - the struct is always needed.
7995
9ad04ff7
UD
79962000-03-31 Ulrich Drepper <drepper@redhat.com>
7997
7998 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
7999 * elf/dl-support.c: Define _dl_starting_up.
8000
924c3f59
UD
80012000-03-30 Ulrich Drepper <drepper@redhat.com>
8002
9ad04ff7 8003 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
7688db91
UD
8004 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
8005
9ad04ff7 8006 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
7688db91 8007
d7926ed9
UD
8008 * elf/Makefile (dl-routines): Remove preinit.
8009 * elf/Versions: Remove _dl_preinit.
8010 * elf/dl-preinit.c: Removed. Move content into...
8011 * elf/dl-init.c: ...here.
758cb061 8012 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
d7926ed9 8013
924c3f59 8014 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
9ad04ff7 8015 elements.
924c3f59 8016
9e9e0532
UD
80172000-03-29 Geoff Clare <gwc@unisoft.com>
8018
8019 * stdlib/strfmon.c: Corrected problems with the code that
8020 sets default values for [np]_sep_by_space and
8021 [np]_sign_posn; also the new positive/negative alignment
8022 code from the previous patch was not quite right for
8023 [np]_sign_posn = 0.
8024
8025 * localedata/tst-fmon.data: Changes corresponding to the
8026 two sets of fixes made to stdlib/strfmon.c.
8027
b5567b2a
UD
80282000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
8029
8030 * malloc/malloc.c: Declare bit flags UL so that they will not
8031 default to int size when being inverted.
8032
80332000-03-29 Andreas Jaeger <aj@suse.de>
8034
8035 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
8036 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
8037
80382000-03-29 Andreas Jaeger <aj@suse.de>,
c1db8b0d 8039 Ralf Baechle <ralf@uni-koblenz.de>
b5567b2a
UD
8040
8041 * Makeconfig: Introduce new variable SHARED to mark code used in
8042 the shared library.
8043 * elf/dl-close.c: Use it instead of PIC.
8044 * elf/dl-load.c: Likewise.
8045 * elf/dl-open.c: Likewise.
8046 * hurd/geteuids.c: Likewise.
8047 * include/libc-symbols.h: Likewise.
8048 * include/shlib-compat.h: Likewise.
8049 * libio/freopen.c: Likewise.
8050 * linuxthreads/cancel.c: Likewise.
8051 * linuxthreads/pthread.c: Likewise.
8052 * linuxthreads/wrapsyscall.c: Likewise.
8053 * nss/nsswitch.c: Likewise.
8054 * stdio-common/vfprintf.c: Likewise.
8055 * sysdeps/arm/init-first.c: Likewise.
8056 * sysdeps/i386/init-first.c: Likewise
8057 * sysdeps/generic/init-first.c: Likewise.
8058 * sysdeps/generic/libc-start.c: Likewise.
8059 * sysdeps/mips/init-first.c: Likewise.
8060 * sysdeps/powerpc/elf/libc-start.c: Likewise.
8061 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8062 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
8063 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
8064 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8065
8066 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
8067
b86120ed
UD
80682000-03-29 Andreas Jaeger <aj@suse.de>
8069
8070 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
8071 Use D_PTR to access relocated entries in l_info.
8072 (elf_machine_rela): Likewise.
8073
8074 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
8075 Likewise.
8076 (elf_machine_rela): Likewise.
8077
8078 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
8079 Likewise.
8080 (__elf_machine_fixup_plt): Likewise.
8081 (__process_machine_rela): Likewise.
8082
8083 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
8084 (elf_machine_rela): Likewise.
8085
8086 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
8087 (elf_machine_rel): Likewise.
8088
8089 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
8090 (elf_machine_fixup_plt): Likewise.
8091 (elf_machine_rela): Likewise.
8092
80932000-03-29 Andreas Jaeger <aj@suse.de>
8094
8095 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
8096 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8097 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8098 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
8099 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8100 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
8101 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
8102 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
8103 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
8104 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
8105 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
8106 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
8107 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
8108 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
8109 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8110
8111 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
8112 macros, remove K&R prototypes.
8113
05c54d4c
UD
81142000-03-30 Ulrich Drepper <drepper@redhat.com>
8115
8116 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
8117 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
8118 (PR libc/1677).
8119
7f4e0e58
UD
81202000-03-30 Andreas Jaeger <aj@suse.de>
8121
8122 * misc/sys/cdefs.h: Remove K&R support.
8123
fdf64555
UD
81242000-03-30 Ulrich Drepper <drepper@redhat.com>
8125
8126 * iconv/skeleton.c: Avoid compiling unaligned versions in some
9d54e984 8127 more cases.
fdf64555
UD
8128 * iconv/loop.c: Likewise.
8129
99a7e065
UD
81302000-03-29 Bruno Haible <haible@clisp.cons.org>
8131
8132 * iconv/loop.c (put16): Remove __const. Fix access index.
8133 (put32): Remove __const. Use uint32_t instead of uint16_t.
8134 * iconv/skeleton.c: Likewise.
8135
9a95cd1c
RM
81362000-03-30 Roland McGrath <roland@baalperazim.frob.com>
8137
8138 * mach/Versions (libc: GLIBC_2.0)
8139 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
8140 __vm_allocate on this.
8141 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
8142 mutex- and spinlock-related symbols on this.
8143 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
8144 New version set. Lock-related symbols go here instead in this case.
8145 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
8146 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
8147 cthread_getspecific, cthread_setspecific, __libc_getspecific.
8148 * hurd/Versions
8149 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
8150 Put them here instead.
8151 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
8152 New version set. Those cthreads symbols go here instead in this case.
8153 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
8154
dacc8ffa
UD
81552000-03-30 Ulrich Drepper <drepper@redhat.com>
8156
841288ec
UD
8157 * elf/dl-init.c (_dl_init): We don't need to call constructors
8158 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
8159
dacc8ffa
UD
8160 Implement dynamic determination of constructor/destructor order in
8161 the dynamic linker.
8162 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
8163 (GLIBC_2.2): Add _dl_init.
8164 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
8165 r_duplist is not anymore allocated separately. l_initfini is and
8166 therefore free it if necessary.
8167 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
8168 malloc block. Otherwise allocate l_initfini list only.
8169 Put dependencies for the object in l_initfini list.
8170 Sort dependencies for the object to be loaded topologically.
8171 * elf/dl-fini.c: Before running the destructors sort the topologically.
8172 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
8173 call constructors instead of iterating over the pointers. Get list of
8174 objects for which to run constructors from l_initfini element. Accept
8175 argc, argv, and env as parameters and pass them to the constructors.
8176 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
8177 with size of dynamic section.
8178 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
8179 _dl_init_next and calling constructors ourself.
8180 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
8181 Take argc, argv, and env as parameters and pass them to the
8182 constructors. Rewrite to call all constructors and not iterate over
8183 the pointers.
8184 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
8185 precompute l_initcount and l_preinitcount.
8186 * elf/link.h (struct link_map): Add l_ldnum member.
8187 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
8188 l_initcount, and l_preinitcount. Add l_initfini.
8189 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
8190 one for _dl_init.
8191 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
8192 function interface.
8193 * sysdeps/unix/sysv/linux/init-first.h: Removed.
8194 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
8195 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
8196 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
8197 conventions now match.
8198
8199 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
8200 effect for shared objects. Don't emit message and call only for
8201 static library.
8202
38e986ec
UD
82032000-03-29 Ulrich Drepper <drepper@redhat.com>
8204
8205 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
8206 CSA_Z243.4-1985-1..UCS2.
8207 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
8208 ISO-8859-10..UCS2.
8209
689993b2
AJ
82102000-03-29 Andreas Jaeger <aj@suse.de>
8211
dab715b9
AJ
8212 * include/unistd.h: Remove duplicate entry for __rmdir.
8213 Remove declaration of __mkdir since __mkdir is declared in
8214 sys/stat.h.
8215
56fbd811
AJ
8216 * manual/creature.texi (Feature Test Macros): Fix typo, reported
8217 by Michael Deutschmann <michael@talamasca.ocis.net>.
8218
689993b2
AJ
8219 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
8220 * sysdeps/mips/fpu/fegetenv.c: Likewise.
8221 * sysdeps/mips/fpu/fesetenv.c: Likewise.
8222 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
8223 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
8224
300583a7
UD
82252000-03-28 Andreas Jaeger <aj@suse.de>
8226
8227 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
8228 declaration, the prototype is defined via bits/mathcalls.h.
8229 (__sincosf): Likewise.
8230 (__sincosl): Likewise.
8231 (ldexp): Likewise.
8232 (ldexpf): Likewise.
8233 (ldexpl): Likewise.
8234 (__finite): Likewise.
10685cd0 8235 (__inline_mathcodeNP): New macro without prototype
300583a7 8236 declarations.
10685cd0
AJ
8237 (__inline_mathcodeNP2): Likewise.
8238 (__inline_mathcodeNP3): Likewise.
8239 (__inline_mathcodeNP_): Likewise.
8240 (__inline_mathcodeNP2_): Likewise.
8241 (__inline_mathcodeNP3_): Likewise.
8242 (__inline_mathopNP): Likewise.
8243 (__inline_mathop_declNP): Likewise.
8244 (__inline_mathop_declNP_): Likewise.
300583a7
UD
8245 (__inline_mathcode_): Use __inline_mathcodeNP_.
8246 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
8247 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
8248 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
8249 (__expm1l): Don't define prototype, the prototype is defined via
8250 bits/mathcalls.h.
8251 (exp): Likewise.
8252 (__expl): Likewise.
8253 (tan): Likewise.
8254 (atan2): Likewise.
8255 (__atan2l): Likewise.
8256 (fmod): Likewise.
8257 (pow): Likewise.
10685cd0
AJ
8258 (fabsf): Likewise.
8259 (fabsl): Likewise.
8260 (__fabsl): Likewise.
300583a7
UD
8261 (asin): Likewise.
8262 (acos): Likewise.
8263 (sinh): Likewise.
8264 (cosh): Likewise.
8265 (tanh): Likewise.
8266 (floor): Likewise.
8267 (ceil): Likewise.
8268 (expm1): Likewise.
8269 (log1p): Likewise.
8270 (asinh): Likewise.
8271 (acosh): Likewise.
8272 (atanh): Likewise.
8273 (hypot): Likewise.
8274 (logb): Likewise.
8275 (fma): Likewise.
8276 (drem): Likewise.
8277 (sqrt): Likewise.
8278 (__sqrtl): Likewise.
8279 (sin): Likewise.
8280 (cos): Likewise.
8281 (atan): Likewise.
8282 (log): Likewise.
8283 (log10): Likewise.
8284 (asinh): Likewise.
8285 (log2): Likewise.
8286 (rint): Likewise.
8287
77e1d15a
UD
82882000-03-28 Ulrich Drepper <drepper@redhat.com>
8289
d2b9a50e
UD
8290 * Makerules: If make variable md5 is defined to yes after
8291 generating dependencies generate MD5 sum for the object.
8292
9dfa9a5a
UD
8293 * iconv/gconv_builtin.h: Fix length in transformation definition
8294 for UNICODEBIG.
8295
77e1d15a
UD
8296 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
8297
8298 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
8299 allow as well reading from/writing to unaligned addresses on machines
8300 which don't support this in hardware. Use FCTNAME macro to define
8301 function name. Include the file a second time for platforms which
8302 need special unaligned handling.
8303 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
8304 to access potentially unaligned addresses. These macros are intended
8305 to be used only outside the loops.
8306 (unaligned): New definition. In case the machine can handle unaligned
8307 access define as zero. Otherwise as a variable which is initialized
8308 as nonzero in case the buffer passed in at runtime is unaligned with
8309 respect to the character set encoding involved.
8310 Call aligned or unaligned looop functions according to unaligned
8311 variable.
8312 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
8313 of direct casting pointer to potentially handle unaligned memory
8314 accesses.
8315 * iconvdata/8bit-generic.c: Likewise.
8316 * iconvdata/ansi_x3.110.c: Likewise.
8317 * iconvdata/big5.c: Likewise.
8318 * iconvdata/euc-cn.c: Likewise.
8319 * iconvdata/euc-jp.c: Likewise.
8320 * iconvdata/euc-kr.c: Likewise.
8321 * iconvdata/euc-tw.c: Likewise.
8322 * iconvdata/gbk.c: Likewise.
8323 * iconvdata/iso-2022-cn.c: Likewise.
8324 * iconvdata/iso-2022-jp.c: Likewise.
8325 * iconvdata/iso-2022-kr.c: Likewise.
8326 * iconvdata/iso646.c: Likewise.
8327 * iconvdata/iso_6937-2.c: Likewise.
8328 * iconvdata/iso_6937.c: Likewise.
8329 * iconvdata/johab.c: Likewise.
8330 * iconvdata/sjis.c: Likewise.
8331 * iconvdata/t.61.c: Likewise.
8332 * iconvdata/uhc.c: Likewise.
8333 * iconvdata/unicode.c: Likewise.
8334 * iconvdata/utf-16.c: Likewise.
8335
8336 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
8337 prototypes.
8338
8339 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
8340 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
8341 public.
8342 * malloc/mcheck.h (mcheck_check_all): Declare.
8343
8344 * stdio-common/Makefile (tests): Add tst-obprintf.
8345
26c400e6
RM
83462000-03-28 Roland McGrath <roland@baalperazim.frob.com>
8347
8348 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
8349 Declare pthread_sigmask.
8350
8351 * csu/version.c: Add 2000 to copyright years.
8352 Remove Emacs local variables section.
8353
428bcea4
UD
83542000-03-23 Bruno Haible <haible@clisp.cons.org>
8355
8356 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
8357 __gconv_transform_internal_ucs2little): Remove declarations.
8358 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
8359 __gconv_transform_internal_ucs2): Never need to bswap_16.
8360 (__gconv_transform_ucs2reverse_internal,
8361 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
8362
58dc1d49
RM
83632000-03-27 Roland McGrath <roland@baalperazim.frob.com>
8364
65b4f10b
RM
8365 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
8366 obsoleting version not being defined at all, in which case the
8367 result is always true.
8368
58dc1d49
RM
8369 * Makeconfig (preprocess-versions): New canned sequence for running
8370 cpp on shlib-versions and the like.
8371 (soversions.i): Use it.
8372 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
8373 Versions.def and Versions files.
8374
670066c3
UD
83752000-03-27 Ulrich Drepper <drepper@redhat.com>
8376
22d5fbfe
UD
8377 * stdio-common/tst-obprintf.c (main): Add another check to see
8378 obstack_printf handling all possible beginnings of the block
8379 inside an obstack chunk.
8380
670066c3
UD
8381 * locale/programs/localedef.c: Use __malloc_initialize_hook to
8382 install mcheck handler.
8383
8384 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
8385 handling problem.
22d5fbfe 8386
3e5155f8
RM
83872000-03-27 Roland McGrath <roland@baalperazim.frob.com>
8388
9010d7f8
RM
8389 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
8390
3e5155f8
RM
8391 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
8392 on [HAVE_ELF && DO_VERSIONING].
8393
0c04b91e
UD
83942000-03-27 Ulrich Drepper <drepper@redhat.com>
8395
8396 * stdio-common/tst-obprintf.c: New file.
8397
8e605e78
UD
83982000-03-26 Ulrich Drepper <drepper@redhat.com>
8399
9202ffe3
UD
8400 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
8401 _IO_OVERFLOW directly instead through __overflow.
8402
30e0f9c3
UD
8403 * locale/programs/localedef.c (construct_output_path): If path
8404 contains a / compute the end of the directory name correctly.
8405
8e605e78
UD
8406 * include/features.h: Undef and document __USE_XOPEN2K.
8407
8408 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
8409 whenever a function is called. Initiated by calling mcheck_pedantic
8410 instead of mcheck.
8411 * malloc/mcheck.h: Declare mcheck_pedantic.
8412 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
8413 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
8414 for now.
8415
4c63ebaa
UD
84162000-03-26 Roland McGrath <roland@baalperazim.frob.com>
8417
16710d58
RM
8418 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
8419 * dlfcn/dlopenold.c: Likewise.
8420 * nss/getXXbyYY_r.c: Likewise.
8421 * nss/getXXent_r.c: Likewise.
8422 * hurd/hurdinit.c: Likewise.
8423 * hurd/compat-20.c: Likewise.
8424 * libio/oldiofopen.c: Likewise.
8425 * libio/oldiofclose.c: Likewise.
8426 * libio/oldiofdopen.c: Likewise.
8427 * libio/oldfileops.c: Likewise.
8428 * libio/oldstdfiles.c: Likewise.
8429 * libio/oldiofsetpos.c: Likewise.
8430 * libio/oldiofgetpos.c: Likewise.
8431 * libio/oldiofgetpos64.c: Likewise.
8432 * libio/oldiofsetpos64.c: Likewise.
8433 * libio/oldiopopen.c: Likewise.
8434 * libio/oldpclose.c: Likewise.
8435 * libio/oldtmpfile.c: Likewise.
8436 * libio/freopen.c (freopen): Likewise.
8437 * libio/iofclose.c (_IO_new_fclose): Likewise.
8438
54f6cbb3
RM
8439 * sysdeps/mach/sys/reboot.h: Include <features.h>.
8440 (reboot): Declare it.
8441
1c479f72
RM
8442 * libio/Makefile (headers): Add bits/stdio-lock.h here.
8443
8444 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
8445
a7ca88b8
RM
8446 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
8447
4c63ebaa
UD
8448 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
8449 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
8450 We need this for the sbrk decl, which can be included without Unix98.
8451
c7e41631
UD
84522000-03-20 Richard Henderson <rth@cygnus.com>
8453
8454 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
8455 argument to yperr2nss is an int, not size_t.
8456 * posix/regex.c (print_partial_compiled_pattern): Cast all
8457 ptrdiff_t to long for printing.
8458 (print_compiled_pattern): Use Z for printing size_t.
8459 * posix/testfnm.c (tests): Avoid trigraphs.
8460 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
8461 Use a C comment, not an assembly comment.
8462
8463 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
8464 of __ASSUME_32BITUIDS.
8465
6d2e234a
UD
84662000-03-26 Ulrich Drepper <drepper@redhat.com>
8467
8468 * libio/iofopncook.c: Remove K&R prototypes.
8469
2e6f096f
RM
84702000-03-26 Roland McGrath <roland@baalperazim.frob.com>
8471
8472 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
8473 an initial value of 1024 instead of RLIM_INFINITY.
8474
8475 * Versions.def (libmachuser, libhurduser): Remove these sections,
8476 since these libraries do not presently use symbol versions.
8477
8478 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
8479 is RLIM_INFINITY, return -1 instead.
8480
4fcddf8e
UD
84812000-03-24 Andreas Jaeger <aj@suse.de>
8482
8483 * Makefile (postclean): Added soversions.i.
8484
84852000-03-24 Scott Bambrough <scottb@netwinder.org>
8486
8487 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
8488 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
8489 and _FPU_IEEE. Change _FPU_RESERVED.
8490
84912000-03-24 Scott Bambrough <scottb@netwinder.org>
8492
8493 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
8494
84952000-03-24 Roland McGrath <roland@baalperazim.frob.com>
8496
8497 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
8498 (gaih_inet): Remove unused duplicate variable.
8499
8500 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
8501 Don't use __libc_sa_len, which only exists for Linux. Just handle
8502 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
8503 only flavors supported by this function anyway.
8504
85052000-03-24 Geoff Clare <gwc@unisoft.com>
8506
9d54e984 8507 * stdlib/strfmon.c: Corrected problems with missing signs and
4fcddf8e
UD
8508 missing or extra spaces; allow for sign strings longer than
8509 one character; add padding to ensure positive and negative
8510 formats are aligned when a left precision is used.
8511
85122000-03-26 Ulrich Drepper <drepper@redhat.com>
8513
8514 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
8515 Patch by John Mizel <John.Mizel@msdw.com>.
8516
0efadcd9
UD
85172000-03-25 Ulrich Drepper <drepper@redhat.com>
8518
8519 * manual/install.texi: Remove references to crypt add-on.
8520
9e3438be
RM
85212000-03-25 Roland McGrath <roland@baalperazim.frob.com>
8522
8523 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
8524 section while taking the _hurd_rlimit_lock.
8525 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8526
4f173e2c
RM
85272000-03-24 Roland McGrath <roland@baalperazim.frob.com>
8528
6a08db09
RM
8529 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
8530 using $(LN_S).
8531
4f173e2c
RM
8532 * sysdeps/mach/hurd/if_index.c: New file.
8533
8534 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
8535 * sysdeps/gnu/net/if.h: here.
8536 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
8537 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
8538 * sysdeps/generic/net/if.h: New file. Declares just the standard
8539 functions and `struct if_nameindex' type.
8540 * socket/Makefile (headers): Add net/if.h here.
8541 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
8542 * sysdeps/mach/hurd/Dist: Remove it here.
8543 * sysdeps/unix/sysv/linux/Dist: And here.
8544 * sysdeps/generic/if_index.c: Include <net/if.h>.
8545
e63721a4
AJ
85462000-03-24 Andreas Jaeger <aj@suse.de>
8547
8548 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
8549 access relocated entries in l_info.
8550 (elf_machine_got_rel): Likewise.
8551 (elf_machine_runtime_setup): Likewise.
8552 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
8553 (elf_machine_runtime_setup): Likewise.
8554 (__dl_runtime_resolve): Likewise.
8555
383052e9
UD
85562000-03-23 Ulrich Drepper <drepper@redhat.com>
8557
8558 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
8559 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
8560 according to RFC 2553.
8561 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
8562 * inet/getnameinfo.c: Likewise.
8563 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
8564
c0bc5f7b
UD
85652000-03-23 Bruno Haible <haible@clisp.cons.org>
8566
8567 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
8568 Remove no-op pointer increment.
8569
7392ce9b
UD
85702000-03-23 Andreas Jaeger <aj@suse.de>
8571
8572 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
8573 follow change for libio.h from 2000-03-10.
8574
a42195db
UD
85752000-03-23 Andreas Jaeger <aj@suse.de>
8576
8577 * elf/dl-addr.c: Adjust include paths for ldsodefs location
8578 change.
8579 * elf/dl-debug.c: Likewise.
8580 * elf/dl-deps.c: Likewise.
8581 * elf/dl-error.c: Likewise.
8582 * elf/dl-fini.c: Likewise.
8583 * elf/dl-init.c: Likewise.
8584 * elf/dl-load.c: Likewise.
8585 * elf/dl-lookup.c: Likewise.
8586 * elf/dl-minimal.c: Likewise.
8587 * elf/dl-object.c: Likewise.
8588 * elf/dl-open.c: Likewise.
8589 * elf/dl-preinit.c: Likewise.
8590 * elf/dl-profile.c: Likewise.
8591 * elf/dl-profstub.c: Likewise.
8592 * elf/dl-reloc.c: Likewise.
8593 * elf/dl-runtime.c: Likewise.
8594 * elf/dl-support.c: Likewise.
8595 * elf/dl-symbol.c: Likewise.
8596 * elf/dl-version.c: Likewise.
8597 * elf/rtld.c: Likewise.
8598 * elf/sprof.c: Likewise.
8599 * sysdeps/generic/dl-cache.c: Likewise.
8600 * sysdeps/generic/dl-origin.c: Likewise.
8601 * sysdeps/generic/dl-sysdep.c: Likewise.
8602 * sysdeps/generic/elf/backtracesyms.c: Likewise.
8603 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8604 * sysdeps/generic/libc-start.c: Likewise.
8605 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8606 * sysdeps/powerpc/dl-machine.c: Likewise.
8607 * sysdeps/powerpc/elf/libc-start.c: Likewise.
8608 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8609 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8610 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
8611
8612 * elf/ldsodefs.h: Move file to ...
8613 * sysdeps/generic/ldsodefs.h: ... here.
8614
8615 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
7392ce9b 8616
a42195db
UD
8617 * sysdeps/mips/elf/ldsodefs.h: New file.
8618
8619 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
8620 entries in l_info.
8621 (_dl_check_map_versions): Likewise.
8622 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8623 * elf/dl-load.c (_dl_init_paths): Likewise.
8624 (_dl_map_object): Likewise.
8625 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
8626 (elf_get_dynamic_info): Likewise.
8627 * elf/do-lookup.h (FCT): Likewise.
8628 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
8629 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8630 * elf/dl-addr.c (_dl_addr): Likewise.
8631 * elf/dl-runtime.c (profile_fixup): Likewise.
8632 (fixup): Likewise.
8633 * elf/dl-init.c (_dl_init_next): Likewise.
8634 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
8635 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
8636 (DISTINGUISH_LIB_VERSIONS): Likewise.
8637 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
8638 (elf_machine_rel): Likewise.
8639
8640 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
8641 for writable dynamic section.
8642
922809a2
UD
86432000-03-22 Ulrich Drepper <drepper@redhat.com>
8644
8645 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
8646 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
8647
86482000-03-22 Andreas Jaeger <aj@suse.de>
8649
8650 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
8651 from latest Linux kernel.
8652
0ddd06d1
AJ
86532000-03-21 Andreas Jaeger <aj@suse.de>
8654
8655 * Versions.def: Add version 2.1.4.
8656
1ab1ea76
UD
86572000-03-21 Ulrich Drepper <drepper@redhat.com>
8658
8659 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
8660 * libio/oldiofopen.c: Likewise.
8661 * libio/oldiofclose.c: Likewise.
ef7dddd0 8662 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
1ab1ea76 8663
42f76b6b
RM
86642000-03-22 Roland McGrath <roland@baalperazim.frob.com>
8665
8666 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
8667 indicating the first version set to obsolete the conditionalized code.
2ae13e20 8668 (compat_symbol): New macro.
42f76b6b
RM
8669 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
8670 rhs be the ABI_* macro for the subsuming version. Assign increasing
8671 integer values to the ABI_* macros for supported versions.
2ae13e20
RM
8672 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
8673 compat_symbol macro.
42f76b6b 8674
cb162e13
UD
86752000-03-21 Ulrich Drepper <drepper@redhat.com>
8676
101edd3f
UD
8677 * nscd/connections.c (nscd_run): Pretty print.
8678 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
8679
bafb8ee9
UD
8680 * manual/charset.texi: Fix typos. Rephrase.
8681 * manual/process.texi: Likewise.
8682 * manual/signal.texi: Likewise.
8683 Patches by Mike Coleman <mkc@kc.net>.
8684
fd091d3f
UD
8685 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
8686 versions.
8687 * libio/iofdopen.c: Likewise.
8688 * libio/iofgetpos.c: Likewise.
8689 * libio/iofgetpos64.c: Likewise.
8690 * libio/iofopen.c: Likewise.
8691 * libio/iofsetpos.c: Likewise.
8692 * libio/iofsetpos64.c: Likewise.
8693 * libio/iopopen.c: Likewise.
8694 * libio/oldiofopen.c: Likewise.
8695 * libio/pclose.c: Likewise.
8696 * sysdeps/gnu/siglist.c: Likewise.
8697 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
8698
cb162e13
UD
8699 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
8700 chance to expand VERSION_##lib##_##version.
8701
0bf98029
UD
8702 * libio/fileops.c: Use new macros from shlib-compat.h to define
8703 versions.
8704 * libio/iofclose.c: Likewise.
8705 * libio/oldiofclose.c: Likewise.
75836bc8 8706 Patch by Roland McGrath <roland@frob.com>.
0bf98029 8707
54021487
UD
87082000-03-21 Jakub Jelinek <jakub@redhat.com>
8709
8710 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
8711 Lay out struct sigcontext according to what really gets passed on
8712 the stack.
8713 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
8714 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
8715 (prgregset_t, prfpregset_t): Define to elf_* types.
8716 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
8717 Define to correct value.
8718 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
8719 sigcontext.
8720 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
8721
39c57122
RM
87222000-03-21 Roland McGrath <roland@baalperazim.frob.com>
8723
8724 * scripts/firstversions.awk: Allow multiple version sets in the
8725 "earliest version" specification, meaning that version sets in the
8726 gaps between listed versions should be folded into the earliest later
8727 version that is explicitly listed.
8728 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
8729 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
8730
bc4831b9
UD
87312000-03-21 Ulrich Drepper <drepper@redhat.com>
8732
8d617a71
UD
8733 * iconv/gconv_builtin.c: Include <endian.h>.
8734 * iconv/gconv_builtin.h: Add UCS-BE aliases.
8735 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
8736 according to current platform.
8737 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
8738 __gconv_transform_internal_ucs2reverse, and
8739 __gconv_transform_internal_ucs4le.
8740 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
8741 __gconv_transform_ucs2reverse_internal and
8742 __gconv_transform_internal_ucs2reverse.
8743 * iconvdata/Makefile (modules): Add UNICODE.
8744 (distribute): Add unicode.c.
8745 * iconvdata/gconv-modules: Add definitions for UNICODE module.
8746 * iconvdata/unicode.c: New file.
8747
8748 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
8749 determine byte order of input and convert accordingly.
8750
bc4831b9
UD
8751 * iconvdata/utf-16.c (gconv_init): Fix typo.
8752
7e836977
UD
87532000-03-20 Ulrich Drepper <drepper@redhat.com>
8754
6abcde8e
UD
8755 * iconvdata/gconv-modules: Fix typo.
8756
b0c766dd 8757 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
62d999dc
UD
8758 more messages.
8759
7e836977
UD
8760 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
8761
db840914
UD
87622000-03-16 Thorsten Kukuk <kukuk@suse.de>
8763
8764 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
8765
4159e387
UD
87662000-03-20 Ulrich Drepper <drepper@redhat.com>
8767
8768 * misc/Makefile (routines): Add mincore.
8769
87702000-03-20 Andreas Jaeger <aj@suse.de>
8771
8772 * sysdeps/generic/mincore.c: New stub file.
8773
8774 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
8775 from latest Linux kernel.
8776
db766e12
UD
87772000-03-20 Ulrich Drepper <drepper@redhat.com>
8778
8779 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
8780 _SC_GETPW_R_SIZE_MAX.
8781
cf9e0cbc
RH
87822000-03-20 Richard Henderson <rth@cygnus.com>
8783
db766e12 8784 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
cf9e0cbc
RH
8785 in GLIBC_2.1.4.
8786
c069bb98
RH
87872000-03-20 Richard Henderson <rth@cygnus.com>
8788
b7434f82
RH
8789 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
8790 of arithmetic instructions.
8791
8792 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
8793 with the fpcr. Protect from INV exception.
8794 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
8795 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
8796 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
8797
8798 * sysdeps/alpha/fpu/s_copysign.c: New.
8799 * sysdeps/alpha/fpu/s_copysignf.c: New.
8800 * sysdeps/alpha/fpu/s_fabs.c: New.
8801 * sysdeps/alpha/fpu/s_fabsf.c: New.
8802 * sysdeps/alpha/fpu/s_rint.c: New.
8803 * sysdeps/alpha/fpu/s_rintf.c: New.
8804
45159f00
RH
8805 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
8806
c069bb98
RH
8807 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
8808 Kill sethae.
8809 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
8810 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
8811 Use physical addresses not KSEG addresses.
8812 (io_system): Add PYXIS.
8813 (io): Remove hae.reg, sys, hae_shift.
8814 (stb_mb, stw_mb, stl_mb, __sethae): New.
8815 (inline_outb, inline_outw, inline_outl): Don't set hae.
8816 (inline_inb, inline_inw, inline_inl): Likewise.
8817 (dense_sethae): New null function.
8818 (struct cpuinfo_data): New.
8819 (process_cpuinfo): Use local and stack variables, not static.
8820 Move readlink check here from init_iosys.
8821 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
8822 (_iopl): Simplify.
8823 (_hae_shift): Calculate it here.
8824 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
8825 add pciconfig_iobase.
8826
d3564d01
RM
88272000-03-20 Roland McGrath <roland@baalperazim.frob.com>
8828
5d431a3e
RM
8829 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
8830 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
8831
d3564d01
RM
8832 * scripts/versions.awk: Fixed version renaming code to distinguish
8833 libraries properly.
8834
41a173e1
UD
88352000-03-19 Ulrich Drepper <drepper@redhat.com>
8836
a6a478e9
UD
8837 * include/stdlib.h: Add prototype for __cxa_atexit.
8838
41a173e1
UD
8839 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
8840 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
8841
88422000-03-17 Cristian Gafton <gafton@redhat.com>
8843
8844 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
8845 existing rtld-installed-name.
8846 ($(rtld-installed-name)): Request libc-$(version) be installed too.
8847 replace existing rtld-installed-name using $(symbolic-link-prog).
8848
88492000-03-17 Roland McGrath <roland@baalperazim.frob.com>
8850
8851 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
8852 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
8853 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
8854 but not the former.
8855
88562000-03-19 Ulrich Drepper <drepper@redhat.com>
8857
8858 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
8859 glob64. Since there is no glob64 in the LFS proposal applications
8860 can assume that glob handles LFS situations. glob64 is only needed
8861 if alternative filesystem functions are used.
8862
88632000-03-19 Geoff Clare <gwc@unisoft.com>
8864
8865 * sysdeps/generic/glob.c: Correct gl_pathc value returned
8866 when GLOB_DOOFFS is set; correct handling of patterns
8867 containing escaped wildcards (and no unescaped ones);
8868 GLOB_ERR flag was being ignored in some situations.
8869
8870 * posix/globtest.c, posix/globtest.sh: Updated to include
8871 tests for the problems fixed by the above changes to glob.c.
8872
8873 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
8874
361742ed
RM
88752000-03-19 Roland McGrath <roland@baalperazim.frob.com>
8876
af260314
RM
8877 * Makeconfig (soversion.i): Use only first match for each lib.
8878
0ecdeb26
RM
8879 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
8880
c95527a1
RM
8881 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
8882 rather than $(sysd-dirs-done) to protect these rules.
8883
3c132532
RM
8884 * Makerules (version-renames.def): Target removed.
8885 (Versions.all): Depend on soversions.i directly and parse it.
8886
ba7e89ec
RM
8887 * Makeconfig (soversions.i): New target, input-reading parts of
8888 soversions.mk generation moved here; result is a canonicalized
8889 list "LIB VERSION [SET]" for this configuration.
8890 (soversions.mk): Use that as input. Don't emit map-firstversions.
8891 * Makerules (version-renames.def): New target, generated from
8892 soversions.i with contents that was in $(map-firstversions).
8893 (Versions.all): Don't depend on soversions.mk, depend on
8894 version-renames.def instead; just cat it into the input.
8895
6b3c3a35
RM
8896 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
8897 for $(map-firstversions), which better handles it being empty.
8898
361742ed
RM
8899 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
8900 supported version for libc 0.2.90.libio to GLIBC_2.2.
8901
8902 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
8903 and use it to emit new variable `map-firstversions'.
8904 * scripts/firstversions.awk: New file.
8905 * Makerules (Versions.all): Use scripts/firstversions.awk and
8906 the $(map-firstversions) value to generate a modified versions list
8907 that includes renames in "A = B" syntax for each version set earlier
8908 than the "earliest symbol version" named in shlib-versions.
8909 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
8910 rename version set A to B in the output to the intermediate file.
8911 * scripts/abi-versions.awk: New file.
8912 * Makerules (abi-versions.h): New target, generated by that script.
8913 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
8914 * include/shlib-compat.h: New file, uses that generated header.
8915
a5733c28
RM
89162000-03-18 Roland McGrath <roland@baalperazim.frob.com>
8917
88268852
RM
8918 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
8919 after stripping # comments, and then run it through cpp.
8920 This allows things like "%ifdef FOO" based on config.h settings.
8921 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
8922
a5733c28
RM
8923 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
8924 and other errors that indicate a pseudo-receive happened, grok through
8925 the message buffer for port rights that need references fixed up.
8926
f5ef7558
UD
89272000-03-16 Andreas Jaeger <aj@suse.de>
8928
8929 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
8930
8931 * sysdeps/unix/sysv/linux/madvise.c: Remove.
8932
8933 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
8934 from latest Linux kernel.
8935 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
8936
4ede8b06
UD
8937 * misc/sys/mman.h: Add prototype for mincore.
8938
b9b178ac
UD
89392000-03-17 Ulrich Drepper <drepper@redhat.com>
8940
8941 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
8942 entry for GLIBC_2.0 version of setrlimit.
8943 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8944
3b965a7d
UD
89452000-03-16 Thorsten Kukuk <kukuk@suse.de>
8946
8947 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
8948 * nis/nss_compat/compat-initgroups.c: Likewise.
8949 * nis/nss_nis/nis-initgroups.c: Likewise.
8950 * nis/nss_nis/nis-netgrp.c: Likewise.
8951 * nis/nss_nis/nis-proto.c: Likewise.
8952 * nis/nss_nis/nis-rpc.c: Likewise.
8953 * nis/nss_nis/nis-service.c: Likewise.
8954 * nis/ypclnt.c: Likewise.
a5733c28 8955
96888079
UD
89562000-03-16 Andreas Jaeger <aj@suse.de>
8957
8958 * manual/Makefile: MAKEINFO is set to `:' from configure if it
3b965a7d 8959 doesn't exist, correct checks. Fixes PR libc/1649.
96888079 8960
5c7b0fb2
UD
89612000-03-16 Thorsten Kukuk <kukuk@suse.de>
8962
8963 * nscd/hstcache.c: Restore correct UID.
8964 * nscd/pwdcache.c: Likewise.
8965 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
8966
da28fa2a
RM
89672000-03-17 Roland McGrath <roland@baalperazim.frob.com>
8968
4ae18693
RM
8969 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
8970 macros for register names, in line with 2000-03-14 linux change.
8971
da28fa2a
RM
8972 * sysdeps/mach/sched_yield.c: New file.
8973
89742000-03-13 Roland McGrath <roland@baalperazim.frob.com>
8975
8976 * sysdeps/generic/lockfile.c: Include <stdio.h>
8977 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
8978 case <libio.h> defined them.
8979 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
8980 from __internal_*.
8981 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
8982 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
8983
8984 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
8985 for more pleasing parse error.
8986
19cf43be
UD
89872000-03-16 Ulrich Drepper <drepper@redhat.com>
8988
0db0e149
UD
8989 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
8990 memory for eras.
8991 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8992
da28fa2a 8993 * elf/Makefile: Add rules to compile and run constload1 test.
19cf43be
UD
8994 * elf/constload1.c: New file.
8995 * elf/constload2.c: New file.
8996 * elf/constload3.c: New file.
8997
a96206f4
UD
89982000-03-15 Ulrich Drepper <drepper@redhat.com>
8999
9000 * sysdeps/posix/open64.c: Make __open64 weak alias.
9001 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
9002 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9003 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
9004 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9005 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
9006 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
9007 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9008 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
9009 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9010 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
9011
04366d5f
UD
90122000-03-14 Ulrich Drepper <drepper@redhat.com>
9013
9014 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
9015 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
9016
f0d872e9
UD
90172000-03-16 Mark Kettenis <kettenis@gnu.org>
9018
9019 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
9020 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
9021
5d141597
UD
90222000-03-08 Andreas Jaeger <aj@suse.de>
9023
9024 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
9025
9658516a
UD
90262000-03-14 Ulrich Drepper <drepper@redhat.com>
9027
5d141597
UD
9028 * timezone/africa: Update from tzdata2000d.
9029 * timezone/asia: Likewise.
9030 * timezone/australasia: Likewise.
9031 * timezone/europe: Likewise.
9032 * timezone/northamerica: Likewise.
9033 * timezone/southamerica: Likewise.
9034
9035 * po/fr.po: Update from translation team.
9036 * po/de.po: Likewise.
9037
d9cb1a7d
UD
9038 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
9039 last parameter. Move code to add map to global scope from here...
9040 * elf/dl-open.c (dl_open_worker): ...here.
9041 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
9042 * elf/rtld.c: Adjust call to _dl_map_object_deps.
9043
36388ac4
UD
9044 * locale/programs/ld-collate.c (collate_read): Fix warning.
9045
6213a055
UD
9046 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
9047 values and macros for register names.
9048
9658516a
UD
9049 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
9050 returned by seek cookie function is -1.
9051
f1a53402
UD
90522000-03-14 Andreas Jaeger <aj@suse.de>
9053
9054 * locale/localeconv.c (localeconv): Fix typo.
9055 Reported by Andre Charbonneau <andrec@corel.com>.
9056
0aece08d
UD
90572000-03-14 Ulrich Drepper <drepper@redhat.com>
9058
9059 * iconv/skeleton.c: Increment __invocation_counter in inner loop
9060 since modules depend on it counting the number of times the conversion
9061 function got called.
9062
9063 * iconv/gconv_open.c: Optimize loop to setup step data structure.
9064
9065 * iconv/gconv.h: Pretty print.
9066
90672000-03-04 Ulrich Drepper <drepper@redhat.com>
9068
9069 * posix/wordexp-test.c: Correct one of the tests added in the last
9070 change. Really get the root passwd entry to check again ~root.
9071
d1d62b53
AJ
90722000-03-10 Andreas Jaeger <aj@suse.de>
9073
9074 * manual/filesys.texi (Working Directory): Fix last patch.
9075 Patch by Martin Buchholz <martin@xemacs.org>.
9076
0aa9fad6
AJ
90772000-03-10 Andreas Jaeger <aj@suse.de>
9078
9079 * manual/creature.texi (Feature Test Macros): Fix language.
9080
b4e54243
RM
90812000-03-10 Roland McGrath <roland@baalperazim.frob.com>
9082
9083 * mach/devstream.c (devstream_write, devstream_read): New functions.
9084 (input, output): Functions removed.
9085 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
9086 using only the vanilla fopencookie interface.
9087
9088 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
9089 as macro for __io_functions.
9090 (funcsio): Use cookie_io_functions_t type name.
9091 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
9092
9093 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
9094 fopencookie.
9095 (fopencookie): Use it.
9096 * libio/libio.h: Declare _IO_cookie_init.
9097 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
9098 _IO_cookie_init.
9099
9100 * libio/libio.h (__io_seek_fn): Fix second argument type
9101 to be a pointer, in line with the manual and the old stdio.
9102 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
9103
9104 * sysdeps/generic/bits/stdio-lock.h: New file.
9105 This is a stub with #error, but that's better than no file at all.
9106
d10c8b66
AJ
91072000-03-09 Martin Buchholz <martin@xemacs.org>
9108
9d54e984
UD
9109 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
9110 * manual/message.texi (Using gettextized software): Doc Fixes.
d10c8b66 9111 * manual/message.texi (Message Translation): Doc Fixes.
9d54e984
UD
9112 * manual/filesys.texi (File Size): Doc Fixes.
9113 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
9114 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
9115 * iconv/gconv_db.c (find_derivation): Doc Fixes.
9116 * manual/install.texi: Doc Fixes.
9117 * manual/search.texi (Hash Search Function): Doc Fixes.
9118 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
9119 * FAQ.in: Doc Fixes.
9120 * config.h.in: Doc Fixes.
9121 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
d10c8b66
AJ
9122 Doc Fixes. `allows to' is not correct English.
9123
9124 * elf/rtld.c: Doc fixes.
9125 * manual/creature.texi (Feature Test Macros): Doc fixes.
9126 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
9127
9128 * manual/filesys.texi (Working Directory): Check for ERANGE to
9129 avoid infloop.
9130
f25da8d0
RM
91312000-02-23 Roland McGrath <roland@baalperazim.frob.com>
9132
9133 * string/argz-stringify.c (__argz_stringify): Fix loop termination
9134 conditions so as not to clobber the final '\0' when there is only one
9135 element in the vector.
9136
07760b35
RM
91372000-03-09 Roland McGrath <roland@baalperazim.frob.com>
9138
9139 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
9140 broken by 2000-02-27 change.
9141
9142 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
9143
224a12bc
RM
91442000-02-23 Roland McGrath <roland@baalperazim.frob.com>
9145
9146 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
9147 argument type, for 2000-02-22 change in signal/signal.h declaration.
9148
9ab47461
RM
91492000-03-09 Roland McGrath <roland@baalperazim.frob.com>
9150
224a12bc
RM
9151 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
9152 to getdirentries64 (no __), since the Linux implementation
9153 has no __ name, and there is no declaration for the __ name.
9154
9155 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
9156
9157 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
9158 sed regexp so as not to break directory names including /../ within.
9159
9160 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
9161 The sysdeps/generic file is right for BSD. This file was in fact the
9162 Hurd file, but the only difference was the WNOREAP flag that was never
9163 actually implemented or used anywhere.
9164
9ab47461
RM
9165 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
9166 since AC_PATH_PROG already does it for us.
9167 (PERL): Rewrite check added in 2000-02-29 change for syntactic
9168 correctness and sh portability. I replaced the broken check
9169 with a more sensible implementation of the apparently intended
9170 semantics, which might still be questionable. Using expr causes
9171 a non-numeric value for `perl -V:apiversion` to be accepted,
9172 refusing to use only a perl that reports a number less than 5;
9173 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
9174 * configure: Regenerated.
9175
93773779
AJ
91762000-03-08 Andreas Jaeger <aj@suse.de>
9177
9178 * manual/crypt.texi: Fix paths.
9179
d92c02e8
AJ
91802000-03-07 Andreas Jaeger <aj@suse.de>
9181
9182 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
9183 were swapped.
9184 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
9185 libc/1636.
9186
8f95ad1c
AJ
91872000-03-06 Andreas Jaeger <aj@suse.de>
9188
5d141597
UD
9189 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
9190 in __sgn1l, otherwise g++ fails to parse this.
9191 Reported by Sean Chen <sean.chen@turbolinux.com>.
8f95ad1c 9192
8ed1e7d5
GK
91932000-03-03 Geoff Keating <geoffk@cygnus.com>
9194
9195 * configure.in: Compute sizeof-long-double.
9196 * configure: Regenerated.
9197 * config.make.in: Make sizeof-long-double available to sub-makes.
9198
706546ff
UD
91992000-03-03 Ulrich Drepper <drepper@cygnus.com>
9200
9201 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
9202 call.
9203
b11f5954
GK
92042000-03-03 Geoff Keating <geoffk@cygnus.com>
9205
9206 * Makeconfig (rpath-dirs): Add crypt.
9207 (all-subdirs): Remove md5crypt.
9208 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
9209 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
9210 * sysdeps/generic/crypt-entry.c: Delete.
9211 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
9212 * sysdeps/generic/crypt.h: Delete.
9213 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
9214 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
9215 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
9216 * sysdeps/generic/des_impl.c: Delete.
9217 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
9218 * crypt/sysdeps: Delete.
9219 * crypt/crypt_util.c: Don't use `patchlevel.h'.
9220 * md5-crypt/Versions: Move to crypt/.
9221 * md5-crypt/md5-crypt.c: Move to crypt/.
9222 * md5-crypt/md5.c: Move to crypt/.
9223 * md5-crypt/md5c-test.c: Move to crypt/.
9224 * md5-crypt/md5test.c: Move to crypt/.
9225 * md5-crypt: Delete.
9226 * crypt/Makefile: Adjust for new structure.
9227
e3d53b06
UD
92282000-03-03 Paul Eggert <eggert@twinsun.com>
9229
9230 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
9231 define to 1 if not defined.
9232
c88c8399
UD
92332000-03-03 Andreas Jaeger <aj@suse.de>
9234
9235 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
9236
92372000-03-03 Andreas Jaeger <aj@suse.de>
9238
9239 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
9240 cases.
9241 (xdr_int64_t): Correctly handle lower half.
9242 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
9243
bdd5fccd
UD
92442000-03-03 Ulrich Drepper <drepper@cygnus.com>
9245
9246 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
9247 call.
9248
2f1afc88
UD
92492000-03-02 Andreas Jaeger <aj@suse.de>
9250
9251 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
9252 2.3.43.
9253
6500dff6
UD
92542000-03-02 Andreas Jaeger <aj@suse.de>
9255
9256 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
9257
fc304e02
UD
92582000-03-01 Andreas Jaeger <aj@suse.de>
9259
9260 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
9261 (tests): Added tst-getdate.
9262
9263 * time/tst-getdate.c: New file.
9264
9265 * time/datemsk: New file, needed for tst-getdate.
9266
ecb06196
UD
92672000-02-29 Cristian Gafton <gafton@redhat.com>
9268
9269 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
9270
3fd759d1
UD
92712000-02-17 H.J. Lu <hjl@gnu.org>
9272
9273 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
9274
9275 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
9276 available.
9277 (svcudp_recv): Set up message with the new "xp_pad" field for
9278 IP_PKTINFO.
9279 (svcudp_reply): Support IP_PKTINFO if available.
9280
06b54322
AJ
92812000-03-01 Andreas Jaeger <aj@suse.de>
9282
9283 * time/getdate.c (check_mday): Fix check for february.
9284 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
9285 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
9286
901a5bd7
AJ
92872000-03-02 Andreas Jaeger <aj@suse.de>
9288
9289 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
9290 g++ fails to parse this.
9291 Reported by Sean Chen <sean.chen@turbolinux.com>.
9292
07e0f7ad
UD
92932000-02-28 Ulrich Drepper <drepper@redhat.com>
9294
6df9984c
UD
9295 * io/creat.c: Moved to...
9296 * sysdeps/generic/creat.c: ...here.
9297 * io/creat64.c: Moved to...
9298 * sysdeps/generic/creat64.c: ...here.
522dc855
UD
9299 * io/lockf.c: Moved to...
9300 * sysdeps/generic/lockf.c: ...here.
6df9984c 9301
6d7496e8 9302 * crypt/crypt.texi: Moved to...
07e0f7ad 9303 * manual/crypt.texi: ...here.
6d7496e8
UD
9304 * crypt/examples/genpass.c: Moved to...
9305 * manual/examples/genpass.c: ...here.
9306 * crypt/examples/mygenpass.c: Moved to...
9307 * manual/examples/mygenpass.c: ...here.
9308 * crypt/examples/testpass.c: Moved to...
9309 * manual/examples/testpass.c: ...here.
9310
9311 * manual/Makefile (chapters): Add crypt.
9312 * manual/conf.texi: Add usual header for not-last chapter.
9313 * manual/crypt.texi: Add special header for last chapter.
07e0f7ad 9314
63f791d3
GK
93152000-02-28 Geoff Keating <geoffk@cygnus.com>
9316
9317 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
9318 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
9319 complain if there is no crypt add-on.
9320 * crypt/configure: Removed.
6d7496e8 9321
63f791d3
GK
9322 * crypt/crypt.texi: Update documentation of US export restrictions
9323 to match the 14 Jan 2000 regulations.
9324
93252000-02-28 Geoff Keating <geoffk@cygnus.com>
9326
9327 * crypt: New subdirectory, merged in from the crypt add-on.
9328
a808d541
UD
93292000-02-28 Ulrich Drepper <drepper@redhat.com>
9330
108c6efa 9331 * include/unistd.h: Add __rmdir and __mkdir prototypes.
9b51f431 9332
d59e49d8 9333
108c6efa 9334See ChangeLog.10 for earlier changes.
This page took 1.173689 seconds and 5 git commands to generate.