]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
b4f95b74
UD
12000-08-30 Ulrich Drepper <drepper@redhat.com>
2
3 * iconvdata/Makefile (tests): Add tst-loading.
4 * iconvdata/tst-loading.c: New file.
5
44f8759b
UD
62000-08-29 Bruno Haible <haible@clisp.cons.org>
7
8 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
9 When comparing a char with an int, always cast the char to
10 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
11 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
12
3dc4a544
UD
132000-08-30 Ulrich Drepper <drepper@redhat.com>
14
e668889a
UD
15 * time/strftime.c (my_strftime): Add compatibility code for use
16 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
17
db7dc811
UD
18 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
19 return 0 for success but always < 0 on failure.
20
3dc4a544
UD
21 * nss/getXXbyYY_r.c: Define result to *result before including
22 digits_dots.c.
23
f6bb547a
AJ
242000-08-30 Andreas Jaeger <aj@suse.de>
25
26 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
27
076bfcf6
UD
282000-08-29 Ulrich Drepper <drepper@redhat.com>
29
47cae281
UD
30 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
31 official file.
32 * iconvdata/TESTS: Add BIG5HKSCS entry.
33 * iconvdata/testdata/BIG5HKSCS: New file.
34 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
35
36 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
37 always true.
38
076bfcf6
UD
39 * libio/iogetline.c: Set mode before the loop in case n==0.
40 * libio/iogetwline.c: Likewise.
41
422000-08-29 H.J. Lu <hjl@gnu.org>
43
44 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
45 of fp->_mode < 0.
46 (_IO_new_file_overflow): Likewise.
47 * libio/genops.c (_IO_flush_all): Likewise.
48 * libio/ioftell.c (_IO_ftell): Likewise.
49
c7c3b0e9
UD
502000-08-29 Akira Higuchi <a@kondara.org>
51
52 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
53 and __end_fct fields of struct __gconv_step.
54 * iconv/Makefile (tests): Add iconv-bug2.
55 * iconv/iconv-bug2.c: New file.
56
57 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
58 instead of 'inptr - inend' to ksc5601_to_ucs4.
59
60 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
61
62 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
63 character or shift sequence is found at the end of the input
64 string, return__GCONV_INCOMPLETE_INPUT instead of
65 __GCONV_EMPTY_INPUT.
66 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
67 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
68
69 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
70 __GCONV_ILLEGAL_INPUT for 8bit characters.
71
30f1226b
UD
722000-08-29 Ulrich Drepper <drepper@redhat.com>
73
4dadd40c
UD
74 * signal/signal.h (sigpause): Move __THROW before __asm__.
75
30f1226b
UD
76 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
77 names don't match don't return.
78 Patch by Olaf Kirch <okir@flash.lst.de>.
79
1a6c971d
UD
802000-08-28 Ulrich Drepper <drepper@redhat.com>
81
82 * time/strftime.c (my_strftime): Handle # flag for %b as well.
83
8f3f1e09
UD
842000-08-27 H.J. Lu <hjl@gnu.org>
85
86 * posix/Makefile (otherlibs): Add for building with static-nss
87 for "make check".
88
46e4bd3b
UD
892000-08-28 Ulrich Drepper <drepper@redhat.com>
90
91 * libio/stdio.h: Add fmemopen prototype.
92
932000-08-25 Andreas Jaeger <aj@suse.de>
94
95 * libio/Makefile (routines): Add fmemopen.
96 (tests): Add test-fmemopen.
97 * libio/Versions: Add fmemopen with version GLIBC_2.2.
98 * libio/test-fmemopen.c: New file.
99 * libio/fmemopen.c: New file.
100 Patches by Hanno Mueller <kontakt@hanno.de>.
101
4370efec
UD
1022000-08-28 Ulrich Drepper <drepper@redhat.com>
103
07d94f90
UD
104 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
105 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
106
4370efec
UD
107 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
108 to avoid crashing statically linked applications.
109
04ea3b0f
UD
1102000-08-27 Bruno Haible <haible@clisp.cons.org>
111
112 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
113 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
114
115 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
116 If the result is fits in the buffer, copy only as many bytes as needed.
117
118 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
119 buffer after copying numbuf into it.
120 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
121
1222000-08-27 Bruno Haible <haible@clisp.cons.org>
123
124 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
125 the result. When string_len < len, don't clear the rest of the buffer.
126
1272000-08-27 Bruno Haible <haible@clisp.cons.org>
128
129 Support for new LC_COLLATE format.
130 * locale/coll-lookup.h: New file.
131 * locale/weightwc.h (findidx): When size == 0, call
132 collidx_table_lookup.
133 * wcsmbs/wcscoll.c: Include coll-lookup.h.
134 * wcsmbs/wcsxfrm.c: Likewise.
135 * posix/fnmatch.c: Likewise.
136 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
137 collseq_table_lookup.
138 * locale/programs/3level.h: New file.
139 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
140 by including "3level.h".
141 * locale/programs/ld-collate.c (wchead_table, collidx_table,
142 collseq_table): New types, defined by including "3level.h".
143 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
144 (encoding_mask, encoding_byte): Remove.
145 (utf8_encode): Use simple shifts instead.
146 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
147 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
148 (collate_output): New local variable tablewc_3level. When
149 !oldstyle_tables, set table_size to 0 and names to NULL and fill
150 tablewc_3level instead of tablewc. Change format of TABLEWC and
151 COLLSEQWC entries written to the file.
152 * locale/C-collate.c (collseqwc): Change format.
153 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
154 of COLLSEQWC.
155 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
156
1572000-08-27 Bruno Haible <haible@clisp.cons.org>
158
159 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
160 (locale_ctype_t): New charnames_idx field.
161 (ctype_startup): Initialize charnames_idx field.
162 (find_idx): Speed up dramatically by using charnames_idx inverse table.
163
1642000-08-27 Bruno Haible <haible@clisp.cons.org>
165
166 * locale/C-ctype.c: Switch to new locale format.
167 (_nl_C_LC_CTYPE_names): Remove array.
168 (STRUCT_CTYPE_CLASS): New macro.
169 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
170 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
171 New three-level tables.
172 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
173 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
174 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
175 12 class tables and 2 map tables at the end.
176 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
177 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
178 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
179 New declarations.
180 (b): Remove trailing semicolon.
181 (__ctype_names, __ctype_width): Don't initialize.
182 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
183
1842000-08-27 Bruno Haible <haible@clisp.cons.org>
185
186 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
187 is guaranteed to be allocated with the same malloc() and may be
188 passed to free().
189 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
190 been set to empty by an earlier open_path call, don't pass it again.
191
102f0642
UD
1922000-08-28 Ulrich Drepper <drepper@redhat.com>
193
50fd913b
UD
194 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
195 we are not optimizing.
196
924102e7
UD
197 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
198 inclusion.
199
102f0642
UD
200 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
201 really match EOF.
202 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
203
1e0448d4
AJ
2042000-08-28 Andreas Jaeger <aj@suse.de>
205
206 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
207
b222360c
MK
2082000-08-28 Mark Kettenis <kettenis@gnu.org>
209
210 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
211 getpeername. Use ISO C style function definition.
212 (getpeername): Provide weak alias.
213 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
214 setrlimit. Use ISO C style function definition.
215 (setrlimit): Provide weak alias.
216
ba55e591
AJ
2172000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
218
219 * shlib-versions: Add a rule for S/390 to the libm version list.
220 * sysdeps/s390/Versions: New file.
221 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
222 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
223 * sysdeps/unix/sysv/linux/s390/Versions: New file.
224 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
225 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
226 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
227 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
228 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
229 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
230 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
231 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
232 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
233 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
234 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
235 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
236 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
237 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
238 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
239
b9672e71
UD
2402000-08-28 Ulrich Drepper <drepper@redhat.com>
241
67c28b12
UD
242 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
243 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
244
b35e21f4
UD
245 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
246 * elf/dl-close.c (_dl_close): Print debug message if object is not
247 unloaded.
248 * elf/dl-open.c (dl_open_worked): Print message about opencount before
249 returning to caller.
250
b9672e71
UD
251 * po/zh.po: Renamed to...
252 * po/zh_TW.po: ...this.
253
e4df97b8
GK
2542000-08-27 Geoff Keating <geoffk@cygnus.com>
255
5a364152
GK
256 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
257
e4df97b8
GK
258 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
259 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
260 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
261 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
262
48bde9c3
UD
2632000-08-27 Ulrich Drepper <drepper@redhat.com>
264
3d4ac1ec
UD
265 * locale/programs/ld-collate.c (insert_weights): Also update
266 backpointer of next element.
267 (collate_read): Allow definition of new collation symbols in stage 2.
268 Symbol after reorder-after can be UCS4 value.
269 Allow reordering of collation symbols and elements.
270 Do not only move reorder entry in new position. Instead call
271 insert_weight to do this and read the weights.
272
6adc15f5
UD
273 * locale/findlocale.c (free_mem): Add cast to avoid warning.
274
4944d5d6
UD
275 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
276 to determine invalid locale name.
277 * locale/findlocale.c (_nl_find_locale): Likewise.
278
b4f48b41
UD
279 * posix/annexc.c: Correct test for unavailable feature.
280
48bde9c3
UD
281 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
282 __inline.
283
2b7238dd
UD
2842000-08-26 Ulrich Drepper <drepper@redhat.com>
285
6a72ae21
UD
286 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
287 syscall.
288
d4cfddf9
UD
289 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
290 (sysdep_routines): Add oldgetrlimit64.
291
2b7238dd
UD
292 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
293 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
294 (tests): Add unload, reldep, reldep2, and reldep3.
295 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
296 and reldepmod4.
297 Add rules to build and run unload, reldep, reldep2, and reldep3.
298 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
299 Don't create relocation dependency if it is nonzero.
300 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
301 can never happen here.
302 (_dl_lookup_versioned_symbol): Add new parameter explicit.
303 Don't create relocation dependency if it is nonzero.
304 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
305 stuff. This can never happen here.
306 * sysdeps/generic/ldsodefs.h: Change prototypes.
307 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
308 _dl_lookup_up and _dl_lookup_versioned_symbol.
309 (RESOLV): Likewise.
310 * elf/dl-runtime.c (fixup): Likewise.
311 (profile_fixup): Likewise.
312 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
313 _dl_lookup_symbol.
314 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
315 * elf/rtld.c (dl_main): Likewise.
316 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
317 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
318 and pass down the caller map.
319 (_dl_vsym): Likewise.
320 * elf/reldep.c: New file.
321 * elf/reldep2.c: New file.
322 * elf/reldep3.c: New file.
323 * elf/reldepmod1.c: New file.
324 * elf/reldepmod2.c: New file.
325 * elf/reldepmod3.c: New file.
326 * elf/reldepmod4.c: New file.
327 * elf/unload.c: New file.
328 * elf/unloadmod.c: New file.
329
330 * elf/do-lookup.h: Remove unused undef_name parameter.
331 * elf/dl-lookup.c: Adjust callers.
332
36466e64
UD
3332000-08-25 Ulrich Drepper <drepper@redhat.com>
334
335 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
336 irreversible in recursive call of conversion function to signal that
337 no error handling is wanted.
338 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
339 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
340 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
341 recursive error handling call, otherwise to &lirreversible. Use it
342 for calls to conversion functions.
343 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
344 transliterating.
345 (ucs4_internal_loop_unaligned): Likewise.
346 (ucs4le_internal_loop): Likewise.
347 (ucs4le_internal_loop_unaligned): Likewise.
348
c7f524b8
GM
3492000-08-25 Greg McGary <greg@mcgary.org>
350
351 * sysdeps/i386/memchr.S: Check high bound against chars
352 actually scanned.
353 * sysdeps/i386/memcmp.S: Likewise.
354 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
355 account for pointers that lie one beyond end-of-buffer.
356
ad7534c8
UD
3572000-08-25 Ulrich Drepper <drepper@redhat.com>
358
359 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
360 * elf/nodelete.c (fini_ran): New global variable.
361 (do_test): Before every dlclose call clear fini_ran and test
362 afterwards that it is not set by the destructors.
363 * elf/nodelmod1.c: Add destructor which sets fini_ran.
364 * elf/nodelmod2.c: Likewise.
365 * elf/nodelmod4.c: Likewise.
366
bb8d0fd5
UD
3672000-08-21 Jes Sorensen <jes@linuxcare.com>
368
369 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
370 getrlimit to the list.
371
3722000-08-18 Jes Sorensen <jes@linuxcare.com>
373
374 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
375 long double format so use ldbl-96 instead of ldbl-128.
376
b7fb789d
UD
3772000-08-25 Ulrich Drepper <drepper@redhat.com>
378
b0af120f
UD
379 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
380 even if bits 10 a 11 are non-zero.
381 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
382
1bc777b8
UD
383 * Makeconfig: Ensures the soversions.mk part of Makefile gets
384 included before building gnu/lib-names.h
385 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
386
7045878b
UD
387 * elf/dl-close.c (_dl_close): Don't run destructors of objects
388 marked DF_1_NODELETE.
389
b7fb789d
UD
390 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
391 since we call sigaction in the child.
392
700f371b
AJ
3932000-08-25 Andreas Jaeger <aj@suse.de>
394
395 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
396 gconv-modules.
397
7a7a7ee5
AJ
3982000-08-25 Andreas Jaeger <aj@suse.de>
399
400 * manual/arith.texi (Control Functions): Clarify possible
401 arguments. Closes PR libc/1856.
402
2085b8d1
AJ
4032000-08-24 H.J. Lu <hjl@gnu.org>
404
405 * stdio-common/Makefile (tests): Don't do it for cross compiling.
8f3f1e09 406 * malloc/Makefile (tests): Likewise.
2085b8d1 407
62c27582
UD
4082000-08-24 Ulrich Drepper <drepper@redhat.com>
409
410 * iconvdata/unicode.c (gconv_init): Correct test for direction.
411
469e977f
AJ
4122000-08-24 Andreas Jaeger <aj@suse.de>
413
414 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
415 only if LIBGD is available.
416
d46a5ab9
UD
4172000-08-24 Ulrich Drepper <drepper@redhat.com>
418
419 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
420 problems with now restrict parameter types.
421 (convaddr4to6): Likewise.
422
4232000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
0067c4cf
AJ
424
425 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
426 * sysdeps/s390/fpu/feenablxcpt.c: New file.
427 * sysdeps/s390/fpu/fegetexcept.c: New file.
428 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
429 FPC_VALID_MASK.
430
991dca90
AJ
4312000-08-24 Andreas Jaeger <aj@suse.de>
432
433 * malloc/Makefile (extra-objs): Add memusagestat.o.
434 (generated): Added memusage and memusagestat for make clean.
435
436 * libio/tst_putwc.c (do_test): Delete temporary file.
3b526f89
AJ
437 Move inclusion of test-skeleton to front to have prototype for
438 add_temp_file.
991dca90
AJ
439
440 * posix/Makefile (generated): Add wordexp-tst.out.
441
c81459e7
UD
4422000-08-24 Ulrich Drepper <drepper@redhat.com>
443
444 * resolv/res_hconf.c (free_mem): Remove not needed if.
445
446 * time/tzset.c (free_mem): New function.
447 * string/strsignal.c (free_mem): New function.
448 * inet/inet_ntoa.c (free_mem): New function.
449 * sunrpc/clnt_perr.c (free_mem): New function.
450
d5fb902b
AJ
4512000-08-24 Andreas Jaeger <aj@suse.de>
452
453 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
7e98470d 454 * sysdeps/unix/sysv/syscalls.list: Likewise.
d5fb902b 455
219f2381
AJ
456 * posix/unistd.h: Move internal prototypes from here ...
457 * include/unistd.h: ... to here.
458
459 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
460
80bae720
UD
4612000-08-24 Ulrich Drepper <drepper@redhat.com>
462
84364bf8
UD
463 * grp/initgroups.c (initgroups): Deallocate groups array.
464 Reported by jani.raiha@sonera.com [PR libc/1868].
465
80bae720
UD
466 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
467 * sysdeps/alpha/Dist: Likewise.
468
f4942eca
UD
4692000-08-23 Ulrich Drepper <drepper@redhat.com>
470
0c571040
UD
471 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
472 destructor). Reported by Solar Designer <solar@false.com>.
473
f4942eca
UD
474 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
475 avoid adding double slashes.
476
91ca07d8
UD
4772000-08-23 Jakub Jelinek <jakub@redhat.com>
478
479 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
480 out of the __REDIRECT macro.
481
56ce46d5
UD
4822000-08-23 Ulrich Drepper <drepper@redhat.com>
483
484 * stdio-common/vfscanf.c: Add %F format support.
485
486 * locale/programs/ld-ctype.c (ctype_output): Make sure
487 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
488 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
489 (ctype_read): Enable returning of wide character strings for reading
490 transliteration information.
491
0232a3ae
AJ
4922000-08-23 Andreas Jaeger <aj@suse.de>
493
df9650f1
AJ
494 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
495 Use static __inline instead of _EXTERN_INLINE.
496
497 * misc/sys/select.h: Move prototypes of __select from here ...
498 * include/sys/select.h: ... to here.
499
500 * socket/sys/socket.h: Move prototypes of __send and __connect
501 from here....
502 * include/sys/socket.h: ... to here.
503
0232a3ae
AJ
504 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
505 lr_error.
506
39d4e06f
AJ
5072000-08-23 Jakub Jelinek <jakub@redhat.com>
508
509 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
510 __setrlimit as strong name. Takes only 2 arguments.
511
512 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
513 takes only 2 arguments.
514
84056c71
AJ
5152000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
516
ea18f670
AJ
517 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
518
84056c71
AJ
519 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
520
4b156cb2
UD
5212000-08-23 Ulrich Drepper <drepper@redhat.com>
522
523 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
524 default_missing character being specified, pick the first
525 representable.
526
d6585e0b
AJ
5272000-08-23 Andreas Jaeger <aj@suse.de>
528
529 * include/wchar.h: Add some pure attributes.
530
531 * time/time.h: Add const attribute for dysize.
532
533 * include/stdlib.h: Add malloc attribute to __posix memalign.
534
535 * stdlib/stdlib.h: Add some pure and malloc attributes.
536 * wcsmbs/wchar.h: Likewise.
537
538 * dirent/dirent.h: Add some pure attributes.
539 * include/dirent.h: Likewise.
540
24c7f4c1
UD
5412000-08-23 Jakub Jelinek <jakub@redhat.com>
542
543 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
544 on 64bit arches.
545
4cee32dd
UD
5462000-08-22 Ulrich Drepper <drepper@redhat.com>
547
548 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
549 missing buffer size checks.
550
b4246fd6
UD
5512000-08-23 Andreas Jaeger <aj@suse.de>
552
7e7b6007
AJ
553 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
554 strong name.
555 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
556
b4246fd6
UD
557 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
558 otherwise __LINUX_KERNEL_VERSION might not be defined.
559 (MIN): Define if not already defined.
560
dc63ee35
UD
5612000-08-22 Ulrich Drepper <drepper@redhat.com>
562
6c46718f
UD
563 * stdio-common/vfprintf.c: Handle %F format.
564 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
565 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
566
567 * stdio-common/tstdiomisc.c: Add test for %F printf format.
568
569 * po/zh.po: New file.
570
cf970a32
UD
571 * iconvdata/sjis.c: In conversion from UCS4, correct test for
572 enough room in target buffer.
573 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
574 * iconvdata/bug-iconv1.c: New file.
575 * iconvdata/Makefile (tests): Add bug-iconv1.
576
dc63ee35
UD
577 * locale/iso-4217.def: Update entry for Nicaragua.
578
64659255
MK
5792000-08-22 Mark Kettenis <kettenis@gnu.org>
580
581 * hurd/hurdsig.c: Rearrange headers a bit.
582 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
583 when cthreads is being used.
584
ea83223c
UD
5852000-08-22 Ulrich Drepper <drepper@redhat.com>
586
32b4fe6a
UD
587 * elf/Makefile (distribute): Add dl-osinfo.h.
588 * sysdeps/generic/dl-osinfo.h: New file.
589 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
590 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
591 if defined.
592 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
84056c71 593 only for !SHARED case. Get the code from dl-osinfo.h.
32b4fe6a 594
ea83223c
UD
595 * stdlib/random_r.c: Cleanups.
596 * stdlib/tst-random.c: New file.
597 * stdlib/Makefile (tests): Add tst-random.
598 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
599
84056c71 6002000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
26830935 601
ea83223c
UD
602 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
603 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
604 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
605 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
26830935 606
8859f576
UD
6072000-08-22 Jakub Jelinek <jakub@redhat.com>
608
609 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
610 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
611 (__syscall__sysctl): Add.
612
fe615dce
AJ
6132000-08-21 Andreas Jaeger <aj@suse.de>
614
615 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
616 libc/1864).
617 * stdlib/tst-strtoll.c: Likewise.
618
ce19d417
UD
6192000-08-21 Ulrich Drepper <drepper@redhat.com>
620
faa57563
UD
621 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
622 correctly.
623 (__initstate_r): Set errno on error.
624 (__random_r): Likewise.
625 (__setstate_r): Correct offset when computing
626 new rptr and fptr. Test for arg_state being NULL.
627 Reported by Michael Fischer <fischer@cs.yale.edu>.
7ca404ad
UD
628
629 * posix/regex.h: Add macro definitions to allow compiling outside
630 glibc.
631
63336471
UD
632 * sysdeps/i370/Implies: Removed.
633 * sysdeps/mvs/Implies: Removed.
634
635 * catgets/catgets.c (catopen): Filter out env_var values with / if
636 necessary.
637
638 * locale/findlocale.c (_nl_find_locale): Move test for unusable
639 locale name after all getenvs.
640
ce19d417
UD
641 * configure.in: Allow sed versions like 3.02.8.
642 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
643
959eb65d
UD
6442000-08-21 Marko Myllynen <myllynen@lut.fi>
645
646 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
647
9ca00c5b
UD
6482000-08-21 Ulrich Drepper <drepper@redhat.com>
649
fb7268b2
UD
650 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
651 of gethostbyname2_r call.
652
9ca00c5b
UD
653 * intl/locale.alias: Add aliases for Korean.
654
84056c71 6552000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
b7d2cec0 656
b6341471
AJ
657 * sysdeps/s390/__longjmp.c: Remove unused variable result.
658 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
b7d2cec0
AJ
659 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
660 * sysdeps/s390/fpu/fegetenv.c: New file.
661 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
662 * sysdeps/s390/fpu/feholdexcpt.c: New file.
663 * sysdeps/s390/fpu/fenv_libc.h: New file.
664 * sysdeps/s390/fpu/fesetenv.c: New file.
665 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
666 * sysdeps/s390/fpu/feupdateenv.c: New file.
667 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
668 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
669 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
670 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
671 * sysdeps/s390/fpu/ftestexcept.c: New file.
672 * sysdeps/s390/fpu/libm-test-ulps: New file.
673 * sysdeps/s390/gmp-mparam.h: Add end of comment.
674 * sysdeps/s390/initfini.c: New file.
675 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
676 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
677 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
678 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
b6341471 679 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
b7d2cec0
AJ
680 sys/procfs.h as proposed by Mark Kettenis.
681 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
682
d4b0774f
AJ
6832000-08-21 Andreas Jaeger <aj@suse.de>
684
685 * include/poll.h: Include include/sys/poll.h to get __poll
686 declaration.
687
688 * io/sys/poll.h: Move __poll declaration from here...
689 * include/sys/poll.h: ...to here.
690
691 * include/sys/socket.h (__getpeername): Add declaration.
692
693 * include/wchar.h (__vswprintf): Add declaration.
694
695 * include/stdio.h (__flockfile): Add declaration.
696 (__funlockfile): Likewise.
697
a785f6c5
UD
6982000-08-20 Ulrich Drepper <drepper@redhat.com>
699
98cbe360
UD
700 * misc/sys/cdefs.h: Define __restrict_arr.
701 * include/sys/time.h: Add restrict where required by AGd4.
702 * inet/arpa/inet.h: Likewise.
703 * io/sys/stat.h: Likewise.
704 * io/sys/statvfs.h: Likewise.
705 * misc/search.h: Likewise.
706 * misc/sys/select.h: Likewise.
707 * posix/glob.h: Likewise.
708 * posix/regex.h: Likewise.
709 * posix/spawn.h: Likewise.
710 * posix/unistd.h: Likewise.
711 * rt/aio.h: Likewise.
712 * signal/signal.h: Likewise.
713 * socket/sys/socket.h: Likewise.
714 * stdlib/ucontext.h: Likewise.
715 * streams/stropts.h: Likewise.
716 * string/string.h: Likewise.
717 * time/time.h: Likewise.
718 * time/sys/time.h: Likewise.
719
720 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
721 and posix_spawnattr_setscheparam.
722
723 * libio/stdio.h: Make cuserid prototype again available for all
724 XPG versions.
725
4aebaa6b
UD
726 * argp/argp-help.c: Unify use of function aliases to make more compact
727 PLT.
728 * include/libintl.h: Likewise.
729 * inet/rcmd.c: Likewise.
730 * intl/dcigettext.c: Likewise.
731 * libio/iofputws.c: Likewise.
732 * libio/iofputws_u.c: Likewise.
733 * libio/iogetwline.c: Likewise.
734 * libio/swprintf.c: Likewise.
735 * malloc/malloc.c: Likewise.
736 * nss/digits_dots.c: Likewise.
737 * posix/fnmatch.c: Likewise.
738 * posix/spawn_faction_addclose.c: Likewise.
739 * posix/spawn_faction_adddup2.c: Likewise.
740 * posix/spawn_faction_addopen.c: Likewise.
741 * posix/spawni.c: Likewise.
742 * posix/wordexp.c: Likewise.
743 * posix/spawni.c: Likewise.
744 * resolv/res_hconf.c: Likewise.
745 * resolv/res_init.c: Likewise.
746 * shadow/lckpwdf.c: Likewise.
747 * signal/sighold.c: Likewise.
748 * signal/sigrelse.c: Likewise.
749 * stdio-common/printf-parse.h: Likewise.
750 * stdio-common/printf-prs.c: Likewise.
751 * stdio-common/printf_fp.c: Likewise.
752 * stdio-common/vfprintf.c: Likewise.
753 * stdio-common/vfscanf.c: Likewise.
754 * stdlib/rpmatch.c: Likewise.
755 * sunrpc/create_xid.c: Likewise.
756 * sunrpc/key_call.c: Likewise.
757 * sysdeps/generic/setrlimit64.c: Likewise.
758 * sysdeps/generic/utmp_file.c: Likewise.
759 * sysdeps/generic/vlimit.c: Likewise.
760 * sysdeps/posix/posix_fallocate.c: Likewise.
761 * sysdeps/posix/posix_fallocate64.c: Likewise.
762 * sysdeps/posix/sigpause.c: Likewise.
763 * sysdeps/posix/sigset.c: Likewise.
764 * sysdeps/unix/grantpt.c: Likewise.
765 * sysdeps/unix/bsd/ualarm.c: Likewise.
766 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
767 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
768 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
769 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
770 * time/strftime.c: Likewise.
771 * wcsmbs/wcscoll.c: Likewise.
772 * wcsmbs/wcsxfrm.c: Likewise.
773
a785f6c5
UD
774 * time/tst-getdate.c (main): Make error messages more human readable.
775
4aebaa6b
UD
776 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
777 postinc/predec instruction.
a785f6c5
UD
778 (_FPU_SETCW): Likewise.
779 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
780
7a66c585
AJ
7812000-08-20 Andreas Jaeger <aj@suse.de>
782
783 * time/tst-getdate.c (main): Increase error in case of wrong
784 conversion.
785 Fix typo in test case.
786
2f599545
UD
7872000-08-20 Ulrich Drepper <drepper@redhat.com>
788
00d8bc81
UD
789 * ctype/ctype.h (isblank): Make available if ISO C99.
790 * wctype/wctype.h (iswblank): Make available if ISO C99.
791 * math/math.h (signgam): Don't make available if ISO C99.
792 * math/tgmath.h (tgamma): Renamed from gamma.
793 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
794
2f599545
UD
795 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
796 Pretty printing.
797 * intl/plural.y (new_exp): Take number of optional parameters in
798 second parameter. Test for correct number of parameters and free
799 correctly in case of failure. Adjust all callers.
800 (yylex): Allow ';' as terminator character.
801
6145e823
UD
8022000-08-19 Ulrich Drepper <drepper@redhat.com>
803
9b02e868
UD
804 * locale/lc-time.c (free_mem): New function. Free alt_digits and
805 walt_digits.
806
f1ba489e
UD
807 * locale/findlocale.c (free_mem): Also free here->filename.
808
809 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
810
6145e823
UD
811 * math/test-fenv.c (feenv_tests): Clear all exceptions before
812 first test.
813 (feexcp_nomask_test): Correct printf args.
814 (feexcp_mask_test): Likewise.
815
60f0e64b
UD
8162000-08-19 Andreas Jaeger <aj@suse.de>
817
03ae3c1e
AJ
818 * inet/tst-gethnm.c: Include string.h to provide prototype for
819 strcmp.
820
60f0e64b
UD
821 * malloc/mtrace.pl (usage): Inform about --help.
822
8232000-08-19 Wolfram Gloger <wg@malloc.de>
824
f1ba489e 825 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
60f0e64b
UD
826 size HEAP_MAX_SIZE.
827
8282000-08-19 Andreas Jaeger <aj@suse.de>
829
830 * shlib-versions: Remove libnss_db, libdb and libdb1.
831
8322000-08-19 Jakub Jelinek <jakub@redhat.com>
833
834 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
835 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
836 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
837 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
838 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
839 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
840 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
841 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
842 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
843 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
844 getdents.
845 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
846 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
847
8482000-08-18 Jakub Jelinek <jakub@redhat.com>
849
850 * include/glob.h (__glob64): Add prototype.
851 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
852 define glob and glob_in_dir.
853 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
854 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
855 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
856 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
857 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
858 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
859 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
860 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
861
8622000-08-18 Jakub Jelinek <jakub@redhat.com>
863
864 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
865
8662000-08-17 Andreas Jaeger <aj@suse.de>
867
868 * math/test-fenv.c (fe_single_test): New function.
869 (fe_env_tests): Use fe_single_test.
870 (feenable_test): New tests for feenable/fedisable and
871 fegetexcpetions.
872 (feexcp_mask_test): New function.
873 (feexcp_nomask_test): New function.
874
8752000-08-19 Richard Henderson <rth@cygnus.com>
876
877 * sysdeps/alpha/fpu/fenv_libc.h: New file.
878 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
879 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
880 * sysdeps/alpha/fpu/fesetround.c: Likewise.
881 * sysdeps/alpha/fpu/fegetround.c: Likewise.
882 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
883 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
884 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
885 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
886 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
887 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
888 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
889 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
890 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
891 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
892 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
893 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
894
f3322bec
AJ
8952000-08-19 Andreas Jaeger <aj@suse.de>
896
897 * elf/constload1.c: Include <stdio.h> for puts prototype.
898
752a2a50
UD
8992000-08-19 Ulrich Drepper <drepper@redhat.com>
900
901 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
902 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
903 a dynamically loaded object remove old l_initfini list.
904 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
905 remove some dynamically allocated memory blocks in the dynamic
906 loading data structures.
907 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
908 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
909 Instead call _dl_check_map_versions only for the dependencies.
910 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
911 information of initial objects as not free-able.
912 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
913 element.
914
915 * elf/filter.c: Call mtrace.
916 * elf/restest1.c: Likewise. Close the objects.
917 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
918 debug information.
919
920 * elf/constload1.c: Add comment explaining not freed memory.
921
a0c9a28b
AJ
9222000-08-18 Andreas Jaeger <aj@suse.de>
923
924 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
925 alignment for structs stat and stat64.
926 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
927
de9bd685
UD
9282000-08-17 Ulrich Drepper <drepper@redhat.com>
929
09970c4e
UD
930 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
931 handling. Patch by Richard Henderson <rth@twiddle.net>.
932
de9bd685
UD
933 * nss/Versions: Remove libnss_db information.
934
4c4b9518
UD
9352000-08-16 Jakub Jelinek <jakub@redhat.com>
936
937 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
938 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
939 * sysdeps/sparc/fpu/fegetexcept.c: New file.
940 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
941
942 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
943 to match Solaris.
944
0f6b172f
UD
9452000-08-17 Ulrich Drepper <drepper@redhat.com>
946
319b400b
UD
947 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
948 (_FPU_SETCW): Likewise.
949 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
950
0f6b172f
UD
951 * stdio-common/printf_fp.c: Fix chars_needed computation.
952 Patch by Greg McGary <greg@mcgary.org>.
953
9542000-08-17 Jakub Jelinek <jakub@redhat.com>
955
956 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
957 _dl_loaded are NULL.
958
9592000-08-17 Jakub Jelinek <jakub@redhat.com>
960
961 * manual/arith.texi (feholdexcept): Returns 0 on success.
962
9632000-08-17 Andreas Jaeger <aj@suse.de>
964
965 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
966 (ifr_newname): New.
967 Reported by Andi Kleen <ak@suse.de>.
968
9692000-08-17 Jakub Jelinek <jakub@redhat.com>
970
971 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
972 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
973 * sysdeps/alpha/fpu/fegetexcept.c: New file.
974
9752000-08-16 Jakub Jelinek <jakub@redhat.com>
976
977 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
978 of buf->st_ino and kbuf->st_ino, not __st_ino.
979 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
980 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
981 directive so that only linux/getdents.c is used, not some
982 architecture specific one.
983
9842000-08-16 Jakub Jelinek <jakub@redhat.com>
985
986 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
987 enabled, not disabled exceptions.
988 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
989 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
990
e64911d1
GM
9912000-08-17 Greg McGary <greg@mcgary.org>
992
993 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
994 from test program name when constructing suffix for $(LDLIBS-*).
995 (bounded-thread-library): New variable.
996 * crypt/Makefile
997 [build-shared, build-static] (libcrypt-dep): Remove variable.
998 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
999 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
1000 * linuxthreads/Makefile (libpthread, librt): Remove variables.
1001 (librt-tests): Add variable. (tests): Use it.
1002 [build-shared, build-static]
0f6b172f
UD
1003 ($(addprefix $(objpfx),$(tests)),
1004 $(addprefix $(objpfx),$(librt-tests))):
e64911d1
GM
1005 Consolidate individual dependencies.
1006 [build-bounded]
1007 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
1008 Add dependencies.
1009 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
1010 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
1011 * misc/Makefile
1012 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
1013 * rt/Makefile
1014 [build-shared, build-static]
1015 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
1016 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
1017
10182000-08-17 Greg McGary <greg@mcgary.org>
1019
1020 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
1021 * sysdeps/unix/make-syscalls.sh: Likewise.
1022 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1023 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1024 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1025 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
1026 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
1027
10282000-08-17 Greg McGary <greg@mcgary.org>
1029
1030 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
1031 Wrap extern symbols in BP_SYM ().
1032 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1033 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1034 * sysdeps/i386/fpu/s_remquo.S: Likewise.
1035 * sysdeps/i386/fpu/s_remquof.S: Likewise.
1036 * sysdeps/i386/fpu/s_remquol.S: Likewise.
1037 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1038 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1039 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1040 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1041 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1042
9a81430b
AS
10432000-08-16 Andreas Schwab <schwab@suse.de>
1044
1045 * sysdeps/m68k/fpu/fegetexcept.c: New file.
1046 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
1047 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
1048
1ebba33e
UD
10492000-08-15 Ulrich Drepper <drepper@redhat.com>
1050
1051 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
1052 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
1053 * elf/dl-support.c: Define _nl_nloaded.
1054 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
1055 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
1056 object to global list.
1057 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
1058 from _dl_loaded list.
1059 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1060 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
1061 number here.
1062
1063 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
1064 unmask, exceptions.
1065 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
1066 exceptions.
1067 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
1068
6784ab92
AJ
10692000-08-16 Andreas Jaeger <aj@suse.de>
1070
1071 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
1072
9df76933
UD
10732000-08-15 Marko Myllynen <myllynen@lut.fi>
1074
1075 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
1076
5763742f
UD
10772000-08-15 Ulrich Drepper <drepper@redhat.com>
1078
3a41e723
UD
1079 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
1080 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
1081 (sysdep_routines): Add oldgetrlimit64.
1082 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
1083 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1084
0f6b172f 1085 * include/link.h: Undo last patches. Hurd now has stat64.
5763742f
UD
1086 * elf/Makefile: Likewise.
1087 * elf/dl-load.c: Likewise.
1088 * elf/dl-misc.c: Likewise.
1089 * elf/dl-profile.c: Likewise.
1090 * sysdeps/generic/sysd-link.h: Removed.
1091 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
1092
1093 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
1094 thread event callback function.
1095 (__aio_notify_only): Use function above.
1096 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
1097
dee6b86d
MK
10982000-08-16 Mark Kettenis <kettenis@gnu.org>
1099
1100 * sysdeps/mach/hurd/lseek64.c: New file.
1101
724000bc
MK
11022000-08-15 Mark Kettenis <kettenis@gnu.org>
1103
1104 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
1105 Remove typedefs.
1106 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
1107 typedefs.
1108 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
1109 typedefs.
1110 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
1111
fd811dc6
MK
11122000-08-15 Mark Kettenis <kettenis@gnu.org>
1113
1114 * sysdeps/mach/hurd/xstatconv.c: New file.
1115 * sysdeps/mach/hurd/fxstat64.c: New file.
1116 * sysdeps/mach/hurd/lxstat64.c: New file.
1117 * sysdeps/mach/hurd/xstat64.c: New file.
1118 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
1119
3142475c
MK
11202000-08-15 Mark Kettenis <kettenis@gnu.org>
1121
1122 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
1123 Initialize, needed for change in common symbol handling in newer
1124 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
1125
07a3d63e
UD
11262000-08-15 Ulrich Drepper <drepper@redhat.com>
1127
805d2e7d
UD
1128 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
1129 * elf/constload2.c: Add destructor to unload constload3.
1130
fc7f617d
UD
1131 * include/link.h: Include sysd-link.h.
1132 * sysdeps/generic/sysd-link.h: New file.
1133 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
1134 * elf/Makefile (distribute): Add sysd-link.h.
1135 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
1136 types and functions directly.
1137 * elf/dl-misc.c: Likewise.
1138 * elf/dl-profile.c: Likewise.
1139
1140 * elf/loadfail.c (main): Close all successfully loaded objects.
1141
07a3d63e
UD
1142 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
1143 free wd.
1144 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
1145 there is already one.
1146
1147 * elf/dl-close.c: Pretty print.
1148
a6bd56c7
UD
11492000-08-14 Ulrich Drepper <drepper@redhat.com>
1150
b8fd5502
UD
1151 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
1152 global (with file scope). Add __libc_subfreeres function to free the
1153 string.
1154 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
1155 in ttyname function.
1156
1157 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
1158
1159 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
1160
1161 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
1162 mapping them to /x5c and /x7e respectively.
1163
a6bd56c7
UD
1164 * locale/programs/ld-ctype.c: Add support for more definitions after
1165 copy statement.
1166
14860991
UD
11672000-08-14 Jakub Jelinek <jakub@redhat.com>
1168
1169 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
1170 * sysdeps/unix/sysv/linux/kernel-features.h
1171 (__ASSUME_GETDENTS64_SYSCALL): Define.
1172 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
1173 syscall if available to get d_type fields.
1174 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
1175 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
1176 __lxstat64): Export at GLIBC_2.2.
1177 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
1178 Likewise.
1179 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
1180 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
1181 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
1182 getdirentries64, versionsort64): Remove.
1183 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
1184 getdirentries64, versionsort64): Remove.
1185
47b853e8
UD
11862000-08-13 Ulrich Drepper <drepper@redhat.com>
1187
1188 * posix/Makefile: Remove rules to generate glob package.
1189
1190 * posix/Makefile (tests): Add tst-regexloc.
1191 (tst-regexloc-ENV): Add LOCPATH.
1192 * posix/tst-regexloc.c: New file.
1193
91bc38d0
UD
11942000-08-12 Andreas Jaeger <aj@suse.de>
1195
1196 * include/features.h (__STDC_ISO_10646__): Define.
1197 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
1198
7e3399b3
UD
11992000-08-13 Ulrich Drepper <drepper@redhat.com>
1200
91bc38d0
UD
1201 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
1202
1203 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
1204 for revision 6 and up).
1205
1206 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
1207 including <time.h>.
1208 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
1209 to get definitions of just these types.
1210
1211 * signal/signal.h: Define thread signal handling functions also for
1212 POSIX95.
1213
1214 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
1215 POSIX95.
1216 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1217 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
1218 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1219 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1220
1221 * sysvipc/sys/shm.h: Define pid_t for XPG.
1222
8de72f53
UD
1223 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
1224 they are not anymore required here.
1225
91bc38d0
UD
1226 * wcsmbs/wchar.h: Make the various wide char string and stream
1227 functions available for the respective XPG versions.
1228
7e3399b3
UD
1229 * nss/Makefile: Remove rules to build and distribute nss_db.
1230
1231 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
1232 * sysdeps/generic/scandir64.c: Likewise.
1233 * sysdeps/generic/versionsort64.c: Likewise.
1234
319d719d
UD
12352000-08-13 Ulrich Drepper <drepper@redhat.com>
1236 Benjamin Koznik <bkoz@redhat.com>
1237
1238 * libio/fileops.c: Merge with libstdc++-v3.
1239 * libio/genops.c: Likewise.
1240 * libio/iofclose.c: Likewise.
1241 * libio/iofopen.c: Likewise.
1242 * libio/iofwide.c: Likewise.
1243 * libio/libio.h: Likewise.
1244 * libio/libioP.h: Likewise.
1245 * libio/stdfiles.c: Likewise.
1246 * libio/stdio.c: Likewise.
1247 * libio/wfileops.c: Likewise.
1248 * libio/wgenops.c: Likewise.
1249
1250 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
1251
8868f97b
UD
12522000-08-12 Ulrich Drepper <drepper@redhat.com>
1253
8a82cc30
UD
1254 * locale/programs/localedef.c: Implement --prefix option to allow
1255 writing in standard places of alternative install directories.
1256
8868f97b
UD
1257 * posix/regex.c (compile_range): Implement collation sequence
1258 handling for glibc. Use simple character ordering otherwise and
1259 not strcoll.
1260
451fc032
UD
12612000-08-12 Mark Kettenis <kettenis@gnu.org>
1262
1263 * sysdeps/generic/scandir64.c: Include <dirent.h>.
1264
2390667f
UD
12652000-08-12 Andreas Jaeger <aj@suse.de>
1266
1267 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
1268 __USE_FILE_OFFSET64 correctly for locking.
1269 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1270
00c02822
UD
12712000-08-12 Jakub Jelinek <jakub@redhat.com>
1272
1273 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1274 Define for 2.4.1 on sparc as well.
1275 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
1276 for F_GETLK64, F_SETLK64, and F_SETLKW64.
1277 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
1278 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
1279
977588cd
UD
12802000-08-12 Ulrich Drepper <drepper@redhat.com>
1281
1282 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
1283 defined.
1284
590a6393
UD
12852000-08-12 Andreas Jaeger <aj@suse.de>
1286
facd11c2
AJ
1287 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
1288 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
1289
e762517d
AJ
1290 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
1291 mips2 for assembler.
1292
590a6393
UD
1293 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
1294 if fnctl64 is not available for F_*LK*64.
1295
1296 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
1297
21f6a100
UD
12982000-08-12 Ulrich Drepper <drepper@redhat.com>
1299
1300 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1301 Define for 2.4.1 on x86.
1302 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
1303 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
1304 for F_GETLK64, F_SETLK64, and F_SETLKW64.
1305
1306 * dirent/dirent.h: Define DT_WHT.
1307
1308 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
1309 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
1310 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
1311 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
1312 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
1313 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
1314
56ddf355
UD
13152000-08-11 Ulrich Drepper <drepper@redhat.com>
1316
8337f053
UD
1317 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
1318 lookup, pass pointer to array with NULL pointer [PR libc/1858].
11a9c0ce
UD
1319 * inet/Makefile (tests): Add tst-gethnm.
1320 * inet/tst-gethnm.c: New file.
8337f053 1321
56ddf355
UD
1322 * rt/aio_cancel.c: If canceling a specific request which is running
1323 *really* do nothing.
1324 * rt/aio_misc.h: Add `done' to states of a request.
1325 * rt/aio_misc.c: Add several tests for the correct state.
1326 Simplify request table memory handling.
1327
13282000-08-10 Jakub Jelinek <jakub@redhat.com>
1329
1330 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
1331 * dirent/scandir64.c: Move...
1332 * sysdeps/generic/scandir64.c: ...here.
1333 * dirent/alphasort64.c: Move...
1334 * sysdeps/generic/alphasort64.c: ...here.
1335 * dirent/versionsort64.c: Move...
1336 * sysdeps/generic/versionsort64.c: ...here.
1337 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
1338 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
1339 Export symbols at GLIBC_2.2.
1340 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
1341 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
1342 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
1343 __versionsort64): Add prototypes.
1344 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
1345 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
1346 unused prototype.
1347 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
1348 and GLIBC_2.2.
1349 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
1350 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
1351 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
1352 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
1353 __u_quad_t.
1354 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
1355 Adjust for kernel-2.4.0-test6 layout.
1356 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
1357 GLIBC_2.1 and GLIBC_2.2.
1358 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
1359 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
1360 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
1361 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
1362 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
1363 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
1364 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
1365 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
1366 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
1367 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
1368 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
1369 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
1370 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
1371 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
1372 __u_quad_t.
1373 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
1374 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
1375 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
1376 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
1377 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
1378 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
1379 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
1380 __u_quad_t.
1381 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
1382 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
1383 Define.
1384 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
1385 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
1386 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
1387 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
1388 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
1389 Define.
1390 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
1391 alpha/readdir.c.
1392 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
1393 alpha/readdir_r.c
1394 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
1395 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
1396 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
1397 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
1398 st_ino from __st_ino.
1399 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
1400 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
1401 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
1402 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
1403 set __st_ino in addition to st_ino.
1404 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
1405 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
1406 __old_getdents64 as well.
1407 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
1408 getdirentries64 and old_getdirentries64 as well.
1409 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
1410 __GETDENTS): Define.
1411 (GETDENTS64): Remove.
1412 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
1413 Define.
1414 (GETDENTS64): Remove.
1415 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
1416 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
1417 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
1418 as well.
1419 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
1420 __old_readdir64_r as well.
1421 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1422 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
1423
1a5b42af
UD
14242000-08-08 Jes Sorensen <jes@linuxcare.com>
1425
56ddf355 1426 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
1a5b42af
UD
1427 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
1428 define of the kernel.
1429 Add missing __SEG_PSTKOVF definition.
1430 Adjust the padding of struct siginfo and struct sigevent to
1431 match the fact that sigval_t is 64 bit.
1432
3459f702
UD
14332000-08-10 Ulrich Drepper <drepper@redhat.com>
1434
1435 * timezone/zic.c: Update from tzcode2000f.
1436 * timezone/australasia: Update from tzdata2000f.
1437 * timezone/europe: Likewise.
1438 * timezone/southamerica: Likewise.
1439 * timezone/yearistype: Likewise.
1440
5c75f32d
AJ
14412000-08-10 Andreas Jaeger <aj@suse.de>
1442
1443 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
1444 stat with current MIPS kernel.
1445
835bf8e0
UD
14462000-08-01 Mark Kettenis <kettenis@gnu.org>
1447
1448 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
1449 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
1450 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
1451 Remove the junk that's only relevant in the Linux kernel itself.
1452 Add a warning saying that this file is now obsolete, and include
1453 <sys/procfs.h>.
1454 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
1455 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
1456 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
1457 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
1458 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
1459 and add the notice that the file is primarily there for GDB.
1460 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
1461
14622000-08-09 Jakub Jelinek <jakub@redhat.com>
1463
1464 * time/tzfile.c (__tzfile_compute): __tzstring zones
1465 from zone_names.
1466
14672000-08-09 Jakub Jelinek <jakub@redhat.com>
1468
1469 * resolv/resolv.h (__res_state): Surround prototype with
1470 __BEGIN_DECLS/__END_DECLS.
1471 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
1472
14732000-08-04 Jes Sorensen <jes@linuxcare.com>
1474
1475 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
1476 Make independant of asm/resource.h from the Linux kernel.
1477
14782000-08-06 Bruno Haible <haible@clisp.cons.org>
1479
1480 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
1481
14822000-08-06 Bruno Haible <haible@clisp.cons.org>
1483
1484 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
1485 * locale/Makefile (locale-CPPFLAGS): Likewise.
1486
14872000-08-09 Ulrich Drepper <drepper@redhat.com>
1488
1489 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
1490 for AMD processors.
1491
14922000-08-03 Jakub Jelinek <jakub@redhat.com>
1493
1494 * misc/Versions (mincore): Export at GLIBC_2.2.
1495
14962000-08-03 Bruno Haible <haible@clisp.cons.org>
1497
1498 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
1499
36f7b1df
MK
15002000-08-02 Mark Kettenis <kettenis@gnu.org>
1501
1502 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
1503 socketpair. Made socketpair a weak alias.
1504 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
1505 __socketpair. Use S_IFIFO protocol to make pipes POSIX
1506 conforming, but fall back on the old protocol if the socket server
1507 doesn't support it.
1508 * include/sys/socket.h: Add prototype for __socketpair.
1509
1d2f626e
AS
15102000-08-09 Andreas Schwab <schwab@suse.de>
1511
1000d1e5
AS
1512 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
1513 long long modifier is seen.
1514
bce0e517
AS
1515 * elf/nodelete.c (do_test): Remove reference to undefined member
1516 sa_restorer.
1517 * rt/tst-aio4.c (do_test): Likewise.
1518
1d2f626e
AS
1519 * configure.in: Add `-lm' when checking for libgd.
1520 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
1521 linking.
1522
2bbc70d5
AJ
15232000-08-09 Andreas Jaeger <aj@suse.de>
1524
1525 * configure.in: Change required make versions.
1526
1527 * manual/install.texi (Tools for Compilation): Document required
1528 make version.
1529 (Supported Configurations): Update list of supported
1530 configurations.
835bf8e0 1531
d364e525
UD
15322000-08-08 Ulrich Drepper <drepper@redhat.com>
1533
1534 * locale/linereader.c (get_string): Don't print an error is a string
1535 contains an unknown character.
1536
91933d23
UD
15372000-08-06 Ulrich Drepper <drepper@redhat.com>
1538
1539 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
1540 (new_symbol): Take new parameters with name of the symbol.
1541 Adjust callers.
1542 (handle_ellipsis): Don't only allow character symbols.
1543 (collate_read): Allow string of collating elements contain invalid
1544 characters; ignore entry in this case.
1545 Handle ellipsis of collating symbols before first order_start.
1546 Allow ellipsis in state 0.
1547
21b2be88
UD
15482000-08-04 Ulrich Drepper <drepper@redhat.com>
1549
1550 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
1551 error message.
1552 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
1553
13550428
GM
15542000-08-04 Greg McGary <greg@mcgary.org>
1555
1556 * posix/regex.c (SET_HIGH_BOUND): New macro.
1557 (MOVE_BUFFER_POINTER): Use it.
1558 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
1559 (EXTEND_BUFFER): Use it.
1560
faf8ccab
UD
15612000-08-03 Ulrich Drepper <drepper@redhat.com>
1562
1563 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
1564 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
1565 _wide_data but from _IO_FILE directly.
1566 * libio/iofclose.c: Likewise.
1567 * libio/wfileops.c: Likewise.
1568
1569 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
1570 * libio/libioP.h: Change prototypes.
1571
7f6f3e35
GM
15722000-08-03 Greg McGary <greg@mcgary.org>
1573
eb48f491
GM
1574 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
1575 frame pointer early so that we save caller's frame pointer.
1576 * sysdeps/i386/elf/setjmp.S: Likewise.
1577
7f6f3e35
GM
1578 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
1579 * io/test-utime.c: Test passing NULL as utimbuf* arg.
1580
1581 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
1582 (MOVE_BUFFER_POINTER): Handle high_bound properly.
1583 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
1584
139a4d95
UD
15852000-08-03 Ulrich Drepper <drepper@redhat.com>
1586
1587 * iconvdata/big5.c: Updated.
1588 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
1589
aaf688e8
UD
15902000-08-02 Ulrich Drepper <drepper@redhat.com>
1591
1592 * Makeconfig (all-subdirs): Add conform.
1593 * conform/Makefile: Include ../Rules.
1594
1595 * Makefile (README): Add rules to generate here as well.
1596
ea1c96f5
UD
15972000-08-02 Ulrich Drepper <drepper@redhat.com>
1598
bf3888be
UD
1599 * version.h (VERSION): Bump to 2.1.92.
1600
74dd1fee
UD
1601 * sysdeps/ia64/Dist: Add _mcount.S.
1602
1603 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
1604
1605 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
1606
1607 * elf/Makefile (distribute): Add missing modules.
1608
349e00ef
UD
1609 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
1610
21b2be88 1611 * posix/regex.c (compile_range): Translate range start and end
f6cfb13f
UD
1612 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
1613
cfd57cdc
UD
1614 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
1615 asm/resource.h.
1616
ea1c96f5
UD
1617 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
1618
847b055c
AJ
16192000-08-02 Andreas Jaeger <aj@suse.de>
1620
3d2b5f69
AJ
1621 * elf/elf.h (EM_S390): Added.
1622 (R_390_*): New relocs for S390.
1623
847b055c
AJ
1624 * sysdeps/unix/sysv/linux/s390/Dist: New file.
1625 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
1626 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
1627 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
1628 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
1629 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1630 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
1631 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
1632 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
1633 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
1634 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
1635 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
1636 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
1637 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
1638 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
1639 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
1640 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
1641 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
1642 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
1643 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
1644 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
1645 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
1646 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
1647 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
1648 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
1649 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
1650 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
1651 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
1652 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
1653 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
1654 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
1655 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
1656 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
1657 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
1658 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
1659 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
1660 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
1661 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
1662 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
1663 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
1664 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
1665 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
1666 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
1667 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
1668 * sysdeps/s390/sysdep.h: New file.
1669 * sysdeps/s390/sys/ucontext.h: New file.
1670 * sysdeps/s390/sub_n.S: New file.
1671 * sysdeps/s390/strncpy.S: New file.
1672 * sysdeps/s390/strcpy.S: New file.
1673 * sysdeps/s390/stackinfo.h: New file.
1674 * sysdeps/s390/setjmp.S: New file.
1675 * sysdeps/s390/s390-mcount.S: New file.
1676 * sysdeps/s390/mul_1.S: New file.
1677 * sysdeps/s390/memusage.h: New file.
1678 * sysdeps/s390/memset.S: New file.
1679 * sysdeps/s390/memcpy.S: New file.
1680 * sysdeps/s390/memchr.S: New file.
1681 * sysdeps/s390/machine-gmon.h: New file.
1682 * sysdeps/s390/ldbl2mpn.c: New file.
1683 * sysdeps/s390/gmp-mparam.h: New file.
1684 * sysdeps/s390/fpu/fpu_control.h: New file.
1685 * sysdeps/s390/fpu/fesetround.c: New file.
1686 * sysdeps/s390/fpu/fegetround.c: New file.
1687 * sysdeps/s390/fpu/fclrexcpt.c: New file.
1688 * sysdeps/s390/fpu/bits/fenv.h: New file.
1689 * sysdeps/s390/ffs.c: New file.
1690 * sysdeps/s390/elf/start.S: New file.
1691 * sysdeps/s390/elf/setjmp.S: New file.
1692 * sysdeps/s390/elf/bsd-setjmp.S: New file.
1693 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
1694 * sysdeps/s390/dl-machine.h: New file.
1695 * sysdeps/s390/bzero.S: New file.
1696 * sysdeps/s390/bsd-setjmp.S: New file.
1697 * sysdeps/s390/bsd-_setjmp.S: New file.
1698 * sysdeps/s390/bits/string.h: New file.
1699 * sysdeps/s390/bits/setjmp.h: New file.
1700 * sysdeps/s390/bits/huge_val.h: New file.
1701 * sysdeps/s390/bits/endian.h: New file.
1702 * sysdeps/s390/bits/byteswap.h: New file.
1703 * sysdeps/s390/bcopy.S: New file.
1704 * sysdeps/s390/backtrace.c: New file.
1705 * sysdeps/s390/atomicity.h: New file.
1706 * sysdeps/s390/asm-syntax.h: New file.
1707 * sysdeps/s390/addmul_1.S: New file.
1708 * sysdeps/s390/add_n.S: New file.
1709 * sysdeps/s390/abort-instr.h: New file.
1710 * sysdeps/s390/__longjmp.c: New file.
1711 * sysdeps/s390/Makefile: New file.
1712 * sysdeps/s390/Implies: New file.
1713 * sysdeps/s390/Dist: New file.
1714 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
1715
ca8d5a5f
UD
17162000-08-01 Ulrich Drepper <drepper@redhat.com>
1717
be18eced
UD
1718 Remove incompatible IPv6 extension of RPC.
1719 * sunrpc/Makefile: Undo changes.
1720 * sunrpc/rpc_main.c: Likewise.
1721 * sunrpc/rpc/clnt.h: Likewise.
1722 * sunrpc/rpc/svc.h: Likewise.
1723 * sunrpc/bindrsvprt6.c: Removed.
1724 * sunrpc/clnt_tcp6.c: Removed.
1725 * sunrpc/clnt_udp6.c: Removed.
1726 * sunrpc/svc_tcp6.c: Removed.
1727 * sunrpc/svc_udp6.c: Removed.
1728
1729 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
1730 dgettext, and dcgettetxt.
1731
1732 * intl/locale.alias: Update japanese aliases.
1733
ca8d5a5f
UD
1734 * sysdeps/ia64/bits/byteswap.h: New file.
1735 Patch by Dan Pop <Dan.Pop@cern.ch>.
1736
1737 * misc/sys/cdefs.h: Define __attribute_format_arg__.
1738 * intl/libintl.h: Use it here instead of using __attribute__ directly.
1739
17402000-07-13 H.J. Lu <hjl@gnu.org>
1741
1742 * posix/regex.c (re_max_failures): Set to 4000.
1743
8fb81470
UD
17442000-08-01 Ulrich Drepper <drepper@redhat.com>
1745
1746 * gnulib/Makefile (tests): Add tst-gcc.
1747 * gnulib/tst-gcc.c: New file.
1748
1749 * assert/Makefile (routines): Add __assert.
1750 * assert/Versions: Export __assert for glibc 2.2.
1751 * assert/__assert.c: New file.
1752 * assert/assert.h: Declare __assert.
1753
17542000-07-27 Bruno Haible <haible@clisp.cons.org>
1755
1756 * locale/localeinfo.h (_ISCTYPE): New macro.
1757 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
1758 LC_CTYPE locale format.
1759 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
1760 (ctype_output): Output class_b[nr] right before class_3level[nr].
1761 (allocate_arrays): Fill class_b, similarly to class_3level.
1762
925e31d9
UD
17632000-08-01 Ulrich Drepper <drepper@redhat.com>
1764 Joseph S. Myers <jsm28@cam.ac.uk>
1765
1766 * math/tgmath.h: Make standard compliant. Don't ask how.
1767
17682000-07-04 H.J. Lu <hjl@gnu.org>
1769
1770 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
1771 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
1772 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
1773
17742000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1775
1776 * include/features.h (_XOPEN_SOURCE): Update the explanation.
1777 (__USE_LARGEFILE): Add an explanation.
1778 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
1779 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
1780
17812000-08-01 Ulrich Drepper <drepper@redhat.com>
1782
1783 * libio/Makefile: Enable exception handling for genops, wgenops,
1784 fileops, and wfileops.
1785
15f033cf
MK
17862000-07-29 Mark Kettenis <kettenis@gnu.org>
1787
1788 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
1789 acount that elf/rtld's main program might remove some varibales
1790 from the environment if we're trying to be secure. Move the Hurd
1791 startup data if necessary, or, if we there is no startup data,
1792 make sure the magical convention that ARGV[0] is stored just after
1793 the environment list.
1794
b73204bf
UD
17952000-08-01 Philip Blundell <philb@gnu.org>
1796
1797 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
1798 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
1799 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
1800 oldsetrlimit for GLIBC_2.0.
1801
5cc90078
AJ
18022000-08-01 Andreas Jaeger <aj@suse.de>
1803
9bd0bec2 1804 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
b73204bf
UD
1805 (LINE_PARSER): Allow any number of spaces between ip address and
1806 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
9bd0bec2 1807
eba8c0e2
AJ
1808 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
1809
1810 * include/netdb.h: Remove getipnodebyaddr and friends, leave
1811 constants in.
1812
1813 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
1814 _nss_nisplus_getipnodebyname_r.
1815
1816 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
1817 now, getipnodebyname is deprecated.
b73204bf
UD
1818 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
1819 Likewise.
eba8c0e2
AJ
1820
1821 * inet/Makefile (routines): Don't build getipnodebyaddr and
1822 friends.
1823
4df4f8b1
AJ
1824 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
1825
5cc90078
AJ
1826 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
1827
1828 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
1829
1830 * wctype/Makefile (distribute): Add wchar-lookup.h.
1831
4df4f8b1 1832 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
5cc90078
AJ
1833
1834 * iconvdata/Makefile (distribute): Add isiri-3342.h.
1835
db54bbfb
AJ
18362000-08-01 Andreas Schwab <schwab@suse.de>
1837
b73204bf 1838 * Make-dist (dist): Resolve `..' in file names.
db54bbfb 1839
d9fd4f33
AJ
18402000-08-01 Andreas Jaeger <aj@suse.de>
1841
1842 * stdio-common/Makefile (distribute): Remove removed files, add
1843 new files.
1844
1845 * Makefile (distribute): Remove include/db_185.h and db.h.
1846
1847 * include/db_185.h: Remove, it's not needed anymore.
1848 * include/db.h: Likewise.
1849
6eace24c
UD
18502000-07-31 Ulrich Drepper <drepper@redhat.com>
1851
68c685f9 1852 * inet/Makefile (tests): Remove tst-ipnode.
6eace24c
UD
1853 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
1854 now.
1855
ed80b9ee
UD
18562000-07-31 Jes Sorensen <jes@linuxcare.com>
1857
1858 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
1859 endp statements have already been added.
1860
18612000-04-18 David Mosberger <davidm@hpl.hp.com>
1862
1863 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
1864 <sysdeps/ia64/sysdep.h>.
1865
1866 * sysdeps/ia64/_mcount.S: New file.
1867
1868 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
1869 __gmon_start__. Fix up extraneous whitespace.
1870
18712000-01-12 H.J. Lu <hjl@gnu.org>
1872
1873 * sysdeps/ia64/elf/initfini.c: New file.
1874
18752000-07-31 Jes Sorensen <jes@linuxcare.com>
1876
1877 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
1878 dependency between branch and ar.pfs write.
1879
a535ce14
UD
18802000-07-31 H.J. Lu <hjl@gnu.org>
1881
1882 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
1883 handle the wchar_t array.
1884
b3cedb09
UD
18852000-07-31 Ulrich Drepper <drepper@redhat.com>
1886
1887 * iconvdata/gb18030.c: Don't map to and from positions in ISO
1888 10646 which are not yet assigned.
1889 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
1890
b669ab02
UD
18912000-07-31 Andreas Jaeger <aj@suse.de>
1892
1893 * inet/Versions: Remove getipnodebyaddr and friends from
1894 GLIBC_2.2.
1895
1896 * resolv/netdb.h: Remove getipnodebyaddr and friends.
1897
5134584a
UD
18982000-07-30 Bruno Haible <haible@clisp.cons.org>
1899
1900 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
1901 ch >= 0x81 && ch2 < 0x40 as invalid.
1902
19032000-07-30 Bruno Haible <haible@clisp.cons.org>
1904
1905 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
1906 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
1907
19082000-07-30 Bruno Haible <haible@clisp.cons.org>
1909
1910 * iconvdata/johab.c (BODY for TO_LOOP): After calling
1911 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
1912
19132000-07-30 Bruno Haible <haible@clisp.cons.org>
1914
1915 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
1916 0xb8.
1917 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
1918
19192000-07-30 Bruno Haible <haible@clisp.cons.org>
1920
1921 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
1922
19232000-07-30 Bruno Haible <haible@clisp.cons.org>
1924
1925 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
1926 (from_ucs4): Change values of U+00A4 and U+00ED.
1927 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
1928
19292000-07-30 Bruno Haible <haible@clisp.cons.org>
1930
1931 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
1932 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
1933
19342000-07-30 Bruno Haible <haible@clisp.cons.org>
1935
1936 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
1937 * iconvdata/isiri-3342.h: New file.
1938 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
1939 treat 0x80 as a gap.
1940
19412000-07-30 Bruno Haible <haible@clisp.cons.org>
1942
1943 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
1944 (utf8_encode): Use simple shifts instead. Fix return value.
1945
89533d41
UD
19462000-07-31 Ulrich Drepper <drepper@redhat.com>
1947
1948 * timezone/private.h: Update from tzcode2000e.
1949 * timezone/asia: Update from tzdata2000e.
1950 * timezone/australasia: Likewise.
1951 * timezone/europe: Likewise.
1952 * timezone/northamerica: Likewise.
1953 * timezone/zone-tab: Likewise.
1954
9316fb42
AJ
19552000-07-30 Ralf Baechle <ralf@gnu.org>
1956
1957 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
1958 the order of struct sigaltstack members is different.
1959
e6cc1ee3
UD
19602000-07-26 Philip Blundell <philb@gnu.org>
1961
1962 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
1963
a9706118
UD
19642000-07-29 Ulrich Drepper <drepper@redhat.com>
1965
1966 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
1967 * locale/programs/ld-ctype.c: Adjust for this.
1968
1969 * locale/programs/ld-collate.c: Add more alignment checks.
1970 * locale/string/strcoll.c: Likewise.
1971
19722000-07-30 Mark Kettenis <kettenis@gnu.org>
1973
1974 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
1975 outside USE_IN_LIBIO block.
1976
fb032fbd
UD
19772000-07-26 Philip Blundell <philb@gnu.org>
1978
1979 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
1980 (elf_machine_rel): Use it for out-of-range PC24 relocs.
1981
497b8ef4
UD
19822000-07-28 Philip Blundell <philb@gnu.org>
1983
1984 * math/test-fpucw.c: Ignore reserved bits in control word.
1985
19862000-07-28 Philip Blundell <philb@gnu.org>
1987
1988 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
1989 (ret): Redefine to PSEUDO_RET.
1990 (PSEUDO): Remove jump to syscall_error.
1991
19922000-07-29 Mark Kettenis <kettenis@gnu.org>
1993
1994 * resolv/README: Add some information about using the resolver in
1995 multi-threaded code and with C++. Spelling fixes.
1996
19972000-07-29 Mark Kettenis <kettenis@gnu.org>
1998
1999 * resolv/resolv.h (struct __sockaddr_in): Remove.
2000 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
2001
41d998a6
GM
20022000-07-29 Greg McGary <greg@mcgary.org>
2003
2004 * Rules (test-bp-inputs, make-test-out): New variables.
2005 ($(objpfx)%-bp.out): New rule.
2006 ($(objpfx)%.out): Rewrite in terms of new variables.
2007
2008 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
2009 internal function that uses vtable.
2010 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2011 * libio/vswprintf.c (_IO_vswprintf): Likewise.
2012
2013 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
2014 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
2015 (chunk_align): Likewise.
2016
2017 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
2018 in a way that conforms to decl, and avoids spurious bounds violation.
2019
2020 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
2021 * sysdeps/generic/frame.h: Likewise.
2022 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
2023 around return value.
2024 (__backtrace): Qualify frame-pointer chain and return address
2025 pointers as __unbounded. Wrap bounds around variable `current'.
2026 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
2027 around return value.
2028 (catch_segfault): Qualify frame-pointer chain and return address
2029 pointers as __unbounded. Wrap bounds around variable `current'.
2030 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
2031 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
497b8ef4
UD
2032 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
2033 __unbounded.
41d998a6
GM
2034 (__backtrace): Qualify frame-pointer chain and return address
2035 pointers as __unbounded. Wrap bounds around variable `current'.
2036
2037 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
2038 * sysdeps/i386/mul_1.S: Likewise.
2039 * sysdeps/i386/submul_1.S: Likewise.
2040 * sysdeps/i386/i586/addmul_1.S: Likewise.
2041 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
2042 * sysdeps/i386/i586/submul_1.S: Likewise.
2043
7f394842
AJ
20442000-07-27 Andreas Jaeger <aj@suse.de>
2045
2046 * libio/Depend: New file, libio needs localedata for tests.
2047 * posix/Depend: Likewise.
2048
69c69fe1
UD
20492000-07-28 Ulrich Drepper <drepper@redhat.com>
2050
2051 * stdio-common/_i18n_itoa.c: Removed.
2052 * stdio-common/_i18n_itoa.h: Removed.
2053 * stdio-common/_i18n_itowa.c: Removed.
2054 * stdio-common/_i18n_itowa.h: Removed.
2055 * stdio-common/_i18n_number.h: New file.
2056 * stdio-common/Depend: New file.
2057 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
2058 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
2059 printing. Change printing of numbers with locale specific digits to
2060 use new code in _i18n_number.h.
c1d835ce
UD
2061 * stdio-common/Makefile (routines): Remove _i18n_itoa and
2062 _i18n_itowa.
69c69fe1
UD
2063
2064 * stdio-common/bug13.c: Improve messages.
2065
2066 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
2067 (set_class_defaults): Always search also for Uxxxx names.
2068 Detect insufficient number of outdigits.
2069
2070 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
2071
5e463393
UD
20722000-07-27 Bruno Haible <haible@clisp.cons.org>
2073
2074 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
2075 _NL_CTYPE_MAP_NAMES.
2076 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
2077 * wctype/wcfuncs.c (towlower, towupper): Use them.
2078 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
2079 * wctype/wctrans.c (wctrans): Likewise.
2080 * wctype/wctrans_l.c (__wctrans_l): Likewise.
2081
20822000-07-27 Bruno Haible <haible@clisp.cons.org>
2083
2084 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
2085 Use the optimized version of this function outside glibc as well.
2086
eac4282f
UD
20872000-07-27 Jakub Jelinek <jakub@redhat.com>
2088
2089 * locale/indigits.h (indigit_value): Correct.
2090 * locale/indigitswc.h (indigitwc_value): Correct.
2091 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
2092 conversion, add GROUP checking for it, fix GROUP number
2093 conversion with strlen(thousands) > 1.
2094 Honour width correctly in the presence of floating
2095 decimal points and thousands separators.
2096 * stdio-common/tst-sscanf.c: New test.
2097 * stdio-common/Makefile: Add it to tests.
2098 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
2099 thousands separators and group argument is non-zero.
2100
f3cfed61
AJ
21012000-07-25 Bruno Haible <haible@clisp.cons.org>
2102
2103 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
2104 starts at GLIBC_2.2.
2105
af9a0841
AJ
21062000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2107
2108 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
2109 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
2110 _test_and_set.
2111 (headers): Add sys/tas.h.
2112 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
2113 GLIBC_2.2 from libc.
2114 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
2115 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
2116 _test_and_set.
2117
00213fe4
AJ
21182000-07-28 Andreas Jaeger <aj@suse.de>
2119
2120 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
2121
2122 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
2123 ($(objpfx)tst-dladdr.out): new.
2124 (tests): Add tst-dladdr.
2125 ($(objpfx)glrefmain): Use libdl.
2126
2127 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
2128 <vs@caldera.de>.
af9a0841 2129
51f46f92
UD
21302000-07-27 Jes Sorensen <jes@linuxcare.com>
2131
2132 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
2133 ftruncate(64) calls.
2134
e4a0c468
UD
21352000-07-27 Jes Sorensen <jes@linuxcare.com>
2136
2137 * intl/tst-translit.c: Include string.h to get prototype for
2138 strcmp().
2139
37d33038
UD
21402000-07-27 Jes Sorensen <jes@linuxcare.com>
2141
2142 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
2143 name and add weak alias for __fork.
2144
2145 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
2146 & pwrite to use __libc_<name> as strong names instead of
2147 __syscall_<name>.
2148
2149 * include/sched.h: Add clone2 prototype.
2150
21512000-07-26 Jes Sorensen <jes@linuxcare.com>
2152
2153 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
2154 procedure name twice.
2155
21562000-07-27 Philip Blundell <philb@gnu.org>
2157
2158 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
2159
aef116ea
AJ
21602000-07-27 Andreas Jaeger <aj@suse.de>
2161
64c81855
AJ
2162 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
2163 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
2164 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
eac4282f 2165 Reported by Andi Kleen <ak@suse.de>.
64c81855 2166
aef116ea
AJ
2167 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
2168 (do_wait): Test requests with aio_return64.
2169 (do_test): Change callers of do_wait.
2170
92806ee9
UD
21712000-07-26 Andreas Jaeger <aj@suse.de>
2172
2173 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
2174 (do_wait): Test requests with aio_return.
2175 (do_test): Change callers of do_wait.
2176
21772000-07-27 Ulrich Drepper <drepper@redhat.com>
2178
2179 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
2180 from request list. Don't do the list handling here, call
2181 __aio_remove_request.
2182 * rt/aio_misc.h: Add prototype for __aio_remove_request.
2183 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
2184 request might already be processed. Don't do the list handling
2185 here, call __aio_remove_request.
2186
2187 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
2188 LIO_DSYNC.
2189
2190 * rt/aio_misc.c: Add comment explaining why writer memory barriers
2191 are missing.
2192
da8f38c5
GM
21932000-07-27 Greg McGary <greg@mcgary.org>
2194
2195 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
2196 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
2197 in union init. Pass zero for ignored semnum arg to semctl.
2198 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
2199
d25c879d
GM
22002000-07-26 Greg McGary <greg@mcgary.org>
2201
2202 * sysdeps/gnu/bits/msq.h: Qualify kernel's
2203 data structure pointers as __unbounded.
2204 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2205 * sysdeps/generic/bp-semctl.h: New file.
2206 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
2207 pointers as __unbounded. Check bounds of syscall args.
2208 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2209 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
2210 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2211 * sysdeps/unix/sysv/linux/semop.c: Likewise.
2212 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
2213 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2214 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
2215 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
2216 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
2217 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
2218 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
2219 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
2220 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
2221 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
2222 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
2223 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
2224
476b6d7f
UD
22252000-07-26 Ulrich Drepper <drepper@redhat.com>
2226
2227 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
2228 by default.
2229 * locale/C-ctype.c: Likewise.
2230 * wcsmbs/wcsmbsload.c: Likewise.
2231
2ed5fd9a
GM
22322000-07-26 Greg McGary <greg@mcgary.org>
2233
2234 * Makeconfig (+link-bounded, link-libc-bounded,
2235 link-extra-libs-bounded): New variables.
2236 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
2237 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
2238 * Rules (tests-bp.out): New variable.
2239 (tests): Conditionally add BP tests.
2240 (binaries-bounded): Add variable and associated rule.
2241 * csu/Makefile [build-bounded] (extra-objs, install-lib):
2242 Move conditional stuff after place where condition is defined.
2243
2244 * malloc/malloc.c (bp-checks.h): Add #include.
2245 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
2246 (_bin_at): Add unbounded version of bin_at.
2247 (IAV, chunk_alloc): Use unbounded _bin_at.
2248 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
2249 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
2250 Wrap BOUNDED_N around return value.
2251 (chunk_realloc): Adjust oldsize once.
2252
2253 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
2254 (__ubp_memchr): Add correct decl.
2255 (_CHECK_STRING): Use __ubp_memchr.
2256 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2257 New alias for unbounded-pointer __memchr.
2258 * sysdeps/i386/memchr.S: Likewise.
2259 * sysdeps/ia64/memchr.S: Likewise.
2260 * sysdeps/m68k/memchr.S: Likewise.
2261 * sysdeps/sparc/sparc32/memchr.S: Likewise.
2262 * sysdeps/sparc/sparc64/memchr.S: Likewise.
2263 * sysdeps/vax/memchr.s: Likewise.
2264
2265 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
2266 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
2267 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
2268 * sysdeps/i386/i686/strtok.S: Likewise.
2269 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
2270 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
2271
2272 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
2273 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
2274
2275 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
2276 bounds of copy_result to mount_proc.
2277
e04b831a
UD
22782000-07-25 Bruno Haible <haible@clisp.cons.org>
2279
2280 * wctype/wctype.h (__wctrans_l): New declaration.
2281 * wctype/wctrans_l.c: New file.
2282 * wctype/Makefile (routines): Add wctrans_l.
2283
10301ff8
UD
22842000-07-26 Ulrich Drepper <drepper@redhat.com>
2285
2286 * posix/fnmatch_loop.c: Fixes for use outside glibc.
2287 Patch by MacGyver <macgyver@tos.net>.
2288
9881cbf8
AJ
22892000-07-26 Andreas Jaeger <aj@suse.de>
2290
e04b831a
UD
2291 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
2292 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
9881cbf8
AJ
2293 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
2294
2295 * rt/tst-aio.c (test_file): Fix typo.
2296 * rt/tst-aio64.c (test_file): Likewise.
2297
2298 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
2299 * rt/Makefile: Add rules to build and run tst-aio3.
2300
2301 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
2302 it's not needed and confuses only.
2303
438e8239
UD
23042000-07-26 Ulrich Drepper <drepper@redhat.com>
2305
2306 * resolv/res_init.c: Add support for nameserver communication with
2307 IPv6.
2308 * resolv/res_send.c: Likewise.
2309 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
2310 in nsaddrs field.
2311 Patch by <venaas@nvg.ntnu.no>.
2312
ec08818d
UD
23132000-07-25 Bruno Haible <haible@clisp.cons.org>
2314
2315 * locale/programs/ld-ctype.c (wctype_table_get): New function.
2316 (wcwidth_table_get): New function.
2317 (wcwidth_table_add): Call it.
2318 (wctrans_table_get): New function.
2319 (wctrans_table_add): Call it.
2320
b7ed26c6
UD
23212000-07-25 Ulrich Drepper <drepper@redhat.com>
2322
025a5afa
UD
2323 * rt/lio_listio.c (lio_listio): Always disable individual
2324 notification.
2325 * rt/Makefile: Add rules to build and run tst-aio2.
2326 * rt/tst-aio2.c: New file.
2327
b7ed26c6
UD
2328 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
2329 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
2330
3452aba8
UD
23312000-07-25 Mark Kettenis <kettenis@gnu.org>
2332
2333 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
2334 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
2335 leading and trailing spaces from host, user and domain name.
2336
23372000-07-25 Jes Sorensen <jes@linuxcare.com>
2338
2339 * csu/defs.awk: Add support for need_endp.
2340
23412000-07-25 Mark Kettenis <kettenis@gnu.org>
2342
2343 * resolv/resolv.h: Remove __P from res_send_qhook and
2344 res_send_rhook typedefs.
2345
23462000-07-25 Bruno Haible <haible@clisp.cons.org>
2347
2348 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
2349
16093625
UD
23502000-07-25 Ulrich Drepper <drepper@redhat.com>
2351
2352 * iconv/gconv_builtin.h: Add WCHAR_T alias.
2353
2d3d740b
MK
23542000-07-25 Mark Kettenis <kettenis@gnu.org>
2355
2356 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
2357 calling thread, set the cancellation flag and return success
2358 instead of EINTR.
2359
d54adfd9
UD
23602000-07-25 Ulrich Drepper <drepper@redhat.com>
2361
a3b231b7
UD
2362 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
2363 * libio/tst-widetext.c: New file.
2364 * libio/tst-widetext.input: New file.
2365
2366 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
2367
70e392a3 2368 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
d54adfd9
UD
2369 empty external buffer correctly.
2370
7f6ba52f
AJ
23712000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2372
2373 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
2374 __STRING(entry) and not #entry.
2375 (_RTLD_EPILOGUE): Likewise.
2376 * sysdeps/mips/mips64/dl-machine.h: Likewise.
2377
23782000-07-25 Andreas Jaeger <aj@suse.de>
2379
2380 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
2381 according to changes in test program, run also with static only
2382 builds.
2383 ($(objpfx)tst-printf.out): Likewise.
2384
2385 * stdio-common/tst-unbputc.sh: Likewise.
2386 * stdio-common/tst-printf.sh: Likewise.
2387
9494452c
UD
23882000-07-25 Ulrich Drepper <drepper@redhat.com>
2389
11fd973a
UD
2390 * libio/wfileops.c (_IO_wdo_write): Correct return value.
2391
9494452c
UD
2392 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
2393 loop.
2394
2395 * libio/fileops.c: Pretty print.
2396
ef446144
UD
23972000-07-23 Bruno Haible <haible@clisp.cons.org>
2398
2399 * wctype/wchar-lookup.h: New file.
2400 * wctype/iswctype.c: Include "wchar-lookup.h".
2401 (__iswctype): Support alternate locale format with 3-level tables.
2402 * wctype/iswctype_l.c (__iswctype_l): Likewise.
2403 * wctype/towctrans.c (__towctrans): Likewise.
2404 * wctype/towctrans_l.c (__towctrans_l): Likewise.
2405 * wctype/wcfuncs.c: Include "wchar-lookup.h".
2406 (__ctype32_wctype, __ctype32_wctrans): Declare external.
2407 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
2408 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
2409 __iswxdigit, towlower, towupper): Support alternate locale format
2410 with 3-level tables.
2411 * wctype/wcextra.c (iswblank): Likewise.
2412 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
2413 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
2414 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
2415 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
2416 format with 3-level tables.
2417 * wctype/wcextra_l.c (__iswblank_l): Likewise.
2418 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
2419 format, return a 3-level table pointer.
2420 * wctype/wctype_l.c (__wctype_l): Likewise.
2421 * wctype/wctrans.c (wctrans): Likewise.
2422 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
2423 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
2424 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
2425 (iswctype): Remove macro definition.
2426 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
2427 (internal_wcwidth): Support alternate locale format with 3-level
2428 tables.
2429 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
2430 New nl_items.
2431 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
2432 Define them as being type "word".
2433 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
2434 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
2435 __ctype32_width): New exported variables.
2436 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
2437 alternate locale format. Don't initialize __ctype_names and
2438 __ctype_width in the alternate locale format.
2439 * locale/programs/localedef.h (oldstyle_tables): New declaration.
2440 * locale/programs/localedef.c (oldstyle_tables): New variable.
2441 (OPT_OLDSTYLE): New macro.
2442 (options): Add --old-style option.
2443 (parse_opt): Handle --old-style option.
2444 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
2445 map_offset, class_3level, map_3level, width_3level members.
2446 (ctype_output): Support for alternate locale format: Computation of
2447 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
2448 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
2449 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
2450 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
2451 now contain both class and map tables.
2452 (struct wctype_table): New type.
2453 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
2454 functions.
2455 (struct wcwidth_table): New type.
2456 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
2457 functions.
2458 (struct wctrans_table): New type.
2459 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
2460 functions.
2461 (allocate_arrays): Support for alternate locale format: Set
2462 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
2463 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
2464 to the first 256 characters. Compute ctype->map_3level. Set
2465 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
2466 instead of ctype->width.
2467
a64e8af1
UD
24682000-07-24 Ulrich Drepper <drepper@redhat.com>
2469
2470 * libio/iogetwline.c (_IO_getwline_info): Use wide character
2471 string functions.
2472
5bef2820
UD
24732000-07-24 Jakub Jelinek <jakub@redhat.com>
2474
2475 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
2476 in wide characters, not bytes.
2477 * libio/tst_putwc.c (do_test): Add test for writing lots of data
2478 into file.
2479
24802000-07-22 Bruno Haible <haible@clisp.cons.org>
2481
2482 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
2483 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
2484 LC_MEASUREMENT, LC_IDENTIFICATION.
2485
2486 * locale/xlocale.h (struct __locale_struct): Increase size of
2487 __locales array.
2488 * locale/duplocale.c (__duplocale): Copy newly added categories as
2489 well.
2490 * locale/freelocale.c (__freelocale): Free newly added categories.
2491 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
2492 If a base is given, use it, don't simply return it.
2493
24942000-07-22 Bruno Haible <haible@clisp.cons.org>
2495
2496 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
2497 variables, copied_key and copied_salt, instead of boolean variables.
2498
cddad6b2
AJ
24992000-07-24 Andreas Jaeger <aj@suse.de>
2500
02d0efdf
AJ
2501 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
2502 check for offset.
2503
2504 * grp/initgroups.c (initgroups_dyn_function): Renamed from
2505 initgroups_function, adopted prototype for change from 2000-07-23.
2506 (initgroups): Follow type change.
2507
9f4b36ca
AJ
2508 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
2509 & PAGE_MASK case, reformat.
2510
2511 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
2512 from stdin and setup environment.
cddad6b2 2513
9a18638a
AS
25142000-07-24 Andreas Schwab <schwab@suse.de>
2515
2516 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
2517
cf9e9ad9
UD
25182000-07-23 Ulrich Drepper <drepper@redhat.com>
2519
7603ea28
UD
2520 * string/endian.h: Explain the _*_ENDIAN constant values a bit
2521 more. Patch by scarlet@mit.edu [PR libc/1799].
2522
2523 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
2524 [PR libc/1792].
2525
2526 * argp/argp-parse.c (parser_finalize): Reverse order in which
2527 parsers are run for ARGP_KEY_END. [PR libc/1755].
2528
cf9e9ad9
UD
2529 * grp/initgroups.c (initgroups): Don't limit the possible number
2530 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
2531 the setgroups call while the call fails and descrease the number
2532 of groups each round.
2533 The name of the initgroups function in the NSS modules changed.
2534 (compat_call): Adapt for dynamic resizing.
2535 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2536 Implement dynamic resizing.
2537 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2538 Likewise.
2539 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
2540 * hesiod/Versions: Change exported interface name.
2541 * nis/Versions: Change exported interface name.
2542
945b22ed
UD
25432000-07-23 Ulrich Drepper <drepper@redhat.com>
2544
2545 * locale/iso-639.def: Some errors corrected.
2546 Patch by Keld Simonsen.
2547
2548 * include/limits.h: Update non-gcc portion.
2549 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2550
6abc15e9
MK
25512000-07-22 Mark Kettenis <kettenis@gnu.org>
2552
2553 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
2554 program's data space, reallocate only the space that was just
2555 deallocated to release its backing space.
2556
a1d4a3bc
UD
25572000-07-23 Ulrich Drepper <drepper@redhat.com>
2558
6a1fc4ed
UD
2559 * stdio-common/vfprintf.c (process_string_arg): For wide character
2560 version, handle precision also correctly.
2561
3accf5d1
UD
2562 * nss/nss_files/files-hosts.c: Correct problem with three or more
2563 entries with the same name.
2564
a1d4a3bc
UD
2565 * nss/nss_files/files-hosts.c: Implement multi handling.
2566 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
2567
3f36c563
UD
25682000-07-22 Ulrich Drepper <drepper@redhat.com>
2569
3b9754f4
UD
2570 * nss/nss_files/files-parse.c: Don't pollute namespace by using
2571 strcasecmp.
2572
3f36c563
UD
2573 * grp/Makefile: Change Makefiles and tests to run only when necessary.
2574 * malloc/Makefile: Likewise.
2575 * malloc/tst-mtrace.sh: Likewise.
2576 * posix/Makefile: Likewise.
2577 * posix/globtest.sh: Likewise.
2578 * posix/wordexp-tst.sh: Likewise.
2579 * string/Makefile: Likewise.
2580
5df3a373
UD
25812000-07-22 Mark Kettenis <kettenis@gnu.org>
2582
2583 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
2584 size instead of LC_ALL to take into account the new locale
2585 categories.
2586
40c014b3
UD
25872000-07-22 Ulrich Drepper <drepper@redhat.com>
2588
04fbc779
UD
2589 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
2590 remainders of hash table.
2591 * locale/categories.def: Remove remainders of transliteration
2592 hash table.
2593 * locale/langinfo.h: Likewise.
2594 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
2595 transliteration tables.
2596
2597 * locale/gen-translit.pl: New file.
2598 * locale/C-translit.h.in: New file.
2599 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
2600 data pointers with data from this file.
2601 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
2602 and gen-translit.pl.
2603 Add rule to generate C-translit.h.
49ba1c12
UD
2604 * intl/tst-translit.c (main): Update for now performed
2605 transliteration.
04fbc779 2606
fcc10ffa
UD
2607 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
2608 (it's no input error).
2609 * stdio-common/tstscanf.c: Add test case for format %f with input --.
2610 * stdio-common/scanf12.c: Correct expected result for first scanf.
2611
40c014b3
UD
2612 * stdio-common/vfprintf.c (process_string_arg): Correct handling
2613 of multibyte character strings in %s format with precision.
2614
dfef32ef
UD
26152000-07-21 Ulrich Drepper <drepper@redhat.com>
2616
d58c3ad0 2617 * locale/programs/ld-collate.c (collate_read): Allow collating
c056ee48 2618 symbols and elements be named in reorder-after instructions.
d58c3ad0
UD
2619 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
2620
0c0c8bde
UD
2621 * locale/programs/ld-collate.c (handle_ellipsis): Test for
2622 duplication with generated name, not the name of the first
2623 character.
2624 Patch by Yong Li <yong.li@asu.edu>.
2625
dfef32ef
UD
2626 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
2627 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2628
f74e61f0
UD
26292000-07-21 Wolfram Gloger <wg@malloc.de>
2630
2631 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
2632 allocations only if a non-main arena cannot be extended.
2633
58bad803
UD
26342000-07-21 Ulrich Drepper <drepper@redhat.com>
2635
2636 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
2637 in DF_1_NODEFLIB handling.
2638
c7e6b2e7
AJ
26392000-07-21 Andreas Jaeger <aj@suse.de>
2640
10b36b41
AJ
2641 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
2642 own rule.
2643
c7e6b2e7
AJ
2644 * libio/fwide.c: Include <wchar.h> for prototype.
2645
cb5113c1
GM
26462000-07-21 Greg McGary <greg@mcgary.org>
2647
2648 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
2649 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
2650 Define in terms of chunk_at_offset.
2651 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
2652 (next_bin, prev_bin): offset by size of real array elements.
2653 (chunk_align): Make `m' a scalar, since that's how it's used.
2654
df0f2bf8
GM
26552000-07-21 Greg McGary <greg@mcgary.org>
2656
f74e61f0
UD
2657 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
2658 UNCHECK_BOUNDS.
df0f2bf8
GM
2659 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
2660 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
2661 Wrap bounds around argv & envp and each of their string members.
2662 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
2663 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
2664 symbol in BP_SYM (). Discard bounds of address arg.
2665 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
2666 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
2667 Discard bounds on address arg, add bounds to return value.
2668
2f54c82d
UD
26692000-07-20 Ulrich Drepper <drepper@redhat.com>
2670
fcacb36a
UD
2671 * elf/Makefile (tests): Add filter. Add rules to generate filter.
2672 * elf/filter.c: New file.
2673 * elf/filtmod1.c: New file.
2674 * elf/filtmod2.c: New file.
2675
f53c03c2
UD
2676 * elf/rtld.c: Define _dl_bind_not variable.
2677 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
2678 * elf/dl-support.c: Likewise.
2679 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
2680 * elf/dl-runtime.c (fixup): Don't remember looked up value if
2681 _dl_bind_not.
2682 (profile_fixup): Likewise.
2683
d052b31b
UD
2684 * libio/Makefile (routines): Add fwide.
2685 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
2686 fwide now. Internal calls to _IO_fwide must do locking themselves
2687 or don't need locking.
2688 * libio/fwide.c: New file.
2689
2690 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
266bb989 2691
2cb8cefb
UD
2692 * elf/Makefile: Add no modules for nodelete test.
2693 * elf/nodelmod3.c: New file.
2694 * elf/nodelmod4.c: New file.
2695 * elf/nodelete.c: Also test case where dependency of dlopen() object
2696 is marked nodelete.
2697
2f54c82d 2698 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
2cb8cefb
UD
2699 * elf/nodlopen.c: New file.
2700 * elf/nodlopenmod.c: New file.
2f54c82d
UD
2701 * include/dlfcn.h: Define __RTLD_DLOPEN.
2702 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
2703 and this is a dlopen() call, do not load the binary.
2704 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
2705 * dlfcn/dlopenold.c: Likewise.
2706 * configure.in: Add test for -z nodelete option.
2707 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
2708
27092000-07-20 Mark Kettenis <kettenis@gnu.org>
2710
2711 Make Hesiod NSS module thread-safe.
2712
2713 * hesiod/README.hesiod: Update.
2714
2715 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
2716 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
2717 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
2718 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
2719 hesiod-proto.
2720 * hesiod/nss_hesiod/hesiod-init.c: New file.
2721 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
2722 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
2723 * hesiod/nss_hesiod/nss_hesiod.h: New file.
2724 * hesiod/nss_hesiod/hesiod-service.c
2725 (_nss_hesiod_getservbyport_r): New function. Provide support for
2726 looking up services by port number.
2727 * hesiod/nss_hesiod/hesiod-proto.c: New file.
2728
2729 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
2730 * hesiod/hesiod.h: Likewise.
2731 * hesiod/hesiod_p.h: Likewise.
2732
27332000-07-20 Mark Kettenis <kettenis@gnu.org>
2734
2735 Fix problems with `struct __res_state' getting too big.
2736 * resolv/resolv.h (struct __sockaddr_in): New definition.
2737 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
2738 the private parts of the structure to save some space.
2739 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
2740 (struct sockaddr_in *) in call to sock_eq.
2741 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
2742
9c38a689
UD
27432000-07-20 Ulrich Drepper <drepper@redhat.com>
2744
bf8b3e74
UD
2745 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
2746 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
2747 with nodelete.
2748 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
2749 to _dl_map_object. Return immediately if no object loaded.
2750 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
2751 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
2752 if it exists into l_flags_1 word.
2753 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
2754 it to determine whether loading is wanted or not.
2755 (_dl_map_object): Likewise.
2756 Call _dl_map_object_from_fd with new parameter.
2757 * sysdeps/generic/ldsodefs.h: Update prototype.
2758 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
2759 * elf/rtld.c: Likewise.
2f54c82d 2760 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
bf8b3e74
UD
2761 * elf/Makefile (tests): Add noload. Add rules to generate noload.
2762 * elf/noload.c: New file.
2763 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
2764 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
2765 * sysdeps/mips/bits/dlfcn.h: Likewise.
0fb7851f
UD
2766 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
2767 (tests-nodelete-yes): Define.
2768 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
2769 Add rules to build nodelete and modules.
2770 * elf/nodelete.c: New file.
2771 * elf/nodelmod1.c: New file.
2772 * elf/nodelmod2.c: New file.
2773 * configure.in: Add test for -z nodelete option.
2774 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
bf8b3e74 2775
9c38a689
UD
2776 * libio/Makefile (tests): Add tst_wprintf2.
2777 (tst_wprintf2-ARGS): Define.
2778 * libio/tst_wprintf2.c: New file.
2779 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
2780
2781 * libio/wfiledoalloc.c: Only allocate external buffer if this
2782 hasn't happened yet.
2783
2784 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
2785 something in the buffer. gconv call can write up to end of the
2786 buffer, not only _IO_write_end.
2787 (_IO_wfile_overflow): Allocate also external buffer.
2788
4e8286ac
UD
27892000-07-19 Ulrich Drepper <drepper@redhat.com>
2790
9c38a689
UD
2791 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
2792 strings with precision in vfwprintf correctly.
2793 * stdio-common/vfprintf.c: Fix completely broken handling of
2794 unbuffered wide character streams.
2795 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
2796
4e8286ac
UD
2797 * resolv/Makefile (distribute): Add README.
2798
2799 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
2800
e685e07d
UD
28012000-07-18 Mark Kettenis <kettenis@gnu.org>
2802
2803 Update resolver code to BIND 8.2.3-T5B.
2804
2805 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
2806 __res_nclose.
2807 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
2808 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
2809 __res_search.
2810 * resolv/Banner: BIND-8.2.3-T5B.
2811
2812 * resolv/base64.c: Update from BIND 8.2.3-T5B.
2813 * resolv/herror.c: Likewise.
2814 * resolv/inet_addr.c: Likewise.
2815 * resolv/inet_net_ntop.c: Likewise.
2816 * resolv/inet_net_pton.c: Likewise.
2817 * resolv/inet_neta.c: Likewise.
2818 * resolv/inet_ntop.c: Likewise.
2819 * resolv/nsap_addr.c: Likewise.
2820 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
2821 IPv6 addresses (ISC bug #520).
2822
2823 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
2824 * resolv/ns_parse.c: Likewise.
2825 * resolv/ns_netint.c: Likewise.
2826 * resolv/ns_samedomain.c: Likewise.
2827 * resolv/ns_ttl.c: Likewise.
2828 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
2829 RCS ID in object file.
2830
2831 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
2832 * resolv/res_mkquery.c: Likewise.
2833 * resolv/res_query.c: Likewise.
2834 * resolv/res_init.c: Likewise.
2835 (res_setoptions): Mark internal.
2836 * resolv/res_send.c: Likewise.
2837 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
2838 by using poll instead.
2839 * resolv/res_comp.c: Likewise.
2840 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
2841 weak alias for __dn_expand.
2842 * resolv/res_data.c: Likewise.
2843 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
2844 in _res.options. Avoids a potential security risk by avoiding a
2845 close (0).
2846 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
2847 res_mkquery, res_query, res_querydomain adn res_search weak
2848 aliases for __res_mkquery, __res_query, __res_querydomain and
2849 __res_search.
2850 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
2851 instead to avoid close(0).
2852 (res_init): Always use the static resolver context.
2853 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
2854 alias for __res_init.
2855
2856 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
2857 RES_SET_H_ERRNO and accompanying comment to...
2858 * include/resolv.h: ... here.
2859
2860 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
2861 * resolv/arpa/nameser_compat.h: Likewise.
2862
695a0763
UD
28632000-07-18 Ulrich Drepper <drepper@redhat.com>
2864
247c8869
UD
2865 * nss/makedb.c (main): Compare result of load_db with
2866 NSS_STATUS_SUCCESS and not 0.
2867 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
2868
695a0763
UD
2869 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
2870
f306e7ff
GM
28712000-07-18 Greg McGary <greg@mcgary.org>
2872
2873 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
2874 (EXTEND_BUFFER): Use it.
2875
83142e8f
UD
28762000-07-18 Ulrich Drepper <drepper@redhat.com>
2877
2878 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
2879 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
2880 __builtin_return_address.
2881 * dlfcn/dlopenold.c: Likewise.
2882 * dlfcn/dlsym.c: Likewise.
2883 * dlfcn/dlvsym.c: Likewise.
2884 * elf/dl-profstub.c: Likewise.
2885 * malloc/malloc.c: Likewise.
2886 * sysdeps/generic/machine-gmon.h: Likewise.
2887 Based on a patch by schwidefsky@de.ibm.com.
2888
626da526
AJ
28892000-07-18 Andreas Jaeger <aj@suse.de>
2890
9f791dcf
AJ
2891 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
2892 NULL to elf_machine_fixup_plt t argument to silence GCC.
2893
80f41baa
AJ
2894 * include/string.h: Add prototype for __memchr.
2895
626da526
AJ
2896 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
2897
2898 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
2899 instead of memrchr.
2900
c6df09ad
UD
29012000-07-18 Ulrich Drepper <drepper@redhat.com>
2902
2903 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
2904
2905 * locale/C-ctype.c: Add initializers for gap elements.
2906 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
2907 for gap elements.
2908
9aaac141
UD
29092000-07-16 Ulrich Drepper <drepper@redhat.com>
2910
2911 * nscd/nscd.c (print_version): Update copyright year.
2912
4d928e8d
GM
29132000-07-17 Greg McGary <greg@mcgary.org>
2914
2915 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
2916 keyletters F, I, S, W. Remove unused keyletter V. Surround
2917 signature argnames with angle-brackets for use as word delimiters,
2918 and to induce syntax errors for any args not handled. Split
2919 multi-echo echoes and comment each stage.
2920 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
2921 * sysdeps/unix/inet/syscalls.list: Likewise.
2922 * sysdeps/unix/mman/syscalls.list: Likewise.
2923 * sysdeps/unix/syscalls.list: Likewise.
2924 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2925 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2926 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2927 * sysdeps/unix/sysv/syscalls.list: Likewise.
2928 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
2929
14fa17cc
GM
2930 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
2931 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
2932 qualifiers. Don't check NULL-terminator of argv & envp.
2933 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
2934 unbounded pointer type in word-size assertion.
2935 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
2936 cases to stifle warnings.
2937
2938 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
2939 _IO_file_attach.
2940 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2941
03df72bf
GM
2942 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
2943 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
2944 ptr as __unbouned.
2945
916c1395
GM
2946 * Makerules (o-objects): Supplement with $(o-objects$o).
2947 * string/Makefile (o-objects.ob): Add variable to pull
2948 unbounded versions of memcpy, memset and memchr into libc_b.
2949
abf70633
GM
2950 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
2951 rather than non-existent __ubp_memchr.
2952 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
2953 (_CHECK_STRING, _CHECK_N): New macros.
2954 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
2955 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
2956 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
2957 Add weak alias "memchr".
2958 * sysdeps/generic/memchr.c: Likewise.
2959 * sysdeps/i386/memchr.S: Likewise.
2960 * sysdeps/ia64/memchr.S: Likewise.
2961 * sysdeps/m68k/memchr.S: Likewise.
2962 * sysdeps/sparc/sparc32/memchr.S: Likewise.
2963 * sysdeps/sparc/sparc64/memchr.S: Likewise.
2964 * sysdeps/vax/memchr.s: Likewise.
2965
7884bf47
GM
2966 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
2967
2968 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
2969 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
2970 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
2971 __BOUNDED_POINTERS__.
2972 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
2973 for __BOUNDED_POINTERS__.
2974
8114530a
UD
29752000-07-17 Bruno Haible <haible@clisp.cons.org>
2976
2977 * iconv/gconv_open.c (__gconv_open): Initialize the __data
2978 field of struct __gconv_trans_data differently. Don't pass NULL to
2979 trans_init_fct. Simplify list append operation.
2980
29812000-07-14 Bruno Haible <haible@clisp.cons.org>
2982
2983 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
2984 not only those having tsearch.
2985
29862000-07-17 Ulrich Drepper <drepper@redhat.com>
2987
2988 * locale/langinfo.h: Add placeholder values in enum for removed
2989 LC_CTYPE entries.
2990
29912000-07-17 Jakub Jelinek <jakub@redhat.com>
2992
2993 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
2994 chain if the PHDR check fails.
2995
29962000-07-17 Mark Kettenis <kettenis@gnu.org>
2997
2998 * nss/getent.c (print_hosts): Make sure we always print a space
2999 between numeric addresses and hostnames.
3000
30012000-07-17 Wolfram Gloger <wg@malloc.de>
3002
3003 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
3004 i.e. if n_mmaps_max>0.
3005
30062000-07-16 Mark Kettenis <kettenis@gnu.org>
3007
3008 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
3009 values to remove possible clash with other AI_* constants.
3010 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
3011 hexadecimal constants to stress the fact they're in fact
3012 bit flags.
3013
30142000-07-15 Mark Kettenis <kettenis@gnu.org>
3015
3016 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
3017 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
3018 instead of res_init.
3019
7f53da19
UD
30202000-07-16 Ulrich Drepper <drepper@redhat.com>
3021
3022 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
3023 parameters of memset calls to avoid warnings.
3024
9ff9add9
UD
30252000-07-15 Ulrich Drepper <drepper@redhat.com>
3026
7f53da19
UD
3027 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
3028 necessary.
3029
9ff9add9
UD
3030 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
3031 Patch by Greg McGary <greg@mcgary.org>.
3032
3033 * io/Makefile (tests): Add tst-getcwd.
3034 * io/tst-getcwd.c: New file.
3035
e0ea35a3
UD
3036 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
3037
e993e9cc
UD
30382000-07-15 Jakub Jelinek <jakub@redhat.com>
3039
7f53da19 3040 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
e993e9cc
UD
3041 structure.
3042
30432000-07-13 Jakub Jelinek <jakub@redhat.com>
3044
3045 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
3046 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
3047
101c92fc
UD
30482000-07-12 H.J. Lu <hjl@gnu.org>
3049
3050 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
3051 GLIBC_2.2.
3052 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
3053 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
3054 (sysdep-routines): Add clone2.
3055 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
3056
a9a4127e
UD
30572000-07-13 Jes Sorensen <jes@linuxcare.com>
3058
3059 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
3060 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
3061
30622000-06-05 David Mosberger <davidm@hpl.hp.com>
3063
3064 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
3065 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
3066 Change type of si_band from "int" to "long".
3067 (si_imm) [USE_GNU]: Define
3068 (si_isr) [USE_GNU]: Ditto.
3069 (ILL_BREAK) [USE_GNU]: Ditto.
3070 (FPE_DECOVF) [USE_GNU]: Ditto.
3071 (FPE_DECDIV) [USE_GNU]: Ditto.
3072 (FPE_DECERR) [USE_GNU]: Ditto.
3073 (FPE_INVASC) [USE_GNU]: Ditto.
3074 (FPE_INVDEC) [USE_GNU]: Ditto.
3075 (TRAP_BRANCH) [USE_GNU]: Ditto.
3076 (TRAP_HWBKPT) [USE_GNU]: Ditto.
3077
30782000-07-06 Jes Sorensen <jes@linuxcare.com>
3079
3080 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
3081 bits/sigcontext as struct mcontext does not depend on it.
3082
3083 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
3084
30852000-07-04 Jes Sorensen <jes@linuxcare.com>
3086
3087 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
3088
30892000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
3090
3091 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
3092
30932000-06-22 Jes Sorensen <jes@linuxcare.com>
3094
3095 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
3096
4ab8e75a
UD
30972000-07-15 Ulrich Drepper <drepper@redhat.com>
3098
3099 * intl/Makefile (test-srcs): Add tst-translit.
3100 (tests): Likewise.
3101 Add rules to build and run tst-translit.
3102 * intl/tst-translit.c: New file.
3103 * intl/tst-translit.sh: New file.
a9a4127e 3104 * intl/translit.po: New file.
4ab8e75a 3105
7888313d
UD
31062000-07-14 Ulrich Drepper <drepper@redhat.com>
3107
3108 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
3109 transliteration function did its job, continue, don't stop.
3110
3111 * iconvdata/iso646.c: Little optimizations in body for conversion
3112 from UCS4.
3113
ea1efc6f
UD
31142000-07-14 Mark Kettenis <kettenis@gnu.org>
3115
3116 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
3117
c218729d
UD
31182000-07-14 Mark Kettenis <kettenis@gnu.org>
3119
3120 * configure.in: Check for pwd binary.
3121 * config.make.in: Add PWD_P to be subsituted.
3122 * Makerules: Use $(PWD_P) instead of /bin/pwd.
3123
cfd14df5
UD
31242000-07-14 Ulrich Drepper <drepper@redhat.com>
3125
3126 * iconvdata/Makefile (modules): Add GB18030.
3127 (distribute): Add gb18030.c.
3128 * iconvdata/gconv-modules: Add entries for GB18030 module.
3129 * iconvdata/gb18030.c: New file.
3130 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
3131 and Wu Jian.
3132
4ea1f016
AJ
31332000-07-13 Andreas Jaeger <aj@suse.de>
3134
3135 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
3136 patch.
3137
3138 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
3139 * inet/getnetgrent.c (free_mem): Likewise.
3140 * misc/mntent.c (free_mem): Likewise.
3141 * nss/getXXbyYY.c (free_mem): Likewise.
3142 * nss/getXXent.c (free_mem): Likewise.
3143 * pwd/fgetpwent.c (free_mem): Likewise.
3144 * shadow/fgetspent.c (free_mem): Likewise.
3145
f218b5f5
UD
31462000-07-14 Ulrich Drepper <drepper@redhat.com>
3147
3148 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
3149 64-bit architecture correctly [PR libc/1794].
3150
aa4068f2
UD
31512000-07-13 Ulrich Drepper <drepper@redhat.com>
3152
ca3c0135
UD
3153 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
3154 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
3155 report that we are out of memory.
3156 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3157 * elf/dl-libc.c (dlerror_run): Likewise.
3158 * elf/dl-open.c (_dl_open): Likewise.
3159 * elf/rtld.c (dl_main): Likewise.
3160 * elf/dl-error.c: Define _dl_out_of_memory.
383b654b 3161 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
ca3c0135
UD
3162 the error string.
3163 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
383b654b 3164 [PR libc/1813].
ca3c0135
UD
3165
3166 * dlfcn/dlerror.c (free_key_mem): Also free error string.
3167
3168 * iconv/loop.c: Fix comment.
3169
aa4068f2
UD
3170 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
3171
9cd865e0
UD
31722000-07-13 Andreas Jaeger <aj@suse.de>
3173
3174 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
3175 getcwd (NULL, size) with size > 0.
aa4068f2 3176 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
9cd865e0
UD
3177
31782000-07-13 Andreas Jaeger <aj@suse.de>
3179
3180 * posix/Makefile: Remove build rules for libposix.
3181
1338451b
AJ
31822000-07-13 Andreas Schwab <schwab@suse.de>
3183
3184 * sysdeps/generic/glob.c (glob): Fix memory leak.
3185 [SHELL]: Remove reference to undefined variable `files'.
3186 Fixes PR libc/1782.
3187
5f85c7ac
AJ
31882000-07-13 Andreas Jaeger <aj@suse.de>
3189
e940b742
AJ
3190 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
3191 functions.
3192
5f85c7ac
AJ
3193 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
3194 memory if it was allocated.
3195
7039a4c9
UD
31962000-07-12 Ulrich Drepper <drepper@redhat.com>
3197
405b8c60
UD
3198 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
3199 step.
3200
3201 * iconv/gconv_open.c (__gconv_open): Reapply
3202 2000-07-12 Bruno Haible <haible@clisp.cons.org>
3203
aa4068f2 3204 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
405b8c60 3205
7039a4c9
UD
3206 * iconv/gconv_open.c: Undo last two changes for now. They break
3207 everything.
3208
8ca91b36
UD
32092000-07-12 Andreas Jaeger <aj@suse.de>
3210
3211 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
3212 compiler.
3213 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
3214 (CFLAGS-dl-cache.c): Likewise.
3215 (CFLAGS-ldconfig.c): Added, passes directory locations.
3216
3217 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
3218 locate cache.
3219 * elf/ldconfig.c (LD_SO_CONF): Likewise.
3220 (main): Use configured LIBDIR and SLIBDIR.
3221
32222000-07-11 Jakub Jelinek <jakub@redhat.com>
3223
3224 * math/bits/cmathcalls.h (cimag): Add __THROW.
3225 (creal, conj): Likewise.
3226 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
3227 by negative value.
3228
0d655550
UD
32292000-07-12 H.J. Lu <hjl@gnu.org>
3230
3231 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
3232 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
3233
32342000-07-12 Ulrich Drepper <drepper@redhat.com>
3235
3236 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
3237 it is wrong.
3238
9f835f5f
UD
32392000-07-12 Bruno Haible <haible@clisp.cons.org>
3240
3241 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
3242
32432000-07-12 Bruno Haible <haible@clisp.cons.org>
3244
3245 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
3246 __modname.
3247
32482000-07-12 Bruno Haible <haible@clisp.cons.org>
3249
3250 * iconv/gconv_open.c (__gconv_open): Initialize
3251 result->__steps[cnt].__data.
3252
32532000-07-12 Mark Kettenis <kettenis@gnu.org>
3254
3255 * nss/getent.c (services_keys): Pass port number in network byte
3256 order in call to getservbyport.
3257
32582000-07-11 Andreas Jaeger <aj@suse.de>
3259
3260 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
3261 source dir.
3262 * intl/Makefile (do-gettext-test): Likewise.
3263 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
3264
32652000-07-11 Andreas Schwab <schwab@suse.de>
3266
3267 * Makeconfig (run-program-prefix): New rule.
3268 (built-program-cmd): Use run-program-prefix.
3269
50a65643
UD
32702000-07-12 Ulrich Drepper <drepper@redhat.com>
3271
3272 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
3273 and NOEXPR unconditionally available.
3274
e279e90b
GM
32752000-07-12 Greg McGary <greg@mcgary.org>
3276
3277 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
3278 * sysdeps/posix/open64.c: Likewise.
3279 * sysdeps/generic/fegetenv.c: Likewise.
3280 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
3281 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3282 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3283 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
3284 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
3285 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
3286
c62f5cab
GM
32872000-07-11 Greg McGary <greg@mcgary.org>
3288
3289 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
3290 Add extra level of macro expansion.
3291 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
3292 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
3293 is available at the time `select' prototype is declared.
3294 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
3295 Collect non-versioned weak aliases. Consider only non-versioned
3296 aliases for the user-visible systemcall name. Do checks inline with
3297 call to primitive system call.
3298 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
3299 stand-alone bounds checks to suppress unused value warnings.
3300 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3301
f80f1a4a
UD
33022000-07-10 Mark Kettenis <kettenis@gnu.org>
3303
19624ed6
MK
3304 * sysdeps/mach/hurd/check_fds.c: New file. Implements
3305 file descriptor checking in SUID programs for the Hurd.
3306
f80f1a4a
UD
3307 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
3308 res_hostalias instead of __hostalias for thread-safety.
3309
47a81620
UD
33102000-07-09 Mark Kettenis <kettenis@gnu.org>
3311
3312 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
3313 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
3314
33152000-07-10 Ulrich Drepper <drepper@redhat.com>
3316
3317 * include/features.h: Include ISO C99 features if the compiler used
3318 is an ISO C99 compiler.
3319 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
3320
33212000-07-08 Mark Kettenis <kettenis@gnu.org>
3322
3323 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
3324
02ba6e61
AJ
33252000-07-10 Andreas Jaeger <aj@suse.de>
3326
ab18b1e1
AJ
3327 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
3328 it's overridden by libpthreads.
3329 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3330 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3331 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3332 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3333 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3334
02ba6e61
AJ
3335 * malloc/Makefile: Run tst-mtrace only with shared libs.
3336
3337 * stdio-common/Makefile: Run unbputc and tst-printf tests only
3338 with shared libs.
3339
33402000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3341
3342 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
3343 that gpreg really points to the GOT section of the calling object.
3344 Scan all PT_LOAD segments of objects for stub_pc, instead of only
3345 checking a start address of first one.
3346 Fix typos.
3347 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
3348 Likewise.
3349
3350 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
3351
989eef3e
AJ
33522000-07-10 Andreas Jaeger <aj@suse.de>
3353
3354 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
3355 (string_alias->strong_alias).
3356
f9812076
MK
33572000-07-08 Mark Kettenis <kettenis@gnu.org>
3358
3359 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
3360
f2c9942e
GM
33612000-07-07 Greg McGary <greg@mcgary.org>
3362
3363 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
3364 have no names without leading underscores.
3365
0755050e
UD
33662000-07-07 Ulrich Drepper <drepper@redhat.com>
3367
6ccf5e67
UD
3368 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
3369 U007E.
3370
0755050e
UD
3371 * stdio-common/Makefile (tests): Remove tst-printf here...
3372 (tests-srcs): ...and add it here.
3373 (distribute): Add tst-unbputc.sh and tst-printf.sh.
3374 Add rules to run tst-printf.sh.
3375 * stdio-common/tst-printf.c: Move code around so that there is really
3376 no further output where it's stated.
3377 * stdio-common/tst-printf.sh: New file.
3378
f5dcffc5
MK
33792000-07-07 Mark Kettenis <kettenis@gnu.org>
3380
3381 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
3382 (do_write): Renamed from pwrite.
3383 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
3384 `struct _IO_cookie_file'.
3385
d6a25063
UD
33862000-07-07 Ulrich Drepper <drepper@redhat.com>
3387
3388 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
3389 detected.
3390 * malloc/tst-mtrace.sh: Run mtrace script.
3391
8ccd2cb1
GM
33922000-07-07 Greg McGary <greg@mcgary.org>
3393
3394 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
3395 Move all three components of a bounded pointer.
3396
89a4f6ff
UD
33972000-07-07 Ulrich Drepper <drepper@redhat.com>
3398
3399 * locale/programs/locale.c (write_locales): Don't simply add all
3400 directories found in the subdir, test whether at least the
3401 LC_CTYPE file is in there.
3402
c0f53cdd
UD
34032000-07-06 Ulrich Drepper <drepper@redhat.com>
3404
2528edd3
UD
3405 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
3406 * iconvdata/euc-kr.c: Likewise.
3407
ca4447d6
UD
3408 * stdio-common/vfprintf.c (process_string_arg): Check result of
3409 wcrtomb call and bail out if it failed.
3410
199d6eb0
UD
3411 * malloc/Makefile (test-srcs): Add tst-mtrace.
3412 (distribute): Add tst-mtrace.sh.
3413 Add rule to run tst-mtrace.sh.
3414 * malloc/tst-mtrace.c: New file.
3415 * malloc/tst-mtrace.sh: New file.
3416
c0f53cdd
UD
3417 * include/signal.h: Declare __libc_sigaction.
3418 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
3419 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
3420 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3421 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3422 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3423 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3424 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3425
ca4447d6 3426 * configure.in: Fix CFLAGS-memprofstat.c definition after
c0f53cdd
UD
3427 2000-06-19 change.
3428 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
3429
34302000-07-06 Jakub Jelinek <jakub@redhat.com>
3431
3432 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
3433 instead of NULL to elf_machine_fixup_plt t argument.
3434 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3435 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
3436 cast.
3437
34382000-07-06 Andreas Jaeger <aj@suse.de>
3439
3440 * crypt/Makefile (LDLIBS-cert): Removed.
3441 (LDLIBS-md5c-test): Removed.
3442 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
3443 ($(objpfx)md5c-test): Likewise for md5c-test.out.
3444
f7b0d45a
AJ
34452000-07-06 Andreas Jaeger <aj@suse.de>
3446
3447 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
3448 of the proc system is "proc".
3449
394d3277 3450 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
5d7ecaa8 3451 thread library for static programs.
394d3277 3452
1055cf7c
GM
34532000-07-06 Greg McGary <greg@mcgary.org>
3454
4bbb61e4
GM
3455 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
3456 New macros.
3457 * sysdeps/generic/strcpy.c: Add bounds checks.
3458 * sysdeps/unix/fxstat.c: Likewise.
3459 * sysdeps/unix/xstat.c: Likewise.
3460 * sysdeps/unix/common/lxstat.c: Likewise.
3461 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3462 * sysdeps/unix/sysv/linux/execve.c: Likewise.
3463 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
3464 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
3465 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3466 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3467 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
3468 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
3469 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3470 * sysdeps/unix/sysv/linux/poll.c: Likewise.
3471 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3472 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3473 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
3474 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3475 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3476 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3477 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3478 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3479 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3480 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
3481 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3482 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
3483 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3484 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
3485 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3486 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
3487 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3488 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
3489 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
3490 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3491 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3492 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
3493 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3494 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3495 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3496 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3497 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3498 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
3499 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3500 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3501 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3502 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3503 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3504 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3505 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
3506 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
3507 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3508 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
3509 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
3510 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
3511 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
3512 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
3513 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3514 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3515 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3516 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3517 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3518 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
3519 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
3520 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
3521 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3522 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
3523 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
3524 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
3525
ca1cde9e
GM
3526 * string/endian.h (__LONG_LONG_PAIR): New macro.
3527 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
3528 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3529 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3530 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3531 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3532 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3533 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
3534 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3535 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3536 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3537 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3538 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3539
1055cf7c
GM
3540 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
3541
fe4e204f
AJ
35422000-07-06 Andreas Jaeger <aj@suse.de>
3543
71cebc12
AJ
3544 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
3545 Initialize result.
3546
fe4e204f
AJ
3547 * math/test-fpucw.c: Include <stdio.h> for printf.
3548
34173b51
GM
35492000-07-05 Greg McGary <greg@mcgary.org>
3550
3551 * sysdeps/generic/bp-checks.h: New file.
3552 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
3553 with list of #include files.
3554 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
3555 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
3556 Don't generate BP thunk if `V' appears in signature.
3557 Generate thunks with complete bounds checks.
3558 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
3559 * sysdeps/unix/inet/syscalls.list: Likewise.
3560 * sysdeps/unix/mman/syscalls.list: Likewise.
3561 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3562 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3563 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3564 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
3565
11b34882
UD
35662000-07-05 Ulrich Drepper <drepper@redhat.com>
3567
77432371
UD
3568 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
3569 result. Search first in /etc/mtab (proc/mounts would be stupid).
3570 If mount not in the file fall back on /proc.
3571
11b34882
UD
3572 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
3573 string got copied in.
3574 Patch by Solar Designer <solar@false.com>.
3575
35762000-07-05 Andreas Jaeger <aj@suse.de>
3577
3578 * manual/install.texi (Installation): Update information about
3579 add-ons.
3580 (Configuring and compiling): Update for glibc 2.2.
3581
35822000-07-04 Andreas Jaeger <aj@suse.de>
3583
3584 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
3585 (_FPU_IEEE): Likewise.
3586
3587 * math/Makefile (tests): Add test-fpucw.
3588
3589 * math/test-fpucw.c (main): New file.
3590
f3e29a1a
UD
35912000-07-05 Ulrich Drepper <drepper@redhat.com>
3592
3593 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
3594
3595 * locale/programs/ld-collate.c (collate_output): Also write out the
3596 collation sequence values and the wide character string for the
3597 collation symbol table.
3598
3599 * posix/fnmatch.c: Include "../locale/elem-hash.h".
3600 * posix/fnmatch_loop.c: Implement collating symbol handling.
3601 * posix/tst-fnmatch.input: Add more tests, especially for collating
3602 symbol handling.
3603
3604 * posix/regex.c: Fix comment.
3605
0843ed1c
AJ
36062000-07-05 Andreas Jaeger <aj@suse.de>
3607
a2616aed
AJ
3608 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
3609 (_FPU_GETCW): Remove extra colon.
3610 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
3611
0843ed1c
AJ
3612 * posix/fnmatch_loop.c (FCT): Only declare len if
3613 !WIDE_CHAR_VERSION to silence GCC.
3614
3615 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
3616 prototype.
3617 * sysdeps/generic/strchrnul.c: Likewise.
d41293c7
AJ
3618 * sysdeps/generic/strlen.c: Likewise.
3619 * sysdeps/generic/strchr.c: Likewise.
3620 * sysdeps/generic/memchr.c: Likewise.
0843ed1c 3621
3248e3a3
UD
36222000-07-04 Ulrich Drepper <drepper@redhat.com>
3623
ecce00a9
UD
3624 * posix/fnmatch_loop.c: Implement equivalence class handling.
3625 * posix/tst-fnmatch.input: Add tests for equivalence class
3626 handling.
3627
7239b3a4
UD
3628 * posix/fnmatch_loop.c: Improve performance for single-byte
3629 character sets by not using btowc.
3630
ab9afc21
UD
3631 * posix/tst-fnmatch.input: Add tests for locale dependent
3632 behaviour.
3633 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
3634
f5c68a01
UD
3635 * posix/tst-fnmatch.input: Add more test cases.
3636
3248e3a3
UD
3637 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
3638 are not aligned to alignof(md5_uint32) do it before calling
3639 __md5_process_bytes.
3640 * crypt/md5.c: Make sure buffers are aligned.
3641 * crypt/md5.h: Likewise.
3642 Reported by Solar Designer <solar@false.com>.
3643
3644 * crypt/Makefile: Add dependencies for test programs.
3645
3646 * Rules: Define LC_ALL=C in environments of all programs we run.
3647
3648 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
3649
36502000-07-03 H.J. Lu <hjl@gnu.org>
3651
3652 * locale/programs/ld-ctype.c (ctype_output): The size of iov
3653 is 2 + elem + offset, not 2 + elem + offset + 2.
3654
36552000-07-04 Ulrich Drepper <drepper@redhat.com>
3656
3657 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
3658 suite.
3659 * posix/Makefile (tests): Add tst-fnmatch.
3660 (tst-fnmatch-ENV): Define.
3661 * posix/tst-fnmatch.c: New file.
3662 * posix/tst-fnmatch.sh: New file.
3663
a88b96f4
UD
36642000-07-04 NIIBE Yutaka <gniibe@chroot.org>
3665
3666 * locale/programs/charmap.c (charmap_read): Prepend
3667 the condition filename == NULL.
3668
b1fc7a6a
GM
36692000-07-03 Greg McGary <greg@mcgary.org>
3670
293c6b3c 3671 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
a2616aed 3672
98186375
GM
3673 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
3674 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
3675
73c115ed
GM
3676 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
3677 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
3678 (FILEBUF_LITERAL): Add cast for CHAIN init.
3679 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
3680 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
3681 Revert type of `fp' to _IO_FILE*.
3682 (_IO_iter_file): Remove cast.
3683 (_IO_iter_next): Elide intermediate member reference.
3684
b1fc7a6a
GM
3685 * sysdeps/powerpc/strchr.S: Check bounds.
3686 Wrap extern symbols in BP_SYM ().
3687
68eefde7 36882000-07-03 Andreas Jaeger <aj@suse.de>
3248e3a3 3689
68eefde7
UD
3690 * dlfcn/Makefile (generated): New.
3691
6f98fd7e
UD
36922000-07-03 Ulrich Drepper <drepper@redhat.com>
3693
3694 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
3695 (__uflow): Likewise.
3696 (__underflow): Likewise.
3697 * libio/wgenops.c (__wunderflow): Likewise.
3698 * stdio-common/tst-unbputc.c: New file.
3699 * stdio-common/tst-unbputc.sh: New file.
3700 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
3701
3702 * po/en_GB.po: New file.
3703 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
3704
40c4c9b5
UD
37052000-07-01 Andreas Jaeger <aj@suse.de>
3706
3707 * intl/Makefile (generated-dirs): New.
3708
3709 * elf/Makefile (generated): trusted-dirs.h is always generated,
3710 move out of build-shared condition.
3711 (generated): Merge the two entries for build-shared.
3712
37132000-07-01 Ulrich Drepper <drepper@redhat.com>
3714
3715 * debug/Makefile (distribute): Add xtrace.sh.
3716
5e087c71
UD
37172000-06-30 Ulrich Drepper <drepper@redhat.com>
3718
a2294e57
UD
3719 * version.h (VERSION): Bump to 2.1.91.
3720
3721 * configure.in: Update warning comment. glibc should not be
3722 broken anymore.
3723
3724 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
3725 ioperm.c, sys/procfs.h, and sys/io.h.
3726
3727 * sysdeps/powerpc/Dist: Add bp-asm.h.
3728
5e087c71
UD
3729 * assert/Depend: Add localedata.
3730 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
3731 (test-assert-perr-ENV): New. Define LANGUAGE=C.
3732
3733 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
3734 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
3735 relocation address to prevent unaligned trap.
3736 Suggested by Richard Henderson <rth@cygnus.com>.
3737
37382000-06-30 Jakub Jelinek <jakub@redhat.com>
3739
3740 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
3741 if redirecting and either redirection is done using defines or
3742 not optimizing.
3743
dbda6079
UD
37442000-06-30 Ulrich Drepper <drepper@redhat.com>
3745
a2294e57 3746 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
b856f875
UD
3747 generated expressions.
3748 Patch by Darren McClelland <dmcclell@zetec.com>.
3749
71d82dbe
UD
3750 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
3751 since zic uses setlocale and gettext but we cannot make it use the
3752 new locale data since zic calls a shell which might not use the
3753 new libc.
3754
3da67f99
UD
3755 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
3756 handling the internation currency symbol. POSIX says that the
3757 fourth character is used to separate the currency symbol from the
3758 value. Therefore it does not have to be printed. But we cannot
3759 remove the space if the currency symbol is printed before the
3760 number since this is what many locales expect.
3da67f99 3761
7f455351
UD
3762 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
3763 whether this information is available.
3764
3765 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
3766 buffers in case the translation is too large. Remember allocated
3767 memory blocks in a list.
3768 (free_mem): Free memory for translations.
3769
3770 * intl/tst-gettext.c: Use correct locale. Improve error messages.
3771
3772 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
3773 information is available set the string length to zero.
3774
dbda6079
UD
3775 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
3776
cb2eb742
GM
37772000-06-30 Greg McGary <greg@mcgary.org>
3778
fa87f403
GM
3779 * sysdeps/powerpc/bp-asm.h: New file.
3780 * sysdeps/powerpc/__longjmp.S: Check bounds.
3781 Wrap extern symbols in BP_SYM ().
3782 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
3783 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
3784 * sysdeps/powerpc/setjmp.S: Likewise.
3785 * sysdeps/powerpc/add_n.S: Likewise.
3786 * sysdeps/powerpc/addmul_1.S: Likewise.
3787 * sysdeps/powerpc/lshift.S: Likewise.
3788 * sysdeps/powerpc/rshift.S: Likewise.
3789 * sysdeps/powerpc/mul_1.S: Likewise.
3790 * sysdeps/powerpc/sub_n.S: Likewise.
3791 * sysdeps/powerpc/submul_1.S: Likewise.
3792 * sysdeps/powerpc/strlen.S: Likewise.
3793 * sysdeps/powerpc/memset.S: Likewise.
3794 * sysdeps/powerpc/stpcpy.S: Likewise.
3795 * sysdeps/powerpc/strcmp.S: Likewise.
3796 * sysdeps/powerpc/strcpy.S: Likewise.
3797 * sysdeps/powerpc/elf/bzero.S: Likewise.
3798
cb2eb742
GM
3799 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
3800 Line up operands column with tabs.
3801
cb48e60f
UD
38022000-06-30 Ulrich Drepper <drepper@redhat.com>
3803
394679eb
UD
3804 * elf/Makefile (LDFLAGS-origtest): Actually add it.
3805
cb48e60f
UD
3806 * sysdeps/ia64/htonl.S: New file.
3807 * sysdeps/ia64/htons.S: New file.
3808 * sysdeps/ia64/memcpy.S: Replace with version which does not use
3809 floating point registers.
3810 Patches by Dan Pop <Dan.Pop@cern.ch>.
3811
4a3c3ca1
AJ
38122000-06-30 Andreas Jaeger <aj@suse.de>
3813
e8c6a442
AJ
3814 * posix/Makefile (tests): tst-exec and tst-spawn only work with
3815 shared libraries.
3816
4a3c3ca1
AJ
3817 * io/Makefile (CFLAGS-test-lfs.c): New.
3818 (tests): Add test-lfs.
3819
3820 * io/test-lfs.c: New file.
3821
2fc9b742
UD
38222000-06-30 Jakub Jelinek <jakub@redhat.com>
3823
3824 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
3825 instruction.
3826
e7262a65
UD
38272000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
3828
3829 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
3830
38312000-06-29 Jes Sorensen <jes@linuxcare.com>
3832
3833 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
3834 alias to the fstatfs call.
3835
3836 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
3837 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
3838
3839 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
3840 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
3841
3842 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
3843 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
3844 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
3845 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
3846
3847 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
3848 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
3849
3850 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
3851 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
3852
3853 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
3854 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
3855
3856 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
3857
c421d4b7
AJ
38582000-06-29 Andreas Jaeger <aj@suse.de>
3859
3860 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
3861 with syslog.
3862 (print_err_message): Likewise.
3863 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
3864
f175216d
UD
38652000-06-29 Ulrich Drepper <drepper@redhat.com>
3866
e43e0dd6
UD
3867 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
3868 used as words is properly aligned.
3869
f175216d
UD
3870 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
3871 data files.
3872
e5f88e0c
GM
38732000-06-29 Greg McGary <greg@mcgary.org>
3874
5785c39f
GM
3875 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
3876 * sysdeps/unix/make-syscalls.sh: Handle signatures of
3877 length 7..9, just in case...
3878 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
3879
e5f88e0c
GM
3880 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
3881 (POP_ERRNO_LOCATION_RETURN): Fold insns.
3882 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
3883 (PUSH_SIGNAL_MASK): New macro.
3884 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
3885 LEAVE is unnecessary. Check bounds of jmp_buf.
3886 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
3887 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
3888 immediately before tail-call.
3889 * sysdeps/i386/setjmp.S: Likewise.
3890 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3891 * sysdeps/i386/bsd-setjmp.S: Likewise.
3892
d3d89ab3
UD
38932000-06-29 Jakub Jelinek <jakub@redhat.com>
3894
3895 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
3896 versioned_symbol.
3897 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
3898 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
3899 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
3900 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3901 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
3902 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
3903 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
3904 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
3905
a5707dad
UD
39062000-06-29 Ulrich Drepper <drepper@redhat.com>
3907
3908 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
3909 we later need to calling free().
3910 Patch by Matt Wilson <msw@redhat.com>.
3911
a0e5d73a
UD
3912 * stdio-common/tst-printf.c: Add test for above problem.
3913
a5707dad
UD
39142000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
3915
3916 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
3917 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
3918
39192000-06-28 Jes Sorensen <jes@linuxcare.com>
3920
3921 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
3922 prototype for abs().
3923 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
3924
6fc1dd3f
AJ
39252000-06-23 Andreas Jaeger <aj@suse.de>
3926
3927 * config.h.in: Don't use regparm with bounded pointers.
3928
a748c3c6
UD
39292000-06-29 Ulrich Drepper <drepper@redhat.com>
3930
3931 * stdlib/grouping.h: Correctly handle multibyte thousands
3932 separator and decimal point.
3933 * stdlib/stdtod.c: Likewise.
3934 * sysdeps/generic/strtol.c: Likewise.
3935
3936 * locale/categories.def: Add entries for wide character decimal point
3937 and thousands separator in numeric and monetary category.
3938
39392000-06-28 Ulrich Drepper <drepper@redhat.com>
3940
3941 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
3942 second definition and initialization of decimal.
3943
2ca8b1ee
GM
39442000-06-28 Greg McGary <greg@mcgary.org>
3945
a748c3c6
UD
3946 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
3947 out.
2ca8b1ee 3948 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
a748c3c6
UD
3949 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
3950 in.
3951 (_IO_JUMPS): Don't cast THIS--expect arg to be a
3952 (struct _IO_FILE_plus *).
2ca8b1ee
GM
3953 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
3954 THIS, since _IO_JUMPS no longer does it implicitly.
3955 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
3956 arg type as (struct _IO_FILE_plus *).
3957 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
3958 arg as (_IO_strfile *).
3959 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
3960 Declare 1st arg as (_IO_strfile *).
3961 * libio/fileops.c (_IO_new_file_init): Declare
3962 arg type as (struct _IO_FILE_plus *).
3963 * libio/oldfileops.c (_IO_old_file_init): Likewise.
3964 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
3965 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
3966 Declare iteration pointer as (struct _IO_FILE_plus *).
a748c3c6
UD
3967 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
3968 (struct _IO_FILE_plus *).
2ca8b1ee
GM
3969 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
3970 * libio/oldstdfiles.c (_IO_list_all): Likewise.
a748c3c6
UD
3971 (_IO_check_libio): Set user-visible handles to
3972 (struct _IO_FILE_plus *).
2ca8b1ee
GM
3973 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
3974 to (struct _IO_FILE_plus *).
3975
3976 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
3977 whose high bound includes vtable to all functions that will use
3978 vtable. For streambufs, pass pointer whose bounds include struct
3979 _IO_strfile.
3980 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
3981 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3982 * libio/iofopen.c (_IO_new_fopen): Likewise.
3983 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3984 * libio/iofopen64.c (_IO_fopen64): Likewise.
3985 * libio/iopopen.c (_IO_new_popen): Likewise.
3986 * libio/oldiopopen.c (_IO_old_popen): Likewise.
3987 * libio/memstream.c (open_memstream): Likewise.
3988 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
3989 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
3990 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3991 * libio/iofopncook.c (_IO_cookie_init): Likewise.
3992 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
3993 * libio/vasprintf.c (_IO_vasprintf): Likewise.
3994 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3995 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
3996 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
3997 * stdlib/strfmon.c (__strfmon_l): Likewise.
3998 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
3999 (vfprintf): Qualify computed-goto targets as unbounded.
4000
72acaddf
UD
40012000-06-28 Ulrich Drepper <drepper@redhat.com>
4002
4003 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
4004 thousands separator correctly.
4005
4006 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
4007 * stdio-common/vfwscanf.c: Likewise.
4008
2d7fb37a
UD
40092000-06-27 Jes Sorensen <jes@linuxcare.com>
4010
4011 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
4012 count into signatures for most calls.
4013
99274b38
UD
40142000-06-28 Ulrich Drepper <drepper@redhat.com>
4015
4016 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
4017 the generic parser now.
4018
aa1b0984
UD
40192000-06-28 Jes Sorensen <jes@linuxcare.com>
4020
4021 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
4022 table entries are 32 bit on the ia64 (as specified by the ABI),
4023 not 64 bit as on the Alpha.
4024
4025 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
4026 change of objects to use 32 bit hash table indices (see above).
4027
40282000-06-28 Jes Sorensen <jes@linuxcare.com>
4029
4030 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
4031 prototype for abs().
4032
07c35131
UD
40332000-06-28 Wolfram Gloger <wg@malloc.de>
4034
4035 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
4036 fails, try mmap_chunk() as a last resort even though n_mmaps_max
4037 may have been reached.
4038
044ff622
UD
40392000-06-28 Ulrich Drepper <drepper@redhat.com>
4040
5295113f
UD
4041 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
4042 symbols in multi-character weights correctly.
4043
f1f1b6b9
UD
4044 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
4045 depending on whether the input string is empty or not.
4046
4047 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
4048 given state and not avoiding this by modifying a local object.
4049 * wcsmbs/wcrtomb.c: Likewise.
4050
4051 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
4052 object since some incomplete characters might be in there.
4053
392ac969 4054 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
72acaddf 4055 sequences with first byte 0x8e correctly.
392ac969 4056
044ff622
UD
4057 * iconvdata/jis0208.h: Remove redundant test.
4058
37696206
UD
40592000-06-27 Ulrich Drepper <drepper@redhat.com>
4060
d1660439
UD
4061 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
4062 Add it where it is needed now.
4063
0e16ecfa
UD
4064 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
4065 the input charset into account when generating the hash table.
4066 (allocate_arrays): Correct setting default width. Not all empty slots
4067 in the table are filled, only those not covert explicitly by the
4068 locale description and in the charset.
4069
37696206
UD
4070 * wctype/towctrans.c (__towctrans): Be graceful and accept error
4071 return values from the wctrans function.
4072
0e16ecfa
UD
4073 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
4074 wide character version.
4075 For %C handling, test correct pointer variable for NULL.
4076
4077 * wcsmbs/wctob.c: Handle WEOF special.
4078
4079 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
4080
4081 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
4082 always-true test to avoid warning.
4083
ebdf53a7
GM
40842000-06-27 Greg McGary <greg@mcgary.org>
4085
4086 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
4087 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
4088 (symbol_version, default_symbol_version): Factor redundant
4089 definitions out of conditional.
ebdf53a7 4090
1cf98aae
UD
40912000-06-27 Jakub Jelinek <jakub@redhat.com>
4092
4093 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
4094 not obstack_blank.
4095
8b943b4a
UD
40962000-06-26 Ulrich Drepper <drepper@redhat.com>
4097
4098 * include/libc-symbols.h (symbol_version): Add extra level of
4099 macro expansion.
4100 (default_symbol_version): Likewise.
4101
f9e7bbce
GM
41022000-06-26 Greg McGary <greg@mcgary.org>
4103
ee63ca21
GM
4104 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
4105 for BP return value & push implicit struct-return pointer to
4106 __errno_location.
4107 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4108 (SYSCALL_ERROR_HANDLER): Likewise.
4109 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
4110 (SYSCALL_ERROR_HANDLER): Likewise.
4111
58ff985d
GM
4112 * Makeconfig: Add missing comment.
4113 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
4114 BP-flavored startup object.
4115 ($(objpfx)b$(start-installed-name)): New rule.
4116 * include/libc-symbols.h (symbol_set_declare): Change type
4117 of `__start_##set' and `__stop_##set' to pointer-to-function.
4118 (symbol_set_declare): Change type of `set' to array of
4119 pointer-to-function.
4120 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
4121 pointer-to-function.
4122
7c90419b
GM
4123 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
4124
22fda766
GM
4125 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
4126 Remove clock_* and timer_* entries.
4127 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
4128 arg-count with signatures.
4129
2fc08826
GM
4130 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
4131 Check bounds of arguments.
4132 * sysdeps/i386/addmul_1.S: Likewise.
4133 * sysdeps/i386/lshift.S: Likewise.
4134 * sysdeps/i386/mul_1.S: Likewise.
4135 * sysdeps/i386/rshift.S: Likewise.
4136 * sysdeps/i386/sub_n.S: Likewise.
4137 * sysdeps/i386/submul_1.S: Likewise.
4138 * sysdeps/i386/i586/add_n.S: Likewise.
4139 * sysdeps/i386/i586/addmul_1.S: Likewise.
4140 * sysdeps/i386/i586/lshift.S: Likewise.
4141 * sysdeps/i386/i586/rshift.S: Likewise.
4142 * sysdeps/i386/i586/sub_n.S: Likewise.
4143 * sysdeps/i386/i686/add_n.S: Likewise.
4144
4145 * sysdeps/i386/memchr.S: Likewise.
4146 * sysdeps/i386/memcmp.S: Likewise.
4147 * sysdeps/i386/rawmemchr.S: Likewise.
4148 * sysdeps/i386/i586/bzero.S: Likewise.
4149 * sysdeps/i386/i586/memcpy.S: Likewise.
4150 * sysdeps/i386/i586/mempcpy.S: Likewise.
4151 * sysdeps/i386/i586/memset.S: Likewise.
4152 * sysdeps/i386/i686/bzero.S: Likewise.
4153 * sysdeps/i386/i686/memcpy.S: Likewise.
4154 * sysdeps/i386/i686/mempcpy.S: Likewise.
4155 * sysdeps/i386/i686/memset.S: Likewise.
4156
4157 * sysdeps/i386/stpcpy.S: Likewise.
4158 * sysdeps/i386/stpncpy.S: Likewise.
4159 * sysdeps/i386/strchr.S: Likewise.
4160 * sysdeps/i386/strchrnul.S: Likewise.
4161 * sysdeps/i386/strcspn.S: Likewise.
4162 * sysdeps/i386/strpbrk.S: Likewise.
4163 * sysdeps/i386/strrchr.S: Likewise.
4164 * sysdeps/i386/strspn.S: Likewise.
4165 * sysdeps/i386/strtok.S: Likewise.
4166 * sysdeps/i386/strtok_r.S: Likewise.
4167 * sysdeps/i386/i486/strcat.S: Likewise.
4168 * sysdeps/i386/i486/strlen.S: Likewise.
4169 * sysdeps/i386/i586/strchr.S: Likewise.
4170 * sysdeps/i386/i586/strcpy.S: Likewise.
4171 * sysdeps/i386/i586/strlen.S: Likewise.
4172 * sysdeps/i386/i686/strcmp.S: Likewise.
4173 * sysdeps/i386/i686/strtok.S: Likewise.
4174 * sysdeps/i386/i686/strtok_r.S: Likewise.
4175
4176 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
4177 * sysdeps/i386/fpu/fesetenv.c: Likewise.
4178 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
4179 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
4180 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
4181
f9e7bbce
GM
4182 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
4183 * sysdeps/i386/mul_1.S: Likewise.
4184 * sysdeps/i386/submul_1.S: Likewise.
4185 * sysdeps/i386/i586/add_n.S: Likewise.
4186 * sysdeps/i386/i586/addmul_1.S: Likewise.
4187 * sysdeps/i386/i586/lshift.S: Likewise.
4188 * sysdeps/i386/i586/mul_1.S: Likewise.
4189 * sysdeps/i386/i586/rshift.S: Likewise.
4190 * sysdeps/i386/i586/sub_n.S: Likewise.
4191 * sysdeps/i386/i586/submul_1.S: Likewise.
4192
c000cdad
UD
41932000-06-26 Ulrich Drepper <drepper@redhat.com>
4194
4195 * rt/Makefile (librt-routines): Add clock_nanosleep.
4196 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
4197 * sysdeps/generic/clock_nanosleep.c: New file.
4198 * sysdeps/unix/clock_nanosleep.c: New file.
4199 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
4200 * time/time.h: Declare clock_nanosleep.
4201
43c81906
GM
42022000-06-26 Greg McGary <greg@mcgary.org>
4203
4204 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
4205 INSN1, INSN2, TEXT, GLOBL): Remove macros.
4206 (ALIGN): Cleanup surrounding conditionals.
4207
4208 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
4209 Call ENTER/LEAVE macros.
4210 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
4211 * sysdeps/i386/submul_1.S: Likewise.
4212
4213 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
4214 syntax. Define & use symbolic argument stack offsets. Call
4215 ENTER/LEAVE macros.
4216 * sysdeps/i386/i586/mul_1.S: Likewise.
4217 * sysdeps/i386/i586/submul_1.S: Likewise.
4218
7475d016
UD
42192000-06-25 Greg McGary <greg@mcgary.org>
4220
4221 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
4222 not as bcopy.
4223
07dab0c3
UD
42242000-06-25 Ulrich Drepper <drepper@redhat.com>
4225
8b682b99
UD
4226 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
4227 * iconvdata/gen-8bit-gap.sh: Likewise.
4228 * iconvdata/gen-8bit.sh: Likewise.
4229
4230 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
4231
4232 * locale/programs/ld-collate.c (collate_read): Don't actually read
4233 the copy locale if we are ignoring the content.
4234
45a9eda2
UD
4235 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
4236 unknown character.
4237
07dab0c3
UD
4238 * locale/programs/ld-collate.c: Correct handling of different
4239 collation sections.
4240 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
4241 as extra parameter from which to copy category information.
4242 Change all callers.
4243 (load_locale): Likewise.
4244 * locale/programs/localedef.h: Update prototypes of add_to_readlist
4245 and load_locale.
4246 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
4247 * locale/programs/locfile.h: Likewise.
4248 * locale/programs/locfile-kw.gperf: Add entry for script.
4249 * locale/programs/locfile-token.h: Add tok_script.
4250
4251 * locale/programs/locale.c: Update copyright year.
4252 * locale/programs/localedef.c: Likewise.
4253
eacc6555
AJ
42542000-06-23 Thorsten Kukuk <kukuk@suse.de>
4255
8b682b99
UD
4256 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
4257 Jens Moeller <jens.moeller@waii.com>.
eacc6555 4258
756186e7
UD
42592000-06-24 Ulrich Drepper <drepper@redhat.com>
4260
ae1aff77
UD
4261 * locale/programs/ld-name.c (name_finish): Add missing format
4262 specifier to test for name_fmt.
4263
17955ae2
UD
4264 * locale/programs/ld-address.c (iso639): Correct length of string
4265 elements.
0ea5f1b8 4266 (iso3166): Likewise.
17955ae2
UD
4267
4268 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
756186e7 4269
17955ae2
UD
4270 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
4271 Define.
756186e7
UD
4272
4273 * elf/elf.h (NT_PRFPXREG): Define.
4274
64f022a4
UD
42752000-06-23 Ulrich Drepper <drepper@redhat.com>
4276
4277 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
4278 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
4279
a4b33f03
AS
42802000-06-23 Andreas Schwab <schwab@suse.de>
4281
4282 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
4283 with signatures.
4284
16b02fef
AJ
42852000-06-23 Andreas Jaeger <aj@suse.de>
4286
536f4e87
AJ
4287 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
4288
ffce1bc7
AJ
4289 * io/test-stat.c: Add copyright header, mention Maciej.
4290
16b02fef
AJ
4291 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
4292 SYS_mincore, SYS_madvise): Added.
4293
4294 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
4295 execve.
4296
e7d3a52a
UD
42972000-06-22 Ulrich Drepper <drepper@redhat.com>
4298
e8595e84
UD
4299 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
4300 (CFLAGS-tst_putwc.c): New definition.
4301 * libio/tst_getwc.c: New file.
4302 * libio/tst_getwc.input: New file.
4303 * libio/tst_putwc.c: New file.
4304
e7d3a52a
UD
4305 * include/string.h: Add prototype for __strdup.
4306
6a05c783
GM
43072000-06-22 Greg McGary <greg@mcgary.org>
4308
4309 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
4310 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
4311 Fix signatures.
4312
d2e7a240
UD
43132000-06-23 Jes Sorensen <jes@linuxcare.com>
4314
4315 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
4316
3a10a8bc
UD
43172000-06-22 Jes Sorensen <jes@linuxcare.com>
4318
4319 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
4320
33256e8a
UD
43212000-06-22 Jes Sorensen <jes@linuxcare.com>
4322
4323 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
4324 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
4325
2fcbf75b
UD
43262000-06-22 Ulrich Drepper <drepper@redhat.com>
4327
4328 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
4329 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
4330 and __S_TYPEISSHM.
4331 * sysdeps/mach/hurd/bits/stat.h: Likewise.
4332 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4333 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
4334 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4335 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
4336 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
4337 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4338 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4339 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4340 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4341 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
4342 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
4343 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
d0db5a44
UD
4344 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
4345 S_TYPEISSHM.
2fcbf75b 4346
72a96435
AJ
43472000-06-22 Andreas Jaeger <aj@suse.de>
4348
2b22b881
AJ
4349 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
4350 with signatures.
4351
3cfd2d07
AJ
4352 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
4353
72a96435
AJ
4354 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
4355
de568fbe
UD
43562000-06-21 Ulrich Drepper <drepper@redhat.com>
4357
4358 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
4359 ahead.
4360
2b6fb3df
GM
43612000-06-21 Greg McGary <greg@mcgary.org>
4362
4363 * Makerules (elide-routines.*, elide-bp-thunks):
4364 Define unconditionally.
4365
387be087
UD
43662000-06-21 Jes Sorensen <jes@linuxcare.com>
4367
4368 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
4369
514f9e32
UD
43702000-06-21 Andreas Jaeger <aj@suse.de>
4371
4372 * io/Makefile (tests): Add test-stat.
4373 (CFLAGS-test-stat.c): New.
4374
4375 * io/test-stat.c: New file from Maciej W. Rozycki
4376 <macro@ds2.pg.gda.pl>.
4377
4cdf2d81
UD
43782000-06-21 Jes Sorensen <jes@linuxcare.com>
4379
4380 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
4381 in __rlimit_resource to make them match the kernel order.
4382 rlim_t is always 64 bit, use __rlim64_t to declare it
4383 unconditionally.
4384
43852000-05-04 Jes Sorensen <jes@linuxcare.com>
4386
4387 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
4388 RLIM_INFINITY before defining it to avoid clash with kernel header
4389
43902000-05-03 Jes Sorensen <jes@linuxcare.com>
4391
4392 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
4393
b1b5152b
UD
43942000-06-21 Ulrich Drepper <drepper@redhat.com>
4395
4396 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
4397
ae0d72a5
AJ
43982000-06-21 Andreas Jaeger <aj@suse.de>
4399
906ec4a2
AJ
4400 * stdio-common/temptest.c: Include <stdlib.h>.
4401 * stdio-common/tst-fileno.c: Likewise.
4402 * stdio-common/scanf4.c: Likewise.
4403 * stdio-common/scanf5.c: Likewise.
4404 * time/clocktest.c: Likewise.
4405 * posix/test-vfork.c: Likewise.
4406 * posix/globtest.c: Likewise.
4407 * io/test-utime.c: Likewise.
4408 * wctype/test_wcfuncs.c: Likewise.
4409 * crypt/cert.c: Likewise.
4410
4411 * stdio-common/tst-printfsz.c: Include <string.h>.
4412 * libio/tst_swscanf.c: Likewise.
4413 * libio/tst_wscanf.c: Likewise.
4414 * posix/runtests.c: Likewise.
4415 * posix/tst-getaddrinfo.c: Likewise.
4416 * posix/wordexp-test.c: Likewise.
4417 * misc/tst-efgcvt.c: Likewise.
4418
4419 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
4420 * nss/test-netdb.c: Likewise.
4421
4422 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
4423 supported kernel for MIPS.
4424
ae0d72a5
AJ
4425 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
4426 * rt/aio_suspend.c: Likewise.
4427
bdf09fab
UD
44282000-06-20 Ulrich Drepper <drepper@redhat.com>
4429
ae0d72a5 4430 * math/libm-test.inc: Include <string.h>.
bdf09fab 4431
697568d1
UD
44322000-06-20 Jes Sorensen <jes@linuxcare.com>
4433
4434 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
4435
44362000-06-20 Jes Sorensen <jes@linuxcare.com>
4437
4438 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
4439 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
4440
44412000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
4442
4443 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
4444
44452000-06-20 Jes Sorensen <jes@linuxcare.com>
4446
4447 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
4448
1b97149d
UD
44492000-06-20 Ulrich Drepper <drepper@redhat.com>
4450
4451 * locale/programs/ld-collate.c (insert_value): Now take string and
4452 length instead of struct token* parameter. Adjust use of token.
4453 (handle_ellipsis): Likewise.
4454 (collate_read): Allow <Uxxxx> names and transform them into names
4455 to be passed to insert_value and handle_ellipsis.
4456
4457 * locale/programs/ld-ctype.c (uninames): New array with names of
4458 digits in <Uxxxxxxxx> format.
4459 (ctype_finish): Correct search for space character value. Likewise
4460 for default outdigits values.
4461
28546617
GM
44622000-06-20 Greg McGary <greg@mcgary.org>
4463
4464 * Makerules (objects): Add BP thunks.
4465
620cdffb
UD
44662000-06-20 Ulrich Drepper <drepper@redhat.com>
4467
4468 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
4469 in width definitions.
4470
a8a9cd6b
AJ
44712000-06-20 Andreas Jaeger <aj@suse.de>
4472
9380bb48
AJ
4473 * sysdeps/mips/fpu/libm-test-ulps: New file.
4474
a8a9cd6b
AJ
4475 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
4476 first.
4477
4478 * sysdeps/mips/fpu/feholdexcpt.c: New file.
4479
4480 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
4481
ea97f90c
UD
44822000-06-19 Ulrich Drepper <drepper@redhat.com>
4483
5d5a23df
UD
4484 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
4485 change in gconv_builtin.h.
4486
ba80a015
UD
4487 * malloc/Makefile: Change all references to memprof into memusage.
4488 * malloc/memprof.c: Rename to...
4489 * malloc/memusage.c: ...this. New file.
4490 * malloc/memprof.sh: Rename to...
4491 * malloc/memusage.sh: ...this. New file.
4492 * malloc/memprofstat.c: Rename to...
4493 * malloc/memusagestat.c: ...this. New file.
fa4a5fe7
UD
4494 * sysdeps/alpha/memprof.h: Rename to..
4495 * sysdeps/alpha/memusage.h: ...this. New file.
4496 * sysdeps/arm/memprof.h: Rename to..
4497 * sysdeps/arm/memusage.h: ...this. New file.
4498 * sysdeps/generic/memprof.h: Rename to..
4499 * sysdeps/generic/memusage.h: ...this. New file.
4500 * sysdeps/i386/memprof.h: Rename to..
4501 * sysdeps/i386/memusage.h: ...this. New file.
4502 * sysdeps/ia64/memprof.h: Rename to..
4503 * sysdeps/ia64/memusage.h: ...this. New file.
4504 * sysdeps/m68k/memprof.h: Rename to..
4505 * sysdeps/m68k/memusage.h: ...this. New file.
4506 * sysdeps/mips/memprof.h: Rename to..
4507 * sysdeps/mips/memusage.h: ...this. New file.
4508 * sysdeps/powerpc/memprof.h: Rename to..
4509 * sysdeps/powerpc/memusage.h: ...this. New file.
4510 * sysdeps/sparc/memprof.h: Rename to..
4511 * sysdeps/sparc/memusage.h: ...this. New file.
4512 * sysdeps/sh/memprof.h: Rename to..
4513 * sysdeps/sh/memusage.h: ...this. New file.
ba80a015 4514
ea97f90c
UD
4515 * elf/sprof.c (print_version): Update year.
4516
4517 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
4518 table entry values. Use D_PTR.
4519 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
4520 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
4521
131bf9f3
UD
45222000-06-20 Jes Sorensen <jes@linuxcare.com>
4523
4524 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
4525 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
4526 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
4527 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
4528
45292000-05-05 Jes Sorensen <jes@linuxcare.com>
4530
4531 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
4532
0289ab3b
UD
45332000-06-16 Jes Sorensen <jes@linuxcare.com>
4534
4535 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
4536 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
4537 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
4538
4539 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
4540
4541 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
4542 kernel change.
4543
4544 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
4545 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
4546 structure.
4547 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
4548 implementation.
4549
45502000-06-15 Jes Sorensen <jes@linuxcare.com>
4551
4552 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
4553
45542000-06-08 Jes Sorensen <jes@linuxcare.com>
4555
4556 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
4557
d6204268
UD
45582000-06-19 Ulrich Drepper <drepper@redhat.com>
4559
d2dfc5de
UD
4560 * iconv/gconv_int.h (strict gconv_module): Remove all members
4561 associated with regular expressions. Use a simple string as the
4562 from name.
4563 * iconv/gconv_db.c: Remove code handling regular expressions.
4564 * iconv/gconv_conf.c: Likewise.
4565 * iconv/iconv_prog.c: Likewise.
4566 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
4567
d6204268
UD
4568 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
4569 General namespace cleanup.
4570 (struct __gconv_trans_data): Add next field.
4571 (struct __gconv_step_data): Make __trans a pointer.
4572 * iconv/gconv_conf.c: Split out code to find gconv directories from
4573 __gconv_read_conf in new functions.
4574 * iconv/gconv_int.h: Define new data structure and declare new
4575 functions for handling of gconv directory list.
4576 * iconv/gconv_open.c: Allow more than one error handling step being
4577 used. Call function to load error handling module if it is none
4578 of the builtin transformations.
4579 * iconv/gconv_close.c: Add code to free transliteration data.
4580 * iconv/gconv_trans.c: Add functions to load and unload modules
4581 implementing transliteration etc.
4582 * iconv/skeleton.c: Call all context functions now that more than
4583 one module is allowed.
4584 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
4585 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
4586 where the full error handling using transliteration is needed.
4587 * iconvdata/8bit-gap.c: Likewise.
4588 * iconvdata/8bit-generic.c: Likewise.
4589 * iconvdata/ansi_x3.110.c: Likewise.
4590 * iconvdata/big5.c: Likewise.
4591 * iconvdata/big5hkscs.c: Likewise.
4592 * iconvdata/euc-cn.c: Likewise.
4593 * iconvdata/euc-jp.c: Likewise.
4594 * iconvdata/euc-kr.c: Likewise.
4595 * iconvdata/euc-tw.c: Likewise.
4596 * iconvdata/gbgbk.c: Likewise.
4597 * iconvdata/gbk.c: Likewise.
4598 * iconvdata/iso-2022-cn.c: Likewise.
4599 * iconvdata/iso-2022-jp.c: Likewise.
4600 * iconvdata/iso-2022-kr.c: Likewise.
4601 * iconvdata/iso646.c: Likewise.
4602 * iconvdata/iso8859-1.c: Likewise.
4603 * iconvdata/iso_6937-2.c: Likewise.
4604 * iconvdata/iso_6937.c: Likewise.
4605 * iconvdata/johab.c: Likewise.
4606 * iconvdata/sjis.c: Likewise.
4607 * iconvdata/t.61.c: Likewise.
4608 * iconvdata/uhc.c: Likewise.
4609 * iconvdata/unicode.c: Likewise.
4610 * iconvdata/utf-16.c: Likewise.
4611 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
4612 structure correctly after last change.
4613 * wcsmbs/btowc.c: Likewise.
4614 * wcsmbs/mbrtowc.c: Likewise.
4615 * wcsmbs/mbsnrtowcs.c: Likewise.
4616 * wcsmbs/mbsrtowcs.c: Likewise.
4617 * wcsmbs/wcrtomb.c: Likewise.
4618 * wcsmbs/wcsnrtombs.c: Likewise.
4619 * wcsmbs/wcsrtombs.c: Likewise.
4620 * wcsmbs/wctob.c: Likewise.
4621
4622 * localedata/Makefile: Set -Wno-format for some files since gcc does
4623 not know all the format specifiers.
4624
46252000-06-18 Ulrich Drepper <drepper@redhat.com>
4626
4627 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
4628 unneeded code.
4629 * locale/lc-time.c (_nl_init_era_entries): Likewise.
4630
85577882
AJ
46312000-06-18 Andreas Jaeger <aj@suse.de>
4632
4633 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
4634 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4635
a8e4c924
UD
46362000-06-17 Ulrich Drepper <drepper@redhat.com>
4637
89ffa8a8
UD
4638 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
4639 LINUX_LINK_MAX.
4640 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
a9c464ab 4641
498b733e
UD
4642 * locale/programs/ld-ctype.c (ctype_output): Really write out
4643 mboutdigits information.
4644 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
4645 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
4646 * localedata/tests/trans.def: Add outdigit information.
4647
4648 * localedata/tst-mbswcs3.c: Remove comment.
4649
9d54e984 4650 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
ce723583
UD
4651 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
4652 * libio/tst_wprintf.c (main): Add test for I flag.
9d54e984 4653
a8e4c924
UD
4654 * iconv/gconv_trans.c: Implement handling if translit_ignore.
4655 * locale/langinfo.h: Add entries for translit_ignore information.
4656 * locale/categories.def: Add entries for new LC_CTYPE elements.
4657 * locale/C-ctype.c: Add initializers for new fields. Use NULL
4658 pointer instead of "" where possible.
4659 * locale/programs/ld-ctype.c: Write out translit_ignore information.
4660 * intl/Depend: Add localedata.
4661 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
4662 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
4663
323fb88d
UD
46642000-06-16 Ulrich Drepper <drepper@redhat.com>
4665
1d96d74d
UD
4666 * locale/langinfo.h: Add entries for default_missing information.
4667 * locale/C-ctype.c: Add initializers for new fields.
4668 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
4669 information.
4670 * locale/categories.h: Add entries for all LC_CTYPE values.
4671 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
4672 information.
4673
4674 * localedata/tst-trans.c: Write out an error message if class is
4675 not found.
4676
323fb88d
UD
4677 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
4678 * iconv/gconv_open.c: Remove error handling specification from `from'
4679 character set name.
4680 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
4681 new parameter to always enable transliteration.
4682 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
4683 change.
4684 (struct locale_data): Add new members use_translit and options.
4685 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
4686 character set name contained modifier TRANSLIT.
4687 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
4688 and options fields.
4689 (_nl_unload_locale): Free options string if necessary.
4690 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
4691 the locale names suggested this.
4692 * locale/C-address.c: Add two new initialilzers to adjust data
4693 structure for new format.
4694 * locale/C-collate.c: Likewise.
4695 * locale/C-ctype.c: Likewise.
4696 * locale/C-identification.c: Likewise.
4697 * locale/C-measurement.c: Likewise.
4698 * locale/C-messages.c: Likewise.
4699 * locale/C-monetary.c: Likewise.
4700 * locale/C-name.c: Likewise.
4701 * locale/C-numeric.c: Likewise.
4702 * locale/C-paper.c: Likewise.
4703 * locale/C-telephone.c: Likewise.
4704 * locale/C-time.c: Likewise.
4705
4706 * locale/setlocale.c: Add some more __builtin_expect.
4707
f1d5c60d
UD
47082000-06-15 Ulrich Drepper <drepper@redhat.com>
4709
4710 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
4711 unsigned char **.
4712 (__gconv_init_fct): Remove two parameters.
4713 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
4714 gconv_transliterate. Remove two parameters.
4715 Change prototypes of builtin functions according to __gconv_fct change.
4716 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
4717 != NULL only during error handling. Stop in this case after the
4718 conversion.
4719 * iconv/gconv_trans.c: Replace with real implementation for
4720 __gconv_transliterate.
4721 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
4722 * iconv/gconv.c: Change calls to downstream functions once again.
4723 Use NULL for the fifth parameter instead of pointer to output buffer.
4724 * libio/iofwide.c: Likewise.
4725 * wcsmbs/btowc.c: Likewise.
4726 * wcsmbs/mbrtowc.c: Likewise.
4727 * wcsmbs/mbsnrtowcs.c: Likewise.
4728 * wcsmbs/mbsrtowcs.c: Likewise.
4729 * wcsmbs/wcrtomb.c: Likewise.
4730 * wcsmbs/wcsnrtombs.c: Likewise.
4731 * wcsmbs/wcsrtombs.c: Likewise.
4732 * wcsmbs/wctob.c: Likewise.
4733 * iconv/gconv_simple.c: Remove two parameters from error handling
4734 function call.
4735 * iconvdata/8bit-gap.c: Likewise.
4736 * iconvdata/8bit-generic.c: Likewise.
4737 * iconvdata/ansi_x3.110.c: Likewise.
4738 * iconvdata/big5.c: Likewise.
4739 * iconvdata/big5hkscs.c: Likewise.
4740 * iconvdata/euc-cn.c: Likewise.
4741 * iconvdata/euc-jp.c: Likewise.
4742 * iconvdata/euc-kr.c: Likewise.
4743 * iconvdata/euc-tw.c: Likewise.
4744 * iconvdata/gbgbk.c: Likewise.
4745 * iconvdata/gbk.c: Likewise.
4746 * iconvdata/iso-2022-cn.c: Likewise.
4747 * iconvdata/iso-2022-jp.c: Likewise.
4748 * iconvdata/iso-2022-kr.c: Likewise.
4749 * iconvdata/iso646.c: Likewise.
4750 * iconvdata/iso8859-1.c: Likewise.
4751 * iconvdata/iso_6937-2.c: Likewise.
4752 * iconvdata/iso_6937.c: Likewise.
4753 * iconvdata/johab.c: Likewise.
4754 * iconvdata/sjis.c: Likewise.
4755 * iconvdata/t.61.c: Likewise.
4756 * iconvdata/uhc.c: Likewise.
4757 * iconvdata/unicode.c: Likewise.
4758 * iconvdata/utf-16.c: Likewise.
4759
f5361098
UD
47602000-06-15 Greg McGary <greg@mcgary.org>
4761
4762 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
4763 of callnum assignment. Tolerate callnum expressions containing
4764 parens.
4765
6bca0305
UD
47662000-06-14 Ulrich Drepper <drepper@redhat.com>
4767
18b149d8
UD
4768 * login/Makefile (utmpd): Remove rule to build utmpd.
4769
4770 * csu/Versions: Move libgcc frame handling functions from here...
4771 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
4772 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
4773 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
4774 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
4775 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
4776 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
4777 New file.
fcf81e81 4778 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
18b149d8 4779
9ca23765
UD
4780 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
4781
6bca0305
UD
4782 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
4783
e26dd47f
UD
47842000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
4785
4786 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
4787 compatibility.
4788 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
4789 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
4790 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
4791 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
4792
47932000-06-14 Jakub Jelinek <jakub@redhat.com>
4794
4795 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
4796 defined, terminate quotes and read them after the comment char.
4797 * configure.in (HAVE_SECTION_QUOTES): Test whether
4798 __attribute__((section ("x"))) puts quotes around x or not.
4799 * config.h.in (HAVE_SECTION_QUOTES): Add.
4800 * configure: Rebuilt.
4801
e85db9de
AJ
48022000-06-14 Andreas Jaeger <aj@suse.de>
4803
cee49e0c
AJ
4804 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
4805 depending on the configure option --sysconfdir.
e3978a35
UD
4806 Closes PR libc/1762.
4807 Patch by Andreas Schwab <schwab@suse.de>.
cee49e0c 4808
e85db9de
AJ
4809 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
4810 entry point.
4811 Reported by Jim Pick <jim@jimpick.com>.
4812
594cee6c
UD
48132000-06-14 Ulrich Drepper <drepper@redhat.com>
4814
4815 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
4816 crashing the application. Emit some simple error message.
4817 Reported by mju@panasas.com [PR libc/1769].
4818
b8d36e83
UD
48192000-06-13 Ulrich Drepper <drepper@redhat.com>
4820
1bfae401
UD
4821 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
4822
46462326
UD
4823 * crypt/Makefile (distribute): Add md5.h.
4824
cf2964e2
UD
4825 * Makefile (distribute): Add include/shlib-compat.h.
4826
002ab034
UD
4827 * Make-dist: Search for tests also in sysdeps hierachy.
4828
afa0569f
UD
4829 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
4830 ufc.c, speeds.c, README.ufc-crypt, and Banner.
4831
4832 * sysdeps/sparc/Subdirs: New file.
4833
4834 * locale/Makefile (distribute): Add weightwc.h and
4835 programs/localedef.h.
4836
4837 * time/Makefile (distribute): Add datemsk.
4838
4839 * sysdeps/ia64/Dist: Add softpipe.h.
4840
4841 * sysdeps/unix/sysv/aix/Dist: New file.
4842
4843 * posix/setpgrp.c: Moved to...
4844 * sysdeps/generic/setpgrp.c: ...here. New file.
4845 * io/mknod.c: Moved to...
4846 * sysdeps/generic/mknod.c: ...here. New file.
4847
4848 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
4849
4850 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
4851
4852 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
4853
4854 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
4855 gprsave0.S, gprrest1.S, and gprrest0.S.
4856
4857 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
4858
4859 * posix/Makefile (routines): Add spawnattr_getsigmask,
4860 spawnattr_getschedpolicy, spawnattr_getschedparam,
4861 spawnattr_setsigmask, spawnattr_setschedpolicy, and
4862 spawnattr_setschedparam.
4863 * posix/Versions: Add posix_spawnattr_getschedpolicy,
4864 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
4865 posix_spawnattr_setschedparam.
4866
4867 * posix/spawnattr_setschedparam.c: Fix typo.
4868
4869 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
4870 Correct typo.
4871
4872 * login/programs/utmpd.c: Removed.
4873 * login/programs/utmpd.h: Removed.
4874 * login/programs/utmpd-private.h: Removed.
4875
4876 * Makefile (distribute): Add include/db_185.h and include/db.h.
4877
4878 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
4879 iso-ir-165.h.
4880
4881 * elf/Makefile (distribute): Add missing files.
4882
4883 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
4884 * elf/eval.c: Moved to...
4885 * dlfcn/eval.c: ...here. New file.
4886
4887 * Makefile (distribute): Also distribute ChangeLog.1?.
4888
490dc9aa
UD
4889 * Make-dist (+tsrcs): Remove .args handling here as well.
4890
7ae1fe4d
UD
4891 * rt/Makefile (tests): Add tst-timer.
4892 * sysdeps/generic/tst-timer.c: New file.
4893
5539d257
UD
4894 * Makerules (sources): Don't add BP sources here.
4895
4896 * login/Makefile (distribute): Remove xtmp.h.
4897
b8d36e83
UD
4898 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
4899 is true. Reported by Bruno Haible <haible@ilog.fr>.
4900
f7b94528
AJ
49012000-06-13 Andreas Jaeger <aj@suse.de>
4902
4903 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
4904 Patch by Ralf Baechle <ralf@gnu.org>.
4905
ab95290c
UD
49062000-06-13 Ulrich Drepper <drepper@redhat.com>
4907
b4e3d964
UD
4908 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
4909 for mincore syscall.
4910
ab95290c
UD
4911 * misc/sys/cdefs.h: Define __bounded and __unbounded if
4912 __BOUNDED_POINTERS__ is not defined.
4913
49142000-06-07 Greg McGary <greg@mcgary.org>
4915
4916 * sysdeps/generic/bp-sym.h: New file.
4917 * sysdeps/generic/bp-start.h: New file.
4918 * sysdeps/i386/elf/start.S: Designate BP symbols.
4919 * sysdeps/generic/libc-start.c: Wrap bounds around
4920 argv & envp and each of their string members.
4921
49222000-06-07 Greg McGary <greg@mcgary.org>
4923
4924 * sysdeps/unix/make-syscalls.sh: Add comments to
4925 output that aid debugging & comprehension.
4926 Map simple syscall signatures to number of args.
4927 Generate BP syscall thunk definitions.
4928 * sysdeps/generic/bp-thunks.h: New file.
4929 * sysdeps/unix/syscalls.list: Replace arg-count with
4930 simple return+arg signature.
4931 * sysdeps/unix/common/syscalls.list: Likewise.
4932 * sysdeps/unix/inet/syscalls.list: Likewise.
4933 * sysdeps/unix/mman/syscalls.list: Likewise.
4934 * sysdeps/unix/sysv/syscalls.list: Likewise.
4935 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4936 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4937
49382000-06-07 Greg McGary <greg@mcgary.org>
4939
ee63ca21
GM
4940 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
4941 for all files *.[cS].
ab95290c
UD
4942 (CFLAGS-.ob): Don't optimize sibling calls.
4943 (bppfx): New variable.
4944 * Makerules (elide-bp-thunks): New variable.
4945 (elide-routines.*): Elide BP-* files for all but *.ob.
4946 (sources): Include bp-thunks.
4947
4b40cff4
UD
49482000-06-12 Ulrich Drepper <drepper@redhat.com>
4949
ab95290c
UD
4950 * iconv/gconv_simple.c: Remove unnecessary prototype.
4951
4952 * iconv/gconv_trans.c: Pretty print.
4953
a5c88158
UD
4954 * elf/elf.h (R_SH_NUM): Got accidently dropped.
4955
48d0c5d8
UD
4956 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
4957 minimal kernel versions. Add information about IA-64 kernel.
4958
003a02c6
UD
4959 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
4960 specific minimal supported kernel versions to be specified.
4961
ff048a13
UD
4962 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
4963 step data structure.
4964 * wcsmbs/btowc.c: Likewise.
4965 * wcsmbs/mbrtowc.c: Likewise.
4966 * wcsmbs/mbsnrtowcs.c: Likewise.
4967 * wcsmbs/mbsrtowcs.c: Likewise.
4968 * wcsmbs/wcrtomb.c: Likewise.
4969 * wcsmbs/wcsnrtombs.c: Likewise.
4970 * wcsmbs/wcsrtombs.c: Likewise.
4971 * wcsmbs/wctob.c: Likewise.
4972
0aaf6d96
UD
4973 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
4974 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
4975
6e62dceb
UD
4976 * shlib-versions: Earliest backward compatible version for SH is 2.2.
4977
fbedbe9d
UD
4978 * misc/sys/cdefs.h: Remove one more __P.
4979
04cdaa08 4980 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
0da2f50b
UD
4981 Reported by HJ Lu.
4982
4b40cff4
UD
4983 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
4984 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
4985 * sysdeps/sh/bits/setjmp.h: ...here. New file.
4986
88615235
UD
49872000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
4988 Yutaka Niibe <gniibe@chroot.org>
4989
4990 * configure.in: Add machine sh3, sh4.
4991 * elf/elf.h: Add SH specific declarations of relocations.
4992 * shlib-versions: Add sh*-*-linux* cases.
4993
37fb8add
UD
49942000-06-12 Ulrich Drepper <drepper@redhat.com>
4995
9405414f
UD
4996 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
4997 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
4998 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
4999 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
5000 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
5001 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
5002
afa0db7a
UD
5003 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
5004 instead of KERNEL_MATH_EMULATION.
5005 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
5006 KERNEL_MATH_EMULATION.
5007
65074d23
UD
5008 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
5009 * sysdeps/sh/sh3/dl-machine.h: Moved to...
5010 * sysdeps/sh/dl-machine.h: ...here. New file.
5011 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
5012 and include generic SH version.
5013 * sysdeps/sh/sh3/bits/endian.h: Move to...
5014 * sysdeps/sh/bits/endian.h: ...here. New file.
5015 * sysdeps/sh/sh4/bits/endian.h: Removed.
5016 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
5017 * sysdeps/sh/bits/huge_val.h: ...here. New file.
5018 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
5019
37fb8add 5020 * include/libc-symbols.h (link_warning): Work around a change in
65074d23
UD
5021 GAS which warns about changing section attributes.
5022 Proposed by Nick Clifton <nickc@redhat.com>.
37fb8add 5023
2caacb0a
UD
50242000-06-12 H.J. Lu <hjl@gnu.org>
5025
5026 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
5027
50282000-06-11 H.J. Lu <hjl@gnu.org>
5029
5030 * sysdeps/i386/fpu/Versions: New file.
5031
4d37e19c
UD
50322000-06-12 Ulrich Drepper <drepper@redhat.com>
5033
5034 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
5035 parameters.
5036 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
5037 exists.
5038
30010c63
UD
50392000-06-12 Jes Sorensen <jes@linuxcare.com>
5040
5041 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
5042 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
5043 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
5044
5045 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
5046 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
5047 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
5048
3846ef75
UD
50492000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
5050 Yutaka Niibe <gniibe@chroot.org>
5051
5052 * sysdeps/sh/Dist: New file.
5053 * sysdeps/sh/Implies: New file.
65074d23 5054 * sysdeps/sh/elf/initfini.c: New file.
3846ef75
UD
5055 * sysdeps/sh/gmp-mparam.h: New file.
5056 * sysdeps/sh/init-first.c: New file.
5057 * sysdeps/sh/machine-gmon.h: New file.
5058 * sysdeps/sh/memcpy.S: New file.
5059 * sysdeps/sh/memprof.h: New file.
5060 * sysdeps/sh/memset.S: New file.
5061 * sysdeps/sh/sh3/__longjmp.S: New file.
5062 * sysdeps/sh/sh3/bits/endian.h: New file.
5063 * sysdeps/sh/sh3/bits/huge_val.h: New file.
5064 * sysdeps/sh/sh3/bits/setjmp.h: New file.
5065 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
5066 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
5067 * sysdeps/sh/sh3/dl-machine.h: New file.
3846ef75 5068 * sysdeps/sh/sh3/setjmp.S: New file.
3846ef75
UD
5069 * sysdeps/sh/sh4/__longjmp.S: New file.
5070 * sysdeps/sh/sh4/bits/endian.h: New file.
5071 * sysdeps/sh/sh4/bits/huge_val.h: New file.
5072 * sysdeps/sh/sh4/bits/setjmp.h: New file.
5073 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
5074 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
5075 * sysdeps/sh/sh4/dl-machine.h: New file.
3846ef75
UD
5076 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
5077 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
5078 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
5079 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
5080 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
5081 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
5082 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
5083 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
5084 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
5085 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
5086 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
5087 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
5088 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
5089 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
5090 * sysdeps/sh/sh4/setjmp.S: New file.
65074d23
UD
5091 * sysdeps/sh/elf/start.S: New file.
5092 * sysdeps/sh/sys/ucontext.h: New file.
3846ef75
UD
5093 * sysdeps/sh/strlen.S: New file.
5094 * sysdeps/sh/sysdep.h: New file.
5095 * sysdeps/unix/sh/sysdep.S: New file.
5096 * sysdeps/unix/sh/sysdep.h: New file.
5097 * sysdeps/unix/sysv/linux/sh/Dist: New file.
5098 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
5099 * sysdeps/unix/sysv/linux/sh/Versions: New file.
5100 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
5101 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
5102 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
5103 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
5104 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
5105 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
5106 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
5107 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
5108 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
5109 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
5110 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
5111 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
5112 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
5113 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
5114 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
5115 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
5116 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
5117 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
5118 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
5119 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
5120 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
5121 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
5122 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
5123 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
5124 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
5125 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
5126 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
5127 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
5128 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
5129 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
5130 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
5131 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
5132 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
5133 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
5134 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
5135 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
5136 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
5137 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
5138 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
5139 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
5140 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5141 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
5142 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
5143 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
5144 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
5145 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
5146 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
5147
55985355
UD
51482000-06-12 Ulrich Drepper <drepper@redhat.com>
5149
5150 * Rules (%.out): Define GCONV_PATH in the environment.
5151 * assert/Depend: New file.
5152 * iconvdata/Depend: New file.
5153 * intl/Depend: New file.
5154 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
5155 * intl/tst-gettext.sh: Likewise.
5156 * iconv/Makefile (routines): Add gconv_trans.
5157 * iconv/gconv_trans.c: New file.
5158 * iconv/gconv.h (struct __gconv_trans_data): New type.
5159 (__gconv_fct): New parameter with starting position in output buffer.
5160 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
5161 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
5162 (struct __gconv_step): Add new member __trans.
5163 * iconv/gconv_int.h: Pretty print prototypes.
5164 (gconv_transliterate): New prototype.
5165 (__BUILTIN_TRANS): Update for new conversion function interface.
5166 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
5167 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
5168 in names, find appropriate function, and install in the conversion
5169 steps it can be used.
5170 * iconv/skeleton.c: Add additional parameter for beginning of output
5171 buffer. Change calls of downstream functions.
5172 * iconv/loop.c: Change loop function interface completely. Pass in
5173 step and step_data structure. Remove optimization for BODY with
5174 NEED_LENGTH_TEST == 0.
5175 * iconv/gconv_simple.c: Update interfaces of functions. Insert
5176 appropriate error handling code to use transliteration steps. Remove
5177 optimization for BODY with NEED_LENGTH_TEST == 0.
5178 * iconvdata/8bit-gap.c: Likewise.
5179 * iconvdata/8bit-generic.c: Likewise.
5180 * iconvdata/ansi_x3.110.c: Likewise.
5181 * iconvdata/big5.c: Likewise.
5182 * iconvdata/big5hkscs.c: Likewise.
5183 * iconvdata/euc-cn.c: Likewise.
5184 * iconvdata/euc-jp.c: Likewise.
5185 * iconvdata/euc-kr.c: Likewise.
5186 * iconvdata/euc-tw.c: Likewise.
5187 * iconvdata/gbgbk.c: Likewise.
5188 * iconvdata/gbk.c: Likewise.
5189 * iconvdata/iso-2022-cn.c: Likewise.
5190 * iconvdata/iso-2022-jp.c: Likewise.
5191 * iconvdata/iso-2022-kr.c: Likewise.
5192 * iconvdata/iso646.c: Likewise.
5193 * iconvdata/iso8859-1.c: Likewise.
5194 * iconvdata/iso_6937-2.c: Likewise.
5195 * iconvdata/iso_6937.c: Likewise.
5196 * iconvdata/johab.c: Likewise.
5197 * iconvdata/sjis.c: Likewise.
5198 * iconvdata/t.61.c: Likewise.
5199 * iconvdata/uhc.c: Likewise.
5200 * iconvdata/unicode.c: Likewise.
5201 * iconvdata/utf-16.c: Likewise.
5202 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
5203 DL_CALL_FCT.
5204 * wcsmbs/btowc.c: Likewise.
5205 * wcsmbs/mbrtowc.c: Likewise.
5206 * wcsmbs/mbsnrtowcs.c: Likewise.
5207 * wcsmbs/mbsrtowcs.c: Likewise.
5208 * wcsmbs/wcrtomb.c: Likewise.
5209 * wcsmbs/wcsnrtombs.c: Likewise.
5210 * wcsmbs/wcsrtombs.c: Likewise.
5211 * wcsmbs/wctob.c: Likewise.
5212
b6299091
GK
52132000-04-11 Geoff Keating <geoffk@cygnus.com>
5214
5215 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
5216 other header files. Mention about 128-byte cache line sizes.
5217 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
5218 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
5219 for current calling sequence.
5220 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
5221
5222 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
5223 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5224
5225 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
5226 and setrlimit syscalls for backwards compatibility.
5227
e5221165
UD
52282000-06-10 Ulrich Drepper <drepper@redhat.com>
5229
38677ace
UD
5230 * iconv/skeleton.c: Rename converted written to correcter name
5231 irreversible.
5232 * iconv/gconv.c: Rename converted variable to correcter name
5233 irreversible.
5234 * iconv/gconv_int.h: Likewise.
5235 * iconv/gconv_simple.c: Likewise.
5236 * iconv/iconv.c: Likewise.
5237 * iconv/loop.c: Likewise.
5238 * iconvdata/8bit-gap.c: Likewise.
5239 * iconvdata/8bit-generic.c: Likewise.
5240 * iconvdata/ansi_x3.110.c: Likewise.
5241 * iconvdata/big5.c: Likewise.
5242 * iconvdata/big5hkscs.c: Likewise.
5243 * iconvdata/euc-cn.c: Likewise.
5244 * iconvdata/euc-jp.c: Likewise.
5245 * iconvdata/euc-kr.c: Likewise.
5246 * iconvdata/gbgbk.c: Likewise.
5247 * iconvdata/gbk.c: Likewise.
5248 * iconvdata/iso-2022-cn.c: Likewise.
5249 * iconvdata/iso-2022-jp.c: Likewise.
5250 * iconvdata/iso-2022-kr.c: Likewise.
5251 * iconvdata/iso646.c: Likewise.
5252 * iconvdata/iso8859-1.c: Likewise.
5253 * iconvdata/iso_6937-2.c: Likewise.
5254 * iconvdata/iso_6937.c: Likewise.
5255 * iconvdata/johab.c: Likewise.
5256 * iconvdata/sjis.c: Likewise.
5257 * iconvdata/t.61.c: Likewise.
5258 * iconvdata/uhc.c: Likewise.
5259 * iconvdata/unicode.c: Likewise.
5260 * iconvdata/utf-16.c: Likewise.
5261
e5221165
UD
5262 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
5263 __cmsg_data field with __extension__.
5264
d049b712
UD
52652000-06-10 David Mosberger <davidm@hpl.hp.com>
5266
5267 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
5268
3f912cee
UD
52692000-06-10 Ulrich Drepper <drepper@redhat.com>
5270
3593973b
UD
5271 * iconv/gconv_simple.c: Fix various small bugs in several
5272 functions.
5273
3f912cee
UD
5274 * iconv/loop.c: Fix comment.
5275
7e6d3809
UD
52762000-06-10 Jakub Jelinek <jakub@redhat.com>
5277
5278 * elf/link.h: Remove libc internal declarations.
5279 * include/link.h: Move them here.
5280
8e17ea58
UD
52812000-06-09 Ulrich Drepper <drepper@redhat.com>
5282
000171e5
UD
5283 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
5284 Patch by Dan Pop <Dan.Pop@cern.ch>.
5285
8e17ea58
UD
5286 Rewrite error message handling.
5287 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
5288 _dl_catch_error.
5289 * elf/dl-error (struct catch): Add objname member.
5290 (_dl_signal_error): Take new parameter with object name. When
5291 passing message on simply store object name and duplicate error
5292 message.
5293 (_dl_catch_error): Take new parameter. Store object name in the
5294 place pointed to.
5295 * include/dlfcn.h: Adjust _dl_catch_error prototype.
5296 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
04470dc0
UD
5297 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
5298 (dlerror): Add objname to asprintf() parameters.
5299 (_dl_error_run): Pass new parameter to _dl_catch_error.
8e17ea58
UD
5300 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
5301 * elf/dl-open.c (_dl_open): Likewise.
5302 * elf/rtld.c (dl_main): Likewise.
5303 * elf/dl-close.c: Mark error messages with N_().
5304 * elf/dl-deps.c: Likewise.
5305 * elf/dl-error.c: Likewise.
5306 * elf/dl-load.c: Likewise.
5307 * elf/dl-open.c: Likewise.
5308 * elf/dl-reloc.c: Likewise.
5309 * elf/dl-support.c: Likewise.
5310 * elf/dl-sym.c: Likewise.
5311 * elf/dl-version.c: Likewise.
5312 * elf/dl-lookup.c: Add comments about problems with error message
5313 translations.
5314 * elf/dl-reloc.c: Likewise.
5315 * elf/dl-version.c: Likewise.
5316
d743ba1e
UD
53172000-06-09 H.J. Lu <hjl@gnu.org>
5318
5319 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
5320 after freeing it.
5321
5322 * dlfcn/Makefile (distribute): Add failtestmod.c.
5323 (tests): Add failtest.
5324 Add rules to build and run failtest.
5325 * dlfcn/failtest.c: New file.
5326 * dlfcn/failtestmod.c: New file.
5327
f3863621
UD
53282000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
5329
5330 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
5331 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
5332 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
5333 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
5334 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
5335
af501e15
UD
53362000-06-09 Jes Sorensen <jes@linuxcare.com>
5337
5338 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
5339 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
5340
c79c9039
UD
53412000-06-09 Jes Sorensen <jes@linuxcare.com>
5342 Ulrich Drepper <drepper@redhat.com>
5343
5344 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
5345 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
5346 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
5347 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
5348 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
5349 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
5350
301909fb
UD
53512000-06-09 Ulrich Drepper <drepper@redhat.com>
5352
5353 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
5354 to find correct mount point despite wrong information from the
5355 kernel.
5356
b511d8fc
UD
53572000-06-09 Jes Sorensen <jes@linuxcare.com>
5358
5359 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
5360 the address of a symbol so function pointers are handled properly.
5361
1acc0b55
UD
53622000-06-08 Ulrich Drepper <drepper@redhat.com>
5363
8aa8fc7f
UD
5364 * sysdeps/i386/Dist: Add bp-asm.h.
5365
480a06df
UD
5366 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
5367 defaultdir variable instead of "/var/shm" everywhere.
5368 (defaultdir): Change to /dev/shm/.
1acc0b55 5369
3f02f778
GM
53702000-06-08 Greg McGary <greg@mcgary.org>
5371
5372 * sysdeps/i386/bp-asm.h: New file.
5373 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
5374 offsets. Add ENTER/LEAVE macros for optionally maintaining
5375 frame-pointer chain when debugging.
5376 * sysdeps/i386/add_n.S: Likewise.
5377 * sysdeps/i386/addmul_1.S: Likewise.
5378 * sysdeps/i386/lshift.S: Likewise.
5379 * sysdeps/i386/memchr.S: Likewise.
5380 * sysdeps/i386/memcmp.S: Likewise.
5381 * sysdeps/i386/mul_1.S: Likewise.
5382 * sysdeps/i386/rawmemchr.S: Likewise.
5383 * sysdeps/i386/rshift.S: Likewise.
5384 * sysdeps/i386/stpcpy.S: Likewise.
5385 * sysdeps/i386/stpncpy.S: Likewise.
5386 * sysdeps/i386/strchr.S: Likewise.
5387 * sysdeps/i386/strchrnul.S: Likewise.
5388 * sysdeps/i386/strcspn.S: Likewise.
5389 * sysdeps/i386/strpbrk.S: Likewise.
5390 * sysdeps/i386/strrchr.S: Likewise.
5391 * sysdeps/i386/strspn.S: Likewise.
5392 * sysdeps/i386/strtok.S: Likewise.
5393 * sysdeps/i386/sub_n.S: Likewise.
5394 * sysdeps/i386/submul_1.S: Likewise.
5395 * sysdeps/i386/elf/setjmp.S: Likewise.
5396 * sysdeps/i386/i486/strcat.S: Likewise.
5397 * sysdeps/i386/i486/strlen.S: Likewise.
5398 * sysdeps/i386/i586/add_n.S: Likewise.
5399 * sysdeps/i386/i586/lshift.S: Likewise.
5400 * sysdeps/i386/i586/memcpy.S: Likewise.
5401 * sysdeps/i386/i586/memset.S: Likewise.
5402 * sysdeps/i386/i586/rshift.S: Likewise.
5403 * sysdeps/i386/i586/strchr.S: Likewise.
5404 * sysdeps/i386/i586/strcpy.S: Likewise.
5405 * sysdeps/i386/i586/strlen.S: Likewise.
5406 * sysdeps/i386/i586/sub_n.S: Likewise.
5407 * sysdeps/i386/i686/add_n.S: Likewise.
5408 * sysdeps/i386/i686/memcpy.S: Likewise.
5409 * sysdeps/i386/i686/mempcpy.S: Likewise.
5410 * sysdeps/i386/i686/memset.S: Likewise.
5411 * sysdeps/i386/i686/strcmp.S: Likewise.
5412
9e56352f
UD
54132000-06-08 Ulrich Drepper <drepper@redhat.com>
5414
47bc7a9b
UD
5415 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
5416
9001274d
UD
5417 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
5418 256 and don't use OPEN_MAX.
5419
9e56352f
UD
5420 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
5421 use it instead of LINK_MAX.
de1a7177 5422 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
9e56352f 5423
46a26d45
AJ
54242000-06-08 Andreas Jaeger <aj@suse.de>
5425
5426 * libio/genops.c (_IO_list_lock): Only compile body if we're
5427 thread safe.
5428 (_IO_list_unlock): Likewise.
5429 (_IO_list_resetlock): Likewise.
5430
dc3b5786
UD
54312000-06-07 Ulrich Drepper <drepper@redhat.com>
5432
bb790106
UD
5433 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
5434 unless user defined it.
5435
104d0690
UD
5436 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
5437 if not defined by the user.
5438
a27c96b0
UD
5439 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
5440 * libio/iofwrite.c (_IO_fwrite): Likewise.
5441
77741499
UD
5442 * time/time.h: Add missing __THROW for clock_getcpuclockid
5443 prototype.
5444
ffa8a903 5445 * elf/Makefile (distribute): Add dl-dtprocnum.h.
b0982c4a
UD
5446 * include/elf.h: Include also <dl-dtprocnum.h>.
5447 * elf/dl-deps.c: Likewise.
5448 * elf/dl-lookup.c: Likewise.
5449 * elf/dl-runtime.c: Likewise.
5450 * elf/dl-version.c: Likewise.
5451 * elf/do-rel.h: Likewise.
5452 * elf/dynamic-link.h: Likewise.
5453 * elf/link.h: Likewise.
5454 * elf/rtld.c: Likewise.
5455 * sysdeps/generic/dl-dtprocnum.h: New file.
5456 * sysdeps/ia64/dl-dtprocnum.h: New file.
5457 * sysdeps/mips/dl-dtprocnum.h: New file.
5458 * sysdeps/sparc/dl-dtprocnum.h: New file.
5459
d4f170a9
UD
5460 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
5461
7e281477
UD
5462 * elf/do-lookup.h: Add some __builtin_expect.
5463
dec126b4
UD
5464 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
5465
5466 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
5467 (_dl_dynamic_weak): New variable.
5468 * elf/dl-support.c: Likewise.
5469 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
5470 * elf/do-lookup.h: If we find a weak definition treat it like a
5471 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
5472 case treat it like before.
5473
b8565e78
UD
5474 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
5475 is in main program.
5476 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
5477
1c14af44
UD
5478 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
5479 using l_map_start and l_map_end.
5480
7b228b68
UD
5481 * elf/dl-version.c: Add __builtin_expect in many places.
5482
dc3b5786
UD
5483 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
5484 Update.
5485
3fc9ca4e
UD
54862000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
5487
5488 Lock for stdio stream list becomes global, for use in LinuxThreads.
5489
5490 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
5491 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
5492 _IO_list_resetlock): New interface for iterating global list of
5493 streams without accessing the _IO_list_all global variable,
5494 and for manipulating the lock which protects this list.
5495 * libio/libioP.h: Likewise.
5496 * libio/Version: Add entries for the new functions.
5497
5498 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
5499 pointer to _IO_FILE.
5500
2a631990
UD
55012000-06-07 Ulrich Drepper <drepper@redhat.com>
5502
ce177a84
UD
5503 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
5504 BIT() must actually be BITw().
5505
45c95239
UD
5506 * locale/programs/ld-ctype.c: Handle SP and space consistently.
5507
2a631990
UD
5508 * locale/programs/charmap.c: Allow string arguments for
5509 code_set_name and repertoiremap.
5510
99ac5e47
UD
55112000-06-07 Andreas Jaeger <aj@suse.de>
5512
5513 * elf/Makefile: Build ldconfig only when building shared libraries.
5514
55152000-06-07 Jakub Jelinek <jakub@redhat.com>
5516
5517 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
5518 __USE_ISOC99.
5519 (fdimf, __fdim, fdim): Likewise.
5520
345f9ac0
UD
55212000-06-07 Ulrich Drepper <drepper@redhat.com>
5522
5523 * locale/findlocale.c: Add __builtin_expect in many places.
5524 * locale/loadlocale.c: Likewise.
5525
9b6a9cee
GM
55262000-06-06 Greg McGary <greg@mcgary.org>
5527
d5bc737a
GM
5528 * sysdeps/mips/elf/start.S: Trim redundant code.
5529
1d280d9f
GM
5530 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
5531 Use C comments throughout. Line up operands column with tabs.
5532 * sysdeps/powerpc/strchr.S: Likewise.
5533 * sysdeps/powerpc/strcmp.S: Likewise.
5534 * sysdeps/powerpc/strcpy.S: Likewise.
5535 * sysdeps/powerpc/strlen.S: Likewise.
5536
9b6a9cee
GM
5537 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
5538 Get low part of &__curbrk with @l.
5539
89301d68
UD
55402000-06-06 Ulrich Drepper <drepper@redhat.com>
5541
4c3192f9
UD
5542 * iconvdata/utf-16.c: Add __builtin_expect in many places.
5543 * iconvdata/unicode.c: Likewise.
5544 * iconvdata/uhc.c: Likewise.
5545 * iconvdata/t.61.c: Likewise.
5546 * iconvdata/sjis.c: Likewise.
5547 * iconvdata/johab.c: Likewise.
5548 * iconvdata/iso_6937.c: Likewise.
5549 * iconvdata/iso_6937-2.c: Likewise.
5550 * iconvdata/iso8859-1.c: Likewise.
5551 * iconvdata/iso646.c: Likewise.
5552 * iconvdata/iso-2022-kr.c: Likewise.
89301d68
UD
5553 * iconvdata/iso-2022-jp.c: Likewise.
5554 * iconvdata/iso-2022-cn.c: Likewise.
5555 * iconvdata/gbgbk.c: Likewise.
5556 * iconvdata/gbk.c: Likewise.
5557 * iconvdata/euc-kr.c: Likewise.
5558 * iconvdata/euc-jp.c: Likewise.
5559 * iconvdata/euc-cn.c: Likewise.
5560
b0f1ca68
UD
55612000-06-05 Ulrich Drepper <drepper@redhat.com>
5562
5ea1a82d
UD
5563 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
5564 * iconvdata/big5.c: Likewise.
5565 * iconvdata/ansi_x3.110.c: Likewise.
5566 * iconvdata/8bit-generic.c: Likewise.
5567 * iconvdata/8bit-gap.c: Likewise.
5568 * iconv/loop.c: Likewise.
5569 * iconv/gconv_db.c: Likewise.
5570 * iconv/gconv_dl.c: Likewise.
5571 * iconv/gconv_simple.c: Likewise.
5572 * iconv/skeleton.c: Likewise.
365afefc 5573
85830c4c
UD
5574 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
5575 (struct __gconv_step_data): Rename __is_last to __flags.
5576 * iconv/gconv_close.c: Change all uses of __is_last.
5577 * iconv/skeleton.c: Likewise.
5578 * iconvdata/iso-2022-cn.c: Likewise.
5579 * iconvdata/iso-2022-jp.c: Likewise.
5580 * iconvdata/iso-2022-kr.c: Likewise.
5581 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
5582 Recognize IGNORE error handling, set flag, and remove from name.
5583 * iconv/loop.c (ignore_errors_p): Define.
5584 Add flags parameter to both functions.
5585 * iconv/skeleton.c: Pass flags to all conversion functions.
5586 * iconv/gconv_simple.c: Add flags parameter to all functions.
5587 Don't return error for invald error if ignore flag is set.
5588 (ucs4_internal_loop_single): Add missing pointer increment.
5589 (internal_ucs4le_loop_single): Likewise.
5590 * iconv/iconv_prog.c: Implement handling of -c parameter.
5591 * iconvdata/8bit-gap.c: Don't return error for invald error if
5592 ignore flag is set.
5593 * iconvdata/8bit-generic.c: Likewise.
5594 * iconvdata/ansi_x3.110.c: Likewise.
5595 * iconvdata/big5.c: Likewise.
5596 * iconvdata/big5hkscs.c: Likewise.
5597 * iconvdata/euc-cn.c: Likewise.
5598 * iconvdata/euc-jp.c: Likewise.
5599 * iconvdata/euc-kr.c: Likewise.
5600 * iconvdata/gbgbk.c: Likewise.
5601 * iconvdata/gbk.c: Likewise.
5602 * iconvdata/iso-2022-cn.c: Likewise.
5603 * iconvdata/iso-2022-jp.c: Likewise.
5604 * iconvdata/iso-2022-kr.c: Likewise.
5605 * iconvdata/iso646.c: Likewise.
5606 * iconvdata/iso8859-1.c: Likewise.
5607 * iconvdata/iso_6937-2.c: Likewise.
5608 * iconvdata/iso_6937.c: Likewise.
5609 * iconvdata/johab.c: Likewise.
5610 * iconvdata/sjis.c: Likewise.
5611 * iconvdata/t.61.c: Likewise.
5612 * iconvdata/uhc.c: Likewise.
5613 * iconvdata/unicode.c: Likewise.
5614 * iconvdata/utf-16.c: Likewise.
5615 * libio/fileops.c: Likewise.
5616 * libio/iofwide.c: Likewise.
5617 * wcsmbs/btowc.c: Likewise.
5618 * wcsmbs/mbrtowc.c: Likewise.
5619 * wcsmbs/mbsnrtowcs.c: Likewise.
5620 * wcsmbs/mbsrtowcs.c: Likewise.
5621 * wcsmbs/wcrtomb.c: Likewise.
5622 * wcsmbs/wcsnrtombs.c: Likewise.
5623 * wcsmbs/wcsrtombs.c: Likewise.
5624 * wcsmbs/wctob.c: Likewise.
5625
5626 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
b0f1ca68
UD
5627 an error.
5628
add40772
UD
56292000-06-04 Ulrich Drepper <drepper@redhat.com>
5630
5631 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
5632 counter for the object we are releasing, just decrement it.
5633 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
5634
1dd54850
UD
56352000-06-04 Jakub Jelinek <jakub@redhat.com>
5636
5637 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
5638 if -ffast-math.
5639
dda5c10b
UD
56402000-06-04 Ulrich Drepper <drepper@redhat.com>
5641
5642 * iconvdata/big5hkscs.c: New file.
5643 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
5644
5645 * iconvdata/gconv-modules: Add entry for new module.
61da7687
UD
5646 * iconvdata/Makefile (modules): Add BIG5HKSCS.
5647 (distribute): Add big5hkscs.c.
dda5c10b 5648
cc46c92d
UD
56492000-06-01 Jakub Jelinek <jakub@redhat.com>
5650
5651 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
5652 inlines to match prototypes in mathcalls.h.
5653 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
5654 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
5655 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
5656 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5657
b7a65b86
UD
56582000-06-03 Ulrich Drepper <drepper@redhat.com>
5659
ec880cc7
UD
5660 * elf/elf.h (SHT_SUNW_move): Define.
5661
b7a65b86
UD
5662 * elf/elf.h: Add more Solaris compatiblity definitions.
5663
ec215d43
AJ
56642000-06-03 Andreas Jaeger <aj@suse.de>
5665
cc46c92d 5666 * sysdeps/powerpc/dl-start.S: Close open comment.
ec215d43
AJ
5667
56682000-06-03 Jakub Jelinek <jakub@redhat.com>
5669
5670 * inet/Versions: Fix typo in rresvport_af export.
5671
a6dd2e55
UD
56722000-06-02 Ulrich Drepper <drepper@redhat.com>
5673
5674 * math/tgmath.h: Pretty print.
5675
7b61638d
AJ
56762000-06-02 Andreas Jaeger <aj@suse.de>
5677
5678 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
5679 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
5680
75e8d1f5
UD
56812000-06-02 Ulrich Drepper <drepper@redhat.com>
5682
5683 * elf/rtld.c (process_envvars): Test for = after variable name.
5684
61d655c1
UD
56852000-06-01 Ulrich Drepper <drepper@redhat.com>
5686
6c021fdc
UD
5687 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
5688 have extra call to __gmon_start__, use the pointer we already have.
5689
68979757
UD
5690 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
5691 shifting.
5692
61d655c1
UD
5693 * sysdeps/i386/elf/setjmp.S: Work around change is recent
5694 binutils. gas now emits a jump through the PLT instead of a
5695 relative jump if the jump target is an exported symbol.
5696
9f97f790
UD
56972000-05-31 Ulrich Drepper <drepper@redhat.com>
5698
5699 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
5700
c3e485f1
AJ
57012000-05-31 Andreas Jaeger <aj@suse.de>
5702
5703 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
5704 gregset_t.
5705
5706 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
5707 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
9f97f790 5708
c3e485f1
AJ
5709 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
5710 syscall.
5711 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5712
a907bff9
UD
57132000-05-30 Ulrich Drepper <drepper@redhat.com>
5714
a2fa8605
UD
5715 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
5716
9b014809
UD
5717 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
5718 * locale/localeconv.c: Make function versioned (with same definition).
5719
a907bff9
UD
5720 * elf/Makefile (modules-names): Strip before using it.
5721
e82a0295
AJ
57222000-05-30 Andreas Jaeger <aj@suse.de>
5723
5724 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
5725 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
5726 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
5727 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
5728 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
5729 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
5730
3846463e
UD
57312000-05-29 Ulrich Drepper <drepper@redhat.com>
5732
c8d32817
UD
5733 * Makefile: Add GNU make magic.
5734
3846463e
UD
5735 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
5736 Removed.
5737 * inet/rcmd.c: Remove __P. Remove unused variables.
5738 (iruserfopen): Make first parameter const.
5739 (ruserok_sa): Return result of ruserok2_sa.
5740 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
5741 * inet/rexec.c: Remove unused variables. Other small cleanups.
5742 * inet/ruserpass.c: Remove __P. Remove unused variables.
5743 (ruserpass): Check results of memory allocation.
5744 * include/netdb.h: Add prototype for ruserpass.
5745
03fad0ec
AJ
57462000-05-29 Andreas Jaeger <aj@suse.de>
5747
5748 * elf/readlib.c (interpreters): Use LD_SO since this is supported
5749 for all platforms.
5750
a8322b4f
UD
57512000-05-29 Jakub Jelinek <jakub@redhat.com>
5752
5753 * inet/rcmd.c (rresvport_af): Use correct port number.
5754
57552000-05-26 Andreas Schwab <schwab@suse.de>
5756
5757 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
5758 entries in all-sonames.
5759 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
5760 preserving the old name if different for compatibility.
5761
08c7f6b0
UD
57622000-05-29 Ulrich Drepper <drepper@redhat.com>
5763
5764 * posix/Makefile (tests): Add tst-spawn.
5765 (tst-spawn-ARGS): New variable.
5766 * posix/tst-spawn.c: New file.
5767
5768 * posix/spawn_faction_addclose.c: Correctly account for new entry.
5769 * posix/spawn_faction_adddup2.c: Likewise.
5770 * posix/spawn_faction_addopen.c: Likewise.
5771 * posix/spawni.c: Correctly test for success of dup2 calls.
5772
5773 * posix/tst-preadwrite.c: Check success of malloc call.
5774
31eb0a91
UD
57752000-05-28 Ulrich Drepper <drepper@redhat.com>
5776
079199de
UD
5777 * posix/Makefile (tests): Add tst-exec.
5778 (tst-exec-ARGS): New variable.
5779 * posix/tst-exec.c: New file.
5780
31eb0a91
UD
5781 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
5782
84838b8f
UD
57832000-05-04 Andreas Jaeger <aj@suse.de>
5784
5785 * string/string.h: Remove __strdup prototype, it's not needed in
5786 this file anymore.
5787
2588068b
UD
57882000-05-28 Ulrich Drepper <drepper@redhat.com>
5789
c0f3519d 5790 * posix/Makefile (tests): Add tst-fork.
079199de 5791 * posix/tst-fork.c: New file.
c0f3519d 5792
2588068b
UD
5793 * resolv/inet_pton.c: Loose __P.
5794
7163e69e
UD
57952000-05-21 Jakub Jelinek <jakub@redhat.com>
5796
5797 * libio/libioP.h (_IO_CHECK_WIDE): Define.
5798 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
7163e69e
UD
5799 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5800 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
5801 _IO_CHECK_WIDE fails.
5802
e6e81391
UD
58032000-05-28 Ulrich Drepper <drepper@redhat.com>
5804
1ef9f0b6
UD
5805 * po/da.po: New file.
5806
e6e81391
UD
5807 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
5808 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
5809
b160422e
UD
5810 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
5811 (Other iconv Implementations): Fix typo.
5812 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
5813
741845cb
AJ
58142000-05-27 Andreas Jaeger <aj@suse.de>
5815
5816 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
5817 normal version now.
5818 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
5819 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
5820 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5821 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5822 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
5823 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
5824
5825 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
5826 endianness to decide how to pass arguments.
5827 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5828
5829 * elf/vismain.c: Use test-skeleton interface.
5830 (TEST_FUNCTION): New macro.
5831 (do_test): Renamed from main.
5832
b455972f
UD
58332000-05-27 Ulrich Drepper <drepper@redhat.com>
5834
5835 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
5836 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
5837
5838 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
5839 handling of AI_V4MAPPED flag.
5840
5841 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
5842 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
5843 perform lookup for T_A type and tell getanswer_r to convert the
5844 result with new argument.
5845 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
5846 Don't convert addresses from IPv4 to IPv6 here.
5847 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
5848 IPv6 is wanted. Allow qtype and type from reply to disagree if
5849 IPv4 mapping has to be done. Perform mappings if required by the
5850 caller and not if RES_USE_INET6 bit in _res.options is set.
5851 Add several __builtin_expect.
5852
09bbe3bf
UD
58532000-05-26 Ulrich Drepper <drepper@redhat.com>
5854
e84e339f
UD
5855 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
5856
5857 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
4c540916
UD
5858 NULL.
5859
0a550321
UD
5860 * posix/tst-preadwrite.c: Allow parallel execution of
5861 tst-preadwrite and tst-preadwrite64.
5862
ad92208d
UD
5863 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
5864 * posix/tst-truncate.c: New file.
5865 * posix/tst-truncate64.c: New file.
5866
f0b2767b
UD
5867 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
5868 was switched.
5869
bd9df4cd 5870 * posix/Makefile (tests): Add tst-preadwrite64.
09bbe3bf
UD
5871 * posix/tst-preadwrite.c: Alloc file being used also for testing
5872 pread64 and pwrite64.
5873 * posix/tst-preadwrite64.c: New file.
5874
dc95d158
AJ
58752000-05-26 Andreas Jaeger <aj@suse.de>
5876
aac468ae
AJ
5877 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
5878 of arguments dependend on endianness.
5879 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5880
088b9917
AJ
5881 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
5882 normal version now.
5883 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
5884 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
5885 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5886 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5887
5888 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
5889 endianness to check how to pass argument.
5890 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5891
dc95d158
AJ
5892 * elf/ldconfig.h: Update parameter list for process_elf_file.
5893
5894 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
5895 Add parameter file_length and pass it ot process_elf*file.
5896
5897 * sysdeps/generic/readelflib.c (check_ptr): New.
5898 (process_elf_file): Use check_ptr to check all accesses to the
5899 mmapped file. Add parameter file_length.
5900
5901 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
5902 library names.
5903
5904 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
5905 Closes PR libc/1573, reported by Bradley White
5906 <bww@laurelnetworks.com>.
5907
81e43fc1
UD
59082000-05-25 Ulrich Drepper <drepper@redhat.com>
5909
5910 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
5911 __FAST_MATH__ is defined.
5912
378fbeb4
UD
59132000-05-22 Andreas Jaeger <aj@suse.de>
5914
5915 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
5916 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
5917
5918 * manual/math.texi (FP Function Optimizations): Document gcc
5919 -ffast-math behaviour with mathinlines.
5920
5921 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
5922 functions unless -ffast-math is given to gcc.
5923
0f550417
UD
59242000-05-23 Jakub Jelinek <jakub@redhat.com>
5925
5926 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
5927 __sincosl): Guard with __USE_GNU.
5928
acb5ee2e
UD
59292000-05-24 Ulrich Drepper <drepper@redhat.com>
5930
db33f7d4
UD
5931 * csu/Makefile (routines): Add check_fds.
5932 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
5933 binaries. Add various __builtin_expect.
5934 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
5935 * sysdeps/generic/check_fds.c: ...here. New file.
5936
5937 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
5938 binaries if file /etc/suid-debug is available.
5939
acb5ee2e
UD
5940 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
5941 and wcseqorder members.
5942 (struct locale_collate_t): Likewise.
5943 (collate_finish): Assign collation sequence value to each character.
5944 Create tables for output.
5945 (collate_output): Write out tables with collation sequence information.
5946 * locale/C-collate.c: Provide C locale data for collation sequence
5947 table.
5948 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
5949 _NL_COLLATE_COLLSEQWC.
5950 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
5951 _NL_COLLATE_COLLSEQWC.
5952 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
5953 include fnmatch_loop.c.
5954 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
5955 character is matched by range expression. Use collation sequence
5956 table. Outside glibc fall back on simple character value comparison.
5957
ff31ba59
AJ
59582000-05-24 Andreas Jaeger <aj@suse.de>
5959
fff82885
AJ
5960 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
5961 words.
5962
ff31ba59
AJ
5963 * intl/Makefile: Run gettext-test only if msgfmt is available.
5964
a074fa3c
AJ
5965 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
5966 Define it for newer kernels.
5967
eec8ef5a
UD
59682000-05-23 Ulrich Drepper <drepper@redhat.com>
5969
5e76a346
UD
5970 * elf/dl-sym.c: Minor cleanups.
5971
2d499f55
UD
5972 * configure.in: Add test for .protected.
5973 * config.make.in: Add have-protected variable.
eec8ef5a
UD
5974 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
5975 (tests-vis-yes): Add vismain.
5976 (modules-names): Add $(modules-vis-$(have-protected)).
5977 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
5978 Add rules to generate and run vismain.
5979 * elf/vismain.c: New file.
5980 * elf/vismod1.c: New file.
5981 * elf/vismod2.c: New file.
5982 * elf/vismod3.c: New file.
5983
21ad6b26
AJ
59842000-05-23 Andreas Jaeger <aj@suse.de>
5985
5986 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
5987
5988 * manual/search.texi (Array Sort Function): Document that qsort is
5989 not necessarily in-place.
5990
5991 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
5992 Closes PR libc/1731.
5993
bcaad6ee
AJ
5994 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
5995 * dirent/scandir64.c: Likewise.
5996 * pwd/getpw.c: Likewise.
5997 * stdlib/bsearch.c (bsearch): Likewise.
5998 * stdlib/tst-strtoll.c: Likewise.
5999 * localedata/collate-test.c: Likewise.
6000 * localedata/xfrm-test.c: Likewise.
6001 * posix/bsd-getpgrp.c: Likewise.
6002 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
6003 * sysdeps/generic/bits/siginfo.h: Likewise.
6004 * sysdeps/generic/bits/sockaddr.h: Likewise.
6005 * sysdeps/generic/sys/swap.h: Likewise.
6006 * sysdeps/generic/sys/sysinfo.h: Likewise.
6007 * sysdeps/generic/vfork.c: Likewise.
6008 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
6009 * sysdeps/mach/hurd/fdopen.c: Likewise.
6010 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
6011 * sysdeps/unix/sysv/linux/poll.c: Likewise.
6012 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6013 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6014 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6015 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6016 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
6017
6018 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
6019 * shadow/lckpwdf.c: Likewise.
6020 * stdlib/tst-strtol.c: Likewise.
6021 * sysdeps/generic/tcsetattr.c: Likewise.
6022 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6023 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6024
6a7c9bb4
UD
60252000-05-22 Jakub Jelinek <jakub@redhat.com>
6026
6027 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
6028 free it and set to (void *) -1.
6029
3f651a4d
UD
60302000-05-22 Jakub Jelinek <jakub@redhat.com>
6031
6032 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
6033 not the second character in the range.
6034 * stdio-common/tstscanf.c (main): Add testcase for the above.
6035 Reported by jik@kamens.brookline.ma.us.
6036
6aa29abe
UD
60372000-05-21 H.J. Lu <hjl@gnu.org>
6038
6039 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
6040 with noexec and noplt parameter.
6041 (do_lookup): Likewise.
6042
6043 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
6044 do_lookup. Support STV_PROTECTED.
6045 (_dl_lookup_symbol_skip): Likewise.
6046 (_dl_lookup_versioned_symbol): Likewise.
6047 (_dl_lookup_versioned_symbol_skip): Likewise.
6048
6049 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
6050
6051 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
6052
85153f6c
AJ
60532000-05-21 Jakub Jelinek <jakub@redhat.com>
6054
6055 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
6056 * sysdeps/i386/bits/huge_val.h: Likewise.
6057 * sysdeps/ieee754/bits/huge_val.h: Likewise.
6058 * sysdeps/m68k/bits/huge_val.h: Likewise.
6059 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
6060 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
6061
5748f418
AJ
60622000-05-22 Andreas Jaeger <aj@suse.de>
6063
6064 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
6065 change in iconv.h.
6066
4a624ae3
UD
60672000-05-19 Andreas Jaeger <aj@suse.de>
6068
6069 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
6070 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
6071 breaks compilation without linuxthreads.
6072
99a20616
UD
60732000-05-21 Ulrich Drepper <drepper@redhat.com>
6074
5bfc4252
UD
6075 * sysdeps/ia64/memccpy.S: New file.
6076 * sysdeps/ia64/memchr.S: New file.
6077 * sysdeps/ia64/memcmp.S: New file.
6078 * sysdeps/ia64/memcpy.S: New file.
6079 * sysdeps/ia64/memmove.S: New file.
6080 * sysdeps/ia64/memset.S: New file.
6081 * sysdeps/ia64/strcat.S: New file.
6082 * sysdeps/ia64/strchr.S: New file.
6083 * sysdeps/ia64/strcmp.S: New file.
6084 * sysdeps/ia64/strcpy.S: New file.
6085 * sysdeps/ia64/strlen.S: New file.
6086 * sysdeps/ia64/strncmp.S: New file.
6087 * sysdeps/ia64/strncpy.S: New file.
6088 * sysdeps/ia64/softpipe.h: New file.
6089 Patches by Dan Pop <Dan.Pop@cern.ch>.
6090
6091 * manual/memory.texi: Document memory handling functions (mlock,
6092 munlock, mlockall, munlockall, brk, and sbrk)
99a20616
UD
6093 * manual/time.texi: Document timespec and friends.
6094 * manual/conf.texi: Fix references.
6095 * manual/ctype.texi: Likewise.
6096 * manual/errno.texi: Likewise.
6097 * manual/intro.texi: Likewise.
6098 * manual/locale.texi: Likewise.
6099 * manual/sysinfo.texi: Likewise.
6100 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
6101
371071d5
UD
61022000-05-09 Jes Sorensen <jes@linuxcare.com>
6103
6104 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
6105 * sysdeps/ia64/dl-lookupcfg.h: ...here.
6106
f87e0815
UD
61072000-05-21 Jakub Jelinek <jakub@redhat.com>
6108
6109 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
6110 dxfer_direction.
6111
0efb48a1
UD
61122000-05-21 Ulrich Drepper <drepper@redhat.com>
6113
3b434940
UD
6114 * locale/locale.h (struct lconv): Add new elements from ISO C99.
6115 * locale/localeconv.c: Initialize new elements from ISO C99.
3446e2c3
UD
6116 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
6117 new standard elements.
6118 * locale/categories.def: Adjust accordingly.
3b434940 6119
0efb48a1
UD
6120 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
6121 * iconv/iconv.c: Likewise.
6122 * conform/data/iconv.h-data: Likewise.
3b434940
UD
6123 * iconv/iconv_prog.c (process_block): Remove const from second
6124 parameter.
6125 (main): Remove const from addr definition.
70a1a465
UD
6126 * manual/charset.texi (Generic Conversion Interface): Remove from
6127 inbuf parameter of iconv.
0efb48a1
UD
6128
6129 * intl/dcigettext.c: Fix typo in comment.
6130
5d1fba6d
AJ
61312000-05-20 2000 H.J. Lu <hjl@gnu.org>
6132
6133 * resolv/res_libc.c (_res): Initialize _sock to -1.
6134
61352000-05-18 Jakub Jelinek <jakub@redhat.com>
6136
6137 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
6138 (fopencookie@@GLIBC_2.2): New.
6139 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
6140 (fopencookie@GLIBC_2.0): New.
6141 * libio/Versions: Add fopencookie to GLIBC_2.2.
6142
600a7457
AJ
61432000-05-18 Andreas Jaeger <aj@suse.de>
6144
5d1fba6d
AJ
6145 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
6146 Closes PR libc/1731.
6147
600a7457
AJ
6148 * manual/arith.texi (Parsing of Integers): Fix typo.
6149 Closes PR libc/1744, reported by blp@gnu.org.
6150
cc3f0ddb
AJ
61512000-05-17 Jakub Jelinek <jakub@redhat.com>
6152
6153 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
6154 __extension__ to hexadecimal floating constant notation.
6155 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
6156 Likewise.
6157 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
6158 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
6159 Likewise.
6160 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
6161 HUGE_VALL): Likewise.
6162 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
6163 HUGE_VALL): Likewise.
6164 (HUGE_VALL): Set to HUGE_VAL on sparc32.
6165
e656498e
AJ
61662000-05-17 Andreas Jaeger <aj@suse.de>
6167
6168 * string/envz.h: Add pure attributes if possible.
6169
6170 * string/argz.h: argz_count is a pure function.
6171
6172 * string/strings.h: Add pure and const attributes if possible.
6173
1261b97d
AJ
6174 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
6175 possibly searching through the whole memory.
6176 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
6177
e25054c4
AJ
61782000-05-17 Jakub Jelinek <jakub@redhat.com>
6179
6180 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
6181 not yet defined.
6182 (_dl_cache_check_flags): Likewise.
6183 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
6184 dl-cache.h.
6185
61862000-05-17 Andreas Jaeger <aj@suse.de>
6187
6188 * manual/creature.texi (Feature Test Macros): Remove paragraph
6189 since the description is wrong.
6190 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
6191
7626e16c
AJ
6192 * scripts/config.sub: New version.
6193 * scripts/config.guess: Likewise.
6194 * manual/texinfo.tex: Likewise.
6195
e25054c4
AJ
6196 * time/test_time.args: Removed.
6197 * time/Makefile (test_time-ARGS): Added contents here instead.
6198
6199 * posix/tstgetopt.args: Removed.
6200 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
6201
6202 * Rules: Allow arguments for test files to be specified in
6203 Makefile with testname-ARGS; remove rules with .args in it.
6204
6205 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
6206 remove old bogus rule for opendir-tst1.args.
6207
6208 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
6209
6210 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
6211 into objdir. This allows a readonly sourcetree.
6212 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
6213
62142000-05-16 Andreas Jaeger <aj@suse.de>,
0efb48a1 6215 David Huggins-Daines <dhd@linuxcare.com>
e25054c4
AJ
6216
6217 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
6218 cache_data in case of only new cache format correctly.
6219
6220 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
6221 cache_file_new.
6222
6223 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
6224 struct cache_file_new.
6225
6226 * elf/cache.c (save_cache): Fix str_offset if only new cache is
6227 present.
6228
6229 * elf/cache.c (save_cache): Align struct new_file_cache.
6230 (print_cache): Likewise.
6231
d7dcf126
AJ
62322000-05-13 Jakub Jelinek <jakub@redhat.com>
6233
6234 * elf/soinit.c (__libc_global_ctors): Move
6235 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
6236 * resolv/resolv.h (__res_state): Added __attribute__((const)).
6237 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
6238 variable, don't define it to __res_state call.
6239
99356b9b
AJ
62402000-05-13 Andreas Jaeger <aj@suse.de>
6241
6242 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
6243 Linux 2.3.99pre7.
6244 (AF_PPPOX): Likewise.
6245 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
6246 (AF_PPPOX): Likewise.
6247
88d9b1b2
AJ
62482000-05-12 Andreas Jaeger <aj@suse.de>
6249
6250 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
6251 Reported by tmoestl@gmx.net, closes PR libc/1732.
6252
ca5a4c3c
AJ
62532000-05-11 Jan Hubicka <jh@suse.cz>
6254
6255 * misc/sys/cdefs.h: Add support for pure attribute.
6256
6257 * include/string.h: Add __attribute_pure__ to various functions.
6258 * string/string.h: Likewise.
6259
b227a3a6
AJ
62602000-05-10 Jakub Jelinek <jakub@redhat.com>
6261
99356b9b
AJ
6262 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
6263 argument.
6264 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6265 R_SPARC_UA64.
6266 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
b227a3a6 6267
676d12fd
AJ
62682000-05-10 Jakub Jelinek <jakub@redhat.com>
6269
6270 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
5d693ae3 6271 at proper place. Compute the high nibble correctly.
676d12fd 6272
a8571d37
AJ
62732000-05-09 Jakub Jelinek <jakub@redhat.com>
6274
9c95d361
AJ
6275 * elf/ldconfig.c: Include elf.h.
6276
a8571d37
AJ
6277 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
6278 (_dl_vsym): Likewise.
6279 Reported by Owen Taylor <otaylor@redhat.com>.
6280
6281 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
6282 always.
6283
fbd61fc1
AJ
62842000-05-08 Andreas Jaeger <aj@suse.de>
6285
6286 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
6287
6288 * intl/bindtextdom.c (set_binding_values): Add prototype.
6289
470175f1
AJ
62902000-05-08 Jakub Jelinek <jakub@redhat.com>
6291
6292 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
6293 call to elf_machine_fixup_plt.
6294 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6295 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6296
3b3938c9
UD
62972000-05-08 Jakub Jelinek <jakub@redhat.com>
6298
6299 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
6300 they are not dlclose'd from underneath us.
6301
0320a5aa
UD
63022000-05-08 Andreas Schwab <schwab@suse.de>
6303
6304 * posix/execle.c: Fix size parameter of memcpy.
6305
4159408a
AS
63062000-05-08 Andreas Schwab <schwab@suse.de>
6307
6308 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
6309 getpagesize syscall if available.
6310
97d9957b
AJ
63112000-05-08 Andreas Jaeger <aj@suse.de>
6312
6313 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
6314 set errno.
6315
ded812f4
AJ
63162000-05-08 Jakub Jelinek <jakub@redhat.com>
6317
6318 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
6319 sizeof(struct link_map *) chunks, not in bytes.
6320
33f5839f
UD
63212000-05-07 Ulrich Drepper <drepper@redhat.com>
6322
6323 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
6324 only needed for locale.
6325 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
6326 It's only needed for catgets.
6327 Patches by Greg McGary <gkm@eng.ascend.com>.
6328
d1c2a14c
UD
63292000-05-07 Mark Kettenis <kettenis@gnu.org>
6330
6331 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
6332 Remove duplicate <errno.h> include. Remove inclusion of
6333 <libintl.h> and "nsswitch.h".
6334 (set_cloexec_flag): New function, broken out of dbopen.
6335 (dbopen): Changed return type to `enum
6336 nss_status'. Mostly rewritten to make sure that we do not report
6337 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
6338 (internal_setent): Change return type to nss_status.
6339 Document, and make sure that the function
6340 behaves accordingly. Make dynamically loading the database
6341 library really thread-safe and return NSS_STATUS_UNAVAIL if it
6342 failed.
6343 (db_cursor): Return ENOMEM is memory allocation failed. Remove
6344 unecessary casts.
6345 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
6346 documentation.
6347 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
6348 c_get function member.
6349 * nss/nss_db/nss_db.h: Add and tweak some comments.
6350 (DBT): Move typedef before NSS_DBC typedef.
6351 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
6352
93414bb9
UD
63532000-05-07 H.J. Lu <hjl@gnu.org>
6354
6355 * csu/initfini.c: Moved to ....
6356 * sysdeps/generic/initfini.c: ...here.
6357
6358 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
6359
c63b67bd
UD
63602000-05-07 Ulrich Drepper <drepper@redhat.com>
6361
639c6286
UD
6362 * manual/resource.texi: Document POSIX scheduling functions.
6363 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6364
6ac52e83
UD
6365 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
6366 reading anything. Reported by Andries.Brouwer@cwi.nl.
6367
74a0513d
UD
6368 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
6369 for x since promotion in comparison might leads to unexpected
6370 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
6371
c63b67bd
UD
6372 * iconv/Makefile (tests): Add tst-iconv1.
6373 * iconv/tst-iconv1.c: New file.
1336419e
UD
6374 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
6375 empty input buffer over full output buffer.
fc08075d
UD
6376 (ucs4_internal_loop): Likewise.
6377 (ucs4_internal_loop_unaligned): Likewise.
6378 (internal_ucs4le_loop): Likewise.
6379 (internal_ucs4le_loop_unaligned): Likewise.
6380 (ucs4le_internal_loop): Likewise.
6381 (ucs4le_internal_loop_unaligned): Likewise.
c63b67bd
UD
6382 Reported by yaoz@nih.gov.
6383
45eca4d1
UD
63842000-05-06 Bruno Haible <haible@clisp.cons.org>
6385
6386 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
6387 returned != __GCONV_OK, there is nothing to clean up.
6388
63892000-05-06 Bruno Haible <haible@clisp.cons.org>
6390
6391 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
6392 OUTPUT_CHARSET environment variables.
6393
63942000-05-06 Andreas Jaeger <aj@suse.de>
6395
6396 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
6397 (struct cache_file_new): New.
6398 (struct file_entry): New (moved from cache.c).
6399 (struct cache_file): New (moved from cache.c).
6400
6401 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
6402 from _dl_load_cache_lookup.
6403 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
6404 the different cache formats.
6405 New variable cache_new for new format.
6406
6407 * elf/ldconfig.h: Change according to changes in cache.c and
6408 ldconfig.c; remove cache_libcmp; add opt_format.
6409
6410 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
6411 stuff that's defined in those headers.
6412 Add hwcap to struct lib_entry.
6413 (opt_format): New variable to select cache format.
6414 (options): Add format parameter.
6415 (is_hwcap): New function.
6416 (path_hwcap): New function.
6417 (parse_opt): Handle new format parameter.
6418 (search_dir): Handle hwcap, search also subdirectories with hwcap.
6419
6420 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
6421 ldconfig is part of glibc.
6422 Include dl-cache.h and remove stuff that's defined there.
6423 (struct cache_entry): Add new member hwcap.
6424 (print_entry): Print hwcap, cleanup a bit.
6425 (print_cache): Print new and old formats.
6426 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
6427 (save_cache): Save new and old formats.
6428 (add_to_cache): Handle hwcap.
6429
6430 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
6431 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
6432 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
6433 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
6434 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
6435 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
6436
64372000-05-05 Bruno Haible <haible@clisp.cons.org>
6438
6439 * intl/dcigettext.c (alignof): New macro.
6440 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
6441 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
6442 freemem_size to 0.
6443
64442000-05-05 Bruno Haible <haible@clisp.cons.org>
6445
6446 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
6447 return value.
6448
f0a7f742
UD
64492000-05-06 Ulrich Drepper <drepper@redhat.com>
6450
6451 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
6452 (mempcpy): Correct typo is parameter list.
6453
badd9b02
AJ
64542000-05-06 Andreas Jaeger <aj@suse.de>
6455
6456 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
6457 functions unless -ffast-math is given to gcc.
6458
d02b1569
UD
64592000-05-06 Ulrich Drepper <drepper@redhat.com>
6460
6461 * po/ko.po: Update from translation team.
6462
3c38e028
UD
64632000-05-05 Ulrich Drepper <drepper@redhat.com>
6464
6465 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
6466 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
6467 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
6468 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
6469 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
6470 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
6471
6472 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
6473 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
6474 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
6475
6476 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
6477 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
6478 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
6479 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
6480
fda4deac 6481 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
3c38e028
UD
6482 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
6483
f1d86a93
UD
64842000-05-05 Jes Sorensen <jes@linuxcare.com>
6485
6486 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
6487 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
6488
6489 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
6490 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
6491
6492 * sysdeps/ia64/Implies: New file.
6493 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
6494 * sysdeps/ia64/Makefile: New file.
6495 * sysdeps/ia64/gmp-mparam.h: New file,
6496
6497 * sysdeps/ia64/elf/start.S: New file.
6498
6499 * sysdeps/ia64/bits/fenv.h: New file.
6500
65012000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
6502
6503 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
6504
65052000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
6506
6507 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
6508 ia64 has 64 bit .hash entries just as the Alpha.
6509
65102000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
6511
6512 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
6513
65142000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
6515
6516 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
6517 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
6518 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
6519 * sysdeps/ia64/fpu/fegetenv.c: New file.
6520 * sysdeps/ia64/fpu/fegetexcept.c: New file.
6521 * sysdeps/ia64/fpu/fegetround.c: New file.
6522 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
6523 * sysdeps/ia64/fpu/fesetenv.c: New file.
6524 * sysdeps/ia64/fpu/fesetround.c: New file.
6525 * sysdeps/ia64/fpu/feupdateenv.c: New file.
6526 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
6527 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
6528 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
6529 * sysdeps/ia64/fpu/ftestexcept.c: New file.
6530
621d9092
AJ
65312000-05-05 Andreas Jaeger <aj@suse.de>
6532
6533 * misc/tst-tsearch.c (main): Correct type for initstate argument.
6534
0b630168
AJ
6535 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
6536 (_dl_string_hwcap): New, does nothing.
6537
f1d86a93 6538 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
0b630168
AJ
6539 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
6540 (_dl_string_hwcap): New function, converts from string to hwcap
6541 encoding.
f1d86a93
UD
6542 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
6543 (_DL_HWCAP_COUNT): New.
0b630168
AJ
6544 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
6545 (_dl_string_hwcap): New function, converts from string to hwcap
6546 encoding.
f1d86a93
UD
6547 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
6548 (_DL_HWCAP_COUNT): New.
0b630168
AJ
6549 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
6550 (_dl_string_hwcap): New function, converts from string to hwcap
6551 encoding.
f1d86a93 6552
c0282c06
UD
65532000-05-05 Ulrich Drepper <drepper@redhat.com>
6554
c77ec56d
UD
6555 * elf/Makefile (distribute): Add dl-lookupcfg.h.
6556 * sysdeps/ia64/Dist: New file.
6557
c0282c06
UD
6558 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
6559 parameter to mprotect and for variable assignments.
6560
65612000-05-03 Jes Sorensen <jes@linuxcare.com>
6562
6563 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
6564 validity of map before dereferencing it.
6565
6566 * elf/dl-reloc.c (RESOLVE_MAP): Define.
6567
65682000-05-02 Jes Sorensen <jes@linuxcare.com>
6569
6570 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
6571 lookup to the arguments to elf_machine_fixup_plt().
6572
6573 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
6574 of the symbol being resolved to input argument list and make the
6575 function return the pointer to the reloc.
6576
6577 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
6578 return valuie to lookup_t and return the value.
6579 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
6580 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
6581 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
6582 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
6583 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
6584 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
6585
6586 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
6587 Make it an inline function returning value after calling
6588 __elf_machine_fixup_plt().
6589
6590 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
6591 symbol address.
6592
6593 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
6594 obtain the symbol address.
6595
6596 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
6597 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
6598
6599 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
6600 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
6601 inline on non ia64.
6602
66032000-04-28 Jes Sorensen <jes@linuxcare.com>
6604
6605 * elf/dl-runtime.c (fixup): Use the portable macros to get the
6606 symbol address of an object.
6607
6608 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
6609 the symbol address of an object.
6610
6611 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
6612 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
6613 (_dl_lookup_symbol_skip): Likewise.
6614 (_dl_lookup_versioned_symbol): Likewise.
6615 (_dl_lookup_versioned_symbol_skip): Likewise.
6616
66172000-04-27 Jes Sorensen <jes@linuxcare.com>
6618
6619 * elf/rtld.c (_dl_start): Get the function pointer return address
6620 via _dl_start_address for architectures that need a function
6621 pointer descriptor rather than just a pointer (ia64).
6622
6623 * sysdeps/generic/dl-lookupcfg.h: New file.
6624 * sysdeps/ia64/dl-lookupcfg.h: New file.
6625 * sysdeps/ia64/dl-machine.h: New file.
6626 * sysdeps/ia64/dl-symaddr.c: New file.
6627 * sysdeps/ia64/dl-fptr.c: New file.
6628
6629 * elf/elf.h: Add IA-64 specific definitions.
6630
61d357ca
UD
66312000-05-04 Jakub Jelinek <jakub@redhat.com>
6632
6633 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
6634 end of enum.
6635
66362000-05-04 Jakub Jelinek <jakub@redhat.com>
6637
6638 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
6639 happy.
6640
5a59a3a5
GK
66412000-04-11 Geoff Keating <geoffk@cygnus.com>
6642
6643 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
6644 symbol. Call _dl_init rather than the old way.
6645
6c51aa64
UD
66462000-05-04 Ulrich Drepper <drepper@redhat.com>
6647
6648 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
6649 test for pointer in range of DSO address space.
6650
68843294
AJ
66512000-05-04 Andreas Jaeger <aj@suse.de>
6652
6c51aa64 6653 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
68843294 6654
17c389fc
UD
66552000-05-03 Ulrich Drepper <drepper@redhat.com>
6656
229c86ea
UD
6657 * locale/findlocale.c (_nl_find_locale): Add new parameter to
6658 calls of _nl_make_l10nflist.
6659
17c389fc
UD
6660 * libio/stdio.h: Make fseeko and ftello prototypes available is
6661 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
6662
6663 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
6664 real unsetenv implementation from 1999-07-29 [PR libc/1714].
6665
66662000-05-03 Bruno Haible <haible@clisp.cons.org>
6667
6668 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
6669 before calling tfind.
6670
66712000-03-05 Jakub Jelinek <jakub@redhat.com>
6672
6673 * resolv/resolv.h (res_querydomain): Remove redefinition to
6674 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
6675
66762000-05-03 Ulrich Drepper <drepper@redhat.com>
6677
6678 * po/gl.po: Update from translation team.
6679
6680 * manual/intro.texi (Program Basics): Change section title.
6681 * manual/process.texi: Fix reference.
6682 (Executing a File): Add reference exec in other section.
6683 * manual/signal.texi: Fix reference.
6684 * manual/startup.texi: Document syscall function.
6685 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
6686
66872000-04-29 Bruno Haible <haible@clisp.cons.org>
6688
6689 * intl/libintl.h (bind_textdomain_codeset): New declaration.
6690 * intl/bindtextdom.c (set_binding_values): New function.
6691 (bindtextdomain): Call it.
6692 (bind_textdomain_codeset): New function.
6693 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
6694 (free_mem): Free each binding's codeset.
6695 * intl/gettextP.h (struct binding): Add codeset field.
6696 (_nl_find_domain): Add domainbinding argument.
6697 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
6698 Pass it to _nl_make_l10nflist.
6699 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
6700 (_nl_make_l10nflist): Add domainbinding argument.
6701 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
6702 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
6703 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
6704 locale_charset().
6705 * manual/message.texi: New node "Charset conversion in gettext".
6706
67072000-04-30 Bruno Haible <haible@clisp.cons.org>
6708
6709 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
6710 appropriate. Handle possible __read error.
6711
67122000-04-29 Bruno Haible <haible@clisp.cons.org>
6713
6714 * intl/gettextP.h (__builtin_expect): Define as empty if not a
6715 compiler builtin.
6716 * intl/loadinfo.h (__builtin_expect): Likewise.
6717 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
6718 __builtin_expect where appropriate.
6719 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6720 * intl/localealias.c (extend_alias_table): Return an error indicator.
6721 (read_alias_file): Bail out if extend_alias_table fails.
6722
67232000-04-29 Bruno Haible <haible@clisp.cons.org>
6724
6725 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
6726 * intl/localealias.c: Likewise.
6727
67282000-05-01 Bruno Haible <haible@clisp.cons.org>
6729
6730 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
6731 Initialize domain->plural and domain->nplurals even if there is no
6732 nullentry.
6733
67342000-05-01 Bruno Haible <haible@clisp.cons.org>
6735
6736 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
6737 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
6738 In case of failure, goto converted.
6739
67402000-05-01 Bruno Haible <haible@clisp.cons.org>
6741
6742 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
6743 * iconv/gconv_int.h (norm_add_slashes): Move to here.
6744 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
6745 __gconv_open.
6746
67472000-04-29 Bruno Haible <haible@clisp.cons.org>
6748
6749 * intl/dcigettext.c (transcmp): Compare the domains as well.
6750 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
6751 not before.
6752 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
6753 <errno.h>.
6754
160016c9
UD
67552000-05-03 Ulrich Drepper <drepper@redhat.com>
6756
6757 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
6758 Reported by Bruno Haible.
6759
67602000-04-29 Bruno Haible <haible@clisp.cons.org>
6761
6762 * manual/arith.texi: Remove @w from @itemize.
6763
20d49639
AJ
67642000-05-02 Andreas Jaeger <aj@suse.de>
6765
75cabb04
AJ
6766 * conform/data/tar.h-data: Add some checks for specific values.
6767
6768 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
6769 and RAND_MAX.
6770
6771 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
6772 FOPEN_MAX.
6773
6774 * conform/data/netinet/in.h-data: Add exact checks for the values
6775 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
6776
6777 * conform/data/float.h-data: Add some minimal values.
6778
20d49639
AJ
6779 * conform/conformtest.pl: Test for macros with string constants,
6780 check for minimum and maximum values.
6781 Add limits.h to headers.
6782
6783 * conform/data/cpio.h-data: Test for value of MAGIC.
6784
6785 * conform/data/limits.h-data: New file.
6786
741befc8
AJ
67872000-04-30 Bruno Haible <haible@clisp.cons.org>
6788
6789 * math/Makefile (headers): Add bits/fenvinline.h.
6790
09411686
UD
67912000-05-01 Ulrich Drepper <drepper@redhat.com>
6792
0f50c8d3
UD
6793 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
6794 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
6795
09411686
UD
6796 * posix/Versions: Change posix_spawnattr_getdefault and
6797 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
6798 and posix_spawnattr_setsigdefault respectively.
6799 * posix/spawn.h: Likewise.
6800 * posix/spawnattr_getdefault.h: Likewise.
6801 * posix/spawnattr_setdefault.h: Likewise.
782af2c0 6802 * conform/data/spawn.h-data: Likewise.
09411686 6803
2c1efeaf
AJ
68042000-05-01 Andreas Jaeger <aj@suse.de>
6805
6806 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
6807
e52236e5
UD
68082000-04-30 Ulrich Drepper <drepper@redhat.com>
6809
4b9a6d7c
UD
6810 * manual/sysinfo.texi: Document getdomainname, setdomainname
6811 and sysctl.
e52236e5
UD
6812 * manual/string.texi: Fix typo.
6813 * manual/terminal.texi: Document gtty and stty.
6814 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6815
93b1a554
UD
68162000-04-30 Andreas Jaeger <aj@suse.de>
6817
6818 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
6819 accordance with Austin Draft.
6820
01ed6c51
UD
68212000-04-30 Ulrich Drepper <drepper@redhat.com>
6822
c3880fbd
UD
6823 * catgets/gencat.c (read_input_file): Use isblank and not isspace
6824 to recognize second character in comment line.
6825
edecfcda
UD
6826 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
6827 ENOBUFS if we are out of memory.
6828
01ed6c51
UD
6829 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
6830 available if __USE_XOPEN2K.
6831 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
6832 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6833 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
6834 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6835 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
6836 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6837 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
6838 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
6839
adcf0e4a
UD
68402000-04-29 Ulrich Drepper <drepper@redhat.com>
6841
6842 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
6843 Recognize option -s, -c, and -l.
6844
68452000-04-20 Thorsten Kukuk <kukuk@suse.de>
6846
6847 * nscd/nscd.c: Start new session for nscd, drop privilegs
6848 to configured user if requested and no -S parameter are used.
6849 * nscd/nscd.conf: Add new option "server-user".
6850 * nscd/nscd_conf.c: Add support for new "server-user" option.
6851 * nscd/nscd.h: Add declaration for server_user variable.
6852 Based on patch by Chris Wing <wingc@engin.umich.edu>
6853
68542000-04-29 Mark Kettenis <kettenis@gnu.org>
6855
6856 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
6857 that changing the __restore and __restore_rt signal return code
6858 will break GDB.
6859
68602000-04-29 Mark Kettenis <kettenis@gnu.org>
6861
6862 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
6863 <sys/user.h>.
6864
68652000-04-29 Mark Kettenis <kettenis@gnu.org>
6866
6867 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
6868
d2dc3fc9
UD
68692000-04-29 Ulrich Drepper <drepper@redhat.com>
6870
9d4d69b8
UD
6871 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
6872 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
6873 arpa/inet.h.
6874 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
6875 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
6876 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
6877 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
6878 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
6879 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
6880 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
6881 posix_fallocate, and posix_madvise.
6882 * conform/data/netdb.h-data: New file.
6883 * conform/data/pthread.h-data: Add pthread_barrier_t,
6884 pthread_barrierattr_t, pthread_barrier_destroy,
6885 pthread_barrier_init, pthread_barrier_wait,
6886 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
6887 pthread_barrierattr_init, pthread_barrierattr_setpshared,
6888 pthread_condattr_getclock, pthread_condattr_setclock,
6889 pthread_getcpuclockid, pthread_mutex_timedlock,
6890 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
6891 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
6892 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
6893 * conform/data/sched.h-data: Add sched_ss_low_priority,
6894 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
6895 SCHED_SPORADIC.
6896 * conform/data/semaphore.h-data: Add sem_timedwait.
6897 * conform/data/signal.h-data: Add SIGIO.
6898 * conform/data/spawn.h-data: New file.
6899 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
6900 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
6901 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
6902 Fix typo in gmtime_r definition.
6903 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
6904 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
6905 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
6906 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
6907 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
6908 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
6909 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
6910 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
6911 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
6912 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
6913 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
6914 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
6915 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
6916 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
6917 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
6918 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
6919 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
6920 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
6921 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6922 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
6923 typo in off_t definition.
6924 * conform/data/net/if.h-data: New file.
6925 * conform/data/netinet/in.h-data: New file.
6926 * conform/data/netinet/tcp.h-data: New file.
6927 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
6928 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
6929 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
6930 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
6931 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
6932 and posix_typed_mem_open.
6933 * conform/data/sys/socket.h-data: New file.
6934 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
6935 * conform/data/sys/types.h-data: Add pthread_barrier_t,
6936 pthread_barrierattr_t, and pthread_spinlock_t.
6937 * conform/data/sys/un.h-data: New file.
6938 * conform/data/sys/utsname.h-data: New file.
6939
6940 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
6941 parameter.
6942 * inet/gethstbyad.c (gethostbyname): Likewise.
6943 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
6944 * inet/getipnodebyad.c (getipnodebyad): Likewise.
6945 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
6946 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
6947 Likewise.
6948 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
6949 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
6950 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
6951 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
6952 * resolv/gethnamaddr.c (gethostbyname): Likewise.
6953 * resolv/netdb.h (struct hostent): Fix type of h_length member.
6954 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
6955 and second parameter.
6956
d2dc3fc9
UD
6957 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
6958 == NULL.
6959
9d4d69b8
UD
69602000-04-29 Andreas Jaeger <aj@suse.de>
6961
6962 * conform/data/arpa/inet.h-data: New file.
6963
cffad2ae
AJ
69642000-04-28 Geoff Clare <gwc@unisoft.com>
6965
6966 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
6967 path passed to ftw() or nftw() is an empty string.
6968 Closes PR libc/1710.
6969
0a55a284
UD
69702000-04-27 Ulrich Drepper <drepper@redhat.com>
6971
d4134450
UD
6972 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
6973 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
6974 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
6975 * localedata/tst-mbswcs4.c: New file.
6976 * localedata/tst-mbswcs5.c: New file.
6977
a7f91846
UD
6978 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
6979 == NULL. Little optimization.
6980
6981 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
6982 DT_PREINIT_ARRAYSZ).
6983 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
6984
0a55a284
UD
6985 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
6986 overflows in conversion from ASCII.
6987
69882000-04-26 Jakub Jelinek <jakub@redhat.com>
6989
6990 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
6991 * Makerules (full_config_sysdirs): Likewise.
6992 * MakeTAGS (full_config_sysdirs): Likewise.
6993
69942000-04-26 Jakub Jelinek <jakub@redhat.com>
6995
6996 * .cvsignore: Remove linuxthreads.
6997 * po/.cvsignore: Remove *.pot.
6998 * posix/glob/.cvsignore: Removed.
6999 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
7000
70012000-04-25 Andreas Jaeger <aj@suse.de>
7002
7003 * conform/Makefile (distribute): Also distribute contents of
7004 subdirectories.
7005
7006 * Makerules (no_deps): Remove abi-versions.h.
7007
7008 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
7009
70102000-04-25 Jakub Jelinek <jakub@redhat.com>
7011
7012 * sysdeps/sparc/sparc64/elf/Dist: Remove.
7013 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
7014 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
7015 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
7016 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
7017 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
7018 objects.
7019
70202000-04-25 Thorsten Kukuk <kukuk@suse.de>
7021
7022 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
7023
8651d8a2 70242000-04-23 Bruno Haible <haible@clisp.cons.org>
0a55a284
UD
7025
7026 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
7027 * intl/l10nflist.c: Likewise.
7028
8651d8a2 70292000-04-23 Bruno Haible <haible@clisp.cons.org>
0a55a284
UD
7030
7031 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
7032 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
7033 * intl/textdomain.c [!_LIBC]: Likewise.
7034 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
7035 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
7036 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
7037 syntax error.
7038
8651d8a2 70392000-04-23 Bruno Haible <haible@clisp.cons.org>
0a55a284
UD
7040
7041 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
7042 character set conversion also in the case the translation was found
8651d8a2
UD
7043 after a hash collision or through binary search. Store the maximum
7044 index together with the converted message. Use iconv() when available.
0a55a284
UD
7045 In case of out of memory during conversion, return the unconverted
7046 translated string, not NULL.
7047
0e4ee106
UD
70482000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
7049
7050 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
7051 to avoid name clashes with the ia32 linker.
7052
70532000-04-25 Jakub Jelinek <jakub@redhat.com>
7054
7055 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
7056 handling.
7057
3300816c
UD
70582000-04-27 Ulrich Drepper <drepper@redhat.com>
7059
0e4ee106
UD
7060 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
7061 strtoumax, strfry, and memfrob.
7062 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
7063 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7064
3300816c
UD
7065 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
7066 if this function is available.
7067
7068 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
7069 all values.
7070
159a2a51
AJ
70712000-04-27 Jakub Jelinek <jakub@redhat.com>
7072
7073 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
7074
3c5adb76
UD
70752000-04-27 Ulrich Drepper <drepper@redhat.com>
7076
7077 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
7078 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
7079 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
7080 * localedata/tst-mbswcs3.c: New file.
7081
316518d6
UD
70822000-04-26 Ulrich Drepper <drepper@redhat.com>
7083
1da6cab2
UD
7084 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
7085 characters. Don't handle incomplete characters as errors.
7086 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
7087 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
7088 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
7089 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
7090 * localedata/tst-mbswcs2.c: New file.
7091
316518d6
UD
7092 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
7093 stored character in state in UNPACK_BYTES macro.
7094 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
7095 test for available characters, handle result of BODY code correctly.
7096 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
7097 (distribute): Add tst-mbswcs.sh.
7098 Add rule to run tst-mbswcs.sh.
7099 * localedata/tst-mbswcs.sh: New file.
7100 * localedata/tst-mbswcs1.c: New file.
7101
71022000-04-26 Jakub Jelinek <jakub@redhat.com>
7103
7104 * nis/nis_callback.c (__nis_create_callback): Do failed memory
7105 allocation fixups centrally, fix __builtin_expect call, return NULL
7106 on failure, not NIS_NOMEMORY.
7107
71082000-04-27 Bruno Haible <haible@clisp.cons.org>
fff1a600
AJ
7109
7110 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
7111
7112 * intl/loadinfo.h (internal_function): Define if not already defined.
7113
71142000-04-27 Andreas Jaeger <aj@suse.de>
7115
7116 * intl/libintl.h: Fix typo, reported by Bruno Haible
3300816c 7117 <haible@clisp.cons.org>.
fff1a600 7118
d472655c
UD
71192000-04-25 Ulrich Drepper <drepper@redhat.com>
7120
7121 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
7122 setting the state to GMON_PROF_BUSY.
7123
20b02a2e 71242000-04-24 Ulrich Drepper <drepper@redhat.com>
128e2b0f
UD
7125
7126 * elf/dl-profile.c (_dl_start_profile): define all variables which
7127 do not have to be global as local variables.
20b02a2e 7128
6d5728c8
UD
7129 * nis/nis_callback.c (__nis_create_callback): Partially undo last
7130 patch. Keep needed tests for failed memory allocation.
7131
655ab929
UD
7132 * elf/dl-reloc.c (_dl_relocate_object): Add one more
7133 __builtin_expect saying that we don't normally expect to profile.
7134
20b02a2e
UD
7135 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
7136 __builtin_expect where desirable.
7137
d52b6462
UD
71382000-04-23 Ulrich Drepper <drepper@redhat.com>
7139
7140 * manual/Makefile (chapters): Add syslog.
7141 * manual/syslog.texi: New file.
7142 * manual/math.texi: Fix references.
7143 * manual/terminal.texi: Likewise.
7144 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7145
71462000-04-18 Jakub Jelinek <jakub@redhat.com>
7147
7148 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
7149 stdlib.h was not included or __USE_XOPEN not defined.
7150
bcad2c29
UD
71512000-04-23 Ulrich Drepper <drepper@redhat.com>
7152
4ded1f08 7153 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
bcad2c29
UD
7154 Patch by Zack Weinberg <zack@wolery.cumb.org>.
7155
ef52edfc
UD
71562000-04-22 Ulrich Drepper <drepper@redhat.com>
7157
b1184fcd
UD
7158 * manual/examples/subopt.c (mount_opts): Add missing terminating
7159 entry.
7160 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
7161
ef52edfc
UD
7162 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
7163 * libio/ftello.c: Likewise.
7164 * libio/ftello64.c: Likewise.
7165 * libio/ioftell.c: Likewise.
7166 * sysdeps/generic/memrchr.c: Likewise.
7167 * sysdeps/posix/libc_fatal.c: Likewise.
7168 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7169 * misc/fstab.c: Include <string.h> for strcmp prototype.
7170 * sysdeps/generic/ldsodefs.h: Likewise.
7171 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7172 Patch by Kurt Roeckx <Q@ping.be>.
7173
7174 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
7175 Remove db-open. Change all uses.
7176 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
7177
71782000-04-21 Jakub Jelinek <jakub@redhat.com>
7179
7180 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
7181 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
7182 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
7183 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
7184 with .set noat/at to shut up warnings.
7185 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
7186 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
7187 compilation if __NR_pciconfig_iobase is not defined.
7188 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
7189 Add alias.
7190
4fcfc4c6
UD
71912000-04-21 Ulrich Drepper <drepper@redhat.com>
7192
3566d33c
UD
7193 * manual/sysinfo.texi: Fix typo.
7194 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
7195 Replace "high precision time" with "high accuracy clock".
7196 Fix language.
7197 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7198
54eb84d0
UD
7199 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
7200 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
7201 instead of malloc.
7202 * nis/nis_subr.c: Use __builtin_expect.
7203 * nis/ypclnt.c: Likewise.
7204 * nis/nis_getservlist.c: Likewise.
7205 * nis/nis_creategroup.c: Likewise.
7206
4fcfc4c6
UD
7207 * nis/nis_callback.c (__nis_create_callback): Check result of
7208 memory allocation. Fix memory leaks. Use __builtin_expect.
7209 (__nis_destroy_callback): Fix memory leaks.
7210
4f263528
AJ
72112000-04-21 Andreas Jaeger <aj@suse.de>
7212
7213 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
7214 * sysdeps/mips/mips64/add_n.S: Likewise.
7215 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
7216 * sysdeps/mips/mips64/lshift.S: Likewise.
7217 * sysdeps/mips/mips64/mul_1.S: Likewise.
7218 * sysdeps/mips/mips64/rshift.S: Likewise.
7219 * sysdeps/mips/mips64/setjmp.S: Likewise.
7220 * sysdeps/mips/mips64/sub_n.S: Likewise.
abd8a0b5
AJ
7221 * sysdeps/mips/mips64/submul_1.S: Likewise
7222 * sysdeps/unix/mips/sysdep.S: Likewise.
4f263528
AJ
7223
7224 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
7225 and update comment. The strtab from _dl_relocate_object can be
7226 used.
7227
a711dd4b
UD
72282000-04-21 Ulrich Drepper <drepper@redhat.com>
7229
7230 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
7231 * iconv/iconv_close.c (iconv_close): Likewise.
7232 * iconv/iconv_open.c (iconv_open): Likewise.
7233
7234 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
7235 __builtin_expect where useful.
7236
7237 * grp/initgroups.c (initgroups): Test for result of memory
7238 allocation and punt if it fails.
7239
7240 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
7241 * grp/fgetgrent.c (fgetfrent): Likewise.
7242 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
7243
761df3a7
UD
72442000-04-21 Jakub Jelinek <jakub@redhat.com>
7245
7246 * libio/vasprintf.c: Include string.h to get memcpy prototype.
7247
978ce92b
UD
72482000-04-20 Ulrich Drepper <drepper@redhat.com>
7249
376b8b3d
UD
7250 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
7251 don't search for NUL byte to decrement counter.
7252 Reported by Ulrich.Brink@sap.com.
7253
4a069c33
UD
7254 * iconv/gconv_simple.c: Define separate functions to convert from
7255 UCS4/UCS4-LE to the internal encoding.
7256 * iconv/gconv_builtin.h: Use separate functions to convert from
7257 UCS4/UCS4-LE to the internal encoding.
7258 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
7259 __gconv_transform_ucs4le_internal.
7260
7261 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
7262 output buffer overflow. Reported by Ulrich.Brink@sap.com.
7263
978ce92b
UD
7264 * iconv/skeleton.c: Add some more __builtin_expect.
7265 * iconv/loop.c: Likewise.
7266
460e040a
UD
72672000-03-08 H.J. Lu <hjl@gnu.org>
7268
7269 * posix/regex.c (regex_compile): Correctly handle "\{" when
7270 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
7271
d879eb85
UD
72722000-04-20 Ulrich Drepper <drepper@redhat.com>
7273
7274 * manual/stdio.texi: Give advise about handling error when using
7275 stream functions.
7276 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
7277
a0edd63e
UD
72782000-04-19 Jakub Jelinek <jakub@redhat.com>
7279
7280 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
7281 field to nelems * sizeof (uint32_t).
7282 * locale/programs/ld-address.c (address_output): Align word fields
7283 properly.
7284 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7285 Don't restart idx pointers to idx end at the duo_int_curr_symbol
7286 field.
7287 Avoid giving arbitrary garbage in the crncystr field.
7288 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
7289 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
7290 fields.
7291 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7292 Don't restart idx pointers to idx end at the decimal_point_wc field.
7293 * locale/programs/ld-time.c (time_output): week_1stday should be
7294 word, not byte. Align it properly.
7295
72962000-04-19 H.J. Lu <hjl@gnu.org>
7297
7298 * csu/gmon-start.c (_start): Declared as "extern void".
7299 (etext): Likewise.
7300
73012000-04-18 Andreas Jaeger <aj@suse.de>
7302
7303 * manual/install.texi (Running make install): Don't mention utmpd
7304 anymore.
7305
73062000-04-18 Andreas Jaeger <aj@suse.de>
7307
7308 * linuxthreads/Versions: Use ld instead of ld.so.
7309
7310 * elf/Makefile (ld-map): Use ld.map.
7311
7312 * Versions.def: Use ld instead of ld.so.
7313 * elf/Versions: Likewise.
7314 * sysdeps/mach/hurd/Versions: Likewise.
7315
8b07d6a8
AJ
73162000-04-20 Andreas Jaeger <aj@suse.de>
7317
7318 * elf/rtld.c (print_statistics): Move ifndef further up.
7319 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
7320 (dl_main): Likewise.
7321
74f99822
UD
73222000-04-18 Ulrich Drepper <drepper@redhat.com>
7323
69173865
UD
7324 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
7325 * gmon/Versions: Move moncontrol to GLIBC_2.2.
7326
17ef6f59
UD
7327 * po/cs.po: Update from translation team.
7328
22b0607b
UD
7329 * sysdeps/generic/updwtmp.c: Remove daemon support.
7330
92da46fc
UD
7331 * login/Makefile (routines): Remove utmp_daemon.
7332
bd4ebb90 7333 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
9434de89 7334 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
acda7090
UD
7335 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
7336 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
7337
dc911631
UD
7338 * elf/rtld.c: Display statitics option also if hp timing is not
7339 available.
7340
74f99822
UD
7341 * login/programs/connection.c: Removed.
7342 * login/programs/database.c Removed.
7343 * login/programs/error.c: Removed.
7344 * login/programs/request.c: Removed.
7345 * login/programs/xtmp.c: Removed.
7346 * login/programs/xtmp.h: Removed.
7347 * login/Makefile: Remove rules for utmpd.
7348 * login/README.utmpd: Removed.
33c50f10
UD
7349 * login/utmp_daemon.c: Removed.
7350 * login/getutent_r.c: Remove references to daemon functions.
7351 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
7352 declaration.
74f99822 7353
d1891b39
AJ
73542000-04-18 Andreas Jaeger <aj@suse.de>
7355
69a79602
AJ
7356 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
7357 2.2 for libnsl, libresolv, librt, libnss_*.
7358
b034c2b1
AJ
7359 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
7360
d1891b39
AJ
7361 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
7362
dc32d4fe
UD
73632000-04-18 Ulrich Drepper <drepper@redhat.com>
7364
ed7abbd0
UD
7365 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
7366 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
dc32d4fe
UD
7367 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
7368 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
7369 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
7370 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
7371 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
7372 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
7373 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
7374 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
7375 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
7376 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
7377 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
7378 it here.
7379 * sysdeps/unix/sysv/aix/msync.c: New file.
7380 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
7381 * sysdeps/unix/sysv/aix/net/if.h: New file.
7382 * sysdeps/unix/sysv/aix/pipe.c: New file.
7383 * sysdeps/unix/sysv/aix/poll.c: New file.
7384 * sysdeps/unix/sysv/aix/rename.c: New file.
7385 * sysdeps/unix/sysv/aix/rmdir.c: New file.
7386 * sysdeps/unix/sysv/aix/select.c: New file.
7387 * sysdeps/unix/sysv/aix/semctl.c: New file.
7388 * sysdeps/unix/sysv/aix/semget.c: New file.
7389 * sysdeps/unix/sysv/aix/semop.c: New file.
7390 * sysdeps/unix/sysv/aix/sendto.c: New file.
7391 * sysdeps/unix/sysv/aix/setgroups.c: New file.
7392 * sysdeps/unix/sysv/aix/setpgid.c: New file.
7393 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
7394 * sysdeps/unix/sysv/aix/setpriority.c: New file.
7395 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
7396 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
7397 * sysdeps/unix/sysv/aix/setsid.c: New file.
7398 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
7399 * sysdeps/unix/sysv/aix/shmat.c: New file.
7400 * sysdeps/unix/sysv/aix/shmctl.c: New file.
7401 * sysdeps/unix/sysv/aix/shmdt.c: New file.
7402 * sysdeps/unix/sysv/aix/shmget.c: New file.
7403 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
7404 * sysdeps/unix/sysv/aix/sigstack.c: New file.
7405 * sysdeps/unix/sysv/aix/socket.c: New file.
7406 * sysdeps/unix/sysv/aix/socketpair.c: New file.
7407 * sysdeps/unix/sysv/aix/speed.c: New file.
7408 * sysdeps/unix/sysv/aix/symlink.c: New file.
7409 * sysdeps/unix/sysv/aix/sync.c: New file.
7410 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
7411 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
7412 * sysdeps/unix/sysv/aix/times.c: New file.
7413 * sysdeps/unix/sysv/aix/ulimit.c: New file.
7414 * sysdeps/unix/sysv/aix/umask.c: New file.
7415 * sysdeps/unix/sysv/aix/unlink.c: New file.
7416 * sysdeps/unix/sysv/aix/ustat.c: New file.
7417 * sysdeps/unix/sysv/aix/utimes.c: New file.
7418
1531e094
AJ
74192000-04-18 Andreas Jaeger <aj@suse.de>
7420
18be3f69
AJ
7421 * manual/startup.texi (Environment Access): Fix putenv prototype
7422 according to recent changes.
7423 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
7424 PR libc/1692.
7425
1531e094
AJ
7426 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
7427 needed.
7428
cd43f797
UD
74292000-04-18 Ulrich Drepper <drepper@redhat.com>
7430
7431 * posix/Makefile (tests): Add tst-getaddrinfo.
7432 * posix/tst-getaddrinfo.c: New file.
7433
5732c4df
UD
74342000-04-17 Ulrich Drepper <drepper@redhat.com>
7435
dbacafe5
UD
7436 * manual/sysinfo.texi: Document that umount2 is not widely available.
7437
5732c4df
UD
7438 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
7439 signal timing is not really implemented.
7440
74412000-04-17 Andreas Jaeger <aj@suse.de>
7442
7443 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
7444
74452000-04-17 Jakub Jelinek <jakub@redhat.com>
7446
7447 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
7448 and inst_libdir.
7449
faf2289f
UD
74502000-04-17 Ulrich Drepper <drepper@redhat.com>
7451
7452 * manual/intro.texi: Change reference from System Information to
7453 System Management.
7454 * manual/users.texi: Likewise.
7455 * manual/conf.texi: Likewise.
7456 * manual/sysinfo.texi: Document mount, umount, and umount2.
7457 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7458
74592000-04-17 Jakub Jelinek <jakub@redhat.com>
7460
7461 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
7462 Create wnumstr as well as numstr to support wide character output
7463 correctly.
7464
74652000-04-15 Jakub Jelinek <jakub@redhat.com>
7466
7467 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
7468 modification and move it...
7469 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
7470 Add -melf64_sparc switch to $(LD) on sparc64-linux.
7471 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
7472 switch to $(LD) on sparc-linux.
7473
74742000-04-17 Thorsten Kukuk <kukuk@suse.de>
7475
7476 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
cd43f797 7477 and setresuid from sysdep_routines.
faf2289f 7478
171b7cf1
UD
74792000-04-17 Ulrich Drepper <drepper@redhat.com>
7480
5ce8f203
UD
7481 * manual/Makefile (chapters): Add resource.
7482
7483 * manual/time.texi: Move section on resources to...
faf2289f
UD
7484 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
7485 and vtimes.
5ce8f203
UD
7486 * manual/setjmp.texi: Adjust back reference.
7487 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7488
171b7cf1
UD
7489 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
7490 definition.
7491 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
7492 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
7493 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
7494 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
7495 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
7496 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
7497 * sysdeps/unix/sysv/aix/close.c: Add copyright.
7498 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
7499 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
7500 * sysdeps/unix/sysv/aix/access.c: Add copyright.
7501 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
7502 * sysdeps/unix/sysv/aix/Implies: New file.
7503 * sysdeps/unix/sysv/aix/Versions: New file.
7504 * sysdeps/unix/sysv/aix/bind.c: New file.
7505 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
7506 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
7507 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
7508 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
7509 * sysdeps/unix/sysv/aix/chdir.c: New file.
7510 * sysdeps/unix/sysv/aix/chmod.c: New file.
7511 * sysdeps/unix/sysv/aix/chroot.c: New file.
7512 * sysdeps/unix/sysv/aix/creat.c: New file.
7513 * sysdeps/unix/sysv/aix/dl-close.c: New file.
7514 * sysdeps/unix/sysv/aix/dl-open.c: New file.
7515 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
7516 * sysdeps/unix/sysv/aix/fchdir.c: New file.
7517 * sysdeps/unix/sysv/aix/fchmod.c: New file.
7518 * sysdeps/unix/sysv/aix/getgroups.c: New file.
7519 * sysdeps/unix/sysv/aix/gethostname.c: New file.
7520 * sysdeps/unix/sysv/aix/getpriority.c: New file.
7521 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
7522 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
7523 * sysdeps/unix/sysv/aix/getrusage.c: New file.
7524 * sysdeps/unix/sysv/aix/link.c: New file.
7525 * sysdeps/unix/sysv/aix/madvise.c: New file.
7526 * sysdeps/unix/sysv/aix/mkdir.c: New file.
7527 * sysdeps/unix/sysv/aix/mknod.c: New file.
7528 * sysdeps/unix/sysv/aix/mprotect.c: New file.
7529 * sysdeps/unix/sysv/aix/msgctl.c: New file.
7530 * sysdeps/unix/sysv/aix/msgget.c: New file.
7531 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
7532
42eb5242
AJ
75332000-04-17 Andreas Jaeger <aj@suse.de>
7534
b0a62805
AJ
7535 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
7536 as suggested by Ulrich Drepper.
7537 (__dl_runtime_resolve): Remove unused variable, initialize sym
7538 directly.
7539 (RTLD_START): Document OFFSET_GP_GOT.
7540 (OFFSET_GP_GOT): New magic value.
7541 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
7542 (elf_machine_got_rel): Only declare strtab if needed.
716c75c4
AJ
7543 (elf_machine_relplt): Removed, it's not needed.
7544 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
b0a62805 7545
42eb5242
AJ
7546 * sysdeps/mips/add_n.S: Add newline at EOF.
7547 * sysdeps/mips/rshift.S: Likewise.
7548 * sysdeps/mips/mul_1.S: Likewise.
7549 * sysdeps/mips/lshift.S: Likewise.
7550 * sysdeps/mips/addmul_1.S: Likewise.
7551
e3265f5b
UD
75522000-04-17 Ulrich Drepper <drepper@redhat.com>
7553
b99a3e9a
UD
7554 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
7555
dc051821
UD
7556 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
7557 * elf/dl-lookup.c: Likewise.
7558 * elf/dl-init.c (_dl_init): Likewise.
7559 * elf/dl-fini.c (_dl_fini): Likewise.
7560 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7561 * elf/dl-close.c (_dl_close): Likewise.
7562 * elf/rtld.c (_dl_start_final): Likewise.
466a0ec9 7563
e3265f5b
UD
7564 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
7565
29094e48
UD
75662000-04-15 Ulrich Drepper <drepper@redhat.com>
7567
c269fdb4
UD
7568 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
7569 only fall back on using Linux.
7570
145b8413
UD
7571 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
7572 Before testing versions check that we actually loaded the object
7573 and whether we are in trace mode. If not loaded during tracing don't
7574 test versions in this object.
7575 (_dl_check_all_versions): Take new parameter and pass to
7576 _dl_check_map_versions.
7577 * sysdeps/generic/ldsodefs.h: Update prototypes for
7578 _dl_check_all_versions and _dl_check_map_versions.
7579 * elf/rtld.c (struct version_check_args): Add dotrace.
7580 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
7581 (dl_main): Pass info about trace mode to version_check_doit.
7582 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
7583 _dl_check_all_versions.
7584
7585 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
7586 and getutmpx.
7587 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7588
29094e48
UD
7589 * manual/argp.texi: Document index parameter of argp_parse.
7590 Fix typo.
7591 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
7592
afdda55a
UD
75932000-04-14 Andreas Jaeger <aj@suse.de>
7594
7595 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
7596 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
7597
7598 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
7599
a5a6f926
UD
76002000-04-15 Ulrich Drepper <drepper@redhat.com>
7601
150f740a
UD
7602 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
7603 compat_symbol call for old adjtime.
7604
7605 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
ef187474
UD
7606 function interface. Patch by Richard Henderson <rth@cygnus.com>.
7607
a5a6f926
UD
7608 * posix/Makefile (headers): Add spawn.h.
7609 (distribute): Add spawn_int.h.
7610 (routines): Add spawn_faction_init, spawn_faction_destroy,
7611 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
7612 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
7613 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
7614 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
7615 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
7616 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
7617 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
7618 posix_spawnattr_init, posix_spawnattr_destroy,
7619 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
7620 posix_spawnattr_getflags, posix_spawnattr_setflags,
7621 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
7622 and posix_spawnp.
7623 * posix/spawn.c: New file.
7624 * posix/spawn.h: New file.
7625 * posix/spawn_faction_addclose.c: New file.
7626 * posix/spawn_faction_adddup2.c: New file.
7627 * posix/spawn_faction_addopen.c: New file.
7628 * posix/spawn_faction_destroy.c: New file.
7629 * posix/spawn_faction_init.c: New file.
7630 * posix/spawn_int.h: New file.
7631 * posix/spawnattr_destroy.c: New file.
7632 * posix/spawnattr_getdefault.c: New file.
7633 * posix/spawnattr_getflags.c: New file.
7634 * posix/spawnattr_getpgroup.c: New file.
7635 * posix/spawnattr_getschedparam.c: New file.
7636 * posix/spawnattr_getschedpolicy.c: New file.
7637 * posix/spawnattr_getsigmask.c: New file.
7638 * posix/spawnattr_init.c: New file.
7639 * posix/spawnattr_setdefault.c: New file.
7640 * posix/spawnattr_setflags.c: New file.
7641 * posix/spawnattr_setpgroup.c: New file.
7642 * posix/spawnattr_setschedparam.c: New file.
7643 * posix/spawnattr_setschedpolicy.c: New file.
7644 * posix/spawnattr_setsigmask.c: New file.
7645 * posix/spawni.c: New file.
7646 * posix/spawnp.c: New file.
7647
7648 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
7649 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
7650
0758ea0c
UD
76512000-04-14 Ulrich Drepper <drepper@redhat.com>
7652
7653 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
7654 * malloc/malloc.c: Implement posix_memalign for glibc.
7655 * include/stdlib.h: Add prototype for __posix_memalign.
7656 * stdlib/stdlib.h: Add prototype for posix_memalign.
7657
12d3e579
AJ
76582000-04-14 Andreas Jaeger <aj@suse.de>
7659
fe81e988
AJ
7660 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
7661 symidx correctly.
c84956c7 7662 (elf_machine_got_rel): Cast sym correctly.
fe81e988 7663
30c2f3c4 7664 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
90bf0e07
AJ
7665 * sysdeps/mips/addmul_1.S: Likewise.
7666 * sysdeps/mips/lshift.S: Likewise.
7667 * sysdeps/mips/mul_1.S: Likewise.
7668 * sysdeps/mips/rshift.S: Likewise.
7669 * sysdeps/mips/sub_n.S: Likewise.
7670 * sysdeps/mips/submul_1.S: Likewise.
fe81e988 7671
c8c73ac3
AJ
7672 * stdlib/stdlib.h: Fix typo in comment.
7673
d0a5dae4
AJ
7674 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
7675 2.2 for libdl, ld and libm.
7676
12d3e579
AJ
7677 * sysdeps/generic/madvise.c: Fix typos.
7678
7679 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
7680
7681 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
7682
7683 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
7684 warnings.
7685
bb8e0116
UD
76862000-04-14 Ulrich Drepper <drepper@redhat.com>
7687
7688 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
7689 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
7690 Make old name weak alias.
7691 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
7692 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
7693 Make old name weak alias.
7694 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
7695
7696 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
7697 posix_fallocate, and posix_fallocate64.
7698 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
7699 posix_fallocate, and posix_fallocate64.
7700 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
7701 posix_fallocate, and posix_fallocate64.
7702 * sysdeps/generic/fadvise.c: New file.
7703 * sysdeps/generic/fadvise64.c: New file.
7704 * sysdeps/generic/fallocate.c: New file.
7705 * sysdeps/generic/fallocate64.c: New file.
7706 * sysdeps/posix/fallocate.c: New file.
7707 * sysdeps/posix/fallocate64.c: New file.
7708 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
7709 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
7710 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
7711 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
7712 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
7713 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
7714 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7715 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
7716 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7717
7718 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
7719 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7720
8f6f7a31
UD
77212000-04-13 Ulrich Drepper <drepper@redhat.com>
7722
7723 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
7724 * misc/sys/mman.h (posix_madvise): Add prototype.
7725 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
7726 old name and posix_madvise weak aliases.
7727 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7728 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
7729 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
7730 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7731 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
7732 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7733 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7734
490a9ab7
AJ
77352000-04-13 Andreas Jaeger <aj@suse.de>
7736
7737 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
7738 versioning.
0fc95464 7739 (elf_machine_got_rel): Only add runtime display if needed.
68e1ab18 7740 (elf_machine_got_rel): Handle symbol versioning.
490a9ab7 7741
382e7b29
AJ
77422000-04-13 Andreas Jaeger <aj@suse.de>
7743
44a202c0 7744 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
ab718a79 7745
382e7b29
AJ
7746 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
7747 default.
7748
7749 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
7750 with some applications.
7751 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
7752
7753 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
7754 * sysdeps/mips/bsd-_setjmp.S: Likewise.
7755 * sysdeps/mips/setjmp.S: Likewise.
44a202c0
AJ
7756
7757 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
8f6f7a31 7758
3737ff12
UD
77592000-04-13 Ulrich Drepper <drepper@redhat.com>
7760
7761 * posix/globtest.sh: Work around inconsistency with expanding ~/
7762 in shell (PR libc/1690). Reported by patsmith@pobox.com.
7763
aee46704
UD
77642000-04-12 Ulrich Drepper <drepper@redhat.com>
7765
b3ae0650
UD
7766 * posix/getconf.c: Add support for many more POSIX options.
7767 * sysdeps/posix/sysconf.c: Likewise.
7768 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
7769 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
7770 _POSIX_SHELL.
7771 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
7772 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
7773 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
7774 CLOCK_THREAD_CPUTIME_ID.
7775 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
7776 CLOCK_PROCESS_CPUTIME_ID.
7777 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
7778 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
7779 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
7780 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
7781
aa780bab
UD
7782 * malloc/Makefile (tests): Add tst-calloc.
7783 * malloc/tst-calloc.c: New file.
7784
c49b2a4e
UD
7785 * sysdeps/arm/libm-test-ulps: New file.
7786
13f536d4
UD
7787 * malloc/malloc.c: Undo all of today's changes.
7788
92d2e18f
UD
7789 * locale/programs/locale.c (show_info): Don't try to look into
7790 data for LC_ALL (there is none).
7791
3ea1b82e
UD
7792 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
7793 avoid writing over boundary.
7794 Patch by Greg McGary <gkm@eng.ascend.com>.
7795
aee46704
UD
7796 * sysdeps/arm/memprof.h: New file.
7797
4a199526
UD
77982000-04-12 Andreas Jaeger <aj@suse.de>
7799
7800 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
7801
7802 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
7803 for memmem declaration.
7804
da240c6b
UD
78052000-04-12 Ulrich Drepper <drepper@redhat.com>
7806
4a199526
UD
7807 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
7808 to -1.
7809 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7810
a4dec43d
UD
7811 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
7812 mode is invalid.
7813 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
7814 Patch by Bart Veer <bartv@redhat.com>.
7815
da240c6b
UD
7816 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
7817 function interface.
7818
bfe42f05
AJ
78192000-04-11 Andreas Jaeger <aj@suse.de>
7820
7821 * sysdeps/mips/dl-machine.h: Update some comments.
7822 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
7823
e7c036b3
UD
78242000-04-11 Ulrich Drepper <drepper@redhat.com>
7825
8a31d742
UD
7826 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
7827 _POSIX_SHARED_MEMORY_OBJECTS.
7828
ca99b8a0
UD
7829 * rt/Makefile (tests): Add tst-shm.
7830 Add rules to generate tst-shm.
7831 * rt/tst-shm.c: New file.
7832
fb125e0c
UD
7833 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
7834 for descriptor.
7835
a63be9f7
UD
7836 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
7837 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
7838 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
7839 * sysdeps/generic/shm_open.c: New file.
7840 * sysdeps/generic/shm_unlink.c: New file.
7841 * sysdeps/unix/sysv/linux/shm_open.c: New file.
7842 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
7843 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
7844 __endmntent, __getmntent_r, __setmntent, and __statfs.
7845
25728f03
UD
7846 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
7847 fragmentation by allocating new memory at the end instead of
7848 reallocating.
7849
e7c036b3
UD
7850 * posix/globtest.sh: Fix last change.
7851
78522000-04-10 Philip Blundell <philb@gnu.org>
7853
7854 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
7855 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
7856 IPV6_DROP_MEMBERSHIP.
7857 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
7858 Likewise.
7859
78602000-04-11 Ulrich Drepper <drepper@redhat.com>
7861
7862 * elf/readlib (process_file): Close streams in case of an error.
7863
78642000-04-09 Andreas Jaeger <aj@suse.de>
7865
7866 * elf/readlib.c (process_file): Check if file is big enough to
7867 contain aout and ELF headers.
7868 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
7869
78702000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
7871
7872 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
7873
78742000-04-11 Ulrich Drepper <drepper@redhat.com>
7875
7876 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
7877 stream unbuffered.
7878 * rt/Makefile (tests): Add tst-clock.
7879 Add rules to build tst-clock.
7880 * rt/tst-clock.c: New file.
7881 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
7882 about initialization of nsec.
7883 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
7884 about initialization of freq. Set retval to zero if successful.
7885 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
7886
6689a188
UD
78872000-04-10 Ulrich Drepper <drepper@redhat.com>
7888
7889 * Versions.def (librt): Add GLIBC_2.2.
7890 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
7891 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
7892 timer_getoverr, timer_gettime, and timer_settime.
7893 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
7894 clock_settime, timer_create, timer_delete, timer_getoverrun,
7895 timer_gettime, and timer_settime.
7896 * sysdeps/generic/clock_getcpuclockid.c: New file.
7897 * sysdeps/generic/get_clockfreq.c: New file.
7898 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
7899 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
7900 * sysdeps/mach/hurd/i386/bits/time.h: New file.
7901 * sysdeps/unix/i386/i586/clock_getres.c: New file.
7902 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
7903 * sysdeps/unix/i386/i686/Implies: New file.
7904 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
7905 * time/Makefile (routines): Move clock_getres, clock_gettime,
7906 clock_settime, timer_create, timer_delete, timer_getoverr,
7907 timer_gettime, and timer_settime to rt/Makefile.
7908 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
7909 clock_settime, timer_create, timer_delete, timer_getoverrun,
7910 timer_gettime, and timer_settime.
094f72c6 7911 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
6689a188
UD
7912
7913 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
7914 and not const as attribute name.
7915
25ee87d6
UD
79162000-04-10 Thorsten Kukuk <kukuk@suse.de>
7917
7918 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
7919
3b690639
UD
79202000-04-10 Andreas Schwab <schwab@suse.de>
7921
7922 * posix/globtest.sh: Skip tests that depend on unreadable
7923 directories if run as root.
7924
e79af11c
UD
79252000-04-10 Ulrich Drepper <drepper@redhat.com>
7926
7927 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
7928 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
7929
8956ac9e
UD
79302000-04-09 Ulrich Drepper <drepper@redhat.com>
7931
13fa3676
UD
7932 * sysdeps/unix/clock_gettime.c: New file.
7933 * sysdeps/unix/clock_settime.c: New file.
7934 * sysdeps/posix/clock_getres.c: New file.
7935
1a8de3e4
UD
7936 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
7937
4186c9f4
UD
7938 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
7939 lseek call be passing in a buffer which never allow a successful
7940 first getdents syscall if not at leas the initial entry can be
7941 stored in the user buffer.
7942
8956ac9e
UD
7943 * localedata/Makefile: Add rules to clean up directories created by
7944 new strfmon tests.
7945
79462000-04-09 Geoff Clare <gwc@unisoft.com>
7947
7948 * localedata/tst-fmon.data: Added new tests for strfmon()
7949 using test locales with all combinations of cs_precedes,
7950 sign_posn and sep_by_space.
7951 * localedata/tst-fmon.sh: Updated to support the new tests.
7952 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
7953 the localedef source for the new strfmon() test locale.
7954 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
7955 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
7956 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
7957 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
7958 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
7959 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
7960 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
7961 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
7962 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
7963 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
7964 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
7965 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
7966 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
7967 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
7968
7969 * stdlib/strfmon.c: Correct problems with missing or extra
7970 spaces for unusual combinations of sign_posn and sep_by_space.
7971 Improved left-precision alignment code.
7972
fe9d16a5
UD
79732000-04-07 Andreas Jaeger <aj@suse.de>
7974
7975 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
7976
ddf0c536
AJ
79772000-04-10 Andreas Jaeger <aj@suse.de>
7978
7979 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
7980
fd1b5c0f
UD
79812000-04-09 Ulrich Drepper <drepper@redhat.com>
7982
7983 Implement handling of restartable conversion functions according to
7984 ISO C.
7985 * iconv/gconv.h (__gconv_fct): Add additional parameter.
7986 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
7987 * iconv/gconv.c: Pass additional parameter to conversion function.
7988 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
7989 (internal_ucs4le_loop_single): New function.
7990 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
7991 (__gconv_transform_internal_ascii): Likewise.
7992 (__gconv_transform_internal_utf8): Likewise.
7993 (__gconv_transform_utf8_internal): Likewise.
7994 (__gconv_transform_ucs2_internal): Likewise.
7995 (__gconv_transform_internal_ucs2): Likewise.
7996 (__gconv_transform_ucs2reverse_internal): Likewise.
7997 (__gconv_transform_internal_ucs2reverse): Likewise.
7998 (internal_ucs4le_loop_unaligned): Before return
7999 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
8000 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
8001 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
8002 * iconv/loop.c: Fit in definition of function to convert one character
8003 for processing of left-over bytes from the state object.
8004 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
8005 inend to match names in loop functions.
8006 (RESET_INPUT_BUFFER): Change apprpriately.
8007 (gconv): If needed, call function to process bytes from the state
8008 object. Similar at the end: store left over bytes if input is
8009 incomplete.
8010 Take extra argument and add new argument to all calls of the
8011 conversion function.
8012 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
8013 information in the state object to not conflict with length count.
8014 * iconvdata/iso-2022-jp.c: Likewise.
8015 * iconvdata/iso-2022-kr.c: Likewise.
8016 * iconvdata/unicode.c: Adjust for change change in parameters of
8017 skeleton function.
8018 * iconvdata/utf-16.c: Likewise.
8019 * libio/iofwide.c: Add new parameter to all calls of conversion
8020 function.
8021 * wcsmbs/btowc.c: Likewise.
8022 * wcsmbs/mbrtowc.c: Likewise.
8023 * wcsmbs/mbsnrtowcs.c: Likewise.
8024 * wcsmbs/mbsrtowcs.c: Likewise.
8025 * wcsmbs/wcrtomb.c: Likewise.
8026 * wcsmbs/wcsnrtombs.c: Likewise.
8027 * wcsmbs/wcsrtombs.c: Likewise.
8028 * wcsmbs/wctob.c: Likewise.
8029
8030 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
8031 MAX_NEEDED_INPUT.
8032
22804455
AJ
80332000-04-07 Andreas Jaeger <aj@suse.de>
8034
8035 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
8036 newer kernels.
8037
aa831d6d
UD
80382000-04-07 Ulrich Drepper <drepper@redhat.com>
8039
8040 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
8041 element a union to allow byte access.
8042 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
8043 mbstate_t.
8044 * iconvdata/iso-2022-jp.c: Likewise.
8045 * iconvdata/iso-2022-kr.c: Likewise.
404ee5fc
UD
8046 * wcsmbs/mbsinit.c: Likewise.
8047 * stdlib/mblen.c: Likewise.
b837918e 8048 * stdio-common/printf-parse.h: Likewise.
aa831d6d 8049
a0dc5206
UD
80502000-04-06 Ulrich Drepper <drepper@redhat.com>
8051
f11b9da6
UD
8052 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
8053 kernel does not allow relative seeks on descriptors associated
8054 with directories. Go back to get the position in the directory
8055 every time we enter the function. Return -1 and set errno if one
8056 entry could be read from the kernel but does not fit into the
8057 buffer passed in by the user.
8058
a0dc5206
UD
8059 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
8060 Support ..(2).. ellipsis.
8061 (parse_charmap): Recognize ..(2).. etc and pass step down.
8062 Correctly generate names for UCS4 characters.
8063
8064 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
8065 (ctype_finish): We know the wide character value for <SP>,
8066 don't search.
8067 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
8068 (charclass_ucs4_ellipsis): Likewise.
8069 (read_translit_ignore_entry): Store ellipsis step.
8070 (ctype_read): Recognize ..(2).. etc and pass step down.
8071
8072 * locale/programs/linereader.c (lr_token): When seeing comment
8073 character ignore only rest of line in sources but stop at escaped
8074 newline.
8075 Recognize ..(2).. and ....(2).....
8076
8077 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
8078 and tok_ellipsis4_2.
8079
372f94ba
UD
80802000-04-06 Andreas Jaeger <aj@suse.de>
8081
8082 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
8083 removed, remove it here also.
8084 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
8085 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
8086 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
8087 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
8088
80892000-04-06 Jakub Jelinek <jakub@redhat.com>
8090
8091 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
8092 include bits/sigcontext.h.
8093 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8094
723faa38
UD
80952000-04-06 Ulrich Drepper <drepper@redhat.com>
8096
5943f0bc
UD
8097 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
8098 collation symbol definition. Value in quivalence definition must
8099 be defined, don't check that it is not.
8100
723faa38
UD
8101 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
8102 values as character names.
8103
8104 * locale/programs/ld-ctype.c (get_character): Handle missing
8105 repertoire map correctly.
8106
a1303dc8
UD
81072000-04-05 Cristian Gafton <gafton@redhat.com>
8108
8109 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
8110 because it is used in generic code.
8111 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
8112 * wcsmbs/wcwidth.h: Declare __ctype32_b.
8113 * intl/gettext.c: Include <locale.h>.
8114 * intl/ngettext.c: Likewise.
8115
81162000-04-05 Jakub Jelinek <jakub@redhat.com>
8117
8118 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
8119 socklen_t type for size.
8120 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
8121 init function interface.
8122 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8123 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
8124 sys/ucontext.h.
8125 (__jmp_buf): Declare the whole type structure here, don't use
8126 ucontext.
8127
2a0ff6ff
UD
81282000-04-05 Ulrich Drepper <drepper@redhat.com>
8129
a1303dc8
UD
8130 * iconv/skeleton.c (put16u): Fix typo.
8131 Reported by Bruno Haible <haible@ilog.fr>.
8132
2a0ff6ff
UD
8133 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
8134 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
8135 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
8136 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
8137 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
8138 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
8139
8140 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
8141 * Makefile (distribute): Add abi-versions.awk and
8142 firstversions.awk.
8143 Patches by Torsten Duwe <duwe@caldera.de>.
8144
5560eac7
UD
81452000-04-05 Andreas Schwab <schwab@suse.de>
8146
8147 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
8148
a6dd65cd
AS
81492000-04-05 Andreas Schwab <schwab@suse.de>
8150
8151 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
8152 entry point, used on Hurd.
8153
7d4de961
UD
81542000-04-04 Andreas Jaeger <aj@suse.de>
8155
8156 * intl/Makefile: Only run the gettext test with shared libraries.
8157
f0d872e9
UD
81582000-03-16 Mark Kettenis <kettenis@gnu.org>
8159
8160 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
8161 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
8162
7499a22a
RM
81632000-04-05 Roland McGrath <roland@baalperazim.frob.com>
8164
8165 * Makeconfig: Undo last change.
8166 * configure.in: If --disable-shared was given, don't set VERSIONING,
8167 don't define DO_VERSIONING, and don't give scare warning for no
8168 versioning.
8169 * configure: Regenerated.
8170
2c57ff21
RM
81712000-04-04 Roland McGrath <roland@baalperazim.frob.com>
8172
8173 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
8174
09847c8d
UD
81752000-04-04 Andreas Jaeger <aj@suse.de>
8176
8177 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
8178
3aaad0b6
UD
81792000-04-04 Ulrich Drepper <drepper@redhat.com>
8180
736d0841
UD
8181 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
8182 STV_HIDDEN and STV_INTERNAL during lookup.
8183 (profile_fixup): Likewise.
8184 * elf/dl-reloc.c (RESOLVE): Likewise.
8185
3aaad0b6
UD
8186 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
8187 unaligned so that it compiles for system which need unaligned
8188 access handling.
8189
0b7219cc
UD
81902000-04-04 Andreas Schwab <schwab@suse.de>
8191
8192 * elf/cache.c (print_entry): Only look at the type field when
8193 printing the type.
8194
81952000-04-04 Andreas Schwab <schwab@suse.de>
8196
8197 * iconvdata/big5.c (BODY): Fix typo.
8198
658943b9
AS
81992000-04-04 Andreas Schwab <schwab@suse.de>
8200
8201 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
8202 function interface. Remove unused _dl_start_user entry point.
8203
bd457114
UD
82042000-04-03 Andreas Jaeger <aj@suse.de>
8205
8206 * include/arpa/inet.h (__inet_aton): Add protoype.
8207
41aefe41
UD
82082000-04-01 Andreas Jaeger <aj@suse.de>
8209
8210 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
8211
8212 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
8213 * sysdeps/mach/mips/thread_state.h: Likewise.
8214
8215 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
8216 * sysdeps/generic/fegetenv.c: Likewise.
8217 * sysdeps/generic/fesetenv.c: Likewise.
8218 * sysdeps/generic/feupdateenv.c: Likewise.
8219 * sysdeps/generic/fraiseexcpt.c: Likewise.
8220 * sysdeps/generic/fsetexcptflg.c: Likewise.
8221 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
8222 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
8223 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
8224 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8225
82262000-04-02 H.J. Lu <hjl@gnu.org>
8227
8228 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
8229
ad085e8a
UD
82302000-04-03 Ulrich Drepper <drepper@redhat.com>
8231
839be784
UD
8232 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
8233 (add_name_to_object): Add cast in malloc call.
8234 (fillin_rpath): Optimize loop to initialize ->status a bit.
8235
f9b798ba
UD
8236 * sysdeps/i386/dl-machine.h: Undo last change.
8237 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
8238 Restore %edx register after call here.
8239
ad085e8a
UD
8240 * sysdeps/arm/atomicity.h: New file.
8241 Contributed by Jesper Skov <jskov@redhat.com>.
8242
c6d80202
RM
82432000-04-03 Roland McGrath <roland@baalperazim.frob.com>
8244
ca5becb0
RM
8245 * Makeconfig (preprocess-versions): Undo last change.
8246 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
8247
c6d80202
RM
8248 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
8249 here, before we might move the stack.
8250 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
8251 (init1): And not here.
8252
8253 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
8254 change, to restore argc value in call-clobbered register after
8255 RTLD_START_SPECIAL_INIT, which will contain a call.
8256
8257 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
8258 allocating and initializing L->l_initfini.
8259
8260 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
8261
152e7964
UD
82622000-04-03 Ulrich Drepper <drepper@redhat.com>
8263
8264 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
8265 RUNPATH, RPATH, and LD_LIBRARY_PATH.
8266 (open_path): Change type of fourth parameter. Make pointer to array
8267 of pointers. Create variable dirs with original type.
8268 Track whether any directory for the object exists and if not,
8269 change *DIRSP to (void*) -1 to signal there is no such search path.
8270 (_dl_map_object): Change all calls of open_path.
8271 Rewrite decompose_rpath calls.
8272
42ba2c11
UD
82732000-03-31 Andreas Schwab <schwab@suse.de>
8274
8275 * string/strfry.c: Declare STATE as array of char instead of int
8276 and do not initialize it (done by initstate_r). Pass correct
8277 size.
8278
0a63529d
UD
82792000-04-03 Ulrich Drepper <drepper@redhat.com>
8280
42ba2c11
UD
8281 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
8282
0a63529d
UD
8283 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
8284 instruction out of the code.
8285
cf197e41
UD
82862000-04-02 Ulrich Drepper <drepper@redhat.com>
8287
8288 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
8289 element at this position.
8290
8291 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
8292 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
8293 l_reldeps elements.
8294 * elf/dl-lookup.c (add_dependency): New function.
8295 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
8296 dynamically loaded object.
8297 (_dl_lookup_symbol_skip): Likewise.
8298 (_dl_lookup_versioned_symbol): Likewise.
8299 (_dl_lookup_versioned_symbol_skip): Likewise.
8300 * elf/dl-open.c: Don't define _dl_load_lock here...
8301 * elf/rtld.c: ...but here...
8302 * elf/dl-support.c: ...and here.
8303 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
8304 through relocation.
8305 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
8306 relocations.
8307 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
8308 anymore.
8309 * dlfcn/glrefmain.c: Add one more debug message.
8310
8311 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
8312 command line.
8313 * Makerules (sysd-versions): Use ( ) instead of { }.
8314
8315 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
8316 optimize for the non-debugging case.
8317 * elf/dl-lookup.c: Likewise.
8318 * sysdeps/generic/libc-start.c: Likewise.
8319
e1724cd7
RM
83202000-04-02 Roland McGrath <roland@baalperazim.frob.com>
8321
5879ee9f
RM
8322 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
8323 (init1): Don't initialize __environ here, since init already does it.
8324 (first_init): New function, broken out of _init.
8325 (_hurd_stack_setup): Use it.
8326 [SHARED] (_dl_init_first): New function, renamed from old _init.
8327 (init1) [SHARED]: Don't call posixland_init here.
8328 (posixland_init): Take ENVP arg, so signature is usual for initializer.
8329 [SHARED] (_init): Define as alias for posixland_init.
8330 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
8331 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
8332 RTLD_START_SPECIAL_INIT before calling initializers.
8333 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
8334 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
8335 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
8336 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
8337
e1724cd7
RM
8338 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
8339 since we define the function with the name `tmpfile'.
8340
8341 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
8342 * hurd/Versions: Likewise.
8343
e10b8512
UD
83442000-04-02 Ulrich Drepper <drepper@redhat.com>
8345
e1724cd7 8346 * elf/dl-runtime.c (fixup): Fix typo in comment.
d8655fd7 8347
e1724cd7 8348 * resolv/netdb.h (getnameinfo): All length parameters are of type
e10b8512
UD
8349 socklen_t.
8350 * inet/getnameinfo.c: Likewise.
8351
0adb8e47
UD
83522000-04-01 Ulrich Drepper <drepper@redhat.com>
8353
750f9af6
UD
8354 * posix/unistd.h (socklen_t): Define if it has not yet happened.
8355 (gethostname): Change type of second parameter to socklen_t.
8356 * include/unistd.h (__gethostname): Change type of second
8357 parameter to socklen_t.
8358 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
8359 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
8360 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
8361 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
8362 Likewise.
8363 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
8364 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
8365 Allow definition elsewhere.
8366 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
8367 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8368 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
8369 * sysdeps/generic/bits/types.h: Define __socklen_t.
8370 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
8371 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
8372 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
8373 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
8374 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
8375 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
8376 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
8377
ad483238
UD
8378 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
8379 (inet_lnaof): Likewise.
8380 (inet_netof): Likewise.
8381 (inet_network): Likewise.
8382 (inet_aton): Likewise.
8383 (inet_makeaddr): Change parameter types to in_addr_t.
8384 (inet_neta): Likewise.
8385 (inet_ntop): Change type of last parameter to socklen_t.
8386 (inet_aton): Only make available if __USE_MISC.
8387 (inet_neta): Likewise.
8388 (inet_net_ntop): Likewise.
8389 (inet_net_pton): Likewise.
8390 (inet_nsap_ntoa): Likewise.
8391
8392 * inet/in.h: Define in_port_t type.
8393 Define in_addr_t type.
8394 (struct in_addr): Use in_addr_t in definition.
8395 (IN_CLASSA): Use cast to in_addr_t.
8396 (IN_CLASSB): Likewise.
8397 (IN_CLASSC): Likewise.
8398 (IN_CLASSD): Likewise.
8399 (IN_EXPERIMENTAL): Likewise.
8400 (IN_BADCLASS): Likewise.
8401 (INADDR_ANY): Likewise.
8402 (INADDR_BROADCAST): Likewise.
8403 (INADDR_NONE): Likewise.
8404 (INADDR_LOOPBACK): Likewise.
8405 (INADDR_UNSPEC_GROUP): Likewise.
8406 (INADDR_ALLHOSTS_GROUP): Likewise.
8407 (INADDR_ALLRTRS_GROUP): Likewise.
8408 (INADDR_MAX_LOCAL_GROUP): Likewise.
8409 (struct sockaddr_in): Use in_port_t for sin_port element.
8410 (struct sockaddr_in6): Use in_port_t for sin6_port element.
8411 Use uint8_t instead of u_int8_t.
8412
8413 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
8414 Call __inet_aton instead of inet_aton.
8415 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
8416
8417 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
8418 (innetgr): Likewise.
8419 (struct addrinfo): Use socklen_t for ai_addrlen element.
8420
8421 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
8422 IPV6_RECVERR): New defines.
8423
9b48fa9b
UD
8424 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
8425 * inet/getnetbyad.c: Likewise.
8426 * inet/getnetbyad_r.c: Likewise.
8427 * nis/nss_nis/nis-network.c: Likewise.
8428 * nis/nssplus_nis/nisplus-network.c: Likewise.
8429 * nss/nss_files/files-network.c: Likewise.
8430 * resolv/netdb.h: Define uint32_t if not already happened.
8431 Include bits/netdb.h. Remove definition of struct netent.
8432 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
8433 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
8434 * sysdeps/generic/bits/netdb.h: New file.
8435 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
8436
4380ef5e
UD
8437 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
8438 (tests): Add glrefmain.
8439 Add rules to build modules and run tests. Ignore result of glrefmain
8440 for now since it fails.
8441 * dlfcn/glrefmain.c: New file.
8442 * dlfcn/glreflib1.c: New file.
8443 * dlfcn/glreflib2.c: New file.
8444
8445 * test-skeleton.c: Include <string.h> for strsignal prototype.
8446
289e8e7e
UD
8447 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
8448 to be missing.
8449
0adb8e47
UD
8450 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
8451 former init-first.h. Initialize __libc_multiple_libcs.
8452
c0c2af07
UD
84532000-03-31 Ulrich Drepper <drepper@redhat.com>
8454
c1db8b0d
UD
8455 * iconv/skeleton.c: Define access macros with u suffix. Adjust
8456 #if expression for use of unaligned function to the one used in
8457 the definition of these functions.
6674e127 8458 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
c1db8b0d
UD
8459 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
8460 (internal_ucs4le_loop_unaligned): New function.
8461
c0c2af07
UD
8462 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
8463 (tests): Add order.
8464 (module-names): Add dep1, dep2, dep3, and dep4.
8465 Add dependencies for dep* modules and order.
8466 Define rule for order.out which checks the result.
8467 * elf/dep1.c: New file.
8468 * elf/dep2.c: New file.
8469 * elf/dep3.c: New file.
8470 * elf/dep4.c: New file.
8471 * elf/order.c: New file.
8472
e1724cd7 8473 * elf/dl-init.c: Fix typo in comment.
c0c2af07 8474
ad08a5b6
AJ
84752000-03-31 Andreas Jaeger <aj@suse.de>
8476
8477 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
8478 init function interface.
8479 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
8480
e7960df5
AJ
84812000-03-31 Andreas Jaeger <aj@suse.de>
8482
36d04330
AJ
8483 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
8484 * sysdeps/mips/fpu/fegetenv.c: Likewise.
8485 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
8486 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
8487 * sysdeps/mips/fpu/fesetenv.c: Likewise.
8488
88fdf42f 8489 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
e1724cd7 8490 anymore, update comment.
88fdf42f 8491
e7960df5
AJ
8492 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8493
8494 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
8495 SHLIB_COMPAT - the struct is always needed.
8496
9ad04ff7
UD
84972000-03-31 Ulrich Drepper <drepper@redhat.com>
8498
8499 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
8500 * elf/dl-support.c: Define _dl_starting_up.
8501
924c3f59
UD
85022000-03-30 Ulrich Drepper <drepper@redhat.com>
8503
9ad04ff7 8504 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
7688db91
UD
8505 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
8506
9ad04ff7 8507 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
7688db91 8508
d7926ed9
UD
8509 * elf/Makefile (dl-routines): Remove preinit.
8510 * elf/Versions: Remove _dl_preinit.
8511 * elf/dl-preinit.c: Removed. Move content into...
8512 * elf/dl-init.c: ...here.
758cb061 8513 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
d7926ed9 8514
924c3f59 8515 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
9ad04ff7 8516 elements.
924c3f59 8517
9e9e0532
UD
85182000-03-29 Geoff Clare <gwc@unisoft.com>
8519
8520 * stdlib/strfmon.c: Corrected problems with the code that
8521 sets default values for [np]_sep_by_space and
8522 [np]_sign_posn; also the new positive/negative alignment
8523 code from the previous patch was not quite right for
8524 [np]_sign_posn = 0.
8525
8526 * localedata/tst-fmon.data: Changes corresponding to the
8527 two sets of fixes made to stdlib/strfmon.c.
8528
b5567b2a
UD
85292000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
8530
8531 * malloc/malloc.c: Declare bit flags UL so that they will not
8532 default to int size when being inverted.
8533
85342000-03-29 Andreas Jaeger <aj@suse.de>
8535
8536 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
8537 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
8538
85392000-03-29 Andreas Jaeger <aj@suse.de>,
c1db8b0d 8540 Ralf Baechle <ralf@uni-koblenz.de>
b5567b2a
UD
8541
8542 * Makeconfig: Introduce new variable SHARED to mark code used in
8543 the shared library.
8544 * elf/dl-close.c: Use it instead of PIC.
8545 * elf/dl-load.c: Likewise.
8546 * elf/dl-open.c: Likewise.
8547 * hurd/geteuids.c: Likewise.
8548 * include/libc-symbols.h: Likewise.
8549 * include/shlib-compat.h: Likewise.
8550 * libio/freopen.c: Likewise.
8551 * linuxthreads/cancel.c: Likewise.
8552 * linuxthreads/pthread.c: Likewise.
8553 * linuxthreads/wrapsyscall.c: Likewise.
8554 * nss/nsswitch.c: Likewise.
8555 * stdio-common/vfprintf.c: Likewise.
8556 * sysdeps/arm/init-first.c: Likewise.
8557 * sysdeps/i386/init-first.c: Likewise
8558 * sysdeps/generic/init-first.c: Likewise.
8559 * sysdeps/generic/libc-start.c: Likewise.
8560 * sysdeps/mips/init-first.c: Likewise.
8561 * sysdeps/powerpc/elf/libc-start.c: Likewise.
8562 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8563 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
8564 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
8565 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8566
8567 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
8568
b86120ed
UD
85692000-03-29 Andreas Jaeger <aj@suse.de>
8570
8571 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
8572 Use D_PTR to access relocated entries in l_info.
8573 (elf_machine_rela): Likewise.
8574
8575 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
8576 Likewise.
8577 (elf_machine_rela): Likewise.
8578
8579 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
8580 Likewise.
8581 (__elf_machine_fixup_plt): Likewise.
8582 (__process_machine_rela): Likewise.
8583
8584 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
8585 (elf_machine_rela): Likewise.
8586
8587 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
8588 (elf_machine_rel): Likewise.
8589
8590 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
8591 (elf_machine_fixup_plt): Likewise.
8592 (elf_machine_rela): Likewise.
8593
85942000-03-29 Andreas Jaeger <aj@suse.de>
8595
8596 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
8597 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8598 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8599 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
8600 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8601 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
8602 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
8603 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
8604 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
8605 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
8606 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
8607 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
8608 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
8609 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
8610 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8611
8612 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
8613 macros, remove K&R prototypes.
8614
05c54d4c
UD
86152000-03-30 Ulrich Drepper <drepper@redhat.com>
8616
8617 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
8618 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
8619 (PR libc/1677).
8620
7f4e0e58
UD
86212000-03-30 Andreas Jaeger <aj@suse.de>
8622
8623 * misc/sys/cdefs.h: Remove K&R support.
8624
fdf64555
UD
86252000-03-30 Ulrich Drepper <drepper@redhat.com>
8626
8627 * iconv/skeleton.c: Avoid compiling unaligned versions in some
9d54e984 8628 more cases.
fdf64555
UD
8629 * iconv/loop.c: Likewise.
8630
99a7e065
UD
86312000-03-29 Bruno Haible <haible@clisp.cons.org>
8632
8633 * iconv/loop.c (put16): Remove __const. Fix access index.
8634 (put32): Remove __const. Use uint32_t instead of uint16_t.
8635 * iconv/skeleton.c: Likewise.
8636
9a95cd1c
RM
86372000-03-30 Roland McGrath <roland@baalperazim.frob.com>
8638
8639 * mach/Versions (libc: GLIBC_2.0)
8640 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
8641 __vm_allocate on this.
8642 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
8643 mutex- and spinlock-related symbols on this.
8644 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
8645 New version set. Lock-related symbols go here instead in this case.
8646 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
8647 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
8648 cthread_getspecific, cthread_setspecific, __libc_getspecific.
8649 * hurd/Versions
8650 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
8651 Put them here instead.
8652 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
8653 New version set. Those cthreads symbols go here instead in this case.
8654 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
8655
dacc8ffa
UD
86562000-03-30 Ulrich Drepper <drepper@redhat.com>
8657
841288ec
UD
8658 * elf/dl-init.c (_dl_init): We don't need to call constructors
8659 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
8660
dacc8ffa
UD
8661 Implement dynamic determination of constructor/destructor order in
8662 the dynamic linker.
8663 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
8664 (GLIBC_2.2): Add _dl_init.
8665 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
8666 r_duplist is not anymore allocated separately. l_initfini is and
8667 therefore free it if necessary.
8668 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
8669 malloc block. Otherwise allocate l_initfini list only.
8670 Put dependencies for the object in l_initfini list.
8671 Sort dependencies for the object to be loaded topologically.
8672 * elf/dl-fini.c: Before running the destructors sort the topologically.
8673 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
8674 call constructors instead of iterating over the pointers. Get list of
8675 objects for which to run constructors from l_initfini element. Accept
8676 argc, argv, and env as parameters and pass them to the constructors.
8677 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
8678 with size of dynamic section.
8679 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
8680 _dl_init_next and calling constructors ourself.
8681 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
8682 Take argc, argv, and env as parameters and pass them to the
8683 constructors. Rewrite to call all constructors and not iterate over
8684 the pointers.
8685 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
8686 precompute l_initcount and l_preinitcount.
8687 * elf/link.h (struct link_map): Add l_ldnum member.
8688 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
8689 l_initcount, and l_preinitcount. Add l_initfini.
8690 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
8691 one for _dl_init.
8692 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
8693 function interface.
8694 * sysdeps/unix/sysv/linux/init-first.h: Removed.
8695 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
8696 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
8697 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
8698 conventions now match.
8699
8700 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
8701 effect for shared objects. Don't emit message and call only for
8702 static library.
8703
38e986ec
UD
87042000-03-29 Ulrich Drepper <drepper@redhat.com>
8705
8706 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
8707 CSA_Z243.4-1985-1..UCS2.
8708 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
8709 ISO-8859-10..UCS2.
8710
689993b2
AJ
87112000-03-29 Andreas Jaeger <aj@suse.de>
8712
dab715b9
AJ
8713 * include/unistd.h: Remove duplicate entry for __rmdir.
8714 Remove declaration of __mkdir since __mkdir is declared in
8715 sys/stat.h.
8716
56fbd811
AJ
8717 * manual/creature.texi (Feature Test Macros): Fix typo, reported
8718 by Michael Deutschmann <michael@talamasca.ocis.net>.
8719
689993b2
AJ
8720 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
8721 * sysdeps/mips/fpu/fegetenv.c: Likewise.
8722 * sysdeps/mips/fpu/fesetenv.c: Likewise.
8723 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
8724 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
8725
300583a7
UD
87262000-03-28 Andreas Jaeger <aj@suse.de>
8727
8728 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
8729 declaration, the prototype is defined via bits/mathcalls.h.
8730 (__sincosf): Likewise.
8731 (__sincosl): Likewise.
8732 (ldexp): Likewise.
8733 (ldexpf): Likewise.
8734 (ldexpl): Likewise.
8735 (__finite): Likewise.
10685cd0 8736 (__inline_mathcodeNP): New macro without prototype
300583a7 8737 declarations.
10685cd0
AJ
8738 (__inline_mathcodeNP2): Likewise.
8739 (__inline_mathcodeNP3): Likewise.
8740 (__inline_mathcodeNP_): Likewise.
8741 (__inline_mathcodeNP2_): Likewise.
8742 (__inline_mathcodeNP3_): Likewise.
8743 (__inline_mathopNP): Likewise.
8744 (__inline_mathop_declNP): Likewise.
8745 (__inline_mathop_declNP_): Likewise.
300583a7
UD
8746 (__inline_mathcode_): Use __inline_mathcodeNP_.
8747 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
8748 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
8749 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
8750 (__expm1l): Don't define prototype, the prototype is defined via
8751 bits/mathcalls.h.
8752 (exp): Likewise.
8753 (__expl): Likewise.
8754 (tan): Likewise.
8755 (atan2): Likewise.
8756 (__atan2l): Likewise.
8757 (fmod): Likewise.
8758 (pow): Likewise.
10685cd0
AJ
8759 (fabsf): Likewise.
8760 (fabsl): Likewise.
8761 (__fabsl): Likewise.
300583a7
UD
8762 (asin): Likewise.
8763 (acos): Likewise.
8764 (sinh): Likewise.
8765 (cosh): Likewise.
8766 (tanh): Likewise.
8767 (floor): Likewise.
8768 (ceil): Likewise.
8769 (expm1): Likewise.
8770 (log1p): Likewise.
8771 (asinh): Likewise.
8772 (acosh): Likewise.
8773 (atanh): Likewise.
8774 (hypot): Likewise.
8775 (logb): Likewise.
8776 (fma): Likewise.
8777 (drem): Likewise.
8778 (sqrt): Likewise.
8779 (__sqrtl): Likewise.
8780 (sin): Likewise.
8781 (cos): Likewise.
8782 (atan): Likewise.
8783 (log): Likewise.
8784 (log10): Likewise.
8785 (asinh): Likewise.
8786 (log2): Likewise.
8787 (rint): Likewise.
8788
77e1d15a
UD
87892000-03-28 Ulrich Drepper <drepper@redhat.com>
8790
d2b9a50e
UD
8791 * Makerules: If make variable md5 is defined to yes after
8792 generating dependencies generate MD5 sum for the object.
8793
9dfa9a5a
UD
8794 * iconv/gconv_builtin.h: Fix length in transformation definition
8795 for UNICODEBIG.
8796
77e1d15a
UD
8797 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
8798
8799 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
8800 allow as well reading from/writing to unaligned addresses on machines
8801 which don't support this in hardware. Use FCTNAME macro to define
8802 function name. Include the file a second time for platforms which
8803 need special unaligned handling.
8804 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
8805 to access potentially unaligned addresses. These macros are intended
8806 to be used only outside the loops.
8807 (unaligned): New definition. In case the machine can handle unaligned
8808 access define as zero. Otherwise as a variable which is initialized
8809 as nonzero in case the buffer passed in at runtime is unaligned with
8810 respect to the character set encoding involved.
8811 Call aligned or unaligned looop functions according to unaligned
8812 variable.
8813 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
8814 of direct casting pointer to potentially handle unaligned memory
8815 accesses.
8816 * iconvdata/8bit-generic.c: Likewise.
8817 * iconvdata/ansi_x3.110.c: Likewise.
8818 * iconvdata/big5.c: Likewise.
8819 * iconvdata/euc-cn.c: Likewise.
8820 * iconvdata/euc-jp.c: Likewise.
8821 * iconvdata/euc-kr.c: Likewise.
8822 * iconvdata/euc-tw.c: Likewise.
8823 * iconvdata/gbk.c: Likewise.
8824 * iconvdata/iso-2022-cn.c: Likewise.
8825 * iconvdata/iso-2022-jp.c: Likewise.
8826 * iconvdata/iso-2022-kr.c: Likewise.
8827 * iconvdata/iso646.c: Likewise.
8828 * iconvdata/iso_6937-2.c: Likewise.
8829 * iconvdata/iso_6937.c: Likewise.
8830 * iconvdata/johab.c: Likewise.
8831 * iconvdata/sjis.c: Likewise.
8832 * iconvdata/t.61.c: Likewise.
8833 * iconvdata/uhc.c: Likewise.
8834 * iconvdata/unicode.c: Likewise.
8835 * iconvdata/utf-16.c: Likewise.
8836
8837 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
8838 prototypes.
8839
8840 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
8841 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
8842 public.
8843 * malloc/mcheck.h (mcheck_check_all): Declare.
8844
8845 * stdio-common/Makefile (tests): Add tst-obprintf.
8846
26c400e6
RM
88472000-03-28 Roland McGrath <roland@baalperazim.frob.com>
8848
8849 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
8850 Declare pthread_sigmask.
8851
8852 * csu/version.c: Add 2000 to copyright years.
8853 Remove Emacs local variables section.
8854
428bcea4
UD
88552000-03-23 Bruno Haible <haible@clisp.cons.org>
8856
8857 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
8858 __gconv_transform_internal_ucs2little): Remove declarations.
8859 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
8860 __gconv_transform_internal_ucs2): Never need to bswap_16.
8861 (__gconv_transform_ucs2reverse_internal,
8862 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
8863
58dc1d49
RM
88642000-03-27 Roland McGrath <roland@baalperazim.frob.com>
8865
65b4f10b
RM
8866 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
8867 obsoleting version not being defined at all, in which case the
8868 result is always true.
8869
58dc1d49
RM
8870 * Makeconfig (preprocess-versions): New canned sequence for running
8871 cpp on shlib-versions and the like.
8872 (soversions.i): Use it.
8873 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
8874 Versions.def and Versions files.
8875
670066c3
UD
88762000-03-27 Ulrich Drepper <drepper@redhat.com>
8877
22d5fbfe
UD
8878 * stdio-common/tst-obprintf.c (main): Add another check to see
8879 obstack_printf handling all possible beginnings of the block
8880 inside an obstack chunk.
8881
670066c3
UD
8882 * locale/programs/localedef.c: Use __malloc_initialize_hook to
8883 install mcheck handler.
8884
8885 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
8886 handling problem.
22d5fbfe 8887
3e5155f8
RM
88882000-03-27 Roland McGrath <roland@baalperazim.frob.com>
8889
9010d7f8
RM
8890 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
8891
3e5155f8
RM
8892 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
8893 on [HAVE_ELF && DO_VERSIONING].
8894
0c04b91e
UD
88952000-03-27 Ulrich Drepper <drepper@redhat.com>
8896
8897 * stdio-common/tst-obprintf.c: New file.
8898
8e605e78
UD
88992000-03-26 Ulrich Drepper <drepper@redhat.com>
8900
9202ffe3
UD
8901 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
8902 _IO_OVERFLOW directly instead through __overflow.
8903
30e0f9c3
UD
8904 * locale/programs/localedef.c (construct_output_path): If path
8905 contains a / compute the end of the directory name correctly.
8906
8e605e78
UD
8907 * include/features.h: Undef and document __USE_XOPEN2K.
8908
8909 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
8910 whenever a function is called. Initiated by calling mcheck_pedantic
8911 instead of mcheck.
8912 * malloc/mcheck.h: Declare mcheck_pedantic.
8913 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
8914 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
8915 for now.
8916
4c63ebaa
UD
89172000-03-26 Roland McGrath <roland@baalperazim.frob.com>
8918
16710d58
RM
8919 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
8920 * dlfcn/dlopenold.c: Likewise.
8921 * nss/getXXbyYY_r.c: Likewise.
8922 * nss/getXXent_r.c: Likewise.
8923 * hurd/hurdinit.c: Likewise.
8924 * hurd/compat-20.c: Likewise.
8925 * libio/oldiofopen.c: Likewise.
8926 * libio/oldiofclose.c: Likewise.
8927 * libio/oldiofdopen.c: Likewise.
8928 * libio/oldfileops.c: Likewise.
8929 * libio/oldstdfiles.c: Likewise.
8930 * libio/oldiofsetpos.c: Likewise.
8931 * libio/oldiofgetpos.c: Likewise.
8932 * libio/oldiofgetpos64.c: Likewise.
8933 * libio/oldiofsetpos64.c: Likewise.
8934 * libio/oldiopopen.c: Likewise.
8935 * libio/oldpclose.c: Likewise.
8936 * libio/oldtmpfile.c: Likewise.
8937 * libio/freopen.c (freopen): Likewise.
8938 * libio/iofclose.c (_IO_new_fclose): Likewise.
8939
54f6cbb3
RM
8940 * sysdeps/mach/sys/reboot.h: Include <features.h>.
8941 (reboot): Declare it.
8942
1c479f72
RM
8943 * libio/Makefile (headers): Add bits/stdio-lock.h here.
8944
8945 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
8946
a7ca88b8
RM
8947 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
8948
4c63ebaa
UD
8949 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
8950 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
8951 We need this for the sbrk decl, which can be included without Unix98.
8952
c7e41631
UD
89532000-03-20 Richard Henderson <rth@cygnus.com>
8954
8955 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
8956 argument to yperr2nss is an int, not size_t.
8957 * posix/regex.c (print_partial_compiled_pattern): Cast all
8958 ptrdiff_t to long for printing.
8959 (print_compiled_pattern): Use Z for printing size_t.
8960 * posix/testfnm.c (tests): Avoid trigraphs.
8961 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
8962 Use a C comment, not an assembly comment.
8963
8964 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
8965 of __ASSUME_32BITUIDS.
8966
6d2e234a
UD
89672000-03-26 Ulrich Drepper <drepper@redhat.com>
8968
8969 * libio/iofopncook.c: Remove K&R prototypes.
8970
2e6f096f
RM
89712000-03-26 Roland McGrath <roland@baalperazim.frob.com>
8972
8973 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
8974 an initial value of 1024 instead of RLIM_INFINITY.
8975
8976 * Versions.def (libmachuser, libhurduser): Remove these sections,
8977 since these libraries do not presently use symbol versions.
8978
8979 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
8980 is RLIM_INFINITY, return -1 instead.
8981
4fcddf8e
UD
89822000-03-24 Andreas Jaeger <aj@suse.de>
8983
8984 * Makefile (postclean): Added soversions.i.
8985
89862000-03-24 Scott Bambrough <scottb@netwinder.org>
8987
8988 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
8989 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
8990 and _FPU_IEEE. Change _FPU_RESERVED.
8991
89922000-03-24 Scott Bambrough <scottb@netwinder.org>
8993
8994 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
8995
89962000-03-24 Roland McGrath <roland@baalperazim.frob.com>
8997
8998 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
8999 (gaih_inet): Remove unused duplicate variable.
9000
9001 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
9002 Don't use __libc_sa_len, which only exists for Linux. Just handle
9003 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
9004 only flavors supported by this function anyway.
9005
90062000-03-24 Geoff Clare <gwc@unisoft.com>
9007
9d54e984 9008 * stdlib/strfmon.c: Corrected problems with missing signs and
4fcddf8e
UD
9009 missing or extra spaces; allow for sign strings longer than
9010 one character; add padding to ensure positive and negative
9011 formats are aligned when a left precision is used.
9012
90132000-03-26 Ulrich Drepper <drepper@redhat.com>
9014
9015 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
9016 Patch by John Mizel <John.Mizel@msdw.com>.
9017
0efadcd9
UD
90182000-03-25 Ulrich Drepper <drepper@redhat.com>
9019
9020 * manual/install.texi: Remove references to crypt add-on.
9021
9e3438be
RM
90222000-03-25 Roland McGrath <roland@baalperazim.frob.com>
9023
9024 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
9025 section while taking the _hurd_rlimit_lock.
9026 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9027
4f173e2c
RM
90282000-03-24 Roland McGrath <roland@baalperazim.frob.com>
9029
6a08db09
RM
9030 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
9031 using $(LN_S).
9032
4f173e2c
RM
9033 * sysdeps/mach/hurd/if_index.c: New file.
9034
9035 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
9036 * sysdeps/gnu/net/if.h: here.
9037 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
9038 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
9039 * sysdeps/generic/net/if.h: New file. Declares just the standard
9040 functions and `struct if_nameindex' type.
9041 * socket/Makefile (headers): Add net/if.h here.
9042 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
9043 * sysdeps/mach/hurd/Dist: Remove it here.
9044 * sysdeps/unix/sysv/linux/Dist: And here.
9045 * sysdeps/generic/if_index.c: Include <net/if.h>.
9046
e63721a4
AJ
90472000-03-24 Andreas Jaeger <aj@suse.de>
9048
9049 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
9050 access relocated entries in l_info.
9051 (elf_machine_got_rel): Likewise.
9052 (elf_machine_runtime_setup): Likewise.
9053 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
9054 (elf_machine_runtime_setup): Likewise.
9055 (__dl_runtime_resolve): Likewise.
9056
383052e9
UD
90572000-03-23 Ulrich Drepper <drepper@redhat.com>
9058
9059 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
9060 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
9061 according to RFC 2553.
9062 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
9063 * inet/getnameinfo.c: Likewise.
9064 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
9065
c0bc5f7b
UD
90662000-03-23 Bruno Haible <haible@clisp.cons.org>
9067
9068 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
9069 Remove no-op pointer increment.
9070
7392ce9b
UD
90712000-03-23 Andreas Jaeger <aj@suse.de>
9072
9073 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
9074 follow change for libio.h from 2000-03-10.
9075
a42195db
UD
90762000-03-23 Andreas Jaeger <aj@suse.de>
9077
9078 * elf/dl-addr.c: Adjust include paths for ldsodefs location
9079 change.
9080 * elf/dl-debug.c: Likewise.
9081 * elf/dl-deps.c: Likewise.
9082 * elf/dl-error.c: Likewise.
9083 * elf/dl-fini.c: Likewise.
9084 * elf/dl-init.c: Likewise.
9085 * elf/dl-load.c: Likewise.
9086 * elf/dl-lookup.c: Likewise.
9087 * elf/dl-minimal.c: Likewise.
9088 * elf/dl-object.c: Likewise.
9089 * elf/dl-open.c: Likewise.
9090 * elf/dl-preinit.c: Likewise.
9091 * elf/dl-profile.c: Likewise.
9092 * elf/dl-profstub.c: Likewise.
9093 * elf/dl-reloc.c: Likewise.
9094 * elf/dl-runtime.c: Likewise.
9095 * elf/dl-support.c: Likewise.
9096 * elf/dl-symbol.c: Likewise.
9097 * elf/dl-version.c: Likewise.
9098 * elf/rtld.c: Likewise.
9099 * elf/sprof.c: Likewise.
9100 * sysdeps/generic/dl-cache.c: Likewise.
9101 * sysdeps/generic/dl-origin.c: Likewise.
9102 * sysdeps/generic/dl-sysdep.c: Likewise.
9103 * sysdeps/generic/elf/backtracesyms.c: Likewise.
9104 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9105 * sysdeps/generic/libc-start.c: Likewise.
9106 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9107 * sysdeps/powerpc/dl-machine.c: Likewise.
9108 * sysdeps/powerpc/elf/libc-start.c: Likewise.
9109 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9110 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9111 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
9112
9113 * elf/ldsodefs.h: Move file to ...
9114 * sysdeps/generic/ldsodefs.h: ... here.
9115
9116 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
7392ce9b 9117
a42195db
UD
9118 * sysdeps/mips/elf/ldsodefs.h: New file.
9119
9120 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
9121 entries in l_info.
9122 (_dl_check_map_versions): Likewise.
9123 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9124 * elf/dl-load.c (_dl_init_paths): Likewise.
9125 (_dl_map_object): Likewise.
9126 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
9127 (elf_get_dynamic_info): Likewise.
9128 * elf/do-lookup.h (FCT): Likewise.
9129 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
9130 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9131 * elf/dl-addr.c (_dl_addr): Likewise.
9132 * elf/dl-runtime.c (profile_fixup): Likewise.
9133 (fixup): Likewise.
9134 * elf/dl-init.c (_dl_init_next): Likewise.
9135 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
9136 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
9137 (DISTINGUISH_LIB_VERSIONS): Likewise.
9138 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
9139 (elf_machine_rel): Likewise.
9140
9141 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
9142 for writable dynamic section.
9143
922809a2
UD
91442000-03-22 Ulrich Drepper <drepper@redhat.com>
9145
9146 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
9147 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
9148
91492000-03-22 Andreas Jaeger <aj@suse.de>
9150
9151 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
9152 from latest Linux kernel.
9153
0ddd06d1
AJ
91542000-03-21 Andreas Jaeger <aj@suse.de>
9155
9156 * Versions.def: Add version 2.1.4.
9157
1ab1ea76
UD
91582000-03-21 Ulrich Drepper <drepper@redhat.com>
9159
9160 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
9161 * libio/oldiofopen.c: Likewise.
9162 * libio/oldiofclose.c: Likewise.
ef7dddd0 9163 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
1ab1ea76 9164
42f76b6b
RM
91652000-03-22 Roland McGrath <roland@baalperazim.frob.com>
9166
9167 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
9168 indicating the first version set to obsolete the conditionalized code.
2ae13e20 9169 (compat_symbol): New macro.
42f76b6b
RM
9170 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
9171 rhs be the ABI_* macro for the subsuming version. Assign increasing
9172 integer values to the ABI_* macros for supported versions.
2ae13e20
RM
9173 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
9174 compat_symbol macro.
42f76b6b 9175
cb162e13
UD
91762000-03-21 Ulrich Drepper <drepper@redhat.com>
9177
101edd3f
UD
9178 * nscd/connections.c (nscd_run): Pretty print.
9179 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
9180
bafb8ee9
UD
9181 * manual/charset.texi: Fix typos. Rephrase.
9182 * manual/process.texi: Likewise.
9183 * manual/signal.texi: Likewise.
9184 Patches by Mike Coleman <mkc@kc.net>.
9185
fd091d3f
UD
9186 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
9187 versions.
9188 * libio/iofdopen.c: Likewise.
9189 * libio/iofgetpos.c: Likewise.
9190 * libio/iofgetpos64.c: Likewise.
9191 * libio/iofopen.c: Likewise.
9192 * libio/iofsetpos.c: Likewise.
9193 * libio/iofsetpos64.c: Likewise.
9194 * libio/iopopen.c: Likewise.
9195 * libio/oldiofopen.c: Likewise.
9196 * libio/pclose.c: Likewise.
9197 * sysdeps/gnu/siglist.c: Likewise.
9198 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
9199
cb162e13
UD
9200 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
9201 chance to expand VERSION_##lib##_##version.
9202
0bf98029
UD
9203 * libio/fileops.c: Use new macros from shlib-compat.h to define
9204 versions.
9205 * libio/iofclose.c: Likewise.
9206 * libio/oldiofclose.c: Likewise.
75836bc8 9207 Patch by Roland McGrath <roland@frob.com>.
0bf98029 9208
54021487
UD
92092000-03-21 Jakub Jelinek <jakub@redhat.com>
9210
9211 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
9212 Lay out struct sigcontext according to what really gets passed on
9213 the stack.
9214 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
9215 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
9216 (prgregset_t, prfpregset_t): Define to elf_* types.
9217 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
9218 Define to correct value.
9219 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
9220 sigcontext.
9221 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
9222
39c57122
RM
92232000-03-21 Roland McGrath <roland@baalperazim.frob.com>
9224
9225 * scripts/firstversions.awk: Allow multiple version sets in the
9226 "earliest version" specification, meaning that version sets in the
9227 gaps between listed versions should be folded into the earliest later
9228 version that is explicitly listed.
9229 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
9230 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
9231
bc4831b9
UD
92322000-03-21 Ulrich Drepper <drepper@redhat.com>
9233
8d617a71
UD
9234 * iconv/gconv_builtin.c: Include <endian.h>.
9235 * iconv/gconv_builtin.h: Add UCS-BE aliases.
9236 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
9237 according to current platform.
9238 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
9239 __gconv_transform_internal_ucs2reverse, and
9240 __gconv_transform_internal_ucs4le.
9241 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
9242 __gconv_transform_ucs2reverse_internal and
9243 __gconv_transform_internal_ucs2reverse.
9244 * iconvdata/Makefile (modules): Add UNICODE.
9245 (distribute): Add unicode.c.
9246 * iconvdata/gconv-modules: Add definitions for UNICODE module.
9247 * iconvdata/unicode.c: New file.
9248
9249 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
9250 determine byte order of input and convert accordingly.
9251
bc4831b9
UD
9252 * iconvdata/utf-16.c (gconv_init): Fix typo.
9253
7e836977
UD
92542000-03-20 Ulrich Drepper <drepper@redhat.com>
9255
6abcde8e
UD
9256 * iconvdata/gconv-modules: Fix typo.
9257
b0c766dd 9258 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
62d999dc
UD
9259 more messages.
9260
7e836977
UD
9261 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
9262
db840914
UD
92632000-03-16 Thorsten Kukuk <kukuk@suse.de>
9264
9265 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
9266
4159e387
UD
92672000-03-20 Ulrich Drepper <drepper@redhat.com>
9268
9269 * misc/Makefile (routines): Add mincore.
9270
92712000-03-20 Andreas Jaeger <aj@suse.de>
9272
9273 * sysdeps/generic/mincore.c: New stub file.
9274
9275 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
9276 from latest Linux kernel.
9277
db766e12
UD
92782000-03-20 Ulrich Drepper <drepper@redhat.com>
9279
9280 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
9281 _SC_GETPW_R_SIZE_MAX.
9282
cf9e0cbc
RH
92832000-03-20 Richard Henderson <rth@cygnus.com>
9284
db766e12 9285 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
cf9e0cbc
RH
9286 in GLIBC_2.1.4.
9287
c069bb98
RH
92882000-03-20 Richard Henderson <rth@cygnus.com>
9289
b7434f82
RH
9290 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
9291 of arithmetic instructions.
9292
9293 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
9294 with the fpcr. Protect from INV exception.
9295 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
9296 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
9297 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
9298
9299 * sysdeps/alpha/fpu/s_copysign.c: New.
9300 * sysdeps/alpha/fpu/s_copysignf.c: New.
9301 * sysdeps/alpha/fpu/s_fabs.c: New.
9302 * sysdeps/alpha/fpu/s_fabsf.c: New.
9303 * sysdeps/alpha/fpu/s_rint.c: New.
9304 * sysdeps/alpha/fpu/s_rintf.c: New.
9305
45159f00
RH
9306 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
9307
c069bb98
RH
9308 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
9309 Kill sethae.
9310 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
9311 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
9312 Use physical addresses not KSEG addresses.
9313 (io_system): Add PYXIS.
9314 (io): Remove hae.reg, sys, hae_shift.
9315 (stb_mb, stw_mb, stl_mb, __sethae): New.
9316 (inline_outb, inline_outw, inline_outl): Don't set hae.
9317 (inline_inb, inline_inw, inline_inl): Likewise.
9318 (dense_sethae): New null function.
9319 (struct cpuinfo_data): New.
9320 (process_cpuinfo): Use local and stack variables, not static.
9321 Move readlink check here from init_iosys.
9322 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
9323 (_iopl): Simplify.
9324 (_hae_shift): Calculate it here.
9325 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
9326 add pciconfig_iobase.
9327
d3564d01
RM
93282000-03-20 Roland McGrath <roland@baalperazim.frob.com>
9329
5d431a3e
RM
9330 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
9331 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
9332
d3564d01
RM
9333 * scripts/versions.awk: Fixed version renaming code to distinguish
9334 libraries properly.
9335
41a173e1
UD
93362000-03-19 Ulrich Drepper <drepper@redhat.com>
9337
a6a478e9
UD
9338 * include/stdlib.h: Add prototype for __cxa_atexit.
9339
41a173e1
UD
9340 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
9341 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
9342
93432000-03-17 Cristian Gafton <gafton@redhat.com>
9344
9345 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
9346 existing rtld-installed-name.
9347 ($(rtld-installed-name)): Request libc-$(version) be installed too.
9348 replace existing rtld-installed-name using $(symbolic-link-prog).
9349
93502000-03-17 Roland McGrath <roland@baalperazim.frob.com>
9351
9352 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
9353 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
9354 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
9355 but not the former.
9356
93572000-03-19 Ulrich Drepper <drepper@redhat.com>
9358
9359 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
9360 glob64. Since there is no glob64 in the LFS proposal applications
9361 can assume that glob handles LFS situations. glob64 is only needed
9362 if alternative filesystem functions are used.
9363
93642000-03-19 Geoff Clare <gwc@unisoft.com>
9365
9366 * sysdeps/generic/glob.c: Correct gl_pathc value returned
9367 when GLOB_DOOFFS is set; correct handling of patterns
9368 containing escaped wildcards (and no unescaped ones);
9369 GLOB_ERR flag was being ignored in some situations.
9370
9371 * posix/globtest.c, posix/globtest.sh: Updated to include
9372 tests for the problems fixed by the above changes to glob.c.
9373
9374 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
9375
361742ed
RM
93762000-03-19 Roland McGrath <roland@baalperazim.frob.com>
9377
af260314
RM
9378 * Makeconfig (soversion.i): Use only first match for each lib.
9379
0ecdeb26
RM
9380 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
9381
c95527a1
RM
9382 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
9383 rather than $(sysd-dirs-done) to protect these rules.
9384
3c132532
RM
9385 * Makerules (version-renames.def): Target removed.
9386 (Versions.all): Depend on soversions.i directly and parse it.
9387
ba7e89ec
RM
9388 * Makeconfig (soversions.i): New target, input-reading parts of
9389 soversions.mk generation moved here; result is a canonicalized
9390 list "LIB VERSION [SET]" for this configuration.
9391 (soversions.mk): Use that as input. Don't emit map-firstversions.
9392 * Makerules (version-renames.def): New target, generated from
9393 soversions.i with contents that was in $(map-firstversions).
9394 (Versions.all): Don't depend on soversions.mk, depend on
9395 version-renames.def instead; just cat it into the input.
9396
6b3c3a35
RM
9397 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
9398 for $(map-firstversions), which better handles it being empty.
9399
361742ed
RM
9400 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
9401 supported version for libc 0.2.90.libio to GLIBC_2.2.
9402
9403 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
9404 and use it to emit new variable `map-firstversions'.
9405 * scripts/firstversions.awk: New file.
9406 * Makerules (Versions.all): Use scripts/firstversions.awk and
9407 the $(map-firstversions) value to generate a modified versions list
9408 that includes renames in "A = B" syntax for each version set earlier
9409 than the "earliest symbol version" named in shlib-versions.
9410 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
9411 rename version set A to B in the output to the intermediate file.
9412 * scripts/abi-versions.awk: New file.
9413 * Makerules (abi-versions.h): New target, generated by that script.
9414 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
9415 * include/shlib-compat.h: New file, uses that generated header.
9416
a5733c28
RM
94172000-03-18 Roland McGrath <roland@baalperazim.frob.com>
9418
88268852
RM
9419 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
9420 after stripping # comments, and then run it through cpp.
9421 This allows things like "%ifdef FOO" based on config.h settings.
9422 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
9423
a5733c28
RM
9424 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
9425 and other errors that indicate a pseudo-receive happened, grok through
9426 the message buffer for port rights that need references fixed up.
9427
f5ef7558
UD
94282000-03-16 Andreas Jaeger <aj@suse.de>
9429
9430 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
9431
9432 * sysdeps/unix/sysv/linux/madvise.c: Remove.
9433
9434 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
9435 from latest Linux kernel.
9436 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
9437
4ede8b06
UD
9438 * misc/sys/mman.h: Add prototype for mincore.
9439
b9b178ac
UD
94402000-03-17 Ulrich Drepper <drepper@redhat.com>
9441
9442 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
9443 entry for GLIBC_2.0 version of setrlimit.
9444 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9445
3b965a7d
UD
94462000-03-16 Thorsten Kukuk <kukuk@suse.de>
9447
9448 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
9449 * nis/nss_compat/compat-initgroups.c: Likewise.
9450 * nis/nss_nis/nis-initgroups.c: Likewise.
9451 * nis/nss_nis/nis-netgrp.c: Likewise.
9452 * nis/nss_nis/nis-proto.c: Likewise.
9453 * nis/nss_nis/nis-rpc.c: Likewise.
9454 * nis/nss_nis/nis-service.c: Likewise.
9455 * nis/ypclnt.c: Likewise.
a5733c28 9456
96888079
UD
94572000-03-16 Andreas Jaeger <aj@suse.de>
9458
9459 * manual/Makefile: MAKEINFO is set to `:' from configure if it
3b965a7d 9460 doesn't exist, correct checks. Fixes PR libc/1649.
96888079 9461
5c7b0fb2
UD
94622000-03-16 Thorsten Kukuk <kukuk@suse.de>
9463
9464 * nscd/hstcache.c: Restore correct UID.
9465 * nscd/pwdcache.c: Likewise.
9466 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
9467
da28fa2a
RM
94682000-03-17 Roland McGrath <roland@baalperazim.frob.com>
9469
4ae18693
RM
9470 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
9471 macros for register names, in line with 2000-03-14 linux change.
9472
da28fa2a
RM
9473 * sysdeps/mach/sched_yield.c: New file.
9474
94752000-03-13 Roland McGrath <roland@baalperazim.frob.com>
9476
9477 * sysdeps/generic/lockfile.c: Include <stdio.h>
9478 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
9479 case <libio.h> defined them.
9480 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
9481 from __internal_*.
9482 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
9483 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
9484
9485 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
9486 for more pleasing parse error.
9487
19cf43be
UD
94882000-03-16 Ulrich Drepper <drepper@redhat.com>
9489
0db0e149
UD
9490 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
9491 memory for eras.
9492 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9493
da28fa2a 9494 * elf/Makefile: Add rules to compile and run constload1 test.
19cf43be
UD
9495 * elf/constload1.c: New file.
9496 * elf/constload2.c: New file.
9497 * elf/constload3.c: New file.
9498
a96206f4
UD
94992000-03-15 Ulrich Drepper <drepper@redhat.com>
9500
9501 * sysdeps/posix/open64.c: Make __open64 weak alias.
9502 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
9503 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9504 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
9505 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9506 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
9507 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
9508 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9509 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
9510 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9511 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
9512
04366d5f
UD
95132000-03-14 Ulrich Drepper <drepper@redhat.com>
9514
9515 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
9516 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
9517
f0d872e9
UD
95182000-03-16 Mark Kettenis <kettenis@gnu.org>
9519
9520 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
9521 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
9522
5d141597
UD
95232000-03-08 Andreas Jaeger <aj@suse.de>
9524
9525 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
9526
9658516a
UD
95272000-03-14 Ulrich Drepper <drepper@redhat.com>
9528
5d141597
UD
9529 * timezone/africa: Update from tzdata2000d.
9530 * timezone/asia: Likewise.
9531 * timezone/australasia: Likewise.
9532 * timezone/europe: Likewise.
9533 * timezone/northamerica: Likewise.
9534 * timezone/southamerica: Likewise.
9535
9536 * po/fr.po: Update from translation team.
9537 * po/de.po: Likewise.
9538
d9cb1a7d
UD
9539 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
9540 last parameter. Move code to add map to global scope from here...
9541 * elf/dl-open.c (dl_open_worker): ...here.
9542 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
9543 * elf/rtld.c: Adjust call to _dl_map_object_deps.
9544
36388ac4
UD
9545 * locale/programs/ld-collate.c (collate_read): Fix warning.
9546
6213a055
UD
9547 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
9548 values and macros for register names.
9549
9658516a
UD
9550 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
9551 returned by seek cookie function is -1.
9552
f1a53402
UD
95532000-03-14 Andreas Jaeger <aj@suse.de>
9554
9555 * locale/localeconv.c (localeconv): Fix typo.
9556 Reported by Andre Charbonneau <andrec@corel.com>.
9557
0aece08d
UD
95582000-03-14 Ulrich Drepper <drepper@redhat.com>
9559
9560 * iconv/skeleton.c: Increment __invocation_counter in inner loop
9561 since modules depend on it counting the number of times the conversion
9562 function got called.
9563
9564 * iconv/gconv_open.c: Optimize loop to setup step data structure.
9565
9566 * iconv/gconv.h: Pretty print.
9567
95682000-03-04 Ulrich Drepper <drepper@redhat.com>
9569
9570 * posix/wordexp-test.c: Correct one of the tests added in the last
9571 change. Really get the root passwd entry to check again ~root.
9572
d1d62b53
AJ
95732000-03-10 Andreas Jaeger <aj@suse.de>
9574
9575 * manual/filesys.texi (Working Directory): Fix last patch.
9576 Patch by Martin Buchholz <martin@xemacs.org>.
9577
0aa9fad6
AJ
95782000-03-10 Andreas Jaeger <aj@suse.de>
9579
9580 * manual/creature.texi (Feature Test Macros): Fix language.
9581
b4e54243
RM
95822000-03-10 Roland McGrath <roland@baalperazim.frob.com>
9583
9584 * mach/devstream.c (devstream_write, devstream_read): New functions.
9585 (input, output): Functions removed.
9586 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
9587 using only the vanilla fopencookie interface.
9588
9589 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
9590 as macro for __io_functions.
9591 (funcsio): Use cookie_io_functions_t type name.
9592 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
9593
9594 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
9595 fopencookie.
9596 (fopencookie): Use it.
9597 * libio/libio.h: Declare _IO_cookie_init.
9598 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
9599 _IO_cookie_init.
9600
9601 * libio/libio.h (__io_seek_fn): Fix second argument type
9602 to be a pointer, in line with the manual and the old stdio.
9603 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
9604
9605 * sysdeps/generic/bits/stdio-lock.h: New file.
9606 This is a stub with #error, but that's better than no file at all.
9607
d10c8b66
AJ
96082000-03-09 Martin Buchholz <martin@xemacs.org>
9609
9d54e984
UD
9610 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
9611 * manual/message.texi (Using gettextized software): Doc Fixes.
d10c8b66 9612 * manual/message.texi (Message Translation): Doc Fixes.
9d54e984
UD
9613 * manual/filesys.texi (File Size): Doc Fixes.
9614 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
9615 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
9616 * iconv/gconv_db.c (find_derivation): Doc Fixes.
9617 * manual/install.texi: Doc Fixes.
9618 * manual/search.texi (Hash Search Function): Doc Fixes.
9619 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
9620 * FAQ.in: Doc Fixes.
9621 * config.h.in: Doc Fixes.
9622 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
d10c8b66
AJ
9623 Doc Fixes. `allows to' is not correct English.
9624
9625 * elf/rtld.c: Doc fixes.
9626 * manual/creature.texi (Feature Test Macros): Doc fixes.
9627 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
9628
9629 * manual/filesys.texi (Working Directory): Check for ERANGE to
9630 avoid infloop.
9631
f25da8d0
RM
96322000-02-23 Roland McGrath <roland@baalperazim.frob.com>
9633
9634 * string/argz-stringify.c (__argz_stringify): Fix loop termination
9635 conditions so as not to clobber the final '\0' when there is only one
9636 element in the vector.
9637
07760b35
RM
96382000-03-09 Roland McGrath <roland@baalperazim.frob.com>
9639
9640 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
9641 broken by 2000-02-27 change.
9642
9643 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
9644
224a12bc
RM
96452000-02-23 Roland McGrath <roland@baalperazim.frob.com>
9646
9647 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
9648 argument type, for 2000-02-22 change in signal/signal.h declaration.
9649
9ab47461
RM
96502000-03-09 Roland McGrath <roland@baalperazim.frob.com>
9651
224a12bc
RM
9652 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
9653 to getdirentries64 (no __), since the Linux implementation
9654 has no __ name, and there is no declaration for the __ name.
9655
9656 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
9657
9658 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
9659 sed regexp so as not to break directory names including /../ within.
9660
9661 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
9662 The sysdeps/generic file is right for BSD. This file was in fact the
9663 Hurd file, but the only difference was the WNOREAP flag that was never
9664 actually implemented or used anywhere.
9665
9ab47461
RM
9666 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
9667 since AC_PATH_PROG already does it for us.
9668 (PERL): Rewrite check added in 2000-02-29 change for syntactic
9669 correctness and sh portability. I replaced the broken check
9670 with a more sensible implementation of the apparently intended
9671 semantics, which might still be questionable. Using expr causes
9672 a non-numeric value for `perl -V:apiversion` to be accepted,
9673 refusing to use only a perl that reports a number less than 5;
9674 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
9675 * configure: Regenerated.
9676
93773779
AJ
96772000-03-08 Andreas Jaeger <aj@suse.de>
9678
9679 * manual/crypt.texi: Fix paths.
9680
d92c02e8
AJ
96812000-03-07 Andreas Jaeger <aj@suse.de>
9682
9683 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
9684 were swapped.
9685 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
9686 libc/1636.
9687
8f95ad1c
AJ
96882000-03-06 Andreas Jaeger <aj@suse.de>
9689
5d141597
UD
9690 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
9691 in __sgn1l, otherwise g++ fails to parse this.
9692 Reported by Sean Chen <sean.chen@turbolinux.com>.
8f95ad1c 9693
8ed1e7d5
GK
96942000-03-03 Geoff Keating <geoffk@cygnus.com>
9695
9696 * configure.in: Compute sizeof-long-double.
9697 * configure: Regenerated.
9698 * config.make.in: Make sizeof-long-double available to sub-makes.
9699
706546ff
UD
97002000-03-03 Ulrich Drepper <drepper@cygnus.com>
9701
9702 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
9703 call.
9704
b11f5954
GK
97052000-03-03 Geoff Keating <geoffk@cygnus.com>
9706
9707 * Makeconfig (rpath-dirs): Add crypt.
9708 (all-subdirs): Remove md5crypt.
9709 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
9710 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
9711 * sysdeps/generic/crypt-entry.c: Delete.
9712 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
9713 * sysdeps/generic/crypt.h: Delete.
9714 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
9715 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
9716 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
9717 * sysdeps/generic/des_impl.c: Delete.
9718 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
9719 * crypt/sysdeps: Delete.
9720 * crypt/crypt_util.c: Don't use `patchlevel.h'.
9721 * md5-crypt/Versions: Move to crypt/.
9722 * md5-crypt/md5-crypt.c: Move to crypt/.
9723 * md5-crypt/md5.c: Move to crypt/.
9724 * md5-crypt/md5c-test.c: Move to crypt/.
9725 * md5-crypt/md5test.c: Move to crypt/.
9726 * md5-crypt: Delete.
9727 * crypt/Makefile: Adjust for new structure.
9728
e3d53b06
UD
97292000-03-03 Paul Eggert <eggert@twinsun.com>
9730
9731 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
9732 define to 1 if not defined.
9733
c88c8399
UD
97342000-03-03 Andreas Jaeger <aj@suse.de>
9735
9736 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
9737
97382000-03-03 Andreas Jaeger <aj@suse.de>
9739
9740 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
9741 cases.
9742 (xdr_int64_t): Correctly handle lower half.
9743 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
9744
bdd5fccd
UD
97452000-03-03 Ulrich Drepper <drepper@cygnus.com>
9746
9747 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
9748 call.
9749
2f1afc88
UD
97502000-03-02 Andreas Jaeger <aj@suse.de>
9751
9752 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
9753 2.3.43.
9754
6500dff6
UD
97552000-03-02 Andreas Jaeger <aj@suse.de>
9756
9757 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
9758
fc304e02
UD
97592000-03-01 Andreas Jaeger <aj@suse.de>
9760
9761 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
9762 (tests): Added tst-getdate.
9763
9764 * time/tst-getdate.c: New file.
9765
9766 * time/datemsk: New file, needed for tst-getdate.
9767
ecb06196
UD
97682000-02-29 Cristian Gafton <gafton@redhat.com>
9769
9770 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
9771
3fd759d1
UD
97722000-02-17 H.J. Lu <hjl@gnu.org>
9773
9774 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
9775
9776 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
9777 available.
9778 (svcudp_recv): Set up message with the new "xp_pad" field for
9779 IP_PKTINFO.
9780 (svcudp_reply): Support IP_PKTINFO if available.
9781
06b54322
AJ
97822000-03-01 Andreas Jaeger <aj@suse.de>
9783
9784 * time/getdate.c (check_mday): Fix check for february.
9785 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
9786 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
9787
901a5bd7
AJ
97882000-03-02 Andreas Jaeger <aj@suse.de>
9789
9790 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
9791 g++ fails to parse this.
9792 Reported by Sean Chen <sean.chen@turbolinux.com>.
9793
07e0f7ad
UD
97942000-02-28 Ulrich Drepper <drepper@redhat.com>
9795
6df9984c
UD
9796 * io/creat.c: Moved to...
9797 * sysdeps/generic/creat.c: ...here.
9798 * io/creat64.c: Moved to...
9799 * sysdeps/generic/creat64.c: ...here.
522dc855
UD
9800 * io/lockf.c: Moved to...
9801 * sysdeps/generic/lockf.c: ...here.
6df9984c 9802
6d7496e8 9803 * crypt/crypt.texi: Moved to...
07e0f7ad 9804 * manual/crypt.texi: ...here.
6d7496e8
UD
9805 * crypt/examples/genpass.c: Moved to...
9806 * manual/examples/genpass.c: ...here.
9807 * crypt/examples/mygenpass.c: Moved to...
9808 * manual/examples/mygenpass.c: ...here.
9809 * crypt/examples/testpass.c: Moved to...
9810 * manual/examples/testpass.c: ...here.
9811
9812 * manual/Makefile (chapters): Add crypt.
9813 * manual/conf.texi: Add usual header for not-last chapter.
9814 * manual/crypt.texi: Add special header for last chapter.
07e0f7ad 9815
63f791d3
GK
98162000-02-28 Geoff Keating <geoffk@cygnus.com>
9817
9818 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
9819 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
9820 complain if there is no crypt add-on.
9821 * crypt/configure: Removed.
6d7496e8 9822
63f791d3
GK
9823 * crypt/crypt.texi: Update documentation of US export restrictions
9824 to match the 14 Jan 2000 regulations.
9825
98262000-02-28 Geoff Keating <geoffk@cygnus.com>
9827
9828 * crypt: New subdirectory, merged in from the crypt add-on.
9829
a808d541
UD
98302000-02-28 Ulrich Drepper <drepper@redhat.com>
9831
108c6efa 9832 * include/unistd.h: Add __rmdir and __mkdir prototypes.
9b51f431 9833
d59e49d8 9834
108c6efa 9835See ChangeLog.10 for earlier changes.
This page took 1.165446 seconds and 5 git commands to generate.