]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
1e9877a7
AJ
12000-09-05 Andreas Jaeger <aj@suse.de>
2
3 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
4
5 * soft-fp/configure: Remove.
6
7 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
8 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
9
10 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
11 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
12
13 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
14 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
15
16 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
17 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
18
19 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
20 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
21
22 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
23 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
24
25 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
26 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
27
28 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
29 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
30
31 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
32 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
33
34 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
35 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
36
37 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
38 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
39
40 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
41 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
42
43 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
44 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
45
46 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
47 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
48
49 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
50 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
51
52 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
53 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
54
55 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
56 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
57
58 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
59 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
60
61 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
62 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
63
64 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
65 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
66
67 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
68 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
69
70 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
71 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
72
73 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
74 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
75
76 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
77 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
78
79 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
80 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
81
82 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
83 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
84
85 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
86 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
87
88 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
89 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
90
91 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
92 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
93
94 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
95 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
96
97 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
98 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
99
100 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
101 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
102
103 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
104 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
105
106 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
107 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
108
109 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
110 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
111
112 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
113 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
114
115 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
116 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
117
118 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
119 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
120
121 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
122 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
123
124 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
125 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
126
127 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
128 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
129
130 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
131 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
132
133 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
134 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
135
136 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
137 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
138
139 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
140 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
141
142 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
143 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
144
145 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
146 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
147
148 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
149 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
150
151 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
152 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
153
154 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
155 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
156
157 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
158 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
159
160 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
161 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
162
163 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
164 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
165
166 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
167 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
168
169 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
170 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
171
172 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
173 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
174
175 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
176 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
177
178 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
179 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
180
181 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
182 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
183
184 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
185 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
186
187 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
188 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
189
190 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
191 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
192
193 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
194 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
195
196 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
197 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
198
199 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
200 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
201
202 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
203 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
204
205 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
206 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
207
208 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
209 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
210
211 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
212 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
213
214 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
215 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
216
217 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
218 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
219
220 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
221 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
222
223 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
224 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
225
226 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
227 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
228
229 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
230 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
231
232 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
233 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
234
235 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
236 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
237
238 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
239 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
240
241 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
242 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
243
244 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
245 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
246
247 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
248 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
249
250 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
251 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
252
253 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
254 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
255
256 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
257 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
258
259 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
260 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
261
262 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
263 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
264
265 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
266 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
267
268 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
269 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
270
271 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
272 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
273
274 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
275 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
276
277 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
278 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
279
280 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
281 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
282
283 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
284 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
285
286 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
287 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
288
289 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
290 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
291
292 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
293 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
294
295 * soft-fp/sysdeps/powerpc/Versions: Move from here...
296 * sysdeps/powerpc/soft-fp/Versions: ... to here.
297
298 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
299 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
300
301 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
302 change symbol version.
303 * libio/oldiofgetpos64.c: Likewise.
304 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
305
306 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
307 typo.
308 Reported by dyky@kondara.org, closes PR libc/1886.
309
310 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
311 libc/1880.
312
16fe0a88
UD
3132000-09-04 Ulrich Drepper <drepper@redhat.com>
314
813bb1f1
UD
315 * iconvdata/run-iconv-test.sh: Add code to immediate stop the
316 script when ^C is hit.
317
16fe0a88
UD
318 * locale/programs/localedef.c (construct_output_path): Correct
319 computation of endp after asprintf.
320 * locale/programs/locfile.c (write_locale_data): Don't add extra
321 slash in filename.
322
2e865507
AJ
3232000-09-05 Andreas Jaeger <aj@suse.de>
324
325 * scripts/config.guess: New upstream version.
326 * scripts/config.sub: Likewise.
327 * manual/texinfo.tex: Likewise.
328
c743652a
UD
3292000-09-04 Andreas Schwab <schwab@suse.de>
330
331 * elf/Makefile (all-dl-routines): New variable.
332 (elide-routines.os): Use it instead of $(dl-routines).
333 (all-rtld-routines): New variable.
334 (extra-objs): Use it instead of $(rtld-routines).
335 ($(objpfx)dl-allobjs.os): Likewise.
336 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
337 sysdep-dl-routines and sysdep_routines instead of rtld-routines
338 and dl-routines.
339
3402000-09-03 Bruno Haible <haible@clisp.cons.org>
341
342 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
343 Set fname to NULL if the module wasn't found.
344
3452000-09-03 Bruno Haible <haible@clisp.cons.org>
346
347 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
348 true if trans->name already ends in ".so".
349
3502000-09-03 Bruno Haible <haible@clisp.cons.org>
351
352 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
353 void.
354 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
355 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
356 (__gconv_release_shlib): Change return type to void.
357 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
358 step->__counter here.
359 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
360 if the reference is zero.
361 (release_step): New function.
362 (gen_steps): Always initialize the __counter to 1. Use release_step.
363 Don't call the destructor on the step whose initializer failed.
364 (increment_counter): Use release_step. Don't normally run destructors
365 here.
366 (__gconv_close_transform): Use release_step.
367
3682000-09-03 Bruno Haible <haible@clisp.cons.org>
369
370 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
371 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
372
3732000-09-03 Bruno Haible <haible@clisp.cons.org>
374
375 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
376 If the first byte is 0x8E, don't ask for 4 bytes until it has been
377 verified that the second byte is valid. Leave it to cns11643_to_ucs4
378 to check for incomplete input.
379 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
380 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
381 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
382 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
383 0x9f9d..0x9fa5.
384 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
385 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
386 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
387 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
388 upto index 0x0052.
389
3902000-09-03 Bruno Haible <haible@clisp.cons.org>
391
392 * iconv/gconv_db.c (find_derivation): Always use the least-cost
393 solution.
394
3952000-09-03 Bruno Haible <haible@clisp.cons.org>
396
397 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
398 are invalid.
399
4002000-09-03 Bruno Haible <haible@clisp.cons.org>
401
402 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
403 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
404 U+007E.
405
4062000-09-03 Bruno Haible <haible@clisp.cons.org>
407
408 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
409
4102000-09-03 Bruno Haible <haible@clisp.cons.org>
411
412 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
413
4142000-09-03 Bruno Haible <haible@clisp.cons.org>
415
416 * iconvdata/tst-tables.sh: New file.
417 * iconvdata/tst-table.sh: New file.
418 * iconvdata/tst-table-from.c: New file.
419 * iconvdata/tst-table-to.c: New file.
420 * iconvdata/tst-table-charmap.sh: New file.
421 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
422 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
423 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
424 ISIRI-3342.irreversible, SJIS.irreversible.
425 (tests): Add dependency on tst-tables.out.
426 (tst-tables.out, tst-tables-clean): New rules.
427 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
428 * iconvdata/ISIRI-3342.irreversible: New file.
429 * iconvdata/EUC-JP.irreversible: New file.
430 * iconvdata/SJIS.irreversible: New file.
431
4322000-09-04 Ulrich Drepper <drepper@redhat.com>
433
434 * manual/locale.texi (General Numeric): Update description of
435 representation of the grouping information in the locale data.
436 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
437
6d77214d
AJ
4382000-09-04 Andreas Jaeger <aj@suse.de>
439
440 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
441 * iconv/iconv_prog.c (options): Fix typo.
442 Reported by dyky@kondara.org, closes PR libc/1885.
443
56735b11
AJ
4442000-09-04 Andreas Jaeger <aj@suse.de>
445
446 * sysdeps/generic/fegetenv.c: It's __fegetenv.
c743652a 447 Reported by Rob Levin <lilo@transvirtual.com>.
56735b11 448
2e4581e4
UD
4492000-09-03 Ulrich Drepper <drepper@redhat.com>
450
451 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
452 to the typedefs of __timezone_ptr_t.
453 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
454
4552000-09-02 Jakub Jelinek <jakub@redhat.com>
456
457 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
458 the loop.
459
4602000-09-01 H.J. Lu <hjl@gnu.org>
461
462 * Makeconfig (built-program-cmd): Don't use the dynamic linker
463 to run a binary if it is in $(tests-static).
464
465 * Rules (binaries-static): Add $(tests-static).
466
3146ad42
AJ
4672000-09-02 Andreas Jaeger <aj@suse.de>
468
469 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
470
471 * libio/fmemopen.c (fmemopen_close): Revert one part of last
472 patch.
473
c6cc2207
UD
4742000-09-01 Ulrich Drepper <drepper@redhat.com>
475
6fab0fd3
UD
476 * iconvdata/big5hkscs.c: Regenerated from charmap.
477 * iconvdata/testdata/BIG5HKSCS: Regenerated.
478 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
479
c6cc2207
UD
480 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
481 statement. General cleanup.
482
4c7d276e
UD
4832000-08-31 Bruno Haible <haible@clisp.cons.org>
484
485 * wctype/wcfuncs.c (iswblank): New function.
486 * wctype/wcfuncs_l.c (__iswblank_l): New function.
487 * wctype/wcextra.c: Remove file.
488 * wctype/wcextra_l.c: Remove file.
489 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
490
4912000-08-31 Bruno Haible <haible@clisp.cons.org>
492
493 * locale/programs/ld-collate.c (collate_output): Remove redundant
494 assert call.
495 * string/strcoll.c: Likewise.
496 * string/strxfrm.c: Include assert.h. Add assert calls like in
497 string/strcoll.c.
498
4992000-08-31 Bruno Haible <haible@clisp.cons.org>
500
501 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
502 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
503 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
504 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
505 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
506 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
507 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
508 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
509 _NL_CTYPE_GAP5/6 respectively.
510
511 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
512 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
513 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
514 Don't initialize __ctype_names and __ctype_width.
515 * wctype/cname-lookup.h: Remove file.
516 * wctype/Makefile (distribute): Remove cname-lookup.h.
517 * wctype/wchar-lookup.h: Include stdint.h.
518 * wctype/wctype.c (__wctype): Assume new locale format.
519 * wctype/wctype_l.c (__wctype_l): Likewise.
520 * wctype/iswctype.c: Don't include cname-lookup.h.
521 (__iswctype): Assume new locale format.
522 * wctype/iswctype_l.c: Don't include cname-lookup.h.
523 (__iswctype_l): Assume new locale format.
524 * wctype/wctrans.c: Don't include ctype.h.
525 (wctrans): Assume new locale format.
526 * wctype/wctrans_l.c (__wctrans_l): Likewise.
527 * wctype/towctrans.c: Don't include cname-lookup.h.
528 (__towctrans): Assume new locale format.
529 * wctype/towctrans_l.c: Don't include cname-lookup.h.
530 (__towctrans_l): Assume new locale format.
531 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
532 localeinfo.h instead.
533 (__NO_WCTYPE): Remove unused macro.
534 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
535 declarations.
536 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
537 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
538 (towlower, towupper): Likewise.
539 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
540 localeinfo.h instead.
541 (__NO_WCTYPE): Remove unused macro.
542 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
543 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
544 __iswxdigit_l): Assume new locale format.
545 (__towlower_l, __towupper_l): Likewise.
546 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
547 (__ctype32_b): Remove declaration.
548 (internal_wcwidth): Assume new locale format.
549 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
550 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
551 to map32_b, rename width_3level to width.
552 (ctype_output): Always create new locale format. Don't emit
553 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
554 (allocate_arrays): Always create new locale format.
555
556 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
557 * locale/weightwc.h (findidx): Assume new locale format.
558 * string/strcoll.c (wcscoll): Remove local variables size, layers,
559 names.
560 * string/strxfrm.c (wcsxfrm): Likewise.
561 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
562 local variable collseq to 'const char *'.
563 (SUFFIX): Don't use, don't undefine.
564 * posix/fnmatch.c: Remove SUFFIX definition.
565 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
566 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
567 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
568 (collate_finish): Always create new locale format. Remove local
569 variables min_total, act_size.
570 (collate_output): Always create new locale format. Remove local
571 variables table_size, names, tablewc. Rename tablewc_3level to
572 tablewc.
573
5742000-08-31 Bruno Haible <haible@clisp.cons.org>
575
576 * locale/programs/ld-collate.c (obstack_int32_grow,
577 obstack_int32_grow_fast): New inline functions.
578 (output_weightwc, collate_output): Use them where possible.
579
1341abee
UD
5802000-09-01 Ulrich Drepper <drepper@redhat.com>
581
aebb1faa
UD
582 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
583 patch (_mode -> _flags).
584
a91d3cd3
UD
585 * libio/Makefile (headers): Add stdio_ext.h.
586 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
587 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
588 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
589 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
590 __fsetlocking, and _flushlbf.
591 * libio/__fbufsize.c: New file.
592 * libio/__flbf.c: New file.
593 * libio/__fpending.c: New file.
594 * libio/__fpurge.c: New file.
595 * libio/__freadable.c: New file.
596 * libio/__freading.c: New file.
597 * libio/__fsetlocking.c: New file.
598 * libio/__fwritable.c: New file.
599 * libio/__fwriting.c: New file.
600 * libio/stdio_ext.h: New file.
601 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
602 * libio/libio.h (_IO_USER_LOCK): Define.
a8e58aa9
UD
603 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
604 test _IO_USER_LOCK flag first.
a91d3cd3 605
1341abee
UD
606 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
607 malloc fails.
608
7e481496
AJ
6092000-09-01 Andreas Jaeger <aj@suse.de>
610
611 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
612
613 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
614
8edf6e0d
UD
6152000-08-31 Ulrich Drepper <drepper@redhat.com>
616
507cef08
UD
617 * math/Makefile (tests): Add tst-defintions.
618 * math/tst-definitions.c: New file.
619
417bafec
UD
620 * stdlib/Makefile (headers): Add bits/wchar.h.
621 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
622 * sysdeps/generic/bits/wchar.h: New file.
623 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
624 file to define WCHAR_MIN and WCHAR_MAX.
625 Change UINT*8_MAX and UIN*16_MAX value to type int.
626 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
627 file to define WCHAR_MIN and WCHAR_MAX.
628 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
629 int values.
630 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
631 * sysdeps/generic/bits/mathdef.h: Likewise.
632 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
633 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
634 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
635 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
636 * locale/locale.h (struct lconv): Add __ prefix to the new members
637 if not C99.
638 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
639 imaxdiv optimizations.
640 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
641 * sysdeps/wordsize-64/ldiv.c: Likewise.
642 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
643 const fenv_t*.
644 * sysdeps/generic/bits/fenv.h: Likewise.
645 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
646 * sysdeps/ia64/bits/fenv.h: Likewise.
647 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
648 * sysdeps/mips/bits/fenv.h: Likewise.
649 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
650 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
651 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
652
8edf6e0d
UD
653 * inet/rcmd.c: Use *stat64 instead of *stat internally.
654 * inet/ruserpass.c: Likewise.
417bafec 655 * catgets/open_catalog.c: Likewise.
8edf6e0d
UD
656 * intl/loadmsgcat.c: Likewise.
657 * io/getdirname.c: Likewise.
658 * locale/loadlocale.c: Likewise.
659 * misc/getusershell.c: Likewise.
660 * stdlib/canonicalize.c: Likewise.
661 * sysdeps/posix/euidaccess.c: Likewise.
662 * sysdeps/posix/isfdtype.c: Likewise.
663 * sysdeps/posix/posix_fallocate.c: Likewise.
664 * sysdeps/posix/tempname.c: Likewise.
665 * sysdeps/unix/grantpt.c: Likewise.
666 * sysdeps/unix/opendir.c: Likewise.
667 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
668 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
669 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
670 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
671 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
672 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
673 * sysvipc/ftok.c: Likewise.
674 * time/getdate.c: Likewise.
675
676 * time/getdate.c: Add extra access test.
677
fbcc0996
UD
6782000-08-31 Ulrich Drepper <drepper@redhat.com>
679
fe019b57
UD
680 * version.h (VERSION): Bump to 2.1.93.
681
3d784d83
UD
682 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
683 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
684
55e2d5c7
UD
685 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
686 Make this a new rule depending on tst-gettext.out and run mtrace.
687 * intl/tst-gettext.c: Call mtrace.
688 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
689
690 * elf/dl-reloc.c: Add a few more __builtin_expect.
691
692 * configure.in: Remove --with-gettext option.
693
694 * intl/dcigettext.c (free_mem): Correct freeing of
695 _nl_domain_bindings list.
696
69071b2a
UD
697 * sysdeps/generic/setenv.c (free_mem): New function. Free all
698 allocated memory.
699
fe019b57 700 * intl/locale.alias: Add aliases for bokmal and nynorsk.
736dda8c
UD
701
702 * locale/iso-639.def: Fix 639-1 code for Bokmal.
703
cb7c4a27
UD
704 * stdio-common/itoa-digits.c: Move upper digits to...
705 * stdio-common/itoa-udigits.c: ...here. New file.
706 * stdio-common/Makefile (routines): Add itoa-udigits.
707
a778db06
UD
708 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
709 relocate ld.so don't add supprt for relocations which should not
710 appear in ld.so.
711
fbcc0996
UD
712 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
713 __secure_getenv. Instead test __libc_enable_secure once.
714
715 * io/pwd.c (main): Provide a good example, use *_unlocked function.
716
b4f95b74
UD
7172000-08-30 Ulrich Drepper <drepper@redhat.com>
718
b2fe29dd
UD
719 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
720 whether the new record should be freed if it's a duplicate.
721 (add_module): Adjust insert_module call.
722 (__gconv_read_conf): Likewise.
723 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
724 mtrace-tst-loading.
725 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
726
f55727ca
UD
727 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
728 _dl_all_init_dirs.
729 * include/link.h (struct r_search_path_struct): New.
730 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
731 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
732 _dl_all_init_dirs.
733 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
734 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
735 added at startup time.
736 * elf/dl-load.c: Fix memory handling. r_search_path_struct
737 contains element to remember fact that we can free memory.
738 (all_dirs): Renamed to _dl_all_dirs. Made global.
739 (_dl_init_all_dirs): New variable.
740 (fillin_rpath): Save one malloc call.
741 (decompose_rpath): Change interface. New first parameter points to
742 r_search_path_struct.
743 (_dl_init_paths): Adjust for changes. Mark all memory as not
744 deletable. Set _dl_init_all_paths value.
745 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
746 parameter replaced with r_search_path_struct *. Information about
747 freeing now contained in r_search_path_struct.
748 (_dl_map_object): Adjust for above changes.
749
750 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
751
4a6d1198
UD
752 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
753 when adding new entries.
754
32ee8d95
UD
755 * elf/dl-load.c (fillin_rpath): Make local copy of where string
756 since the object being loaded can be unloaded.
757
b4f95b74
UD
758 * iconvdata/Makefile (tests): Add tst-loading.
759 * iconvdata/tst-loading.c: New file.
760
44f8759b
UD
7612000-08-29 Bruno Haible <haible@clisp.cons.org>
762
763 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
764 When comparing a char with an int, always cast the char to
765 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
766 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
767
3dc4a544
UD
7682000-08-30 Ulrich Drepper <drepper@redhat.com>
769
e668889a
UD
770 * time/strftime.c (my_strftime): Add compatibility code for use
771 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
772
db7dc811
UD
773 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
774 return 0 for success but always < 0 on failure.
775
3dc4a544
UD
776 * nss/getXXbyYY_r.c: Define result to *result before including
777 digits_dots.c.
778
f6bb547a
AJ
7792000-08-30 Andreas Jaeger <aj@suse.de>
780
781 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
782
076bfcf6
UD
7832000-08-29 Ulrich Drepper <drepper@redhat.com>
784
47cae281
UD
785 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
786 official file.
787 * iconvdata/TESTS: Add BIG5HKSCS entry.
788 * iconvdata/testdata/BIG5HKSCS: New file.
789 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
790
791 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
792 always true.
793
076bfcf6
UD
794 * libio/iogetline.c: Set mode before the loop in case n==0.
795 * libio/iogetwline.c: Likewise.
796
7972000-08-29 H.J. Lu <hjl@gnu.org>
798
799 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
800 of fp->_mode < 0.
801 (_IO_new_file_overflow): Likewise.
802 * libio/genops.c (_IO_flush_all): Likewise.
803 * libio/ioftell.c (_IO_ftell): Likewise.
804
c7c3b0e9
UD
8052000-08-29 Akira Higuchi <a@kondara.org>
806
807 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
808 and __end_fct fields of struct __gconv_step.
809 * iconv/Makefile (tests): Add iconv-bug2.
810 * iconv/iconv-bug2.c: New file.
811
812 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
813 instead of 'inptr - inend' to ksc5601_to_ucs4.
814
815 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
816
817 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
818 character or shift sequence is found at the end of the input
819 string, return__GCONV_INCOMPLETE_INPUT instead of
820 __GCONV_EMPTY_INPUT.
821 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
822 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
823
824 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
825 __GCONV_ILLEGAL_INPUT for 8bit characters.
826
30f1226b
UD
8272000-08-29 Ulrich Drepper <drepper@redhat.com>
828
4dadd40c
UD
829 * signal/signal.h (sigpause): Move __THROW before __asm__.
830
30f1226b
UD
831 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
832 names don't match don't return.
833 Patch by Olaf Kirch <okir@flash.lst.de>.
834
1a6c971d
UD
8352000-08-28 Ulrich Drepper <drepper@redhat.com>
836
837 * time/strftime.c (my_strftime): Handle # flag for %b as well.
838
8f3f1e09
UD
8392000-08-27 H.J. Lu <hjl@gnu.org>
840
841 * posix/Makefile (otherlibs): Add for building with static-nss
842 for "make check".
843
46e4bd3b
UD
8442000-08-28 Ulrich Drepper <drepper@redhat.com>
845
846 * libio/stdio.h: Add fmemopen prototype.
847
8482000-08-25 Andreas Jaeger <aj@suse.de>
849
850 * libio/Makefile (routines): Add fmemopen.
851 (tests): Add test-fmemopen.
852 * libio/Versions: Add fmemopen with version GLIBC_2.2.
853 * libio/test-fmemopen.c: New file.
854 * libio/fmemopen.c: New file.
855 Patches by Hanno Mueller <kontakt@hanno.de>.
856
4370efec
UD
8572000-08-28 Ulrich Drepper <drepper@redhat.com>
858
07d94f90
UD
859 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
860 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
861
4370efec
UD
862 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
863 to avoid crashing statically linked applications.
864
04ea3b0f
UD
8652000-08-27 Bruno Haible <haible@clisp.cons.org>
866
867 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
868 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
869
870 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
871 If the result is fits in the buffer, copy only as many bytes as needed.
872
873 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
874 buffer after copying numbuf into it.
875 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
876
8772000-08-27 Bruno Haible <haible@clisp.cons.org>
878
879 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
880 the result. When string_len < len, don't clear the rest of the buffer.
881
8822000-08-27 Bruno Haible <haible@clisp.cons.org>
883
884 Support for new LC_COLLATE format.
885 * locale/coll-lookup.h: New file.
886 * locale/weightwc.h (findidx): When size == 0, call
887 collidx_table_lookup.
888 * wcsmbs/wcscoll.c: Include coll-lookup.h.
889 * wcsmbs/wcsxfrm.c: Likewise.
890 * posix/fnmatch.c: Likewise.
891 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
892 collseq_table_lookup.
893 * locale/programs/3level.h: New file.
894 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
895 by including "3level.h".
896 * locale/programs/ld-collate.c (wchead_table, collidx_table,
897 collseq_table): New types, defined by including "3level.h".
898 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
899 (encoding_mask, encoding_byte): Remove.
900 (utf8_encode): Use simple shifts instead.
901 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
902 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
903 (collate_output): New local variable tablewc_3level. When
904 !oldstyle_tables, set table_size to 0 and names to NULL and fill
905 tablewc_3level instead of tablewc. Change format of TABLEWC and
906 COLLSEQWC entries written to the file.
907 * locale/C-collate.c (collseqwc): Change format.
908 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
909 of COLLSEQWC.
910 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
911
9122000-08-27 Bruno Haible <haible@clisp.cons.org>
913
914 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
915 (locale_ctype_t): New charnames_idx field.
916 (ctype_startup): Initialize charnames_idx field.
917 (find_idx): Speed up dramatically by using charnames_idx inverse table.
918
9192000-08-27 Bruno Haible <haible@clisp.cons.org>
920
921 * locale/C-ctype.c: Switch to new locale format.
922 (_nl_C_LC_CTYPE_names): Remove array.
923 (STRUCT_CTYPE_CLASS): New macro.
924 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
925 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
926 New three-level tables.
927 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
928 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
929 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
930 12 class tables and 2 map tables at the end.
931 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
932 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
933 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
934 New declarations.
935 (b): Remove trailing semicolon.
936 (__ctype_names, __ctype_width): Don't initialize.
937 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
938
9392000-08-27 Bruno Haible <haible@clisp.cons.org>
940
941 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
942 is guaranteed to be allocated with the same malloc() and may be
943 passed to free().
944 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
945 been set to empty by an earlier open_path call, don't pass it again.
946
102f0642
UD
9472000-08-28 Ulrich Drepper <drepper@redhat.com>
948
50fd913b
UD
949 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
950 we are not optimizing.
951
924102e7
UD
952 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
953 inclusion.
954
102f0642
UD
955 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
956 really match EOF.
957 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
958
1e0448d4
AJ
9592000-08-28 Andreas Jaeger <aj@suse.de>
960
961 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
962
b222360c
MK
9632000-08-28 Mark Kettenis <kettenis@gnu.org>
964
965 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
966 getpeername. Use ISO C style function definition.
967 (getpeername): Provide weak alias.
968 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
969 setrlimit. Use ISO C style function definition.
970 (setrlimit): Provide weak alias.
971
ba55e591
AJ
9722000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
973
974 * shlib-versions: Add a rule for S/390 to the libm version list.
975 * sysdeps/s390/Versions: New file.
976 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
977 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
978 * sysdeps/unix/sysv/linux/s390/Versions: New file.
979 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
980 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
981 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
982 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
983 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
984 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
985 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
986 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
987 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
988 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
989 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
990 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
991 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
992 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
993 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
994
b9672e71
UD
9952000-08-28 Ulrich Drepper <drepper@redhat.com>
996
67c28b12
UD
997 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
998 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
999
b35e21f4
UD
1000 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
1001 * elf/dl-close.c (_dl_close): Print debug message if object is not
1002 unloaded.
1003 * elf/dl-open.c (dl_open_worked): Print message about opencount before
1004 returning to caller.
1005
b9672e71
UD
1006 * po/zh.po: Renamed to...
1007 * po/zh_TW.po: ...this.
1008
e4df97b8
GK
10092000-08-27 Geoff Keating <geoffk@cygnus.com>
1010
5a364152
GK
1011 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
1012
e4df97b8
GK
1013 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
1014 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
1015 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
1016 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
1017
48bde9c3
UD
10182000-08-27 Ulrich Drepper <drepper@redhat.com>
1019
3d4ac1ec
UD
1020 * locale/programs/ld-collate.c (insert_weights): Also update
1021 backpointer of next element.
1022 (collate_read): Allow definition of new collation symbols in stage 2.
1023 Symbol after reorder-after can be UCS4 value.
1024 Allow reordering of collation symbols and elements.
1025 Do not only move reorder entry in new position. Instead call
1026 insert_weight to do this and read the weights.
1027
6adc15f5
UD
1028 * locale/findlocale.c (free_mem): Add cast to avoid warning.
1029
4944d5d6
UD
1030 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
1031 to determine invalid locale name.
1032 * locale/findlocale.c (_nl_find_locale): Likewise.
1033
b4f48b41
UD
1034 * posix/annexc.c: Correct test for unavailable feature.
1035
48bde9c3
UD
1036 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
1037 __inline.
1038
2b7238dd
UD
10392000-08-26 Ulrich Drepper <drepper@redhat.com>
1040
6a72ae21
UD
1041 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
1042 syscall.
1043
d4cfddf9
UD
1044 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
1045 (sysdep_routines): Add oldgetrlimit64.
1046
2b7238dd
UD
1047 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
1048 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
1049 (tests): Add unload, reldep, reldep2, and reldep3.
1050 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
1051 and reldepmod4.
1052 Add rules to build and run unload, reldep, reldep2, and reldep3.
1053 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
1054 Don't create relocation dependency if it is nonzero.
1055 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
1056 can never happen here.
1057 (_dl_lookup_versioned_symbol): Add new parameter explicit.
1058 Don't create relocation dependency if it is nonzero.
1059 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
1060 stuff. This can never happen here.
1061 * sysdeps/generic/ldsodefs.h: Change prototypes.
1062 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
1063 _dl_lookup_up and _dl_lookup_versioned_symbol.
1064 (RESOLV): Likewise.
1065 * elf/dl-runtime.c (fixup): Likewise.
1066 (profile_fixup): Likewise.
1067 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
1068 _dl_lookup_symbol.
1069 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
1070 * elf/rtld.c (dl_main): Likewise.
1071 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
1072 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
1073 and pass down the caller map.
1074 (_dl_vsym): Likewise.
1075 * elf/reldep.c: New file.
1076 * elf/reldep2.c: New file.
1077 * elf/reldep3.c: New file.
1078 * elf/reldepmod1.c: New file.
1079 * elf/reldepmod2.c: New file.
1080 * elf/reldepmod3.c: New file.
1081 * elf/reldepmod4.c: New file.
1082 * elf/unload.c: New file.
1083 * elf/unloadmod.c: New file.
1084
1085 * elf/do-lookup.h: Remove unused undef_name parameter.
1086 * elf/dl-lookup.c: Adjust callers.
1087
36466e64
UD
10882000-08-25 Ulrich Drepper <drepper@redhat.com>
1089
1090 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
1091 irreversible in recursive call of conversion function to signal that
1092 no error handling is wanted.
1093 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
1094 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
1095 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
1096 recursive error handling call, otherwise to &lirreversible. Use it
1097 for calls to conversion functions.
1098 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
1099 transliterating.
1100 (ucs4_internal_loop_unaligned): Likewise.
1101 (ucs4le_internal_loop): Likewise.
1102 (ucs4le_internal_loop_unaligned): Likewise.
1103
c7f524b8
GM
11042000-08-25 Greg McGary <greg@mcgary.org>
1105
1106 * sysdeps/i386/memchr.S: Check high bound against chars
1107 actually scanned.
1108 * sysdeps/i386/memcmp.S: Likewise.
1109 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
1110 account for pointers that lie one beyond end-of-buffer.
1111
ad7534c8
UD
11122000-08-25 Ulrich Drepper <drepper@redhat.com>
1113
1114 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
1115 * elf/nodelete.c (fini_ran): New global variable.
1116 (do_test): Before every dlclose call clear fini_ran and test
1117 afterwards that it is not set by the destructors.
1118 * elf/nodelmod1.c: Add destructor which sets fini_ran.
1119 * elf/nodelmod2.c: Likewise.
1120 * elf/nodelmod4.c: Likewise.
1121
bb8d0fd5
UD
11222000-08-21 Jes Sorensen <jes@linuxcare.com>
1123
1124 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
1125 getrlimit to the list.
1126
11272000-08-18 Jes Sorensen <jes@linuxcare.com>
1128
1129 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
1130 long double format so use ldbl-96 instead of ldbl-128.
1131
b7fb789d
UD
11322000-08-25 Ulrich Drepper <drepper@redhat.com>
1133
b0af120f
UD
1134 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
1135 even if bits 10 a 11 are non-zero.
1136 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
1137
1bc777b8
UD
1138 * Makeconfig: Ensures the soversions.mk part of Makefile gets
1139 included before building gnu/lib-names.h
1140 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1141
7045878b
UD
1142 * elf/dl-close.c (_dl_close): Don't run destructors of objects
1143 marked DF_1_NODELETE.
1144
b7fb789d
UD
1145 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
1146 since we call sigaction in the child.
1147
700f371b
AJ
11482000-08-25 Andreas Jaeger <aj@suse.de>
1149
1150 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
1151 gconv-modules.
1152
7a7a7ee5
AJ
11532000-08-25 Andreas Jaeger <aj@suse.de>
1154
1155 * manual/arith.texi (Control Functions): Clarify possible
1156 arguments. Closes PR libc/1856.
1157
2085b8d1
AJ
11582000-08-24 H.J. Lu <hjl@gnu.org>
1159
1160 * stdio-common/Makefile (tests): Don't do it for cross compiling.
8f3f1e09 1161 * malloc/Makefile (tests): Likewise.
2085b8d1 1162
62c27582
UD
11632000-08-24 Ulrich Drepper <drepper@redhat.com>
1164
1165 * iconvdata/unicode.c (gconv_init): Correct test for direction.
1166
469e977f
AJ
11672000-08-24 Andreas Jaeger <aj@suse.de>
1168
1169 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
1170 only if LIBGD is available.
1171
d46a5ab9
UD
11722000-08-24 Ulrich Drepper <drepper@redhat.com>
1173
1174 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
1175 problems with now restrict parameter types.
1176 (convaddr4to6): Likewise.
1177
11782000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
0067c4cf
AJ
1179
1180 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
1181 * sysdeps/s390/fpu/feenablxcpt.c: New file.
1182 * sysdeps/s390/fpu/fegetexcept.c: New file.
1183 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
1184 FPC_VALID_MASK.
1185
991dca90
AJ
11862000-08-24 Andreas Jaeger <aj@suse.de>
1187
1188 * malloc/Makefile (extra-objs): Add memusagestat.o.
1189 (generated): Added memusage and memusagestat for make clean.
1190
1191 * libio/tst_putwc.c (do_test): Delete temporary file.
3b526f89
AJ
1192 Move inclusion of test-skeleton to front to have prototype for
1193 add_temp_file.
991dca90
AJ
1194
1195 * posix/Makefile (generated): Add wordexp-tst.out.
1196
c81459e7
UD
11972000-08-24 Ulrich Drepper <drepper@redhat.com>
1198
1199 * resolv/res_hconf.c (free_mem): Remove not needed if.
1200
1201 * time/tzset.c (free_mem): New function.
1202 * string/strsignal.c (free_mem): New function.
1203 * inet/inet_ntoa.c (free_mem): New function.
1204 * sunrpc/clnt_perr.c (free_mem): New function.
1205
d5fb902b
AJ
12062000-08-24 Andreas Jaeger <aj@suse.de>
1207
1208 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
7e98470d 1209 * sysdeps/unix/sysv/syscalls.list: Likewise.
d5fb902b 1210
219f2381
AJ
1211 * posix/unistd.h: Move internal prototypes from here ...
1212 * include/unistd.h: ... to here.
1213
1214 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
1215
80bae720
UD
12162000-08-24 Ulrich Drepper <drepper@redhat.com>
1217
84364bf8
UD
1218 * grp/initgroups.c (initgroups): Deallocate groups array.
1219 Reported by jani.raiha@sonera.com [PR libc/1868].
1220
80bae720
UD
1221 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
1222 * sysdeps/alpha/Dist: Likewise.
1223
f4942eca
UD
12242000-08-23 Ulrich Drepper <drepper@redhat.com>
1225
0c571040
UD
1226 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
1227 destructor). Reported by Solar Designer <solar@false.com>.
1228
f4942eca
UD
1229 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
1230 avoid adding double slashes.
1231
91ca07d8
UD
12322000-08-23 Jakub Jelinek <jakub@redhat.com>
1233
1234 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
1235 out of the __REDIRECT macro.
1236
56ce46d5
UD
12372000-08-23 Ulrich Drepper <drepper@redhat.com>
1238
1239 * stdio-common/vfscanf.c: Add %F format support.
1240
1241 * locale/programs/ld-ctype.c (ctype_output): Make sure
1242 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
1243 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
1244 (ctype_read): Enable returning of wide character strings for reading
1245 transliteration information.
1246
0232a3ae
AJ
12472000-08-23 Andreas Jaeger <aj@suse.de>
1248
df9650f1
AJ
1249 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
1250 Use static __inline instead of _EXTERN_INLINE.
1251
1252 * misc/sys/select.h: Move prototypes of __select from here ...
1253 * include/sys/select.h: ... to here.
1254
1255 * socket/sys/socket.h: Move prototypes of __send and __connect
1256 from here....
1257 * include/sys/socket.h: ... to here.
1258
0232a3ae
AJ
1259 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
1260 lr_error.
1261
39d4e06f
AJ
12622000-08-23 Jakub Jelinek <jakub@redhat.com>
1263
1264 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
1265 __setrlimit as strong name. Takes only 2 arguments.
1266
1267 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
1268 takes only 2 arguments.
1269
84056c71
AJ
12702000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
1271
ea18f670
AJ
1272 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
1273
84056c71
AJ
1274 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
1275
4b156cb2
UD
12762000-08-23 Ulrich Drepper <drepper@redhat.com>
1277
1278 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
1279 default_missing character being specified, pick the first
1280 representable.
1281
d6585e0b
AJ
12822000-08-23 Andreas Jaeger <aj@suse.de>
1283
1284 * include/wchar.h: Add some pure attributes.
1285
1286 * time/time.h: Add const attribute for dysize.
1287
1288 * include/stdlib.h: Add malloc attribute to __posix memalign.
1289
1290 * stdlib/stdlib.h: Add some pure and malloc attributes.
1291 * wcsmbs/wchar.h: Likewise.
1292
1293 * dirent/dirent.h: Add some pure attributes.
1294 * include/dirent.h: Likewise.
1295
24c7f4c1
UD
12962000-08-23 Jakub Jelinek <jakub@redhat.com>
1297
1298 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
1299 on 64bit arches.
1300
4cee32dd
UD
13012000-08-22 Ulrich Drepper <drepper@redhat.com>
1302
1303 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
1304 missing buffer size checks.
1305
b4246fd6
UD
13062000-08-23 Andreas Jaeger <aj@suse.de>
1307
7e7b6007
AJ
1308 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
1309 strong name.
1310 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1311
b4246fd6
UD
1312 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
1313 otherwise __LINUX_KERNEL_VERSION might not be defined.
1314 (MIN): Define if not already defined.
1315
dc63ee35
UD
13162000-08-22 Ulrich Drepper <drepper@redhat.com>
1317
6c46718f
UD
1318 * stdio-common/vfprintf.c: Handle %F format.
1319 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
1320 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1321
1322 * stdio-common/tstdiomisc.c: Add test for %F printf format.
1323
1324 * po/zh.po: New file.
1325
cf970a32
UD
1326 * iconvdata/sjis.c: In conversion from UCS4, correct test for
1327 enough room in target buffer.
1328 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
1329 * iconvdata/bug-iconv1.c: New file.
1330 * iconvdata/Makefile (tests): Add bug-iconv1.
1331
dc63ee35
UD
1332 * locale/iso-4217.def: Update entry for Nicaragua.
1333
64659255
MK
13342000-08-22 Mark Kettenis <kettenis@gnu.org>
1335
1336 * hurd/hurdsig.c: Rearrange headers a bit.
1337 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
1338 when cthreads is being used.
1339
ea83223c
UD
13402000-08-22 Ulrich Drepper <drepper@redhat.com>
1341
32b4fe6a
UD
1342 * elf/Makefile (distribute): Add dl-osinfo.h.
1343 * sysdeps/generic/dl-osinfo.h: New file.
1344 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
1345 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
1346 if defined.
1347 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
84056c71 1348 only for !SHARED case. Get the code from dl-osinfo.h.
32b4fe6a 1349
ea83223c
UD
1350 * stdlib/random_r.c: Cleanups.
1351 * stdlib/tst-random.c: New file.
1352 * stdlib/Makefile (tests): Add tst-random.
1353 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
1354
84056c71 13552000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
26830935 1356
ea83223c
UD
1357 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
1358 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
1359 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
1360 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
26830935 1361
8859f576
UD
13622000-08-22 Jakub Jelinek <jakub@redhat.com>
1363
1364 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
1365 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
1366 (__syscall__sysctl): Add.
1367
fe615dce
AJ
13682000-08-21 Andreas Jaeger <aj@suse.de>
1369
1370 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
1371 libc/1864).
1372 * stdlib/tst-strtoll.c: Likewise.
1373
ce19d417
UD
13742000-08-21 Ulrich Drepper <drepper@redhat.com>
1375
faa57563
UD
1376 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
1377 correctly.
1378 (__initstate_r): Set errno on error.
1379 (__random_r): Likewise.
1380 (__setstate_r): Correct offset when computing
1381 new rptr and fptr. Test for arg_state being NULL.
1382 Reported by Michael Fischer <fischer@cs.yale.edu>.
7ca404ad
UD
1383
1384 * posix/regex.h: Add macro definitions to allow compiling outside
1385 glibc.
1386
63336471
UD
1387 * sysdeps/i370/Implies: Removed.
1388 * sysdeps/mvs/Implies: Removed.
1389
1390 * catgets/catgets.c (catopen): Filter out env_var values with / if
1391 necessary.
1392
1393 * locale/findlocale.c (_nl_find_locale): Move test for unusable
1394 locale name after all getenvs.
1395
ce19d417
UD
1396 * configure.in: Allow sed versions like 3.02.8.
1397 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
1398
959eb65d
UD
13992000-08-21 Marko Myllynen <myllynen@lut.fi>
1400
1401 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
1402
9ca00c5b
UD
14032000-08-21 Ulrich Drepper <drepper@redhat.com>
1404
fb7268b2
UD
1405 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
1406 of gethostbyname2_r call.
1407
9ca00c5b
UD
1408 * intl/locale.alias: Add aliases for Korean.
1409
84056c71 14102000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
b7d2cec0 1411
b6341471
AJ
1412 * sysdeps/s390/__longjmp.c: Remove unused variable result.
1413 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
b7d2cec0
AJ
1414 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
1415 * sysdeps/s390/fpu/fegetenv.c: New file.
1416 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
1417 * sysdeps/s390/fpu/feholdexcpt.c: New file.
1418 * sysdeps/s390/fpu/fenv_libc.h: New file.
1419 * sysdeps/s390/fpu/fesetenv.c: New file.
1420 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
1421 * sysdeps/s390/fpu/feupdateenv.c: New file.
1422 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
1423 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
1424 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
1425 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
1426 * sysdeps/s390/fpu/ftestexcept.c: New file.
1427 * sysdeps/s390/fpu/libm-test-ulps: New file.
1428 * sysdeps/s390/gmp-mparam.h: Add end of comment.
1429 * sysdeps/s390/initfini.c: New file.
1430 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
1431 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
1432 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
1433 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
b6341471 1434 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
b7d2cec0
AJ
1435 sys/procfs.h as proposed by Mark Kettenis.
1436 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
1437
d4b0774f
AJ
14382000-08-21 Andreas Jaeger <aj@suse.de>
1439
1440 * include/poll.h: Include include/sys/poll.h to get __poll
1441 declaration.
1442
1443 * io/sys/poll.h: Move __poll declaration from here...
1444 * include/sys/poll.h: ...to here.
1445
1446 * include/sys/socket.h (__getpeername): Add declaration.
1447
1448 * include/wchar.h (__vswprintf): Add declaration.
1449
1450 * include/stdio.h (__flockfile): Add declaration.
1451 (__funlockfile): Likewise.
1452
a785f6c5
UD
14532000-08-20 Ulrich Drepper <drepper@redhat.com>
1454
98cbe360
UD
1455 * misc/sys/cdefs.h: Define __restrict_arr.
1456 * include/sys/time.h: Add restrict where required by AGd4.
1457 * inet/arpa/inet.h: Likewise.
1458 * io/sys/stat.h: Likewise.
1459 * io/sys/statvfs.h: Likewise.
1460 * misc/search.h: Likewise.
1461 * misc/sys/select.h: Likewise.
1462 * posix/glob.h: Likewise.
1463 * posix/regex.h: Likewise.
1464 * posix/spawn.h: Likewise.
1465 * posix/unistd.h: Likewise.
1466 * rt/aio.h: Likewise.
1467 * signal/signal.h: Likewise.
1468 * socket/sys/socket.h: Likewise.
1469 * stdlib/ucontext.h: Likewise.
1470 * streams/stropts.h: Likewise.
1471 * string/string.h: Likewise.
1472 * time/time.h: Likewise.
1473 * time/sys/time.h: Likewise.
1474
1475 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
1476 and posix_spawnattr_setscheparam.
1477
1478 * libio/stdio.h: Make cuserid prototype again available for all
1479 XPG versions.
1480
4aebaa6b
UD
1481 * argp/argp-help.c: Unify use of function aliases to make more compact
1482 PLT.
1483 * include/libintl.h: Likewise.
1484 * inet/rcmd.c: Likewise.
1485 * intl/dcigettext.c: Likewise.
1486 * libio/iofputws.c: Likewise.
1487 * libio/iofputws_u.c: Likewise.
1488 * libio/iogetwline.c: Likewise.
1489 * libio/swprintf.c: Likewise.
1490 * malloc/malloc.c: Likewise.
1491 * nss/digits_dots.c: Likewise.
1492 * posix/fnmatch.c: Likewise.
1493 * posix/spawn_faction_addclose.c: Likewise.
1494 * posix/spawn_faction_adddup2.c: Likewise.
1495 * posix/spawn_faction_addopen.c: Likewise.
1496 * posix/spawni.c: Likewise.
1497 * posix/wordexp.c: Likewise.
1498 * posix/spawni.c: Likewise.
1499 * resolv/res_hconf.c: Likewise.
1500 * resolv/res_init.c: Likewise.
1501 * shadow/lckpwdf.c: Likewise.
1502 * signal/sighold.c: Likewise.
1503 * signal/sigrelse.c: Likewise.
1504 * stdio-common/printf-parse.h: Likewise.
1505 * stdio-common/printf-prs.c: Likewise.
1506 * stdio-common/printf_fp.c: Likewise.
1507 * stdio-common/vfprintf.c: Likewise.
1508 * stdio-common/vfscanf.c: Likewise.
1509 * stdlib/rpmatch.c: Likewise.
1510 * sunrpc/create_xid.c: Likewise.
1511 * sunrpc/key_call.c: Likewise.
1512 * sysdeps/generic/setrlimit64.c: Likewise.
1513 * sysdeps/generic/utmp_file.c: Likewise.
1514 * sysdeps/generic/vlimit.c: Likewise.
1515 * sysdeps/posix/posix_fallocate.c: Likewise.
1516 * sysdeps/posix/posix_fallocate64.c: Likewise.
1517 * sysdeps/posix/sigpause.c: Likewise.
1518 * sysdeps/posix/sigset.c: Likewise.
1519 * sysdeps/unix/grantpt.c: Likewise.
1520 * sysdeps/unix/bsd/ualarm.c: Likewise.
1521 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
1522 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
1523 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1524 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
1525 * time/strftime.c: Likewise.
1526 * wcsmbs/wcscoll.c: Likewise.
1527 * wcsmbs/wcsxfrm.c: Likewise.
1528
a785f6c5
UD
1529 * time/tst-getdate.c (main): Make error messages more human readable.
1530
4aebaa6b
UD
1531 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
1532 postinc/predec instruction.
a785f6c5
UD
1533 (_FPU_SETCW): Likewise.
1534 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1535
7a66c585
AJ
15362000-08-20 Andreas Jaeger <aj@suse.de>
1537
1538 * time/tst-getdate.c (main): Increase error in case of wrong
1539 conversion.
1540 Fix typo in test case.
1541
2f599545
UD
15422000-08-20 Ulrich Drepper <drepper@redhat.com>
1543
00d8bc81
UD
1544 * ctype/ctype.h (isblank): Make available if ISO C99.
1545 * wctype/wctype.h (iswblank): Make available if ISO C99.
1546 * math/math.h (signgam): Don't make available if ISO C99.
1547 * math/tgmath.h (tgamma): Renamed from gamma.
1548 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1549
2f599545
UD
1550 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
1551 Pretty printing.
1552 * intl/plural.y (new_exp): Take number of optional parameters in
1553 second parameter. Test for correct number of parameters and free
1554 correctly in case of failure. Adjust all callers.
1555 (yylex): Allow ';' as terminator character.
1556
6145e823
UD
15572000-08-19 Ulrich Drepper <drepper@redhat.com>
1558
9b02e868
UD
1559 * locale/lc-time.c (free_mem): New function. Free alt_digits and
1560 walt_digits.
1561
f1ba489e
UD
1562 * locale/findlocale.c (free_mem): Also free here->filename.
1563
1564 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
1565
6145e823
UD
1566 * math/test-fenv.c (feenv_tests): Clear all exceptions before
1567 first test.
1568 (feexcp_nomask_test): Correct printf args.
1569 (feexcp_mask_test): Likewise.
1570
60f0e64b
UD
15712000-08-19 Andreas Jaeger <aj@suse.de>
1572
03ae3c1e
AJ
1573 * inet/tst-gethnm.c: Include string.h to provide prototype for
1574 strcmp.
1575
60f0e64b
UD
1576 * malloc/mtrace.pl (usage): Inform about --help.
1577
15782000-08-19 Wolfram Gloger <wg@malloc.de>
1579
f1ba489e 1580 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
60f0e64b
UD
1581 size HEAP_MAX_SIZE.
1582
15832000-08-19 Andreas Jaeger <aj@suse.de>
1584
1585 * shlib-versions: Remove libnss_db, libdb and libdb1.
1586
15872000-08-19 Jakub Jelinek <jakub@redhat.com>
1588
1589 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
1590 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
1591 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
1592 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
1593 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
1594 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
1595 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
1596 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
1597 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
1598 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
1599 getdents.
1600 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
1601 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
1602
16032000-08-18 Jakub Jelinek <jakub@redhat.com>
1604
1605 * include/glob.h (__glob64): Add prototype.
1606 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
1607 define glob and glob_in_dir.
1608 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
1609 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
1610 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
1611 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
1612 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
1613 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
1614 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
1615 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
1616
16172000-08-18 Jakub Jelinek <jakub@redhat.com>
1618
1619 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
1620
16212000-08-17 Andreas Jaeger <aj@suse.de>
1622
1623 * math/test-fenv.c (fe_single_test): New function.
1624 (fe_env_tests): Use fe_single_test.
1625 (feenable_test): New tests for feenable/fedisable and
1626 fegetexcpetions.
1627 (feexcp_mask_test): New function.
1628 (feexcp_nomask_test): New function.
1629
16302000-08-19 Richard Henderson <rth@cygnus.com>
1631
1632 * sysdeps/alpha/fpu/fenv_libc.h: New file.
1633 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
1634 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1635 * sysdeps/alpha/fpu/fesetround.c: Likewise.
1636 * sysdeps/alpha/fpu/fegetround.c: Likewise.
1637 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1638 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1639 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
1640 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
1641 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
1642 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
1643 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
1644 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1645 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1646 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1647 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
1648 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
1649
f3322bec
AJ
16502000-08-19 Andreas Jaeger <aj@suse.de>
1651
1652 * elf/constload1.c: Include <stdio.h> for puts prototype.
1653
752a2a50
UD
16542000-08-19 Ulrich Drepper <drepper@redhat.com>
1655
1656 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
1657 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
1658 a dynamically loaded object remove old l_initfini list.
1659 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
1660 remove some dynamically allocated memory blocks in the dynamic
1661 loading data structures.
1662 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
1663 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
1664 Instead call _dl_check_map_versions only for the dependencies.
1665 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
1666 information of initial objects as not free-able.
1667 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
1668 element.
1669
1670 * elf/filter.c: Call mtrace.
1671 * elf/restest1.c: Likewise. Close the objects.
1672 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
1673 debug information.
1674
1675 * elf/constload1.c: Add comment explaining not freed memory.
1676
a0c9a28b
AJ
16772000-08-18 Andreas Jaeger <aj@suse.de>
1678
1679 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
1680 alignment for structs stat and stat64.
1681 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1682
de9bd685
UD
16832000-08-17 Ulrich Drepper <drepper@redhat.com>
1684
09970c4e
UD
1685 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
1686 handling. Patch by Richard Henderson <rth@twiddle.net>.
1687
de9bd685
UD
1688 * nss/Versions: Remove libnss_db information.
1689
4c4b9518
UD
16902000-08-16 Jakub Jelinek <jakub@redhat.com>
1691
1692 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
1693 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
1694 * sysdeps/sparc/fpu/fegetexcept.c: New file.
1695 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
1696
1697 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
1698 to match Solaris.
1699
0f6b172f
UD
17002000-08-17 Ulrich Drepper <drepper@redhat.com>
1701
319b400b
UD
1702 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
1703 (_FPU_SETCW): Likewise.
1704 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1705
0f6b172f
UD
1706 * stdio-common/printf_fp.c: Fix chars_needed computation.
1707 Patch by Greg McGary <greg@mcgary.org>.
1708
17092000-08-17 Jakub Jelinek <jakub@redhat.com>
1710
1711 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
1712 _dl_loaded are NULL.
1713
17142000-08-17 Jakub Jelinek <jakub@redhat.com>
1715
1716 * manual/arith.texi (feholdexcept): Returns 0 on success.
1717
17182000-08-17 Andreas Jaeger <aj@suse.de>
1719
1720 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
1721 (ifr_newname): New.
1722 Reported by Andi Kleen <ak@suse.de>.
1723
17242000-08-17 Jakub Jelinek <jakub@redhat.com>
1725
1726 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
1727 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
1728 * sysdeps/alpha/fpu/fegetexcept.c: New file.
1729
17302000-08-16 Jakub Jelinek <jakub@redhat.com>
1731
1732 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
1733 of buf->st_ino and kbuf->st_ino, not __st_ino.
1734 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
1735 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
1736 directive so that only linux/getdents.c is used, not some
1737 architecture specific one.
1738
17392000-08-16 Jakub Jelinek <jakub@redhat.com>
1740
1741 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
1742 enabled, not disabled exceptions.
1743 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1744 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
1745
e64911d1
GM
17462000-08-17 Greg McGary <greg@mcgary.org>
1747
1748 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
1749 from test program name when constructing suffix for $(LDLIBS-*).
1750 (bounded-thread-library): New variable.
1751 * crypt/Makefile
1752 [build-shared, build-static] (libcrypt-dep): Remove variable.
1753 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
1754 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
1755 * linuxthreads/Makefile (libpthread, librt): Remove variables.
1756 (librt-tests): Add variable. (tests): Use it.
1757 [build-shared, build-static]
0f6b172f
UD
1758 ($(addprefix $(objpfx),$(tests)),
1759 $(addprefix $(objpfx),$(librt-tests))):
e64911d1
GM
1760 Consolidate individual dependencies.
1761 [build-bounded]
1762 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
1763 Add dependencies.
1764 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
1765 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
1766 * misc/Makefile
1767 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
1768 * rt/Makefile
1769 [build-shared, build-static]
1770 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
1771 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
1772
17732000-08-17 Greg McGary <greg@mcgary.org>
1774
1775 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
1776 * sysdeps/unix/make-syscalls.sh: Likewise.
1777 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1778 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1779 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1780 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
1781 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
1782
17832000-08-17 Greg McGary <greg@mcgary.org>
1784
1785 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
1786 Wrap extern symbols in BP_SYM ().
1787 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1788 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1789 * sysdeps/i386/fpu/s_remquo.S: Likewise.
1790 * sysdeps/i386/fpu/s_remquof.S: Likewise.
1791 * sysdeps/i386/fpu/s_remquol.S: Likewise.
1792 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1793 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1794 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1795 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1796 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1797
9a81430b
AS
17982000-08-16 Andreas Schwab <schwab@suse.de>
1799
1800 * sysdeps/m68k/fpu/fegetexcept.c: New file.
1801 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
1802 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
1803
1ebba33e
UD
18042000-08-15 Ulrich Drepper <drepper@redhat.com>
1805
1806 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
1807 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
1808 * elf/dl-support.c: Define _nl_nloaded.
1809 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
1810 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
1811 object to global list.
1812 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
1813 from _dl_loaded list.
1814 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1815 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
1816 number here.
1817
1818 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
1819 unmask, exceptions.
1820 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
1821 exceptions.
1822 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
1823
6784ab92
AJ
18242000-08-16 Andreas Jaeger <aj@suse.de>
1825
1826 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
1827
9df76933
UD
18282000-08-15 Marko Myllynen <myllynen@lut.fi>
1829
1830 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
1831
5763742f
UD
18322000-08-15 Ulrich Drepper <drepper@redhat.com>
1833
3a41e723
UD
1834 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
1835 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
1836 (sysdep_routines): Add oldgetrlimit64.
1837 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
1838 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1839
0f6b172f 1840 * include/link.h: Undo last patches. Hurd now has stat64.
5763742f
UD
1841 * elf/Makefile: Likewise.
1842 * elf/dl-load.c: Likewise.
1843 * elf/dl-misc.c: Likewise.
1844 * elf/dl-profile.c: Likewise.
1845 * sysdeps/generic/sysd-link.h: Removed.
1846 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
1847
1848 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
1849 thread event callback function.
1850 (__aio_notify_only): Use function above.
1851 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
1852
dee6b86d
MK
18532000-08-16 Mark Kettenis <kettenis@gnu.org>
1854
1855 * sysdeps/mach/hurd/lseek64.c: New file.
1856
724000bc
MK
18572000-08-15 Mark Kettenis <kettenis@gnu.org>
1858
1859 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
1860 Remove typedefs.
1861 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
1862 typedefs.
1863 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
1864 typedefs.
1865 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
1866
fd811dc6
MK
18672000-08-15 Mark Kettenis <kettenis@gnu.org>
1868
1869 * sysdeps/mach/hurd/xstatconv.c: New file.
1870 * sysdeps/mach/hurd/fxstat64.c: New file.
1871 * sysdeps/mach/hurd/lxstat64.c: New file.
1872 * sysdeps/mach/hurd/xstat64.c: New file.
1873 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
1874
3142475c
MK
18752000-08-15 Mark Kettenis <kettenis@gnu.org>
1876
1877 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
1878 Initialize, needed for change in common symbol handling in newer
1879 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
1880
07a3d63e
UD
18812000-08-15 Ulrich Drepper <drepper@redhat.com>
1882
805d2e7d
UD
1883 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
1884 * elf/constload2.c: Add destructor to unload constload3.
1885
fc7f617d
UD
1886 * include/link.h: Include sysd-link.h.
1887 * sysdeps/generic/sysd-link.h: New file.
1888 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
1889 * elf/Makefile (distribute): Add sysd-link.h.
1890 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
1891 types and functions directly.
1892 * elf/dl-misc.c: Likewise.
1893 * elf/dl-profile.c: Likewise.
1894
1895 * elf/loadfail.c (main): Close all successfully loaded objects.
1896
07a3d63e
UD
1897 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
1898 free wd.
1899 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
1900 there is already one.
1901
1902 * elf/dl-close.c: Pretty print.
1903
a6bd56c7
UD
19042000-08-14 Ulrich Drepper <drepper@redhat.com>
1905
b8fd5502
UD
1906 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
1907 global (with file scope). Add __libc_subfreeres function to free the
1908 string.
1909 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
1910 in ttyname function.
1911
1912 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
1913
1914 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
1915
1916 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
1917 mapping them to /x5c and /x7e respectively.
1918
a6bd56c7
UD
1919 * locale/programs/ld-ctype.c: Add support for more definitions after
1920 copy statement.
1921
14860991
UD
19222000-08-14 Jakub Jelinek <jakub@redhat.com>
1923
1924 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
1925 * sysdeps/unix/sysv/linux/kernel-features.h
1926 (__ASSUME_GETDENTS64_SYSCALL): Define.
1927 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
1928 syscall if available to get d_type fields.
1929 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
1930 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
1931 __lxstat64): Export at GLIBC_2.2.
1932 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
1933 Likewise.
1934 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
1935 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
1936 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
1937 getdirentries64, versionsort64): Remove.
1938 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
1939 getdirentries64, versionsort64): Remove.
1940
47b853e8
UD
19412000-08-13 Ulrich Drepper <drepper@redhat.com>
1942
1943 * posix/Makefile: Remove rules to generate glob package.
1944
1945 * posix/Makefile (tests): Add tst-regexloc.
1946 (tst-regexloc-ENV): Add LOCPATH.
1947 * posix/tst-regexloc.c: New file.
1948
91bc38d0
UD
19492000-08-12 Andreas Jaeger <aj@suse.de>
1950
1951 * include/features.h (__STDC_ISO_10646__): Define.
1952 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
1953
7e3399b3
UD
19542000-08-13 Ulrich Drepper <drepper@redhat.com>
1955
91bc38d0
UD
1956 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
1957
1958 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
1959 for revision 6 and up).
1960
1961 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
1962 including <time.h>.
1963 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
1964 to get definitions of just these types.
1965
1966 * signal/signal.h: Define thread signal handling functions also for
1967 POSIX95.
1968
1969 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
1970 POSIX95.
1971 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1972 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
1973 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1974 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1975
1976 * sysvipc/sys/shm.h: Define pid_t for XPG.
1977
8de72f53
UD
1978 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
1979 they are not anymore required here.
1980
91bc38d0
UD
1981 * wcsmbs/wchar.h: Make the various wide char string and stream
1982 functions available for the respective XPG versions.
1983
7e3399b3
UD
1984 * nss/Makefile: Remove rules to build and distribute nss_db.
1985
1986 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
1987 * sysdeps/generic/scandir64.c: Likewise.
1988 * sysdeps/generic/versionsort64.c: Likewise.
1989
319d719d
UD
19902000-08-13 Ulrich Drepper <drepper@redhat.com>
1991 Benjamin Koznik <bkoz@redhat.com>
1992
1993 * libio/fileops.c: Merge with libstdc++-v3.
1994 * libio/genops.c: Likewise.
1995 * libio/iofclose.c: Likewise.
1996 * libio/iofopen.c: Likewise.
1997 * libio/iofwide.c: Likewise.
1998 * libio/libio.h: Likewise.
1999 * libio/libioP.h: Likewise.
2000 * libio/stdfiles.c: Likewise.
2001 * libio/stdio.c: Likewise.
2002 * libio/wfileops.c: Likewise.
2003 * libio/wgenops.c: Likewise.
2004
2005 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
2006
8868f97b
UD
20072000-08-12 Ulrich Drepper <drepper@redhat.com>
2008
8a82cc30
UD
2009 * locale/programs/localedef.c: Implement --prefix option to allow
2010 writing in standard places of alternative install directories.
2011
8868f97b
UD
2012 * posix/regex.c (compile_range): Implement collation sequence
2013 handling for glibc. Use simple character ordering otherwise and
2014 not strcoll.
2015
451fc032
UD
20162000-08-12 Mark Kettenis <kettenis@gnu.org>
2017
2018 * sysdeps/generic/scandir64.c: Include <dirent.h>.
2019
2390667f
UD
20202000-08-12 Andreas Jaeger <aj@suse.de>
2021
2022 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
2023 __USE_FILE_OFFSET64 correctly for locking.
2024 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2025
00c02822
UD
20262000-08-12 Jakub Jelinek <jakub@redhat.com>
2027
2028 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2029 Define for 2.4.1 on sparc as well.
2030 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
2031 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2032 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
2033 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
2034
977588cd
UD
20352000-08-12 Ulrich Drepper <drepper@redhat.com>
2036
2037 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
2038 defined.
2039
590a6393
UD
20402000-08-12 Andreas Jaeger <aj@suse.de>
2041
facd11c2
AJ
2042 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
2043 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
2044
e762517d
AJ
2045 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
2046 mips2 for assembler.
2047
590a6393
UD
2048 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
2049 if fnctl64 is not available for F_*LK*64.
2050
2051 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
2052
21f6a100
UD
20532000-08-12 Ulrich Drepper <drepper@redhat.com>
2054
2055 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2056 Define for 2.4.1 on x86.
2057 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
2058 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
2059 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2060
2061 * dirent/dirent.h: Define DT_WHT.
2062
2063 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
2064 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
2065 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
2066 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
2067 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
2068 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
2069
56ddf355
UD
20702000-08-11 Ulrich Drepper <drepper@redhat.com>
2071
8337f053
UD
2072 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
2073 lookup, pass pointer to array with NULL pointer [PR libc/1858].
11a9c0ce
UD
2074 * inet/Makefile (tests): Add tst-gethnm.
2075 * inet/tst-gethnm.c: New file.
8337f053 2076
56ddf355
UD
2077 * rt/aio_cancel.c: If canceling a specific request which is running
2078 *really* do nothing.
2079 * rt/aio_misc.h: Add `done' to states of a request.
2080 * rt/aio_misc.c: Add several tests for the correct state.
2081 Simplify request table memory handling.
2082
20832000-08-10 Jakub Jelinek <jakub@redhat.com>
2084
2085 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
2086 * dirent/scandir64.c: Move...
2087 * sysdeps/generic/scandir64.c: ...here.
2088 * dirent/alphasort64.c: Move...
2089 * sysdeps/generic/alphasort64.c: ...here.
2090 * dirent/versionsort64.c: Move...
2091 * sysdeps/generic/versionsort64.c: ...here.
2092 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
2093 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
2094 Export symbols at GLIBC_2.2.
2095 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
2096 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
2097 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
2098 __versionsort64): Add prototypes.
2099 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
2100 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
2101 unused prototype.
2102 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
2103 and GLIBC_2.2.
2104 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
2105 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
2106 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
2107 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
2108 __u_quad_t.
2109 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
2110 Adjust for kernel-2.4.0-test6 layout.
2111 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
2112 GLIBC_2.1 and GLIBC_2.2.
2113 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
2114 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
2115 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
2116 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
2117 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
2118 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
2119 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
2120 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
2121 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
2122 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
2123 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
2124 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
2125 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
2126 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
2127 __u_quad_t.
2128 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
2129 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
2130 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
2131 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
2132 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
2133 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
2134 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
2135 __u_quad_t.
2136 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
2137 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
2138 Define.
2139 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
2140 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
2141 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
2142 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
2143 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
2144 Define.
2145 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
2146 alpha/readdir.c.
2147 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
2148 alpha/readdir_r.c
2149 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
2150 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
2151 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
2152 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
2153 st_ino from __st_ino.
2154 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2155 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2156 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
2157 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
2158 set __st_ino in addition to st_ino.
2159 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
2160 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
2161 __old_getdents64 as well.
2162 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
2163 getdirentries64 and old_getdirentries64 as well.
2164 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
2165 __GETDENTS): Define.
2166 (GETDENTS64): Remove.
2167 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
2168 Define.
2169 (GETDENTS64): Remove.
2170 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
2171 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
2172 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
2173 as well.
2174 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
2175 __old_readdir64_r as well.
2176 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2177 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
2178
1a5b42af
UD
21792000-08-08 Jes Sorensen <jes@linuxcare.com>
2180
56ddf355 2181 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
1a5b42af
UD
2182 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
2183 define of the kernel.
2184 Add missing __SEG_PSTKOVF definition.
2185 Adjust the padding of struct siginfo and struct sigevent to
2186 match the fact that sigval_t is 64 bit.
2187
3459f702
UD
21882000-08-10 Ulrich Drepper <drepper@redhat.com>
2189
2190 * timezone/zic.c: Update from tzcode2000f.
2191 * timezone/australasia: Update from tzdata2000f.
2192 * timezone/europe: Likewise.
2193 * timezone/southamerica: Likewise.
2194 * timezone/yearistype: Likewise.
2195
5c75f32d
AJ
21962000-08-10 Andreas Jaeger <aj@suse.de>
2197
2198 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
2199 stat with current MIPS kernel.
2200
835bf8e0
UD
22012000-08-01 Mark Kettenis <kettenis@gnu.org>
2202
2203 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
2204 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
2205 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
2206 Remove the junk that's only relevant in the Linux kernel itself.
2207 Add a warning saying that this file is now obsolete, and include
2208 <sys/procfs.h>.
2209 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
2210 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
2211 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
2212 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
2213 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
2214 and add the notice that the file is primarily there for GDB.
2215 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
2216
22172000-08-09 Jakub Jelinek <jakub@redhat.com>
2218
2219 * time/tzfile.c (__tzfile_compute): __tzstring zones
2220 from zone_names.
2221
22222000-08-09 Jakub Jelinek <jakub@redhat.com>
2223
2224 * resolv/resolv.h (__res_state): Surround prototype with
2225 __BEGIN_DECLS/__END_DECLS.
2226 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
2227
22282000-08-04 Jes Sorensen <jes@linuxcare.com>
2229
2230 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
2231 Make independant of asm/resource.h from the Linux kernel.
2232
22332000-08-06 Bruno Haible <haible@clisp.cons.org>
2234
2235 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
2236
22372000-08-06 Bruno Haible <haible@clisp.cons.org>
2238
2239 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
2240 * locale/Makefile (locale-CPPFLAGS): Likewise.
2241
22422000-08-09 Ulrich Drepper <drepper@redhat.com>
2243
2244 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
2245 for AMD processors.
2246
22472000-08-03 Jakub Jelinek <jakub@redhat.com>
2248
2249 * misc/Versions (mincore): Export at GLIBC_2.2.
2250
22512000-08-03 Bruno Haible <haible@clisp.cons.org>
2252
2253 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
2254
36f7b1df
MK
22552000-08-02 Mark Kettenis <kettenis@gnu.org>
2256
2257 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
2258 socketpair. Made socketpair a weak alias.
2259 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
2260 __socketpair. Use S_IFIFO protocol to make pipes POSIX
2261 conforming, but fall back on the old protocol if the socket server
2262 doesn't support it.
2263 * include/sys/socket.h: Add prototype for __socketpair.
2264
1d2f626e
AS
22652000-08-09 Andreas Schwab <schwab@suse.de>
2266
1000d1e5
AS
2267 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
2268 long long modifier is seen.
2269
bce0e517
AS
2270 * elf/nodelete.c (do_test): Remove reference to undefined member
2271 sa_restorer.
2272 * rt/tst-aio4.c (do_test): Likewise.
2273
1d2f626e
AS
2274 * configure.in: Add `-lm' when checking for libgd.
2275 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
2276 linking.
2277
2bbc70d5
AJ
22782000-08-09 Andreas Jaeger <aj@suse.de>
2279
2280 * configure.in: Change required make versions.
2281
2282 * manual/install.texi (Tools for Compilation): Document required
2283 make version.
2284 (Supported Configurations): Update list of supported
2285 configurations.
835bf8e0 2286
d364e525
UD
22872000-08-08 Ulrich Drepper <drepper@redhat.com>
2288
2289 * locale/linereader.c (get_string): Don't print an error is a string
2290 contains an unknown character.
2291
91933d23
UD
22922000-08-06 Ulrich Drepper <drepper@redhat.com>
2293
2294 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
2295 (new_symbol): Take new parameters with name of the symbol.
2296 Adjust callers.
2297 (handle_ellipsis): Don't only allow character symbols.
2298 (collate_read): Allow string of collating elements contain invalid
2299 characters; ignore entry in this case.
2300 Handle ellipsis of collating symbols before first order_start.
2301 Allow ellipsis in state 0.
2302
21b2be88
UD
23032000-08-04 Ulrich Drepper <drepper@redhat.com>
2304
2305 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
2306 error message.
2307 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2308
13550428
GM
23092000-08-04 Greg McGary <greg@mcgary.org>
2310
2311 * posix/regex.c (SET_HIGH_BOUND): New macro.
2312 (MOVE_BUFFER_POINTER): Use it.
2313 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
2314 (EXTEND_BUFFER): Use it.
2315
faf8ccab
UD
23162000-08-03 Ulrich Drepper <drepper@redhat.com>
2317
2318 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
2319 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
2320 _wide_data but from _IO_FILE directly.
2321 * libio/iofclose.c: Likewise.
2322 * libio/wfileops.c: Likewise.
2323
2324 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
2325 * libio/libioP.h: Change prototypes.
2326
7f6f3e35
GM
23272000-08-03 Greg McGary <greg@mcgary.org>
2328
eb48f491
GM
2329 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
2330 frame pointer early so that we save caller's frame pointer.
2331 * sysdeps/i386/elf/setjmp.S: Likewise.
2332
7f6f3e35
GM
2333 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
2334 * io/test-utime.c: Test passing NULL as utimbuf* arg.
2335
2336 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
2337 (MOVE_BUFFER_POINTER): Handle high_bound properly.
2338 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
2339
139a4d95
UD
23402000-08-03 Ulrich Drepper <drepper@redhat.com>
2341
2342 * iconvdata/big5.c: Updated.
2343 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2344
aaf688e8
UD
23452000-08-02 Ulrich Drepper <drepper@redhat.com>
2346
2347 * Makeconfig (all-subdirs): Add conform.
2348 * conform/Makefile: Include ../Rules.
2349
2350 * Makefile (README): Add rules to generate here as well.
2351
ea1c96f5
UD
23522000-08-02 Ulrich Drepper <drepper@redhat.com>
2353
bf3888be
UD
2354 * version.h (VERSION): Bump to 2.1.92.
2355
74dd1fee
UD
2356 * sysdeps/ia64/Dist: Add _mcount.S.
2357
2358 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
2359
2360 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
2361
2362 * elf/Makefile (distribute): Add missing modules.
2363
349e00ef
UD
2364 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
2365
21b2be88 2366 * posix/regex.c (compile_range): Translate range start and end
f6cfb13f
UD
2367 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
2368
cfd57cdc
UD
2369 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
2370 asm/resource.h.
2371
ea1c96f5
UD
2372 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
2373
847b055c
AJ
23742000-08-02 Andreas Jaeger <aj@suse.de>
2375
3d2b5f69
AJ
2376 * elf/elf.h (EM_S390): Added.
2377 (R_390_*): New relocs for S390.
2378
847b055c
AJ
2379 * sysdeps/unix/sysv/linux/s390/Dist: New file.
2380 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
2381 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
2382 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
2383 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
2384 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2385 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
2386 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
2387 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
2388 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
2389 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
2390 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
2391 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
2392 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
2393 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
2394 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
2395 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
2396 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
2397 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
2398 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
2399 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
2400 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
2401 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
2402 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
2403 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
2404 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
2405 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
2406 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
2407 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
2408 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
2409 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
2410 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
2411 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
2412 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
2413 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
2414 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
2415 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
2416 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
2417 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
2418 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
2419 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
2420 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
2421 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
2422 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
2423 * sysdeps/s390/sysdep.h: New file.
2424 * sysdeps/s390/sys/ucontext.h: New file.
2425 * sysdeps/s390/sub_n.S: New file.
2426 * sysdeps/s390/strncpy.S: New file.
2427 * sysdeps/s390/strcpy.S: New file.
2428 * sysdeps/s390/stackinfo.h: New file.
2429 * sysdeps/s390/setjmp.S: New file.
2430 * sysdeps/s390/s390-mcount.S: New file.
2431 * sysdeps/s390/mul_1.S: New file.
2432 * sysdeps/s390/memusage.h: New file.
2433 * sysdeps/s390/memset.S: New file.
2434 * sysdeps/s390/memcpy.S: New file.
2435 * sysdeps/s390/memchr.S: New file.
2436 * sysdeps/s390/machine-gmon.h: New file.
2437 * sysdeps/s390/ldbl2mpn.c: New file.
2438 * sysdeps/s390/gmp-mparam.h: New file.
2439 * sysdeps/s390/fpu/fpu_control.h: New file.
2440 * sysdeps/s390/fpu/fesetround.c: New file.
2441 * sysdeps/s390/fpu/fegetround.c: New file.
2442 * sysdeps/s390/fpu/fclrexcpt.c: New file.
2443 * sysdeps/s390/fpu/bits/fenv.h: New file.
2444 * sysdeps/s390/ffs.c: New file.
2445 * sysdeps/s390/elf/start.S: New file.
2446 * sysdeps/s390/elf/setjmp.S: New file.
2447 * sysdeps/s390/elf/bsd-setjmp.S: New file.
2448 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
2449 * sysdeps/s390/dl-machine.h: New file.
2450 * sysdeps/s390/bzero.S: New file.
2451 * sysdeps/s390/bsd-setjmp.S: New file.
2452 * sysdeps/s390/bsd-_setjmp.S: New file.
2453 * sysdeps/s390/bits/string.h: New file.
2454 * sysdeps/s390/bits/setjmp.h: New file.
2455 * sysdeps/s390/bits/huge_val.h: New file.
2456 * sysdeps/s390/bits/endian.h: New file.
2457 * sysdeps/s390/bits/byteswap.h: New file.
2458 * sysdeps/s390/bcopy.S: New file.
2459 * sysdeps/s390/backtrace.c: New file.
2460 * sysdeps/s390/atomicity.h: New file.
2461 * sysdeps/s390/asm-syntax.h: New file.
2462 * sysdeps/s390/addmul_1.S: New file.
2463 * sysdeps/s390/add_n.S: New file.
2464 * sysdeps/s390/abort-instr.h: New file.
2465 * sysdeps/s390/__longjmp.c: New file.
2466 * sysdeps/s390/Makefile: New file.
2467 * sysdeps/s390/Implies: New file.
2468 * sysdeps/s390/Dist: New file.
2469 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
2470
ca8d5a5f
UD
24712000-08-01 Ulrich Drepper <drepper@redhat.com>
2472
be18eced
UD
2473 Remove incompatible IPv6 extension of RPC.
2474 * sunrpc/Makefile: Undo changes.
2475 * sunrpc/rpc_main.c: Likewise.
2476 * sunrpc/rpc/clnt.h: Likewise.
2477 * sunrpc/rpc/svc.h: Likewise.
2478 * sunrpc/bindrsvprt6.c: Removed.
2479 * sunrpc/clnt_tcp6.c: Removed.
2480 * sunrpc/clnt_udp6.c: Removed.
2481 * sunrpc/svc_tcp6.c: Removed.
2482 * sunrpc/svc_udp6.c: Removed.
2483
2484 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
2485 dgettext, and dcgettetxt.
2486
2487 * intl/locale.alias: Update japanese aliases.
2488
ca8d5a5f
UD
2489 * sysdeps/ia64/bits/byteswap.h: New file.
2490 Patch by Dan Pop <Dan.Pop@cern.ch>.
2491
2492 * misc/sys/cdefs.h: Define __attribute_format_arg__.
2493 * intl/libintl.h: Use it here instead of using __attribute__ directly.
2494
24952000-07-13 H.J. Lu <hjl@gnu.org>
2496
2497 * posix/regex.c (re_max_failures): Set to 4000.
2498
8fb81470
UD
24992000-08-01 Ulrich Drepper <drepper@redhat.com>
2500
2501 * gnulib/Makefile (tests): Add tst-gcc.
2502 * gnulib/tst-gcc.c: New file.
2503
2504 * assert/Makefile (routines): Add __assert.
2505 * assert/Versions: Export __assert for glibc 2.2.
2506 * assert/__assert.c: New file.
2507 * assert/assert.h: Declare __assert.
2508
25092000-07-27 Bruno Haible <haible@clisp.cons.org>
2510
2511 * locale/localeinfo.h (_ISCTYPE): New macro.
2512 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
2513 LC_CTYPE locale format.
2514 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
2515 (ctype_output): Output class_b[nr] right before class_3level[nr].
2516 (allocate_arrays): Fill class_b, similarly to class_3level.
2517
925e31d9
UD
25182000-08-01 Ulrich Drepper <drepper@redhat.com>
2519 Joseph S. Myers <jsm28@cam.ac.uk>
2520
2521 * math/tgmath.h: Make standard compliant. Don't ask how.
2522
25232000-07-04 H.J. Lu <hjl@gnu.org>
2524
2525 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
2526 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
2527 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
2528
25292000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2530
2531 * include/features.h (_XOPEN_SOURCE): Update the explanation.
2532 (__USE_LARGEFILE): Add an explanation.
2533 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
2534 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
2535
25362000-08-01 Ulrich Drepper <drepper@redhat.com>
2537
2538 * libio/Makefile: Enable exception handling for genops, wgenops,
2539 fileops, and wfileops.
2540
15f033cf
MK
25412000-07-29 Mark Kettenis <kettenis@gnu.org>
2542
2543 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
2544 acount that elf/rtld's main program might remove some varibales
2545 from the environment if we're trying to be secure. Move the Hurd
2546 startup data if necessary, or, if we there is no startup data,
2547 make sure the magical convention that ARGV[0] is stored just after
2548 the environment list.
2549
b73204bf
UD
25502000-08-01 Philip Blundell <philb@gnu.org>
2551
2552 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
2553 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
2554 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
2555 oldsetrlimit for GLIBC_2.0.
2556
5cc90078
AJ
25572000-08-01 Andreas Jaeger <aj@suse.de>
2558
9bd0bec2 2559 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
b73204bf
UD
2560 (LINE_PARSER): Allow any number of spaces between ip address and
2561 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
9bd0bec2 2562
eba8c0e2
AJ
2563 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
2564
2565 * include/netdb.h: Remove getipnodebyaddr and friends, leave
2566 constants in.
2567
2568 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
2569 _nss_nisplus_getipnodebyname_r.
2570
2571 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
2572 now, getipnodebyname is deprecated.
b73204bf
UD
2573 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
2574 Likewise.
eba8c0e2
AJ
2575
2576 * inet/Makefile (routines): Don't build getipnodebyaddr and
2577 friends.
2578
4df4f8b1
AJ
2579 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
2580
5cc90078
AJ
2581 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
2582
2583 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
2584
2585 * wctype/Makefile (distribute): Add wchar-lookup.h.
2586
4df4f8b1 2587 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
5cc90078
AJ
2588
2589 * iconvdata/Makefile (distribute): Add isiri-3342.h.
2590
db54bbfb
AJ
25912000-08-01 Andreas Schwab <schwab@suse.de>
2592
b73204bf 2593 * Make-dist (dist): Resolve `..' in file names.
db54bbfb 2594
d9fd4f33
AJ
25952000-08-01 Andreas Jaeger <aj@suse.de>
2596
2597 * stdio-common/Makefile (distribute): Remove removed files, add
2598 new files.
2599
2600 * Makefile (distribute): Remove include/db_185.h and db.h.
2601
2602 * include/db_185.h: Remove, it's not needed anymore.
2603 * include/db.h: Likewise.
2604
6eace24c
UD
26052000-07-31 Ulrich Drepper <drepper@redhat.com>
2606
68c685f9 2607 * inet/Makefile (tests): Remove tst-ipnode.
6eace24c
UD
2608 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
2609 now.
2610
ed80b9ee
UD
26112000-07-31 Jes Sorensen <jes@linuxcare.com>
2612
2613 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
2614 endp statements have already been added.
2615
26162000-04-18 David Mosberger <davidm@hpl.hp.com>
2617
2618 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
2619 <sysdeps/ia64/sysdep.h>.
2620
2621 * sysdeps/ia64/_mcount.S: New file.
2622
2623 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
2624 __gmon_start__. Fix up extraneous whitespace.
2625
26262000-01-12 H.J. Lu <hjl@gnu.org>
2627
2628 * sysdeps/ia64/elf/initfini.c: New file.
2629
26302000-07-31 Jes Sorensen <jes@linuxcare.com>
2631
2632 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
2633 dependency between branch and ar.pfs write.
2634
a535ce14
UD
26352000-07-31 H.J. Lu <hjl@gnu.org>
2636
2637 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
2638 handle the wchar_t array.
2639
b3cedb09
UD
26402000-07-31 Ulrich Drepper <drepper@redhat.com>
2641
2642 * iconvdata/gb18030.c: Don't map to and from positions in ISO
2643 10646 which are not yet assigned.
2644 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
2645
b669ab02
UD
26462000-07-31 Andreas Jaeger <aj@suse.de>
2647
2648 * inet/Versions: Remove getipnodebyaddr and friends from
2649 GLIBC_2.2.
2650
2651 * resolv/netdb.h: Remove getipnodebyaddr and friends.
2652
5134584a
UD
26532000-07-30 Bruno Haible <haible@clisp.cons.org>
2654
2655 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
2656 ch >= 0x81 && ch2 < 0x40 as invalid.
2657
26582000-07-30 Bruno Haible <haible@clisp.cons.org>
2659
2660 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
2661 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
2662
26632000-07-30 Bruno Haible <haible@clisp.cons.org>
2664
2665 * iconvdata/johab.c (BODY for TO_LOOP): After calling
2666 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
2667
26682000-07-30 Bruno Haible <haible@clisp.cons.org>
2669
2670 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
2671 0xb8.
2672 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
2673
26742000-07-30 Bruno Haible <haible@clisp.cons.org>
2675
2676 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
2677
26782000-07-30 Bruno Haible <haible@clisp.cons.org>
2679
2680 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
2681 (from_ucs4): Change values of U+00A4 and U+00ED.
2682 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
2683
26842000-07-30 Bruno Haible <haible@clisp.cons.org>
2685
2686 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
2687 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
2688
26892000-07-30 Bruno Haible <haible@clisp.cons.org>
2690
2691 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
2692 * iconvdata/isiri-3342.h: New file.
2693 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
2694 treat 0x80 as a gap.
2695
26962000-07-30 Bruno Haible <haible@clisp.cons.org>
2697
2698 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
2699 (utf8_encode): Use simple shifts instead. Fix return value.
2700
89533d41
UD
27012000-07-31 Ulrich Drepper <drepper@redhat.com>
2702
2703 * timezone/private.h: Update from tzcode2000e.
2704 * timezone/asia: Update from tzdata2000e.
2705 * timezone/australasia: Likewise.
2706 * timezone/europe: Likewise.
2707 * timezone/northamerica: Likewise.
2708 * timezone/zone-tab: Likewise.
2709
9316fb42
AJ
27102000-07-30 Ralf Baechle <ralf@gnu.org>
2711
2712 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
2713 the order of struct sigaltstack members is different.
2714
e6cc1ee3
UD
27152000-07-26 Philip Blundell <philb@gnu.org>
2716
2717 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
2718
a9706118
UD
27192000-07-29 Ulrich Drepper <drepper@redhat.com>
2720
2721 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
2722 * locale/programs/ld-ctype.c: Adjust for this.
2723
2724 * locale/programs/ld-collate.c: Add more alignment checks.
2725 * locale/string/strcoll.c: Likewise.
2726
27272000-07-30 Mark Kettenis <kettenis@gnu.org>
2728
2729 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
2730 outside USE_IN_LIBIO block.
2731
fb032fbd
UD
27322000-07-26 Philip Blundell <philb@gnu.org>
2733
2734 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
2735 (elf_machine_rel): Use it for out-of-range PC24 relocs.
2736
497b8ef4
UD
27372000-07-28 Philip Blundell <philb@gnu.org>
2738
2739 * math/test-fpucw.c: Ignore reserved bits in control word.
2740
27412000-07-28 Philip Blundell <philb@gnu.org>
2742
2743 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
2744 (ret): Redefine to PSEUDO_RET.
2745 (PSEUDO): Remove jump to syscall_error.
2746
27472000-07-29 Mark Kettenis <kettenis@gnu.org>
2748
2749 * resolv/README: Add some information about using the resolver in
2750 multi-threaded code and with C++. Spelling fixes.
2751
27522000-07-29 Mark Kettenis <kettenis@gnu.org>
2753
2754 * resolv/resolv.h (struct __sockaddr_in): Remove.
2755 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
2756
41d998a6
GM
27572000-07-29 Greg McGary <greg@mcgary.org>
2758
2759 * Rules (test-bp-inputs, make-test-out): New variables.
2760 ($(objpfx)%-bp.out): New rule.
2761 ($(objpfx)%.out): Rewrite in terms of new variables.
2762
2763 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
2764 internal function that uses vtable.
2765 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2766 * libio/vswprintf.c (_IO_vswprintf): Likewise.
2767
2768 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
2769 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
2770 (chunk_align): Likewise.
2771
2772 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
2773 in a way that conforms to decl, and avoids spurious bounds violation.
2774
2775 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
2776 * sysdeps/generic/frame.h: Likewise.
2777 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
2778 around return value.
2779 (__backtrace): Qualify frame-pointer chain and return address
2780 pointers as __unbounded. Wrap bounds around variable `current'.
2781 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
2782 around return value.
2783 (catch_segfault): Qualify frame-pointer chain and return address
2784 pointers as __unbounded. Wrap bounds around variable `current'.
2785 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
2786 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
497b8ef4
UD
2787 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
2788 __unbounded.
41d998a6
GM
2789 (__backtrace): Qualify frame-pointer chain and return address
2790 pointers as __unbounded. Wrap bounds around variable `current'.
2791
2792 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
2793 * sysdeps/i386/mul_1.S: Likewise.
2794 * sysdeps/i386/submul_1.S: Likewise.
2795 * sysdeps/i386/i586/addmul_1.S: Likewise.
2796 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
2797 * sysdeps/i386/i586/submul_1.S: Likewise.
2798
7f394842
AJ
27992000-07-27 Andreas Jaeger <aj@suse.de>
2800
2801 * libio/Depend: New file, libio needs localedata for tests.
2802 * posix/Depend: Likewise.
2803
69c69fe1
UD
28042000-07-28 Ulrich Drepper <drepper@redhat.com>
2805
2806 * stdio-common/_i18n_itoa.c: Removed.
2807 * stdio-common/_i18n_itoa.h: Removed.
2808 * stdio-common/_i18n_itowa.c: Removed.
2809 * stdio-common/_i18n_itowa.h: Removed.
2810 * stdio-common/_i18n_number.h: New file.
2811 * stdio-common/Depend: New file.
2812 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
2813 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
2814 printing. Change printing of numbers with locale specific digits to
2815 use new code in _i18n_number.h.
c1d835ce
UD
2816 * stdio-common/Makefile (routines): Remove _i18n_itoa and
2817 _i18n_itowa.
69c69fe1
UD
2818
2819 * stdio-common/bug13.c: Improve messages.
2820
2821 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
2822 (set_class_defaults): Always search also for Uxxxx names.
2823 Detect insufficient number of outdigits.
2824
2825 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
2826
5e463393
UD
28272000-07-27 Bruno Haible <haible@clisp.cons.org>
2828
2829 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
2830 _NL_CTYPE_MAP_NAMES.
2831 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
2832 * wctype/wcfuncs.c (towlower, towupper): Use them.
2833 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
2834 * wctype/wctrans.c (wctrans): Likewise.
2835 * wctype/wctrans_l.c (__wctrans_l): Likewise.
2836
28372000-07-27 Bruno Haible <haible@clisp.cons.org>
2838
2839 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
2840 Use the optimized version of this function outside glibc as well.
2841
eac4282f
UD
28422000-07-27 Jakub Jelinek <jakub@redhat.com>
2843
2844 * locale/indigits.h (indigit_value): Correct.
2845 * locale/indigitswc.h (indigitwc_value): Correct.
2846 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
2847 conversion, add GROUP checking for it, fix GROUP number
2848 conversion with strlen(thousands) > 1.
2849 Honour width correctly in the presence of floating
2850 decimal points and thousands separators.
2851 * stdio-common/tst-sscanf.c: New test.
2852 * stdio-common/Makefile: Add it to tests.
2853 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
2854 thousands separators and group argument is non-zero.
2855
f3cfed61
AJ
28562000-07-25 Bruno Haible <haible@clisp.cons.org>
2857
2858 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
2859 starts at GLIBC_2.2.
2860
af9a0841
AJ
28612000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2862
2863 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
2864 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
2865 _test_and_set.
2866 (headers): Add sys/tas.h.
2867 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
2868 GLIBC_2.2 from libc.
2869 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
2870 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
2871 _test_and_set.
2872
00213fe4
AJ
28732000-07-28 Andreas Jaeger <aj@suse.de>
2874
2875 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
2876
2877 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
2878 ($(objpfx)tst-dladdr.out): new.
2879 (tests): Add tst-dladdr.
2880 ($(objpfx)glrefmain): Use libdl.
2881
2882 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
2883 <vs@caldera.de>.
af9a0841 2884
51f46f92
UD
28852000-07-27 Jes Sorensen <jes@linuxcare.com>
2886
2887 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
2888 ftruncate(64) calls.
2889
e4a0c468
UD
28902000-07-27 Jes Sorensen <jes@linuxcare.com>
2891
2892 * intl/tst-translit.c: Include string.h to get prototype for
2893 strcmp().
2894
37d33038
UD
28952000-07-27 Jes Sorensen <jes@linuxcare.com>
2896
2897 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
2898 name and add weak alias for __fork.
2899
2900 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
2901 & pwrite to use __libc_<name> as strong names instead of
2902 __syscall_<name>.
2903
2904 * include/sched.h: Add clone2 prototype.
2905
29062000-07-26 Jes Sorensen <jes@linuxcare.com>
2907
2908 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
2909 procedure name twice.
2910
29112000-07-27 Philip Blundell <philb@gnu.org>
2912
2913 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
2914
aef116ea
AJ
29152000-07-27 Andreas Jaeger <aj@suse.de>
2916
64c81855
AJ
2917 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
2918 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
2919 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
eac4282f 2920 Reported by Andi Kleen <ak@suse.de>.
64c81855 2921
aef116ea
AJ
2922 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
2923 (do_wait): Test requests with aio_return64.
2924 (do_test): Change callers of do_wait.
2925
92806ee9
UD
29262000-07-26 Andreas Jaeger <aj@suse.de>
2927
2928 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
2929 (do_wait): Test requests with aio_return.
2930 (do_test): Change callers of do_wait.
2931
29322000-07-27 Ulrich Drepper <drepper@redhat.com>
2933
2934 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
2935 from request list. Don't do the list handling here, call
2936 __aio_remove_request.
2937 * rt/aio_misc.h: Add prototype for __aio_remove_request.
2938 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
2939 request might already be processed. Don't do the list handling
2940 here, call __aio_remove_request.
2941
2942 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
2943 LIO_DSYNC.
2944
2945 * rt/aio_misc.c: Add comment explaining why writer memory barriers
2946 are missing.
2947
da8f38c5
GM
29482000-07-27 Greg McGary <greg@mcgary.org>
2949
2950 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
2951 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
2952 in union init. Pass zero for ignored semnum arg to semctl.
2953 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
2954
d25c879d
GM
29552000-07-26 Greg McGary <greg@mcgary.org>
2956
2957 * sysdeps/gnu/bits/msq.h: Qualify kernel's
2958 data structure pointers as __unbounded.
2959 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2960 * sysdeps/generic/bp-semctl.h: New file.
2961 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
2962 pointers as __unbounded. Check bounds of syscall args.
2963 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2964 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
2965 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2966 * sysdeps/unix/sysv/linux/semop.c: Likewise.
2967 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
2968 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2969 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
2970 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
2971 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
2972 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
2973 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
2974 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
2975 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
2976 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
2977 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
2978 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
2979
476b6d7f
UD
29802000-07-26 Ulrich Drepper <drepper@redhat.com>
2981
2982 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
2983 by default.
2984 * locale/C-ctype.c: Likewise.
2985 * wcsmbs/wcsmbsload.c: Likewise.
2986
2ed5fd9a
GM
29872000-07-26 Greg McGary <greg@mcgary.org>
2988
2989 * Makeconfig (+link-bounded, link-libc-bounded,
2990 link-extra-libs-bounded): New variables.
2991 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
2992 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
2993 * Rules (tests-bp.out): New variable.
2994 (tests): Conditionally add BP tests.
2995 (binaries-bounded): Add variable and associated rule.
2996 * csu/Makefile [build-bounded] (extra-objs, install-lib):
2997 Move conditional stuff after place where condition is defined.
2998
2999 * malloc/malloc.c (bp-checks.h): Add #include.
3000 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
3001 (_bin_at): Add unbounded version of bin_at.
3002 (IAV, chunk_alloc): Use unbounded _bin_at.
3003 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
3004 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
3005 Wrap BOUNDED_N around return value.
3006 (chunk_realloc): Adjust oldsize once.
3007
3008 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
3009 (__ubp_memchr): Add correct decl.
3010 (_CHECK_STRING): Use __ubp_memchr.
3011 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3012 New alias for unbounded-pointer __memchr.
3013 * sysdeps/i386/memchr.S: Likewise.
3014 * sysdeps/ia64/memchr.S: Likewise.
3015 * sysdeps/m68k/memchr.S: Likewise.
3016 * sysdeps/sparc/sparc32/memchr.S: Likewise.
3017 * sysdeps/sparc/sparc64/memchr.S: Likewise.
3018 * sysdeps/vax/memchr.s: Likewise.
3019
3020 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
3021 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
3022 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
3023 * sysdeps/i386/i686/strtok.S: Likewise.
3024 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
3025 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
3026
3027 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
3028 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
3029
3030 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
3031 bounds of copy_result to mount_proc.
3032
e04b831a
UD
30332000-07-25 Bruno Haible <haible@clisp.cons.org>
3034
3035 * wctype/wctype.h (__wctrans_l): New declaration.
3036 * wctype/wctrans_l.c: New file.
3037 * wctype/Makefile (routines): Add wctrans_l.
3038
10301ff8
UD
30392000-07-26 Ulrich Drepper <drepper@redhat.com>
3040
3041 * posix/fnmatch_loop.c: Fixes for use outside glibc.
3042 Patch by MacGyver <macgyver@tos.net>.
3043
9881cbf8
AJ
30442000-07-26 Andreas Jaeger <aj@suse.de>
3045
e04b831a
UD
3046 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
3047 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
9881cbf8
AJ
3048 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
3049
3050 * rt/tst-aio.c (test_file): Fix typo.
3051 * rt/tst-aio64.c (test_file): Likewise.
3052
3053 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
3054 * rt/Makefile: Add rules to build and run tst-aio3.
3055
3056 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
3057 it's not needed and confuses only.
3058
438e8239
UD
30592000-07-26 Ulrich Drepper <drepper@redhat.com>
3060
3061 * resolv/res_init.c: Add support for nameserver communication with
3062 IPv6.
3063 * resolv/res_send.c: Likewise.
3064 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
3065 in nsaddrs field.
3066 Patch by <venaas@nvg.ntnu.no>.
3067
ec08818d
UD
30682000-07-25 Bruno Haible <haible@clisp.cons.org>
3069
3070 * locale/programs/ld-ctype.c (wctype_table_get): New function.
3071 (wcwidth_table_get): New function.
3072 (wcwidth_table_add): Call it.
3073 (wctrans_table_get): New function.
3074 (wctrans_table_add): Call it.
3075
b7ed26c6
UD
30762000-07-25 Ulrich Drepper <drepper@redhat.com>
3077
025a5afa
UD
3078 * rt/lio_listio.c (lio_listio): Always disable individual
3079 notification.
3080 * rt/Makefile: Add rules to build and run tst-aio2.
3081 * rt/tst-aio2.c: New file.
3082
b7ed26c6
UD
3083 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
3084 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
3085
3452aba8
UD
30862000-07-25 Mark Kettenis <kettenis@gnu.org>
3087
3088 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
3089 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
3090 leading and trailing spaces from host, user and domain name.
3091
30922000-07-25 Jes Sorensen <jes@linuxcare.com>
3093
3094 * csu/defs.awk: Add support for need_endp.
3095
30962000-07-25 Mark Kettenis <kettenis@gnu.org>
3097
3098 * resolv/resolv.h: Remove __P from res_send_qhook and
3099 res_send_rhook typedefs.
3100
31012000-07-25 Bruno Haible <haible@clisp.cons.org>
3102
3103 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
3104
16093625
UD
31052000-07-25 Ulrich Drepper <drepper@redhat.com>
3106
3107 * iconv/gconv_builtin.h: Add WCHAR_T alias.
3108
2d3d740b
MK
31092000-07-25 Mark Kettenis <kettenis@gnu.org>
3110
3111 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
3112 calling thread, set the cancellation flag and return success
3113 instead of EINTR.
3114
d54adfd9
UD
31152000-07-25 Ulrich Drepper <drepper@redhat.com>
3116
a3b231b7
UD
3117 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
3118 * libio/tst-widetext.c: New file.
3119 * libio/tst-widetext.input: New file.
3120
3121 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
3122
70e392a3 3123 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
d54adfd9
UD
3124 empty external buffer correctly.
3125
7f6ba52f
AJ
31262000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3127
3128 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
3129 __STRING(entry) and not #entry.
3130 (_RTLD_EPILOGUE): Likewise.
3131 * sysdeps/mips/mips64/dl-machine.h: Likewise.
3132
31332000-07-25 Andreas Jaeger <aj@suse.de>
3134
3135 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
3136 according to changes in test program, run also with static only
3137 builds.
3138 ($(objpfx)tst-printf.out): Likewise.
3139
3140 * stdio-common/tst-unbputc.sh: Likewise.
3141 * stdio-common/tst-printf.sh: Likewise.
3142
9494452c
UD
31432000-07-25 Ulrich Drepper <drepper@redhat.com>
3144
11fd973a
UD
3145 * libio/wfileops.c (_IO_wdo_write): Correct return value.
3146
9494452c
UD
3147 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
3148 loop.
3149
3150 * libio/fileops.c: Pretty print.
3151
ef446144
UD
31522000-07-23 Bruno Haible <haible@clisp.cons.org>
3153
3154 * wctype/wchar-lookup.h: New file.
3155 * wctype/iswctype.c: Include "wchar-lookup.h".
3156 (__iswctype): Support alternate locale format with 3-level tables.
3157 * wctype/iswctype_l.c (__iswctype_l): Likewise.
3158 * wctype/towctrans.c (__towctrans): Likewise.
3159 * wctype/towctrans_l.c (__towctrans_l): Likewise.
3160 * wctype/wcfuncs.c: Include "wchar-lookup.h".
3161 (__ctype32_wctype, __ctype32_wctrans): Declare external.
3162 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
3163 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
3164 __iswxdigit, towlower, towupper): Support alternate locale format
3165 with 3-level tables.
3166 * wctype/wcextra.c (iswblank): Likewise.
3167 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
3168 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
3169 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
3170 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
3171 format with 3-level tables.
3172 * wctype/wcextra_l.c (__iswblank_l): Likewise.
3173 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
3174 format, return a 3-level table pointer.
3175 * wctype/wctype_l.c (__wctype_l): Likewise.
3176 * wctype/wctrans.c (wctrans): Likewise.
3177 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
3178 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
3179 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
3180 (iswctype): Remove macro definition.
3181 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
3182 (internal_wcwidth): Support alternate locale format with 3-level
3183 tables.
3184 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3185 New nl_items.
3186 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3187 Define them as being type "word".
3188 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
3189 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
3190 __ctype32_width): New exported variables.
3191 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
3192 alternate locale format. Don't initialize __ctype_names and
3193 __ctype_width in the alternate locale format.
3194 * locale/programs/localedef.h (oldstyle_tables): New declaration.
3195 * locale/programs/localedef.c (oldstyle_tables): New variable.
3196 (OPT_OLDSTYLE): New macro.
3197 (options): Add --old-style option.
3198 (parse_opt): Handle --old-style option.
3199 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
3200 map_offset, class_3level, map_3level, width_3level members.
3201 (ctype_output): Support for alternate locale format: Computation of
3202 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
3203 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
3204 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
3205 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
3206 now contain both class and map tables.
3207 (struct wctype_table): New type.
3208 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
3209 functions.
3210 (struct wcwidth_table): New type.
3211 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
3212 functions.
3213 (struct wctrans_table): New type.
3214 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
3215 functions.
3216 (allocate_arrays): Support for alternate locale format: Set
3217 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
3218 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
3219 to the first 256 characters. Compute ctype->map_3level. Set
3220 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
3221 instead of ctype->width.
3222
a64e8af1
UD
32232000-07-24 Ulrich Drepper <drepper@redhat.com>
3224
3225 * libio/iogetwline.c (_IO_getwline_info): Use wide character
3226 string functions.
3227
5bef2820
UD
32282000-07-24 Jakub Jelinek <jakub@redhat.com>
3229
3230 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
3231 in wide characters, not bytes.
3232 * libio/tst_putwc.c (do_test): Add test for writing lots of data
3233 into file.
3234
32352000-07-22 Bruno Haible <haible@clisp.cons.org>
3236
3237 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
3238 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
3239 LC_MEASUREMENT, LC_IDENTIFICATION.
3240
3241 * locale/xlocale.h (struct __locale_struct): Increase size of
3242 __locales array.
3243 * locale/duplocale.c (__duplocale): Copy newly added categories as
3244 well.
3245 * locale/freelocale.c (__freelocale): Free newly added categories.
3246 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
3247 If a base is given, use it, don't simply return it.
3248
32492000-07-22 Bruno Haible <haible@clisp.cons.org>
3250
3251 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
3252 variables, copied_key and copied_salt, instead of boolean variables.
3253
cddad6b2
AJ
32542000-07-24 Andreas Jaeger <aj@suse.de>
3255
02d0efdf
AJ
3256 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
3257 check for offset.
3258
3259 * grp/initgroups.c (initgroups_dyn_function): Renamed from
3260 initgroups_function, adopted prototype for change from 2000-07-23.
3261 (initgroups): Follow type change.
3262
9f4b36ca
AJ
3263 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
3264 & PAGE_MASK case, reformat.
3265
3266 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
3267 from stdin and setup environment.
cddad6b2 3268
9a18638a
AS
32692000-07-24 Andreas Schwab <schwab@suse.de>
3270
3271 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
3272
cf9e9ad9
UD
32732000-07-23 Ulrich Drepper <drepper@redhat.com>
3274
7603ea28
UD
3275 * string/endian.h: Explain the _*_ENDIAN constant values a bit
3276 more. Patch by scarlet@mit.edu [PR libc/1799].
3277
3278 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
3279 [PR libc/1792].
3280
3281 * argp/argp-parse.c (parser_finalize): Reverse order in which
3282 parsers are run for ARGP_KEY_END. [PR libc/1755].
3283
cf9e9ad9
UD
3284 * grp/initgroups.c (initgroups): Don't limit the possible number
3285 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
3286 the setgroups call while the call fails and descrease the number
3287 of groups each round.
3288 The name of the initgroups function in the NSS modules changed.
3289 (compat_call): Adapt for dynamic resizing.
3290 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3291 Implement dynamic resizing.
3292 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3293 Likewise.
3294 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
3295 * hesiod/Versions: Change exported interface name.
3296 * nis/Versions: Change exported interface name.
3297
945b22ed
UD
32982000-07-23 Ulrich Drepper <drepper@redhat.com>
3299
3300 * locale/iso-639.def: Some errors corrected.
3301 Patch by Keld Simonsen.
3302
3303 * include/limits.h: Update non-gcc portion.
3304 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
3305
6abc15e9
MK
33062000-07-22 Mark Kettenis <kettenis@gnu.org>
3307
3308 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
3309 program's data space, reallocate only the space that was just
3310 deallocated to release its backing space.
3311
a1d4a3bc
UD
33122000-07-23 Ulrich Drepper <drepper@redhat.com>
3313
6a1fc4ed
UD
3314 * stdio-common/vfprintf.c (process_string_arg): For wide character
3315 version, handle precision also correctly.
3316
3accf5d1
UD
3317 * nss/nss_files/files-hosts.c: Correct problem with three or more
3318 entries with the same name.
3319
a1d4a3bc
UD
3320 * nss/nss_files/files-hosts.c: Implement multi handling.
3321 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
3322
3f36c563
UD
33232000-07-22 Ulrich Drepper <drepper@redhat.com>
3324
3b9754f4
UD
3325 * nss/nss_files/files-parse.c: Don't pollute namespace by using
3326 strcasecmp.
3327
3f36c563
UD
3328 * grp/Makefile: Change Makefiles and tests to run only when necessary.
3329 * malloc/Makefile: Likewise.
3330 * malloc/tst-mtrace.sh: Likewise.
3331 * posix/Makefile: Likewise.
3332 * posix/globtest.sh: Likewise.
3333 * posix/wordexp-tst.sh: Likewise.
3334 * string/Makefile: Likewise.
3335
5df3a373
UD
33362000-07-22 Mark Kettenis <kettenis@gnu.org>
3337
3338 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
3339 size instead of LC_ALL to take into account the new locale
3340 categories.
3341
40c014b3
UD
33422000-07-22 Ulrich Drepper <drepper@redhat.com>
3343
04fbc779
UD
3344 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
3345 remainders of hash table.
3346 * locale/categories.def: Remove remainders of transliteration
3347 hash table.
3348 * locale/langinfo.h: Likewise.
3349 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
3350 transliteration tables.
3351
3352 * locale/gen-translit.pl: New file.
3353 * locale/C-translit.h.in: New file.
3354 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
3355 data pointers with data from this file.
3356 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
3357 and gen-translit.pl.
3358 Add rule to generate C-translit.h.
49ba1c12
UD
3359 * intl/tst-translit.c (main): Update for now performed
3360 transliteration.
04fbc779 3361
fcc10ffa
UD
3362 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
3363 (it's no input error).
3364 * stdio-common/tstscanf.c: Add test case for format %f with input --.
3365 * stdio-common/scanf12.c: Correct expected result for first scanf.
3366
40c014b3
UD
3367 * stdio-common/vfprintf.c (process_string_arg): Correct handling
3368 of multibyte character strings in %s format with precision.
3369
dfef32ef
UD
33702000-07-21 Ulrich Drepper <drepper@redhat.com>
3371
d58c3ad0 3372 * locale/programs/ld-collate.c (collate_read): Allow collating
c056ee48 3373 symbols and elements be named in reorder-after instructions.
d58c3ad0
UD
3374 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
3375
0c0c8bde
UD
3376 * locale/programs/ld-collate.c (handle_ellipsis): Test for
3377 duplication with generated name, not the name of the first
3378 character.
3379 Patch by Yong Li <yong.li@asu.edu>.
3380
dfef32ef
UD
3381 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
3382 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3383
f74e61f0
UD
33842000-07-21 Wolfram Gloger <wg@malloc.de>
3385
3386 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
3387 allocations only if a non-main arena cannot be extended.
3388
58bad803
UD
33892000-07-21 Ulrich Drepper <drepper@redhat.com>
3390
3391 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
3392 in DF_1_NODEFLIB handling.
3393
c7e6b2e7
AJ
33942000-07-21 Andreas Jaeger <aj@suse.de>
3395
10b36b41
AJ
3396 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
3397 own rule.
3398
c7e6b2e7
AJ
3399 * libio/fwide.c: Include <wchar.h> for prototype.
3400
cb5113c1
GM
34012000-07-21 Greg McGary <greg@mcgary.org>
3402
3403 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
3404 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
3405 Define in terms of chunk_at_offset.
3406 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
3407 (next_bin, prev_bin): offset by size of real array elements.
3408 (chunk_align): Make `m' a scalar, since that's how it's used.
3409
df0f2bf8
GM
34102000-07-21 Greg McGary <greg@mcgary.org>
3411
f74e61f0
UD
3412 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
3413 UNCHECK_BOUNDS.
df0f2bf8
GM
3414 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
3415 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
3416 Wrap bounds around argv & envp and each of their string members.
3417 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
3418 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
3419 symbol in BP_SYM (). Discard bounds of address arg.
3420 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
3421 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
3422 Discard bounds on address arg, add bounds to return value.
3423
2f54c82d
UD
34242000-07-20 Ulrich Drepper <drepper@redhat.com>
3425
fcacb36a
UD
3426 * elf/Makefile (tests): Add filter. Add rules to generate filter.
3427 * elf/filter.c: New file.
3428 * elf/filtmod1.c: New file.
3429 * elf/filtmod2.c: New file.
3430
f53c03c2
UD
3431 * elf/rtld.c: Define _dl_bind_not variable.
3432 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
3433 * elf/dl-support.c: Likewise.
3434 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
3435 * elf/dl-runtime.c (fixup): Don't remember looked up value if
3436 _dl_bind_not.
3437 (profile_fixup): Likewise.
3438
d052b31b
UD
3439 * libio/Makefile (routines): Add fwide.
3440 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
3441 fwide now. Internal calls to _IO_fwide must do locking themselves
3442 or don't need locking.
3443 * libio/fwide.c: New file.
3444
3445 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
266bb989 3446
2cb8cefb
UD
3447 * elf/Makefile: Add no modules for nodelete test.
3448 * elf/nodelmod3.c: New file.
3449 * elf/nodelmod4.c: New file.
3450 * elf/nodelete.c: Also test case where dependency of dlopen() object
3451 is marked nodelete.
3452
2f54c82d 3453 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
2cb8cefb
UD
3454 * elf/nodlopen.c: New file.
3455 * elf/nodlopenmod.c: New file.
2f54c82d
UD
3456 * include/dlfcn.h: Define __RTLD_DLOPEN.
3457 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
3458 and this is a dlopen() call, do not load the binary.
3459 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
3460 * dlfcn/dlopenold.c: Likewise.
3461 * configure.in: Add test for -z nodelete option.
3462 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
3463
34642000-07-20 Mark Kettenis <kettenis@gnu.org>
3465
3466 Make Hesiod NSS module thread-safe.
3467
3468 * hesiod/README.hesiod: Update.
3469
3470 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
3471 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
3472 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
3473 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
3474 hesiod-proto.
3475 * hesiod/nss_hesiod/hesiod-init.c: New file.
3476 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
3477 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
3478 * hesiod/nss_hesiod/nss_hesiod.h: New file.
3479 * hesiod/nss_hesiod/hesiod-service.c
3480 (_nss_hesiod_getservbyport_r): New function. Provide support for
3481 looking up services by port number.
3482 * hesiod/nss_hesiod/hesiod-proto.c: New file.
3483
3484 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
3485 * hesiod/hesiod.h: Likewise.
3486 * hesiod/hesiod_p.h: Likewise.
3487
34882000-07-20 Mark Kettenis <kettenis@gnu.org>
3489
3490 Fix problems with `struct __res_state' getting too big.
3491 * resolv/resolv.h (struct __sockaddr_in): New definition.
3492 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
3493 the private parts of the structure to save some space.
3494 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
3495 (struct sockaddr_in *) in call to sock_eq.
3496 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
3497
9c38a689
UD
34982000-07-20 Ulrich Drepper <drepper@redhat.com>
3499
bf8b3e74
UD
3500 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
3501 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
3502 with nodelete.
3503 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
3504 to _dl_map_object. Return immediately if no object loaded.
3505 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
3506 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
3507 if it exists into l_flags_1 word.
3508 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
3509 it to determine whether loading is wanted or not.
3510 (_dl_map_object): Likewise.
3511 Call _dl_map_object_from_fd with new parameter.
3512 * sysdeps/generic/ldsodefs.h: Update prototype.
3513 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
3514 * elf/rtld.c: Likewise.
2f54c82d 3515 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
bf8b3e74
UD
3516 * elf/Makefile (tests): Add noload. Add rules to generate noload.
3517 * elf/noload.c: New file.
3518 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
3519 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
3520 * sysdeps/mips/bits/dlfcn.h: Likewise.
0fb7851f
UD
3521 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
3522 (tests-nodelete-yes): Define.
3523 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
3524 Add rules to build nodelete and modules.
3525 * elf/nodelete.c: New file.
3526 * elf/nodelmod1.c: New file.
3527 * elf/nodelmod2.c: New file.
3528 * configure.in: Add test for -z nodelete option.
3529 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
bf8b3e74 3530
9c38a689
UD
3531 * libio/Makefile (tests): Add tst_wprintf2.
3532 (tst_wprintf2-ARGS): Define.
3533 * libio/tst_wprintf2.c: New file.
3534 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
3535
3536 * libio/wfiledoalloc.c: Only allocate external buffer if this
3537 hasn't happened yet.
3538
3539 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
3540 something in the buffer. gconv call can write up to end of the
3541 buffer, not only _IO_write_end.
3542 (_IO_wfile_overflow): Allocate also external buffer.
3543
4e8286ac
UD
35442000-07-19 Ulrich Drepper <drepper@redhat.com>
3545
9c38a689
UD
3546 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
3547 strings with precision in vfwprintf correctly.
3548 * stdio-common/vfprintf.c: Fix completely broken handling of
3549 unbuffered wide character streams.
3550 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
3551
4e8286ac
UD
3552 * resolv/Makefile (distribute): Add README.
3553
3554 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
3555
e685e07d
UD
35562000-07-18 Mark Kettenis <kettenis@gnu.org>
3557
3558 Update resolver code to BIND 8.2.3-T5B.
3559
3560 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
3561 __res_nclose.
3562 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
3563 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
3564 __res_search.
3565 * resolv/Banner: BIND-8.2.3-T5B.
3566
3567 * resolv/base64.c: Update from BIND 8.2.3-T5B.
3568 * resolv/herror.c: Likewise.
3569 * resolv/inet_addr.c: Likewise.
3570 * resolv/inet_net_ntop.c: Likewise.
3571 * resolv/inet_net_pton.c: Likewise.
3572 * resolv/inet_neta.c: Likewise.
3573 * resolv/inet_ntop.c: Likewise.
3574 * resolv/nsap_addr.c: Likewise.
3575 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
3576 IPv6 addresses (ISC bug #520).
3577
3578 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
3579 * resolv/ns_parse.c: Likewise.
3580 * resolv/ns_netint.c: Likewise.
3581 * resolv/ns_samedomain.c: Likewise.
3582 * resolv/ns_ttl.c: Likewise.
3583 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
3584 RCS ID in object file.
3585
3586 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
3587 * resolv/res_mkquery.c: Likewise.
3588 * resolv/res_query.c: Likewise.
3589 * resolv/res_init.c: Likewise.
3590 (res_setoptions): Mark internal.
3591 * resolv/res_send.c: Likewise.
3592 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
3593 by using poll instead.
3594 * resolv/res_comp.c: Likewise.
3595 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
3596 weak alias for __dn_expand.
3597 * resolv/res_data.c: Likewise.
3598 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
3599 in _res.options. Avoids a potential security risk by avoiding a
3600 close (0).
3601 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
3602 res_mkquery, res_query, res_querydomain adn res_search weak
3603 aliases for __res_mkquery, __res_query, __res_querydomain and
3604 __res_search.
3605 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
3606 instead to avoid close(0).
3607 (res_init): Always use the static resolver context.
3608 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
3609 alias for __res_init.
3610
3611 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
3612 RES_SET_H_ERRNO and accompanying comment to...
3613 * include/resolv.h: ... here.
3614
3615 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
3616 * resolv/arpa/nameser_compat.h: Likewise.
3617
695a0763
UD
36182000-07-18 Ulrich Drepper <drepper@redhat.com>
3619
247c8869
UD
3620 * nss/makedb.c (main): Compare result of load_db with
3621 NSS_STATUS_SUCCESS and not 0.
3622 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
3623
695a0763
UD
3624 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
3625
f306e7ff
GM
36262000-07-18 Greg McGary <greg@mcgary.org>
3627
3628 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
3629 (EXTEND_BUFFER): Use it.
3630
83142e8f
UD
36312000-07-18 Ulrich Drepper <drepper@redhat.com>
3632
3633 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
3634 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
3635 __builtin_return_address.
3636 * dlfcn/dlopenold.c: Likewise.
3637 * dlfcn/dlsym.c: Likewise.
3638 * dlfcn/dlvsym.c: Likewise.
3639 * elf/dl-profstub.c: Likewise.
3640 * malloc/malloc.c: Likewise.
3641 * sysdeps/generic/machine-gmon.h: Likewise.
3642 Based on a patch by schwidefsky@de.ibm.com.
3643
626da526
AJ
36442000-07-18 Andreas Jaeger <aj@suse.de>
3645
9f791dcf
AJ
3646 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
3647 NULL to elf_machine_fixup_plt t argument to silence GCC.
3648
80f41baa
AJ
3649 * include/string.h: Add prototype for __memchr.
3650
626da526
AJ
3651 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
3652
3653 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
3654 instead of memrchr.
3655
c6df09ad
UD
36562000-07-18 Ulrich Drepper <drepper@redhat.com>
3657
3658 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
3659
3660 * locale/C-ctype.c: Add initializers for gap elements.
3661 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
3662 for gap elements.
3663
9aaac141
UD
36642000-07-16 Ulrich Drepper <drepper@redhat.com>
3665
3666 * nscd/nscd.c (print_version): Update copyright year.
3667
4d928e8d
GM
36682000-07-17 Greg McGary <greg@mcgary.org>
3669
3670 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
3671 keyletters F, I, S, W. Remove unused keyletter V. Surround
3672 signature argnames with angle-brackets for use as word delimiters,
3673 and to induce syntax errors for any args not handled. Split
3674 multi-echo echoes and comment each stage.
3675 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
3676 * sysdeps/unix/inet/syscalls.list: Likewise.
3677 * sysdeps/unix/mman/syscalls.list: Likewise.
3678 * sysdeps/unix/syscalls.list: Likewise.
3679 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3680 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3681 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3682 * sysdeps/unix/sysv/syscalls.list: Likewise.
3683 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
3684
14fa17cc
GM
3685 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
3686 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
3687 qualifiers. Don't check NULL-terminator of argv & envp.
3688 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
3689 unbounded pointer type in word-size assertion.
3690 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
3691 cases to stifle warnings.
3692
3693 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
3694 _IO_file_attach.
3695 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3696
03df72bf
GM
3697 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
3698 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
3699 ptr as __unbouned.
3700
916c1395
GM
3701 * Makerules (o-objects): Supplement with $(o-objects$o).
3702 * string/Makefile (o-objects.ob): Add variable to pull
3703 unbounded versions of memcpy, memset and memchr into libc_b.
3704
abf70633
GM
3705 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
3706 rather than non-existent __ubp_memchr.
3707 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
3708 (_CHECK_STRING, _CHECK_N): New macros.
3709 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
3710 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
3711 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
3712 Add weak alias "memchr".
3713 * sysdeps/generic/memchr.c: Likewise.
3714 * sysdeps/i386/memchr.S: Likewise.
3715 * sysdeps/ia64/memchr.S: Likewise.
3716 * sysdeps/m68k/memchr.S: Likewise.
3717 * sysdeps/sparc/sparc32/memchr.S: Likewise.
3718 * sysdeps/sparc/sparc64/memchr.S: Likewise.
3719 * sysdeps/vax/memchr.s: Likewise.
3720
7884bf47
GM
3721 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
3722
3723 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
3724 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
3725 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
3726 __BOUNDED_POINTERS__.
3727 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
3728 for __BOUNDED_POINTERS__.
3729
8114530a
UD
37302000-07-17 Bruno Haible <haible@clisp.cons.org>
3731
3732 * iconv/gconv_open.c (__gconv_open): Initialize the __data
3733 field of struct __gconv_trans_data differently. Don't pass NULL to
3734 trans_init_fct. Simplify list append operation.
3735
37362000-07-14 Bruno Haible <haible@clisp.cons.org>
3737
3738 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
3739 not only those having tsearch.
3740
37412000-07-17 Ulrich Drepper <drepper@redhat.com>
3742
3743 * locale/langinfo.h: Add placeholder values in enum for removed
3744 LC_CTYPE entries.
3745
37462000-07-17 Jakub Jelinek <jakub@redhat.com>
3747
3748 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
3749 chain if the PHDR check fails.
3750
37512000-07-17 Mark Kettenis <kettenis@gnu.org>
3752
3753 * nss/getent.c (print_hosts): Make sure we always print a space
3754 between numeric addresses and hostnames.
3755
37562000-07-17 Wolfram Gloger <wg@malloc.de>
3757
3758 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
3759 i.e. if n_mmaps_max>0.
3760
37612000-07-16 Mark Kettenis <kettenis@gnu.org>
3762
3763 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
3764 values to remove possible clash with other AI_* constants.
3765 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
3766 hexadecimal constants to stress the fact they're in fact
3767 bit flags.
3768
37692000-07-15 Mark Kettenis <kettenis@gnu.org>
3770
3771 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
3772 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
3773 instead of res_init.
3774
7f53da19
UD
37752000-07-16 Ulrich Drepper <drepper@redhat.com>
3776
3777 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
3778 parameters of memset calls to avoid warnings.
3779
9ff9add9
UD
37802000-07-15 Ulrich Drepper <drepper@redhat.com>
3781
7f53da19
UD
3782 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
3783 necessary.
3784
9ff9add9
UD
3785 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
3786 Patch by Greg McGary <greg@mcgary.org>.
3787
3788 * io/Makefile (tests): Add tst-getcwd.
3789 * io/tst-getcwd.c: New file.
3790
e0ea35a3
UD
3791 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
3792
e993e9cc
UD
37932000-07-15 Jakub Jelinek <jakub@redhat.com>
3794
7f53da19 3795 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
e993e9cc
UD
3796 structure.
3797
37982000-07-13 Jakub Jelinek <jakub@redhat.com>
3799
3800 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
3801 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
3802
101c92fc
UD
38032000-07-12 H.J. Lu <hjl@gnu.org>
3804
3805 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
3806 GLIBC_2.2.
3807 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
3808 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
3809 (sysdep-routines): Add clone2.
3810 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
3811
a9a4127e
UD
38122000-07-13 Jes Sorensen <jes@linuxcare.com>
3813
3814 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
3815 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
3816
38172000-06-05 David Mosberger <davidm@hpl.hp.com>
3818
3819 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
3820 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
3821 Change type of si_band from "int" to "long".
3822 (si_imm) [USE_GNU]: Define
3823 (si_isr) [USE_GNU]: Ditto.
3824 (ILL_BREAK) [USE_GNU]: Ditto.
3825 (FPE_DECOVF) [USE_GNU]: Ditto.
3826 (FPE_DECDIV) [USE_GNU]: Ditto.
3827 (FPE_DECERR) [USE_GNU]: Ditto.
3828 (FPE_INVASC) [USE_GNU]: Ditto.
3829 (FPE_INVDEC) [USE_GNU]: Ditto.
3830 (TRAP_BRANCH) [USE_GNU]: Ditto.
3831 (TRAP_HWBKPT) [USE_GNU]: Ditto.
3832
38332000-07-06 Jes Sorensen <jes@linuxcare.com>
3834
3835 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
3836 bits/sigcontext as struct mcontext does not depend on it.
3837
3838 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
3839
38402000-07-04 Jes Sorensen <jes@linuxcare.com>
3841
3842 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
3843
38442000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
3845
3846 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
3847
38482000-06-22 Jes Sorensen <jes@linuxcare.com>
3849
3850 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
3851
4ab8e75a
UD
38522000-07-15 Ulrich Drepper <drepper@redhat.com>
3853
3854 * intl/Makefile (test-srcs): Add tst-translit.
3855 (tests): Likewise.
3856 Add rules to build and run tst-translit.
3857 * intl/tst-translit.c: New file.
3858 * intl/tst-translit.sh: New file.
a9a4127e 3859 * intl/translit.po: New file.
4ab8e75a 3860
7888313d
UD
38612000-07-14 Ulrich Drepper <drepper@redhat.com>
3862
3863 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
3864 transliteration function did its job, continue, don't stop.
3865
3866 * iconvdata/iso646.c: Little optimizations in body for conversion
3867 from UCS4.
3868
ea1efc6f
UD
38692000-07-14 Mark Kettenis <kettenis@gnu.org>
3870
3871 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
3872
c218729d
UD
38732000-07-14 Mark Kettenis <kettenis@gnu.org>
3874
3875 * configure.in: Check for pwd binary.
3876 * config.make.in: Add PWD_P to be subsituted.
3877 * Makerules: Use $(PWD_P) instead of /bin/pwd.
3878
cfd14df5
UD
38792000-07-14 Ulrich Drepper <drepper@redhat.com>
3880
3881 * iconvdata/Makefile (modules): Add GB18030.
3882 (distribute): Add gb18030.c.
3883 * iconvdata/gconv-modules: Add entries for GB18030 module.
3884 * iconvdata/gb18030.c: New file.
3885 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
3886 and Wu Jian.
3887
4ea1f016
AJ
38882000-07-13 Andreas Jaeger <aj@suse.de>
3889
3890 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
3891 patch.
3892
3893 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
3894 * inet/getnetgrent.c (free_mem): Likewise.
3895 * misc/mntent.c (free_mem): Likewise.
3896 * nss/getXXbyYY.c (free_mem): Likewise.
3897 * nss/getXXent.c (free_mem): Likewise.
3898 * pwd/fgetpwent.c (free_mem): Likewise.
3899 * shadow/fgetspent.c (free_mem): Likewise.
3900
f218b5f5
UD
39012000-07-14 Ulrich Drepper <drepper@redhat.com>
3902
3903 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
3904 64-bit architecture correctly [PR libc/1794].
3905
aa4068f2
UD
39062000-07-13 Ulrich Drepper <drepper@redhat.com>
3907
ca3c0135
UD
3908 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
3909 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
3910 report that we are out of memory.
3911 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3912 * elf/dl-libc.c (dlerror_run): Likewise.
3913 * elf/dl-open.c (_dl_open): Likewise.
3914 * elf/rtld.c (dl_main): Likewise.
3915 * elf/dl-error.c: Define _dl_out_of_memory.
383b654b 3916 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
ca3c0135
UD
3917 the error string.
3918 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
383b654b 3919 [PR libc/1813].
ca3c0135
UD
3920
3921 * dlfcn/dlerror.c (free_key_mem): Also free error string.
3922
3923 * iconv/loop.c: Fix comment.
3924
aa4068f2
UD
3925 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
3926
9cd865e0
UD
39272000-07-13 Andreas Jaeger <aj@suse.de>
3928
3929 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
3930 getcwd (NULL, size) with size > 0.
aa4068f2 3931 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
9cd865e0
UD
3932
39332000-07-13 Andreas Jaeger <aj@suse.de>
3934
3935 * posix/Makefile: Remove build rules for libposix.
3936
1338451b
AJ
39372000-07-13 Andreas Schwab <schwab@suse.de>
3938
3939 * sysdeps/generic/glob.c (glob): Fix memory leak.
3940 [SHELL]: Remove reference to undefined variable `files'.
3941 Fixes PR libc/1782.
3942
5f85c7ac
AJ
39432000-07-13 Andreas Jaeger <aj@suse.de>
3944
e940b742
AJ
3945 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
3946 functions.
3947
5f85c7ac
AJ
3948 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
3949 memory if it was allocated.
3950
7039a4c9
UD
39512000-07-12 Ulrich Drepper <drepper@redhat.com>
3952
405b8c60
UD
3953 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
3954 step.
3955
3956 * iconv/gconv_open.c (__gconv_open): Reapply
3957 2000-07-12 Bruno Haible <haible@clisp.cons.org>
3958
aa4068f2 3959 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
405b8c60 3960
7039a4c9
UD
3961 * iconv/gconv_open.c: Undo last two changes for now. They break
3962 everything.
3963
8ca91b36
UD
39642000-07-12 Andreas Jaeger <aj@suse.de>
3965
3966 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
3967 compiler.
3968 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
3969 (CFLAGS-dl-cache.c): Likewise.
3970 (CFLAGS-ldconfig.c): Added, passes directory locations.
3971
3972 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
3973 locate cache.
3974 * elf/ldconfig.c (LD_SO_CONF): Likewise.
3975 (main): Use configured LIBDIR and SLIBDIR.
3976
39772000-07-11 Jakub Jelinek <jakub@redhat.com>
3978
3979 * math/bits/cmathcalls.h (cimag): Add __THROW.
3980 (creal, conj): Likewise.
3981 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
3982 by negative value.
3983
0d655550
UD
39842000-07-12 H.J. Lu <hjl@gnu.org>
3985
3986 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
3987 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
3988
39892000-07-12 Ulrich Drepper <drepper@redhat.com>
3990
3991 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
3992 it is wrong.
3993
9f835f5f
UD
39942000-07-12 Bruno Haible <haible@clisp.cons.org>
3995
3996 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
3997
39982000-07-12 Bruno Haible <haible@clisp.cons.org>
3999
4000 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4001 __modname.
4002
40032000-07-12 Bruno Haible <haible@clisp.cons.org>
4004
4005 * iconv/gconv_open.c (__gconv_open): Initialize
4006 result->__steps[cnt].__data.
4007
40082000-07-12 Mark Kettenis <kettenis@gnu.org>
4009
4010 * nss/getent.c (services_keys): Pass port number in network byte
4011 order in call to getservbyport.
4012
40132000-07-11 Andreas Jaeger <aj@suse.de>
4014
4015 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
4016 source dir.
4017 * intl/Makefile (do-gettext-test): Likewise.
4018 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
4019
40202000-07-11 Andreas Schwab <schwab@suse.de>
4021
4022 * Makeconfig (run-program-prefix): New rule.
4023 (built-program-cmd): Use run-program-prefix.
4024
50a65643
UD
40252000-07-12 Ulrich Drepper <drepper@redhat.com>
4026
4027 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
4028 and NOEXPR unconditionally available.
4029
e279e90b
GM
40302000-07-12 Greg McGary <greg@mcgary.org>
4031
4032 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
4033 * sysdeps/posix/open64.c: Likewise.
4034 * sysdeps/generic/fegetenv.c: Likewise.
4035 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
4036 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4037 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4038 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
4039 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
4040 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
4041
c62f5cab
GM
40422000-07-11 Greg McGary <greg@mcgary.org>
4043
4044 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
4045 Add extra level of macro expansion.
4046 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
4047 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
4048 is available at the time `select' prototype is declared.
4049 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
4050 Collect non-versioned weak aliases. Consider only non-versioned
4051 aliases for the user-visible systemcall name. Do checks inline with
4052 call to primitive system call.
4053 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
4054 stand-alone bounds checks to suppress unused value warnings.
4055 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4056
f80f1a4a
UD
40572000-07-10 Mark Kettenis <kettenis@gnu.org>
4058
19624ed6
MK
4059 * sysdeps/mach/hurd/check_fds.c: New file. Implements
4060 file descriptor checking in SUID programs for the Hurd.
4061
f80f1a4a
UD
4062 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
4063 res_hostalias instead of __hostalias for thread-safety.
4064
47a81620
UD
40652000-07-09 Mark Kettenis <kettenis@gnu.org>
4066
4067 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
4068 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
4069
40702000-07-10 Ulrich Drepper <drepper@redhat.com>
4071
4072 * include/features.h: Include ISO C99 features if the compiler used
4073 is an ISO C99 compiler.
4074 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4075
40762000-07-08 Mark Kettenis <kettenis@gnu.org>
4077
4078 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
4079
02ba6e61
AJ
40802000-07-10 Andreas Jaeger <aj@suse.de>
4081
ab18b1e1
AJ
4082 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
4083 it's overridden by libpthreads.
4084 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4085 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4086 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4087 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4088 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4089
02ba6e61
AJ
4090 * malloc/Makefile: Run tst-mtrace only with shared libs.
4091
4092 * stdio-common/Makefile: Run unbputc and tst-printf tests only
4093 with shared libs.
4094
40952000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4096
4097 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
4098 that gpreg really points to the GOT section of the calling object.
4099 Scan all PT_LOAD segments of objects for stub_pc, instead of only
4100 checking a start address of first one.
4101 Fix typos.
4102 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
4103 Likewise.
4104
4105 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
4106
989eef3e
AJ
41072000-07-10 Andreas Jaeger <aj@suse.de>
4108
4109 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
4110 (string_alias->strong_alias).
4111
f9812076
MK
41122000-07-08 Mark Kettenis <kettenis@gnu.org>
4113
4114 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
4115
f2c9942e
GM
41162000-07-07 Greg McGary <greg@mcgary.org>
4117
4118 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
4119 have no names without leading underscores.
4120
0755050e
UD
41212000-07-07 Ulrich Drepper <drepper@redhat.com>
4122
6ccf5e67
UD
4123 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
4124 U007E.
4125
0755050e
UD
4126 * stdio-common/Makefile (tests): Remove tst-printf here...
4127 (tests-srcs): ...and add it here.
4128 (distribute): Add tst-unbputc.sh and tst-printf.sh.
4129 Add rules to run tst-printf.sh.
4130 * stdio-common/tst-printf.c: Move code around so that there is really
4131 no further output where it's stated.
4132 * stdio-common/tst-printf.sh: New file.
4133
f5dcffc5
MK
41342000-07-07 Mark Kettenis <kettenis@gnu.org>
4135
4136 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
4137 (do_write): Renamed from pwrite.
4138 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
4139 `struct _IO_cookie_file'.
4140
d6a25063
UD
41412000-07-07 Ulrich Drepper <drepper@redhat.com>
4142
4143 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
4144 detected.
4145 * malloc/tst-mtrace.sh: Run mtrace script.
4146
8ccd2cb1
GM
41472000-07-07 Greg McGary <greg@mcgary.org>
4148
4149 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
4150 Move all three components of a bounded pointer.
4151
89a4f6ff
UD
41522000-07-07 Ulrich Drepper <drepper@redhat.com>
4153
4154 * locale/programs/locale.c (write_locales): Don't simply add all
4155 directories found in the subdir, test whether at least the
4156 LC_CTYPE file is in there.
4157
c0f53cdd
UD
41582000-07-06 Ulrich Drepper <drepper@redhat.com>
4159
2528edd3
UD
4160 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
4161 * iconvdata/euc-kr.c: Likewise.
4162
ca4447d6
UD
4163 * stdio-common/vfprintf.c (process_string_arg): Check result of
4164 wcrtomb call and bail out if it failed.
4165
199d6eb0
UD
4166 * malloc/Makefile (test-srcs): Add tst-mtrace.
4167 (distribute): Add tst-mtrace.sh.
4168 Add rule to run tst-mtrace.sh.
4169 * malloc/tst-mtrace.c: New file.
4170 * malloc/tst-mtrace.sh: New file.
4171
c0f53cdd
UD
4172 * include/signal.h: Declare __libc_sigaction.
4173 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
4174 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
4175 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4176 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4177 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4178 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4179 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4180
ca4447d6 4181 * configure.in: Fix CFLAGS-memprofstat.c definition after
c0f53cdd
UD
4182 2000-06-19 change.
4183 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
4184
41852000-07-06 Jakub Jelinek <jakub@redhat.com>
4186
4187 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
4188 instead of NULL to elf_machine_fixup_plt t argument.
4189 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4190 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
4191 cast.
4192
41932000-07-06 Andreas Jaeger <aj@suse.de>
4194
4195 * crypt/Makefile (LDLIBS-cert): Removed.
4196 (LDLIBS-md5c-test): Removed.
4197 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
4198 ($(objpfx)md5c-test): Likewise for md5c-test.out.
4199
f7b0d45a
AJ
42002000-07-06 Andreas Jaeger <aj@suse.de>
4201
4202 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
4203 of the proc system is "proc".
4204
394d3277 4205 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
5d7ecaa8 4206 thread library for static programs.
394d3277 4207
1055cf7c
GM
42082000-07-06 Greg McGary <greg@mcgary.org>
4209
4bbb61e4
GM
4210 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
4211 New macros.
4212 * sysdeps/generic/strcpy.c: Add bounds checks.
4213 * sysdeps/unix/fxstat.c: Likewise.
4214 * sysdeps/unix/xstat.c: Likewise.
4215 * sysdeps/unix/common/lxstat.c: Likewise.
4216 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4217 * sysdeps/unix/sysv/linux/execve.c: Likewise.
4218 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
4219 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
4220 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4221 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4222 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4223 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4224 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4225 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4226 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4227 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4228 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
4229 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4230 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4231 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4232 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4233 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4234 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4235 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
4236 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4237 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
4238 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4239 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
4240 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4241 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
4242 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4243 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
4244 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4245 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4246 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4247 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
4248 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4249 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4250 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4251 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4252 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4253 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
4254 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4255 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4256 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4257 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4258 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4259 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4260 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
4261 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
4262 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4263 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
4264 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
4265 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
4266 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
4267 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
4268 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4269 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4270 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4271 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4272 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4273 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
4274 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
4275 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
4276 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4277 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
4278 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
4279 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
4280
ca1cde9e
GM
4281 * string/endian.h (__LONG_LONG_PAIR): New macro.
4282 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
4283 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4284 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4285 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4286 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4287 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4288 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
4289 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4290 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4291 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4292 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4293 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4294
1055cf7c
GM
4295 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
4296
fe4e204f
AJ
42972000-07-06 Andreas Jaeger <aj@suse.de>
4298
71cebc12
AJ
4299 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
4300 Initialize result.
4301
fe4e204f
AJ
4302 * math/test-fpucw.c: Include <stdio.h> for printf.
4303
34173b51
GM
43042000-07-05 Greg McGary <greg@mcgary.org>
4305
4306 * sysdeps/generic/bp-checks.h: New file.
4307 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
4308 with list of #include files.
4309 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4310 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
4311 Don't generate BP thunk if `V' appears in signature.
4312 Generate thunks with complete bounds checks.
4313 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
4314 * sysdeps/unix/inet/syscalls.list: Likewise.
4315 * sysdeps/unix/mman/syscalls.list: Likewise.
4316 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4317 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4318 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4319 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4320
11b34882
UD
43212000-07-05 Ulrich Drepper <drepper@redhat.com>
4322
77432371
UD
4323 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
4324 result. Search first in /etc/mtab (proc/mounts would be stupid).
4325 If mount not in the file fall back on /proc.
4326
11b34882
UD
4327 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
4328 string got copied in.
4329 Patch by Solar Designer <solar@false.com>.
4330
43312000-07-05 Andreas Jaeger <aj@suse.de>
4332
4333 * manual/install.texi (Installation): Update information about
4334 add-ons.
4335 (Configuring and compiling): Update for glibc 2.2.
4336
43372000-07-04 Andreas Jaeger <aj@suse.de>
4338
4339 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
4340 (_FPU_IEEE): Likewise.
4341
4342 * math/Makefile (tests): Add test-fpucw.
4343
4344 * math/test-fpucw.c (main): New file.
4345
f3e29a1a
UD
43462000-07-05 Ulrich Drepper <drepper@redhat.com>
4347
4348 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
4349
4350 * locale/programs/ld-collate.c (collate_output): Also write out the
4351 collation sequence values and the wide character string for the
4352 collation symbol table.
4353
4354 * posix/fnmatch.c: Include "../locale/elem-hash.h".
4355 * posix/fnmatch_loop.c: Implement collating symbol handling.
4356 * posix/tst-fnmatch.input: Add more tests, especially for collating
4357 symbol handling.
4358
4359 * posix/regex.c: Fix comment.
4360
0843ed1c
AJ
43612000-07-05 Andreas Jaeger <aj@suse.de>
4362
a2616aed
AJ
4363 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
4364 (_FPU_GETCW): Remove extra colon.
4365 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4366
0843ed1c
AJ
4367 * posix/fnmatch_loop.c (FCT): Only declare len if
4368 !WIDE_CHAR_VERSION to silence GCC.
4369
4370 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
4371 prototype.
4372 * sysdeps/generic/strchrnul.c: Likewise.
d41293c7
AJ
4373 * sysdeps/generic/strlen.c: Likewise.
4374 * sysdeps/generic/strchr.c: Likewise.
4375 * sysdeps/generic/memchr.c: Likewise.
0843ed1c 4376
3248e3a3
UD
43772000-07-04 Ulrich Drepper <drepper@redhat.com>
4378
ecce00a9
UD
4379 * posix/fnmatch_loop.c: Implement equivalence class handling.
4380 * posix/tst-fnmatch.input: Add tests for equivalence class
4381 handling.
4382
7239b3a4
UD
4383 * posix/fnmatch_loop.c: Improve performance for single-byte
4384 character sets by not using btowc.
4385
ab9afc21
UD
4386 * posix/tst-fnmatch.input: Add tests for locale dependent
4387 behaviour.
4388 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
4389
f5c68a01
UD
4390 * posix/tst-fnmatch.input: Add more test cases.
4391
3248e3a3
UD
4392 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
4393 are not aligned to alignof(md5_uint32) do it before calling
4394 __md5_process_bytes.
4395 * crypt/md5.c: Make sure buffers are aligned.
4396 * crypt/md5.h: Likewise.
4397 Reported by Solar Designer <solar@false.com>.
4398
4399 * crypt/Makefile: Add dependencies for test programs.
4400
4401 * Rules: Define LC_ALL=C in environments of all programs we run.
4402
4403 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
4404
44052000-07-03 H.J. Lu <hjl@gnu.org>
4406
4407 * locale/programs/ld-ctype.c (ctype_output): The size of iov
4408 is 2 + elem + offset, not 2 + elem + offset + 2.
4409
44102000-07-04 Ulrich Drepper <drepper@redhat.com>
4411
4412 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
4413 suite.
4414 * posix/Makefile (tests): Add tst-fnmatch.
4415 (tst-fnmatch-ENV): Define.
4416 * posix/tst-fnmatch.c: New file.
4417 * posix/tst-fnmatch.sh: New file.
4418
a88b96f4
UD
44192000-07-04 NIIBE Yutaka <gniibe@chroot.org>
4420
4421 * locale/programs/charmap.c (charmap_read): Prepend
4422 the condition filename == NULL.
4423
b1fc7a6a
GM
44242000-07-03 Greg McGary <greg@mcgary.org>
4425
293c6b3c 4426 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
a2616aed 4427
98186375
GM
4428 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
4429 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
4430
73c115ed
GM
4431 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
4432 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
4433 (FILEBUF_LITERAL): Add cast for CHAIN init.
4434 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
4435 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
4436 Revert type of `fp' to _IO_FILE*.
4437 (_IO_iter_file): Remove cast.
4438 (_IO_iter_next): Elide intermediate member reference.
4439
b1fc7a6a
GM
4440 * sysdeps/powerpc/strchr.S: Check bounds.
4441 Wrap extern symbols in BP_SYM ().
4442
68eefde7 44432000-07-03 Andreas Jaeger <aj@suse.de>
3248e3a3 4444
68eefde7
UD
4445 * dlfcn/Makefile (generated): New.
4446
6f98fd7e
UD
44472000-07-03 Ulrich Drepper <drepper@redhat.com>
4448
4449 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
4450 (__uflow): Likewise.
4451 (__underflow): Likewise.
4452 * libio/wgenops.c (__wunderflow): Likewise.
4453 * stdio-common/tst-unbputc.c: New file.
4454 * stdio-common/tst-unbputc.sh: New file.
4455 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
4456
4457 * po/en_GB.po: New file.
4458 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
4459
40c4c9b5
UD
44602000-07-01 Andreas Jaeger <aj@suse.de>
4461
4462 * intl/Makefile (generated-dirs): New.
4463
4464 * elf/Makefile (generated): trusted-dirs.h is always generated,
4465 move out of build-shared condition.
4466 (generated): Merge the two entries for build-shared.
4467
44682000-07-01 Ulrich Drepper <drepper@redhat.com>
4469
4470 * debug/Makefile (distribute): Add xtrace.sh.
4471
5e087c71
UD
44722000-06-30 Ulrich Drepper <drepper@redhat.com>
4473
a2294e57
UD
4474 * version.h (VERSION): Bump to 2.1.91.
4475
4476 * configure.in: Update warning comment. glibc should not be
4477 broken anymore.
4478
4479 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
4480 ioperm.c, sys/procfs.h, and sys/io.h.
4481
4482 * sysdeps/powerpc/Dist: Add bp-asm.h.
4483
5e087c71
UD
4484 * assert/Depend: Add localedata.
4485 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
4486 (test-assert-perr-ENV): New. Define LANGUAGE=C.
4487
4488 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
4489 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
4490 relocation address to prevent unaligned trap.
4491 Suggested by Richard Henderson <rth@cygnus.com>.
4492
44932000-06-30 Jakub Jelinek <jakub@redhat.com>
4494
4495 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
4496 if redirecting and either redirection is done using defines or
4497 not optimizing.
4498
dbda6079
UD
44992000-06-30 Ulrich Drepper <drepper@redhat.com>
4500
a2294e57 4501 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
b856f875
UD
4502 generated expressions.
4503 Patch by Darren McClelland <dmcclell@zetec.com>.
4504
71d82dbe
UD
4505 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
4506 since zic uses setlocale and gettext but we cannot make it use the
4507 new locale data since zic calls a shell which might not use the
4508 new libc.
4509
3da67f99
UD
4510 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
4511 handling the internation currency symbol. POSIX says that the
4512 fourth character is used to separate the currency symbol from the
4513 value. Therefore it does not have to be printed. But we cannot
4514 remove the space if the currency symbol is printed before the
4515 number since this is what many locales expect.
3da67f99 4516
7f455351
UD
4517 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
4518 whether this information is available.
4519
4520 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
4521 buffers in case the translation is too large. Remember allocated
4522 memory blocks in a list.
4523 (free_mem): Free memory for translations.
4524
4525 * intl/tst-gettext.c: Use correct locale. Improve error messages.
4526
4527 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
4528 information is available set the string length to zero.
4529
dbda6079
UD
4530 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
4531
cb2eb742
GM
45322000-06-30 Greg McGary <greg@mcgary.org>
4533
fa87f403
GM
4534 * sysdeps/powerpc/bp-asm.h: New file.
4535 * sysdeps/powerpc/__longjmp.S: Check bounds.
4536 Wrap extern symbols in BP_SYM ().
4537 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
4538 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
4539 * sysdeps/powerpc/setjmp.S: Likewise.
4540 * sysdeps/powerpc/add_n.S: Likewise.
4541 * sysdeps/powerpc/addmul_1.S: Likewise.
4542 * sysdeps/powerpc/lshift.S: Likewise.
4543 * sysdeps/powerpc/rshift.S: Likewise.
4544 * sysdeps/powerpc/mul_1.S: Likewise.
4545 * sysdeps/powerpc/sub_n.S: Likewise.
4546 * sysdeps/powerpc/submul_1.S: Likewise.
4547 * sysdeps/powerpc/strlen.S: Likewise.
4548 * sysdeps/powerpc/memset.S: Likewise.
4549 * sysdeps/powerpc/stpcpy.S: Likewise.
4550 * sysdeps/powerpc/strcmp.S: Likewise.
4551 * sysdeps/powerpc/strcpy.S: Likewise.
4552 * sysdeps/powerpc/elf/bzero.S: Likewise.
4553
cb2eb742
GM
4554 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
4555 Line up operands column with tabs.
4556
cb48e60f
UD
45572000-06-30 Ulrich Drepper <drepper@redhat.com>
4558
394679eb
UD
4559 * elf/Makefile (LDFLAGS-origtest): Actually add it.
4560
cb48e60f
UD
4561 * sysdeps/ia64/htonl.S: New file.
4562 * sysdeps/ia64/htons.S: New file.
4563 * sysdeps/ia64/memcpy.S: Replace with version which does not use
4564 floating point registers.
4565 Patches by Dan Pop <Dan.Pop@cern.ch>.
4566
4a3c3ca1
AJ
45672000-06-30 Andreas Jaeger <aj@suse.de>
4568
e8c6a442
AJ
4569 * posix/Makefile (tests): tst-exec and tst-spawn only work with
4570 shared libraries.
4571
4a3c3ca1
AJ
4572 * io/Makefile (CFLAGS-test-lfs.c): New.
4573 (tests): Add test-lfs.
4574
4575 * io/test-lfs.c: New file.
4576
2fc9b742
UD
45772000-06-30 Jakub Jelinek <jakub@redhat.com>
4578
4579 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
4580 instruction.
4581
e7262a65
UD
45822000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
4583
4584 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
4585
45862000-06-29 Jes Sorensen <jes@linuxcare.com>
4587
4588 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
4589 alias to the fstatfs call.
4590
4591 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
4592 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
4593
4594 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
4595 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
4596
4597 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
4598 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
4599 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
4600 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
4601
4602 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
4603 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
4604
4605 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
4606 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
4607
4608 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
4609 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
4610
4611 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
4612
c421d4b7
AJ
46132000-06-29 Andreas Jaeger <aj@suse.de>
4614
4615 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
4616 with syslog.
4617 (print_err_message): Likewise.
4618 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
4619
f175216d
UD
46202000-06-29 Ulrich Drepper <drepper@redhat.com>
4621
e43e0dd6
UD
4622 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
4623 used as words is properly aligned.
4624
f175216d
UD
4625 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
4626 data files.
4627
e5f88e0c
GM
46282000-06-29 Greg McGary <greg@mcgary.org>
4629
5785c39f
GM
4630 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
4631 * sysdeps/unix/make-syscalls.sh: Handle signatures of
4632 length 7..9, just in case...
4633 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
4634
e5f88e0c
GM
4635 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
4636 (POP_ERRNO_LOCATION_RETURN): Fold insns.
4637 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
4638 (PUSH_SIGNAL_MASK): New macro.
4639 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
4640 LEAVE is unnecessary. Check bounds of jmp_buf.
4641 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
4642 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
4643 immediately before tail-call.
4644 * sysdeps/i386/setjmp.S: Likewise.
4645 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4646 * sysdeps/i386/bsd-setjmp.S: Likewise.
4647
d3d89ab3
UD
46482000-06-29 Jakub Jelinek <jakub@redhat.com>
4649
4650 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
4651 versioned_symbol.
4652 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
4653 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
4654 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
4655 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4656 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
4657 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
4658 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
4659 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
4660
a5707dad
UD
46612000-06-29 Ulrich Drepper <drepper@redhat.com>
4662
4663 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
4664 we later need to calling free().
4665 Patch by Matt Wilson <msw@redhat.com>.
4666
a0e5d73a
UD
4667 * stdio-common/tst-printf.c: Add test for above problem.
4668
a5707dad
UD
46692000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
4670
4671 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
4672 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
4673
46742000-06-28 Jes Sorensen <jes@linuxcare.com>
4675
4676 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
4677 prototype for abs().
4678 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
4679
6fc1dd3f
AJ
46802000-06-23 Andreas Jaeger <aj@suse.de>
4681
4682 * config.h.in: Don't use regparm with bounded pointers.
4683
a748c3c6
UD
46842000-06-29 Ulrich Drepper <drepper@redhat.com>
4685
4686 * stdlib/grouping.h: Correctly handle multibyte thousands
4687 separator and decimal point.
4688 * stdlib/stdtod.c: Likewise.
4689 * sysdeps/generic/strtol.c: Likewise.
4690
4691 * locale/categories.def: Add entries for wide character decimal point
4692 and thousands separator in numeric and monetary category.
4693
46942000-06-28 Ulrich Drepper <drepper@redhat.com>
4695
4696 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
4697 second definition and initialization of decimal.
4698
2ca8b1ee
GM
46992000-06-28 Greg McGary <greg@mcgary.org>
4700
a748c3c6
UD
4701 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
4702 out.
2ca8b1ee 4703 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
a748c3c6
UD
4704 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
4705 in.
4706 (_IO_JUMPS): Don't cast THIS--expect arg to be a
4707 (struct _IO_FILE_plus *).
2ca8b1ee
GM
4708 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
4709 THIS, since _IO_JUMPS no longer does it implicitly.
4710 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
4711 arg type as (struct _IO_FILE_plus *).
4712 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
4713 arg as (_IO_strfile *).
4714 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
4715 Declare 1st arg as (_IO_strfile *).
4716 * libio/fileops.c (_IO_new_file_init): Declare
4717 arg type as (struct _IO_FILE_plus *).
4718 * libio/oldfileops.c (_IO_old_file_init): Likewise.
4719 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
4720 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
4721 Declare iteration pointer as (struct _IO_FILE_plus *).
a748c3c6
UD
4722 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
4723 (struct _IO_FILE_plus *).
2ca8b1ee
GM
4724 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
4725 * libio/oldstdfiles.c (_IO_list_all): Likewise.
a748c3c6
UD
4726 (_IO_check_libio): Set user-visible handles to
4727 (struct _IO_FILE_plus *).
2ca8b1ee
GM
4728 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
4729 to (struct _IO_FILE_plus *).
4730
4731 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
4732 whose high bound includes vtable to all functions that will use
4733 vtable. For streambufs, pass pointer whose bounds include struct
4734 _IO_strfile.
4735 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
4736 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4737 * libio/iofopen.c (_IO_new_fopen): Likewise.
4738 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4739 * libio/iofopen64.c (_IO_fopen64): Likewise.
4740 * libio/iopopen.c (_IO_new_popen): Likewise.
4741 * libio/oldiopopen.c (_IO_old_popen): Likewise.
4742 * libio/memstream.c (open_memstream): Likewise.
4743 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
4744 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
4745 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4746 * libio/iofopncook.c (_IO_cookie_init): Likewise.
4747 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
4748 * libio/vasprintf.c (_IO_vasprintf): Likewise.
4749 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4750 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
4751 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
4752 * stdlib/strfmon.c (__strfmon_l): Likewise.
4753 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
4754 (vfprintf): Qualify computed-goto targets as unbounded.
4755
72acaddf
UD
47562000-06-28 Ulrich Drepper <drepper@redhat.com>
4757
4758 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
4759 thousands separator correctly.
4760
4761 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
4762 * stdio-common/vfwscanf.c: Likewise.
4763
2d7fb37a
UD
47642000-06-27 Jes Sorensen <jes@linuxcare.com>
4765
4766 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
4767 count into signatures for most calls.
4768
99274b38
UD
47692000-06-28 Ulrich Drepper <drepper@redhat.com>
4770
4771 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
4772 the generic parser now.
4773
aa1b0984
UD
47742000-06-28 Jes Sorensen <jes@linuxcare.com>
4775
4776 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
4777 table entries are 32 bit on the ia64 (as specified by the ABI),
4778 not 64 bit as on the Alpha.
4779
4780 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
4781 change of objects to use 32 bit hash table indices (see above).
4782
47832000-06-28 Jes Sorensen <jes@linuxcare.com>
4784
4785 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
4786 prototype for abs().
4787
07c35131
UD
47882000-06-28 Wolfram Gloger <wg@malloc.de>
4789
4790 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
4791 fails, try mmap_chunk() as a last resort even though n_mmaps_max
4792 may have been reached.
4793
044ff622
UD
47942000-06-28 Ulrich Drepper <drepper@redhat.com>
4795
5295113f
UD
4796 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
4797 symbols in multi-character weights correctly.
4798
f1f1b6b9
UD
4799 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
4800 depending on whether the input string is empty or not.
4801
4802 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
4803 given state and not avoiding this by modifying a local object.
4804 * wcsmbs/wcrtomb.c: Likewise.
4805
4806 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
4807 object since some incomplete characters might be in there.
4808
392ac969 4809 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
72acaddf 4810 sequences with first byte 0x8e correctly.
392ac969 4811
044ff622
UD
4812 * iconvdata/jis0208.h: Remove redundant test.
4813
37696206
UD
48142000-06-27 Ulrich Drepper <drepper@redhat.com>
4815
d1660439
UD
4816 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
4817 Add it where it is needed now.
4818
0e16ecfa
UD
4819 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
4820 the input charset into account when generating the hash table.
4821 (allocate_arrays): Correct setting default width. Not all empty slots
4822 in the table are filled, only those not covert explicitly by the
4823 locale description and in the charset.
4824
37696206
UD
4825 * wctype/towctrans.c (__towctrans): Be graceful and accept error
4826 return values from the wctrans function.
4827
0e16ecfa
UD
4828 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
4829 wide character version.
4830 For %C handling, test correct pointer variable for NULL.
4831
4832 * wcsmbs/wctob.c: Handle WEOF special.
4833
4834 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
4835
4836 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
4837 always-true test to avoid warning.
4838
ebdf53a7
GM
48392000-06-27 Greg McGary <greg@mcgary.org>
4840
4841 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
4842 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
4843 (symbol_version, default_symbol_version): Factor redundant
4844 definitions out of conditional.
ebdf53a7 4845
1cf98aae
UD
48462000-06-27 Jakub Jelinek <jakub@redhat.com>
4847
4848 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
4849 not obstack_blank.
4850
8b943b4a
UD
48512000-06-26 Ulrich Drepper <drepper@redhat.com>
4852
4853 * include/libc-symbols.h (symbol_version): Add extra level of
4854 macro expansion.
4855 (default_symbol_version): Likewise.
4856
f9e7bbce
GM
48572000-06-26 Greg McGary <greg@mcgary.org>
4858
ee63ca21
GM
4859 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
4860 for BP return value & push implicit struct-return pointer to
4861 __errno_location.
4862 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4863 (SYSCALL_ERROR_HANDLER): Likewise.
4864 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
4865 (SYSCALL_ERROR_HANDLER): Likewise.
4866
58ff985d
GM
4867 * Makeconfig: Add missing comment.
4868 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
4869 BP-flavored startup object.
4870 ($(objpfx)b$(start-installed-name)): New rule.
4871 * include/libc-symbols.h (symbol_set_declare): Change type
4872 of `__start_##set' and `__stop_##set' to pointer-to-function.
4873 (symbol_set_declare): Change type of `set' to array of
4874 pointer-to-function.
4875 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
4876 pointer-to-function.
4877
7c90419b
GM
4878 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
4879
22fda766
GM
4880 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
4881 Remove clock_* and timer_* entries.
4882 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
4883 arg-count with signatures.
4884
2fc08826
GM
4885 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
4886 Check bounds of arguments.
4887 * sysdeps/i386/addmul_1.S: Likewise.
4888 * sysdeps/i386/lshift.S: Likewise.
4889 * sysdeps/i386/mul_1.S: Likewise.
4890 * sysdeps/i386/rshift.S: Likewise.
4891 * sysdeps/i386/sub_n.S: Likewise.
4892 * sysdeps/i386/submul_1.S: Likewise.
4893 * sysdeps/i386/i586/add_n.S: Likewise.
4894 * sysdeps/i386/i586/addmul_1.S: Likewise.
4895 * sysdeps/i386/i586/lshift.S: Likewise.
4896 * sysdeps/i386/i586/rshift.S: Likewise.
4897 * sysdeps/i386/i586/sub_n.S: Likewise.
4898 * sysdeps/i386/i686/add_n.S: Likewise.
4899
4900 * sysdeps/i386/memchr.S: Likewise.
4901 * sysdeps/i386/memcmp.S: Likewise.
4902 * sysdeps/i386/rawmemchr.S: Likewise.
4903 * sysdeps/i386/i586/bzero.S: Likewise.
4904 * sysdeps/i386/i586/memcpy.S: Likewise.
4905 * sysdeps/i386/i586/mempcpy.S: Likewise.
4906 * sysdeps/i386/i586/memset.S: Likewise.
4907 * sysdeps/i386/i686/bzero.S: Likewise.
4908 * sysdeps/i386/i686/memcpy.S: Likewise.
4909 * sysdeps/i386/i686/mempcpy.S: Likewise.
4910 * sysdeps/i386/i686/memset.S: Likewise.
4911
4912 * sysdeps/i386/stpcpy.S: Likewise.
4913 * sysdeps/i386/stpncpy.S: Likewise.
4914 * sysdeps/i386/strchr.S: Likewise.
4915 * sysdeps/i386/strchrnul.S: Likewise.
4916 * sysdeps/i386/strcspn.S: Likewise.
4917 * sysdeps/i386/strpbrk.S: Likewise.
4918 * sysdeps/i386/strrchr.S: Likewise.
4919 * sysdeps/i386/strspn.S: Likewise.
4920 * sysdeps/i386/strtok.S: Likewise.
4921 * sysdeps/i386/strtok_r.S: Likewise.
4922 * sysdeps/i386/i486/strcat.S: Likewise.
4923 * sysdeps/i386/i486/strlen.S: Likewise.
4924 * sysdeps/i386/i586/strchr.S: Likewise.
4925 * sysdeps/i386/i586/strcpy.S: Likewise.
4926 * sysdeps/i386/i586/strlen.S: Likewise.
4927 * sysdeps/i386/i686/strcmp.S: Likewise.
4928 * sysdeps/i386/i686/strtok.S: Likewise.
4929 * sysdeps/i386/i686/strtok_r.S: Likewise.
4930
4931 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
4932 * sysdeps/i386/fpu/fesetenv.c: Likewise.
4933 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
4934 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
4935 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
4936
f9e7bbce
GM
4937 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
4938 * sysdeps/i386/mul_1.S: Likewise.
4939 * sysdeps/i386/submul_1.S: Likewise.
4940 * sysdeps/i386/i586/add_n.S: Likewise.
4941 * sysdeps/i386/i586/addmul_1.S: Likewise.
4942 * sysdeps/i386/i586/lshift.S: Likewise.
4943 * sysdeps/i386/i586/mul_1.S: Likewise.
4944 * sysdeps/i386/i586/rshift.S: Likewise.
4945 * sysdeps/i386/i586/sub_n.S: Likewise.
4946 * sysdeps/i386/i586/submul_1.S: Likewise.
4947
c000cdad
UD
49482000-06-26 Ulrich Drepper <drepper@redhat.com>
4949
4950 * rt/Makefile (librt-routines): Add clock_nanosleep.
4951 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
4952 * sysdeps/generic/clock_nanosleep.c: New file.
4953 * sysdeps/unix/clock_nanosleep.c: New file.
4954 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
4955 * time/time.h: Declare clock_nanosleep.
4956
43c81906
GM
49572000-06-26 Greg McGary <greg@mcgary.org>
4958
4959 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
4960 INSN1, INSN2, TEXT, GLOBL): Remove macros.
4961 (ALIGN): Cleanup surrounding conditionals.
4962
4963 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
4964 Call ENTER/LEAVE macros.
4965 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
4966 * sysdeps/i386/submul_1.S: Likewise.
4967
4968 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
4969 syntax. Define & use symbolic argument stack offsets. Call
4970 ENTER/LEAVE macros.
4971 * sysdeps/i386/i586/mul_1.S: Likewise.
4972 * sysdeps/i386/i586/submul_1.S: Likewise.
4973
7475d016
UD
49742000-06-25 Greg McGary <greg@mcgary.org>
4975
4976 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
4977 not as bcopy.
4978
07dab0c3
UD
49792000-06-25 Ulrich Drepper <drepper@redhat.com>
4980
8b682b99
UD
4981 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
4982 * iconvdata/gen-8bit-gap.sh: Likewise.
4983 * iconvdata/gen-8bit.sh: Likewise.
4984
4985 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
4986
4987 * locale/programs/ld-collate.c (collate_read): Don't actually read
4988 the copy locale if we are ignoring the content.
4989
45a9eda2
UD
4990 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
4991 unknown character.
4992
07dab0c3
UD
4993 * locale/programs/ld-collate.c: Correct handling of different
4994 collation sections.
4995 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
4996 as extra parameter from which to copy category information.
4997 Change all callers.
4998 (load_locale): Likewise.
4999 * locale/programs/localedef.h: Update prototypes of add_to_readlist
5000 and load_locale.
5001 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
5002 * locale/programs/locfile.h: Likewise.
5003 * locale/programs/locfile-kw.gperf: Add entry for script.
5004 * locale/programs/locfile-token.h: Add tok_script.
5005
5006 * locale/programs/locale.c: Update copyright year.
5007 * locale/programs/localedef.c: Likewise.
5008
eacc6555
AJ
50092000-06-23 Thorsten Kukuk <kukuk@suse.de>
5010
8b682b99
UD
5011 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
5012 Jens Moeller <jens.moeller@waii.com>.
eacc6555 5013
756186e7
UD
50142000-06-24 Ulrich Drepper <drepper@redhat.com>
5015
ae1aff77
UD
5016 * locale/programs/ld-name.c (name_finish): Add missing format
5017 specifier to test for name_fmt.
5018
17955ae2
UD
5019 * locale/programs/ld-address.c (iso639): Correct length of string
5020 elements.
0ea5f1b8 5021 (iso3166): Likewise.
17955ae2
UD
5022
5023 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
756186e7 5024
17955ae2
UD
5025 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
5026 Define.
756186e7
UD
5027
5028 * elf/elf.h (NT_PRFPXREG): Define.
5029
64f022a4
UD
50302000-06-23 Ulrich Drepper <drepper@redhat.com>
5031
5032 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
5033 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
5034
a4b33f03
AS
50352000-06-23 Andreas Schwab <schwab@suse.de>
5036
5037 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
5038 with signatures.
5039
16b02fef
AJ
50402000-06-23 Andreas Jaeger <aj@suse.de>
5041
536f4e87
AJ
5042 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
5043
ffce1bc7
AJ
5044 * io/test-stat.c: Add copyright header, mention Maciej.
5045
16b02fef
AJ
5046 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
5047 SYS_mincore, SYS_madvise): Added.
5048
5049 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
5050 execve.
5051
e7d3a52a
UD
50522000-06-22 Ulrich Drepper <drepper@redhat.com>
5053
e8595e84
UD
5054 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
5055 (CFLAGS-tst_putwc.c): New definition.
5056 * libio/tst_getwc.c: New file.
5057 * libio/tst_getwc.input: New file.
5058 * libio/tst_putwc.c: New file.
5059
e7d3a52a
UD
5060 * include/string.h: Add prototype for __strdup.
5061
6a05c783
GM
50622000-06-22 Greg McGary <greg@mcgary.org>
5063
5064 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
5065 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
5066 Fix signatures.
5067
d2e7a240
UD
50682000-06-23 Jes Sorensen <jes@linuxcare.com>
5069
5070 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
5071
3a10a8bc
UD
50722000-06-22 Jes Sorensen <jes@linuxcare.com>
5073
5074 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
5075
33256e8a
UD
50762000-06-22 Jes Sorensen <jes@linuxcare.com>
5077
5078 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
5079 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
5080
2fcbf75b
UD
50812000-06-22 Ulrich Drepper <drepper@redhat.com>
5082
5083 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
5084 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
5085 and __S_TYPEISSHM.
5086 * sysdeps/mach/hurd/bits/stat.h: Likewise.
5087 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5088 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5089 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5090 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
5091 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
5092 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5093 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5094 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5095 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5096 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
5097 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5098 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
d0db5a44
UD
5099 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
5100 S_TYPEISSHM.
2fcbf75b 5101
72a96435
AJ
51022000-06-22 Andreas Jaeger <aj@suse.de>
5103
2b22b881
AJ
5104 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
5105 with signatures.
5106
3cfd2d07
AJ
5107 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
5108
72a96435
AJ
5109 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
5110
de568fbe
UD
51112000-06-21 Ulrich Drepper <drepper@redhat.com>
5112
5113 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
5114 ahead.
5115
2b6fb3df
GM
51162000-06-21 Greg McGary <greg@mcgary.org>
5117
5118 * Makerules (elide-routines.*, elide-bp-thunks):
5119 Define unconditionally.
5120
387be087
UD
51212000-06-21 Jes Sorensen <jes@linuxcare.com>
5122
5123 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5124
514f9e32
UD
51252000-06-21 Andreas Jaeger <aj@suse.de>
5126
5127 * io/Makefile (tests): Add test-stat.
5128 (CFLAGS-test-stat.c): New.
5129
5130 * io/test-stat.c: New file from Maciej W. Rozycki
5131 <macro@ds2.pg.gda.pl>.
5132
4cdf2d81
UD
51332000-06-21 Jes Sorensen <jes@linuxcare.com>
5134
5135 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
5136 in __rlimit_resource to make them match the kernel order.
5137 rlim_t is always 64 bit, use __rlim64_t to declare it
5138 unconditionally.
5139
51402000-05-04 Jes Sorensen <jes@linuxcare.com>
5141
5142 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
5143 RLIM_INFINITY before defining it to avoid clash with kernel header
5144
51452000-05-03 Jes Sorensen <jes@linuxcare.com>
5146
5147 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
5148
b1b5152b
UD
51492000-06-21 Ulrich Drepper <drepper@redhat.com>
5150
5151 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
5152
ae0d72a5
AJ
51532000-06-21 Andreas Jaeger <aj@suse.de>
5154
906ec4a2
AJ
5155 * stdio-common/temptest.c: Include <stdlib.h>.
5156 * stdio-common/tst-fileno.c: Likewise.
5157 * stdio-common/scanf4.c: Likewise.
5158 * stdio-common/scanf5.c: Likewise.
5159 * time/clocktest.c: Likewise.
5160 * posix/test-vfork.c: Likewise.
5161 * posix/globtest.c: Likewise.
5162 * io/test-utime.c: Likewise.
5163 * wctype/test_wcfuncs.c: Likewise.
5164 * crypt/cert.c: Likewise.
5165
5166 * stdio-common/tst-printfsz.c: Include <string.h>.
5167 * libio/tst_swscanf.c: Likewise.
5168 * libio/tst_wscanf.c: Likewise.
5169 * posix/runtests.c: Likewise.
5170 * posix/tst-getaddrinfo.c: Likewise.
5171 * posix/wordexp-test.c: Likewise.
5172 * misc/tst-efgcvt.c: Likewise.
5173
5174 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
5175 * nss/test-netdb.c: Likewise.
5176
5177 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
5178 supported kernel for MIPS.
5179
ae0d72a5
AJ
5180 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
5181 * rt/aio_suspend.c: Likewise.
5182
bdf09fab
UD
51832000-06-20 Ulrich Drepper <drepper@redhat.com>
5184
ae0d72a5 5185 * math/libm-test.inc: Include <string.h>.
bdf09fab 5186
697568d1
UD
51872000-06-20 Jes Sorensen <jes@linuxcare.com>
5188
5189 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
5190
51912000-06-20 Jes Sorensen <jes@linuxcare.com>
5192
5193 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
5194 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
5195
51962000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
5197
5198 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
5199
52002000-06-20 Jes Sorensen <jes@linuxcare.com>
5201
5202 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
5203
1b97149d
UD
52042000-06-20 Ulrich Drepper <drepper@redhat.com>
5205
5206 * locale/programs/ld-collate.c (insert_value): Now take string and
5207 length instead of struct token* parameter. Adjust use of token.
5208 (handle_ellipsis): Likewise.
5209 (collate_read): Allow <Uxxxx> names and transform them into names
5210 to be passed to insert_value and handle_ellipsis.
5211
5212 * locale/programs/ld-ctype.c (uninames): New array with names of
5213 digits in <Uxxxxxxxx> format.
5214 (ctype_finish): Correct search for space character value. Likewise
5215 for default outdigits values.
5216
28546617
GM
52172000-06-20 Greg McGary <greg@mcgary.org>
5218
5219 * Makerules (objects): Add BP thunks.
5220
620cdffb
UD
52212000-06-20 Ulrich Drepper <drepper@redhat.com>
5222
5223 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
5224 in width definitions.
5225
a8a9cd6b
AJ
52262000-06-20 Andreas Jaeger <aj@suse.de>
5227
9380bb48
AJ
5228 * sysdeps/mips/fpu/libm-test-ulps: New file.
5229
a8a9cd6b
AJ
5230 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
5231 first.
5232
5233 * sysdeps/mips/fpu/feholdexcpt.c: New file.
5234
5235 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
5236
ea97f90c
UD
52372000-06-19 Ulrich Drepper <drepper@redhat.com>
5238
5d5a23df
UD
5239 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
5240 change in gconv_builtin.h.
5241
ba80a015
UD
5242 * malloc/Makefile: Change all references to memprof into memusage.
5243 * malloc/memprof.c: Rename to...
5244 * malloc/memusage.c: ...this. New file.
5245 * malloc/memprof.sh: Rename to...
5246 * malloc/memusage.sh: ...this. New file.
5247 * malloc/memprofstat.c: Rename to...
5248 * malloc/memusagestat.c: ...this. New file.
fa4a5fe7
UD
5249 * sysdeps/alpha/memprof.h: Rename to..
5250 * sysdeps/alpha/memusage.h: ...this. New file.
5251 * sysdeps/arm/memprof.h: Rename to..
5252 * sysdeps/arm/memusage.h: ...this. New file.
5253 * sysdeps/generic/memprof.h: Rename to..
5254 * sysdeps/generic/memusage.h: ...this. New file.
5255 * sysdeps/i386/memprof.h: Rename to..
5256 * sysdeps/i386/memusage.h: ...this. New file.
5257 * sysdeps/ia64/memprof.h: Rename to..
5258 * sysdeps/ia64/memusage.h: ...this. New file.
5259 * sysdeps/m68k/memprof.h: Rename to..
5260 * sysdeps/m68k/memusage.h: ...this. New file.
5261 * sysdeps/mips/memprof.h: Rename to..
5262 * sysdeps/mips/memusage.h: ...this. New file.
5263 * sysdeps/powerpc/memprof.h: Rename to..
5264 * sysdeps/powerpc/memusage.h: ...this. New file.
5265 * sysdeps/sparc/memprof.h: Rename to..
5266 * sysdeps/sparc/memusage.h: ...this. New file.
5267 * sysdeps/sh/memprof.h: Rename to..
5268 * sysdeps/sh/memusage.h: ...this. New file.
ba80a015 5269
ea97f90c
UD
5270 * elf/sprof.c (print_version): Update year.
5271
5272 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
5273 table entry values. Use D_PTR.
5274 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
5275 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
5276
131bf9f3
UD
52772000-06-20 Jes Sorensen <jes@linuxcare.com>
5278
5279 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5280 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
5281 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
5282 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
5283
52842000-05-05 Jes Sorensen <jes@linuxcare.com>
5285
5286 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
5287
0289ab3b
UD
52882000-06-16 Jes Sorensen <jes@linuxcare.com>
5289
5290 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
5291 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
5292 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
5293
5294 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
5295
5296 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
5297 kernel change.
5298
5299 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
5300 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
5301 structure.
5302 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
5303 implementation.
5304
53052000-06-15 Jes Sorensen <jes@linuxcare.com>
5306
5307 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
5308
53092000-06-08 Jes Sorensen <jes@linuxcare.com>
5310
5311 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
5312
d6204268
UD
53132000-06-19 Ulrich Drepper <drepper@redhat.com>
5314
d2dfc5de
UD
5315 * iconv/gconv_int.h (strict gconv_module): Remove all members
5316 associated with regular expressions. Use a simple string as the
5317 from name.
5318 * iconv/gconv_db.c: Remove code handling regular expressions.
5319 * iconv/gconv_conf.c: Likewise.
5320 * iconv/iconv_prog.c: Likewise.
5321 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
5322
d6204268
UD
5323 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
5324 General namespace cleanup.
5325 (struct __gconv_trans_data): Add next field.
5326 (struct __gconv_step_data): Make __trans a pointer.
5327 * iconv/gconv_conf.c: Split out code to find gconv directories from
5328 __gconv_read_conf in new functions.
5329 * iconv/gconv_int.h: Define new data structure and declare new
5330 functions for handling of gconv directory list.
5331 * iconv/gconv_open.c: Allow more than one error handling step being
5332 used. Call function to load error handling module if it is none
5333 of the builtin transformations.
5334 * iconv/gconv_close.c: Add code to free transliteration data.
5335 * iconv/gconv_trans.c: Add functions to load and unload modules
5336 implementing transliteration etc.
5337 * iconv/skeleton.c: Call all context functions now that more than
5338 one module is allowed.
5339 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
5340 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
5341 where the full error handling using transliteration is needed.
5342 * iconvdata/8bit-gap.c: Likewise.
5343 * iconvdata/8bit-generic.c: Likewise.
5344 * iconvdata/ansi_x3.110.c: Likewise.
5345 * iconvdata/big5.c: Likewise.
5346 * iconvdata/big5hkscs.c: Likewise.
5347 * iconvdata/euc-cn.c: Likewise.
5348 * iconvdata/euc-jp.c: Likewise.
5349 * iconvdata/euc-kr.c: Likewise.
5350 * iconvdata/euc-tw.c: Likewise.
5351 * iconvdata/gbgbk.c: Likewise.
5352 * iconvdata/gbk.c: Likewise.
5353 * iconvdata/iso-2022-cn.c: Likewise.
5354 * iconvdata/iso-2022-jp.c: Likewise.
5355 * iconvdata/iso-2022-kr.c: Likewise.
5356 * iconvdata/iso646.c: Likewise.
5357 * iconvdata/iso8859-1.c: Likewise.
5358 * iconvdata/iso_6937-2.c: Likewise.
5359 * iconvdata/iso_6937.c: Likewise.
5360 * iconvdata/johab.c: Likewise.
5361 * iconvdata/sjis.c: Likewise.
5362 * iconvdata/t.61.c: Likewise.
5363 * iconvdata/uhc.c: Likewise.
5364 * iconvdata/unicode.c: Likewise.
5365 * iconvdata/utf-16.c: Likewise.
5366 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
5367 structure correctly after last change.
5368 * wcsmbs/btowc.c: Likewise.
5369 * wcsmbs/mbrtowc.c: Likewise.
5370 * wcsmbs/mbsnrtowcs.c: Likewise.
5371 * wcsmbs/mbsrtowcs.c: Likewise.
5372 * wcsmbs/wcrtomb.c: Likewise.
5373 * wcsmbs/wcsnrtombs.c: Likewise.
5374 * wcsmbs/wcsrtombs.c: Likewise.
5375 * wcsmbs/wctob.c: Likewise.
5376
5377 * localedata/Makefile: Set -Wno-format for some files since gcc does
5378 not know all the format specifiers.
5379
53802000-06-18 Ulrich Drepper <drepper@redhat.com>
5381
5382 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
5383 unneeded code.
5384 * locale/lc-time.c (_nl_init_era_entries): Likewise.
5385
85577882
AJ
53862000-06-18 Andreas Jaeger <aj@suse.de>
5387
5388 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
5389 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5390
a8e4c924
UD
53912000-06-17 Ulrich Drepper <drepper@redhat.com>
5392
89ffa8a8
UD
5393 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
5394 LINUX_LINK_MAX.
5395 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
a9c464ab 5396
498b733e
UD
5397 * locale/programs/ld-ctype.c (ctype_output): Really write out
5398 mboutdigits information.
5399 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
5400 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
5401 * localedata/tests/trans.def: Add outdigit information.
5402
5403 * localedata/tst-mbswcs3.c: Remove comment.
5404
9d54e984 5405 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
ce723583
UD
5406 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
5407 * libio/tst_wprintf.c (main): Add test for I flag.
9d54e984 5408
a8e4c924
UD
5409 * iconv/gconv_trans.c: Implement handling if translit_ignore.
5410 * locale/langinfo.h: Add entries for translit_ignore information.
5411 * locale/categories.def: Add entries for new LC_CTYPE elements.
5412 * locale/C-ctype.c: Add initializers for new fields. Use NULL
5413 pointer instead of "" where possible.
5414 * locale/programs/ld-ctype.c: Write out translit_ignore information.
5415 * intl/Depend: Add localedata.
5416 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
5417 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
5418
323fb88d
UD
54192000-06-16 Ulrich Drepper <drepper@redhat.com>
5420
1d96d74d
UD
5421 * locale/langinfo.h: Add entries for default_missing information.
5422 * locale/C-ctype.c: Add initializers for new fields.
5423 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
5424 information.
5425 * locale/categories.h: Add entries for all LC_CTYPE values.
5426 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
5427 information.
5428
5429 * localedata/tst-trans.c: Write out an error message if class is
5430 not found.
5431
323fb88d
UD
5432 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
5433 * iconv/gconv_open.c: Remove error handling specification from `from'
5434 character set name.
5435 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
5436 new parameter to always enable transliteration.
5437 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
5438 change.
5439 (struct locale_data): Add new members use_translit and options.
5440 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
5441 character set name contained modifier TRANSLIT.
5442 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
5443 and options fields.
5444 (_nl_unload_locale): Free options string if necessary.
5445 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
5446 the locale names suggested this.
5447 * locale/C-address.c: Add two new initialilzers to adjust data
5448 structure for new format.
5449 * locale/C-collate.c: Likewise.
5450 * locale/C-ctype.c: Likewise.
5451 * locale/C-identification.c: Likewise.
5452 * locale/C-measurement.c: Likewise.
5453 * locale/C-messages.c: Likewise.
5454 * locale/C-monetary.c: Likewise.
5455 * locale/C-name.c: Likewise.
5456 * locale/C-numeric.c: Likewise.
5457 * locale/C-paper.c: Likewise.
5458 * locale/C-telephone.c: Likewise.
5459 * locale/C-time.c: Likewise.
5460
5461 * locale/setlocale.c: Add some more __builtin_expect.
5462
f1d5c60d
UD
54632000-06-15 Ulrich Drepper <drepper@redhat.com>
5464
5465 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
5466 unsigned char **.
5467 (__gconv_init_fct): Remove two parameters.
5468 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
5469 gconv_transliterate. Remove two parameters.
5470 Change prototypes of builtin functions according to __gconv_fct change.
5471 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
5472 != NULL only during error handling. Stop in this case after the
5473 conversion.
5474 * iconv/gconv_trans.c: Replace with real implementation for
5475 __gconv_transliterate.
5476 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
5477 * iconv/gconv.c: Change calls to downstream functions once again.
5478 Use NULL for the fifth parameter instead of pointer to output buffer.
5479 * libio/iofwide.c: Likewise.
5480 * wcsmbs/btowc.c: Likewise.
5481 * wcsmbs/mbrtowc.c: Likewise.
5482 * wcsmbs/mbsnrtowcs.c: Likewise.
5483 * wcsmbs/mbsrtowcs.c: Likewise.
5484 * wcsmbs/wcrtomb.c: Likewise.
5485 * wcsmbs/wcsnrtombs.c: Likewise.
5486 * wcsmbs/wcsrtombs.c: Likewise.
5487 * wcsmbs/wctob.c: Likewise.
5488 * iconv/gconv_simple.c: Remove two parameters from error handling
5489 function call.
5490 * iconvdata/8bit-gap.c: Likewise.
5491 * iconvdata/8bit-generic.c: Likewise.
5492 * iconvdata/ansi_x3.110.c: Likewise.
5493 * iconvdata/big5.c: Likewise.
5494 * iconvdata/big5hkscs.c: Likewise.
5495 * iconvdata/euc-cn.c: Likewise.
5496 * iconvdata/euc-jp.c: Likewise.
5497 * iconvdata/euc-kr.c: Likewise.
5498 * iconvdata/euc-tw.c: Likewise.
5499 * iconvdata/gbgbk.c: Likewise.
5500 * iconvdata/gbk.c: Likewise.
5501 * iconvdata/iso-2022-cn.c: Likewise.
5502 * iconvdata/iso-2022-jp.c: Likewise.
5503 * iconvdata/iso-2022-kr.c: Likewise.
5504 * iconvdata/iso646.c: Likewise.
5505 * iconvdata/iso8859-1.c: Likewise.
5506 * iconvdata/iso_6937-2.c: Likewise.
5507 * iconvdata/iso_6937.c: Likewise.
5508 * iconvdata/johab.c: Likewise.
5509 * iconvdata/sjis.c: Likewise.
5510 * iconvdata/t.61.c: Likewise.
5511 * iconvdata/uhc.c: Likewise.
5512 * iconvdata/unicode.c: Likewise.
5513 * iconvdata/utf-16.c: Likewise.
5514
f5361098
UD
55152000-06-15 Greg McGary <greg@mcgary.org>
5516
5517 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
5518 of callnum assignment. Tolerate callnum expressions containing
5519 parens.
5520
6bca0305
UD
55212000-06-14 Ulrich Drepper <drepper@redhat.com>
5522
18b149d8
UD
5523 * login/Makefile (utmpd): Remove rule to build utmpd.
5524
5525 * csu/Versions: Move libgcc frame handling functions from here...
5526 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
5527 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
5528 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
5529 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
5530 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
5531 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
5532 New file.
fcf81e81 5533 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
18b149d8 5534
9ca23765
UD
5535 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
5536
6bca0305
UD
5537 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
5538
e26dd47f
UD
55392000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
5540
5541 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
5542 compatibility.
5543 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
5544 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
5545 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
5546 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
5547
55482000-06-14 Jakub Jelinek <jakub@redhat.com>
5549
5550 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
5551 defined, terminate quotes and read them after the comment char.
5552 * configure.in (HAVE_SECTION_QUOTES): Test whether
5553 __attribute__((section ("x"))) puts quotes around x or not.
5554 * config.h.in (HAVE_SECTION_QUOTES): Add.
5555 * configure: Rebuilt.
5556
e85db9de
AJ
55572000-06-14 Andreas Jaeger <aj@suse.de>
5558
cee49e0c
AJ
5559 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
5560 depending on the configure option --sysconfdir.
e3978a35
UD
5561 Closes PR libc/1762.
5562 Patch by Andreas Schwab <schwab@suse.de>.
cee49e0c 5563
e85db9de
AJ
5564 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
5565 entry point.
5566 Reported by Jim Pick <jim@jimpick.com>.
5567
594cee6c
UD
55682000-06-14 Ulrich Drepper <drepper@redhat.com>
5569
5570 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
5571 crashing the application. Emit some simple error message.
5572 Reported by mju@panasas.com [PR libc/1769].
5573
b8d36e83
UD
55742000-06-13 Ulrich Drepper <drepper@redhat.com>
5575
1bfae401
UD
5576 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
5577
46462326
UD
5578 * crypt/Makefile (distribute): Add md5.h.
5579
cf2964e2
UD
5580 * Makefile (distribute): Add include/shlib-compat.h.
5581
002ab034
UD
5582 * Make-dist: Search for tests also in sysdeps hierachy.
5583
afa0569f
UD
5584 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
5585 ufc.c, speeds.c, README.ufc-crypt, and Banner.
5586
5587 * sysdeps/sparc/Subdirs: New file.
5588
5589 * locale/Makefile (distribute): Add weightwc.h and
5590 programs/localedef.h.
5591
5592 * time/Makefile (distribute): Add datemsk.
5593
5594 * sysdeps/ia64/Dist: Add softpipe.h.
5595
5596 * sysdeps/unix/sysv/aix/Dist: New file.
5597
5598 * posix/setpgrp.c: Moved to...
5599 * sysdeps/generic/setpgrp.c: ...here. New file.
5600 * io/mknod.c: Moved to...
5601 * sysdeps/generic/mknod.c: ...here. New file.
5602
5603 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
5604
5605 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
5606
5607 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
5608
5609 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
5610 gprsave0.S, gprrest1.S, and gprrest0.S.
5611
5612 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
5613
5614 * posix/Makefile (routines): Add spawnattr_getsigmask,
5615 spawnattr_getschedpolicy, spawnattr_getschedparam,
5616 spawnattr_setsigmask, spawnattr_setschedpolicy, and
5617 spawnattr_setschedparam.
5618 * posix/Versions: Add posix_spawnattr_getschedpolicy,
5619 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
5620 posix_spawnattr_setschedparam.
5621
5622 * posix/spawnattr_setschedparam.c: Fix typo.
5623
5624 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
5625 Correct typo.
5626
5627 * login/programs/utmpd.c: Removed.
5628 * login/programs/utmpd.h: Removed.
5629 * login/programs/utmpd-private.h: Removed.
5630
5631 * Makefile (distribute): Add include/db_185.h and include/db.h.
5632
5633 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
5634 iso-ir-165.h.
5635
5636 * elf/Makefile (distribute): Add missing files.
5637
5638 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
5639 * elf/eval.c: Moved to...
5640 * dlfcn/eval.c: ...here. New file.
5641
5642 * Makefile (distribute): Also distribute ChangeLog.1?.
5643
490dc9aa
UD
5644 * Make-dist (+tsrcs): Remove .args handling here as well.
5645
7ae1fe4d
UD
5646 * rt/Makefile (tests): Add tst-timer.
5647 * sysdeps/generic/tst-timer.c: New file.
5648
5539d257
UD
5649 * Makerules (sources): Don't add BP sources here.
5650
5651 * login/Makefile (distribute): Remove xtmp.h.
5652
b8d36e83
UD
5653 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
5654 is true. Reported by Bruno Haible <haible@ilog.fr>.
5655
f7b94528
AJ
56562000-06-13 Andreas Jaeger <aj@suse.de>
5657
5658 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
5659 Patch by Ralf Baechle <ralf@gnu.org>.
5660
ab95290c
UD
56612000-06-13 Ulrich Drepper <drepper@redhat.com>
5662
b4e3d964
UD
5663 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
5664 for mincore syscall.
5665
ab95290c
UD
5666 * misc/sys/cdefs.h: Define __bounded and __unbounded if
5667 __BOUNDED_POINTERS__ is not defined.
5668
56692000-06-07 Greg McGary <greg@mcgary.org>
5670
5671 * sysdeps/generic/bp-sym.h: New file.
5672 * sysdeps/generic/bp-start.h: New file.
5673 * sysdeps/i386/elf/start.S: Designate BP symbols.
5674 * sysdeps/generic/libc-start.c: Wrap bounds around
5675 argv & envp and each of their string members.
5676
56772000-06-07 Greg McGary <greg@mcgary.org>
5678
5679 * sysdeps/unix/make-syscalls.sh: Add comments to
5680 output that aid debugging & comprehension.
5681 Map simple syscall signatures to number of args.
5682 Generate BP syscall thunk definitions.
5683 * sysdeps/generic/bp-thunks.h: New file.
5684 * sysdeps/unix/syscalls.list: Replace arg-count with
5685 simple return+arg signature.
5686 * sysdeps/unix/common/syscalls.list: Likewise.
5687 * sysdeps/unix/inet/syscalls.list: Likewise.
5688 * sysdeps/unix/mman/syscalls.list: Likewise.
5689 * sysdeps/unix/sysv/syscalls.list: Likewise.
5690 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5691 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5692
56932000-06-07 Greg McGary <greg@mcgary.org>
5694
ee63ca21
GM
5695 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
5696 for all files *.[cS].
ab95290c
UD
5697 (CFLAGS-.ob): Don't optimize sibling calls.
5698 (bppfx): New variable.
5699 * Makerules (elide-bp-thunks): New variable.
5700 (elide-routines.*): Elide BP-* files for all but *.ob.
5701 (sources): Include bp-thunks.
5702
4b40cff4
UD
57032000-06-12 Ulrich Drepper <drepper@redhat.com>
5704
ab95290c
UD
5705 * iconv/gconv_simple.c: Remove unnecessary prototype.
5706
5707 * iconv/gconv_trans.c: Pretty print.
5708
a5c88158
UD
5709 * elf/elf.h (R_SH_NUM): Got accidently dropped.
5710
48d0c5d8
UD
5711 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
5712 minimal kernel versions. Add information about IA-64 kernel.
5713
003a02c6
UD
5714 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
5715 specific minimal supported kernel versions to be specified.
5716
ff048a13
UD
5717 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
5718 step data structure.
5719 * wcsmbs/btowc.c: Likewise.
5720 * wcsmbs/mbrtowc.c: Likewise.
5721 * wcsmbs/mbsnrtowcs.c: Likewise.
5722 * wcsmbs/mbsrtowcs.c: Likewise.
5723 * wcsmbs/wcrtomb.c: Likewise.
5724 * wcsmbs/wcsnrtombs.c: Likewise.
5725 * wcsmbs/wcsrtombs.c: Likewise.
5726 * wcsmbs/wctob.c: Likewise.
5727
0aaf6d96
UD
5728 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
5729 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
5730
6e62dceb
UD
5731 * shlib-versions: Earliest backward compatible version for SH is 2.2.
5732
fbedbe9d
UD
5733 * misc/sys/cdefs.h: Remove one more __P.
5734
04cdaa08 5735 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
0da2f50b
UD
5736 Reported by HJ Lu.
5737
4b40cff4
UD
5738 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
5739 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
5740 * sysdeps/sh/bits/setjmp.h: ...here. New file.
5741
88615235
UD
57422000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
5743 Yutaka Niibe <gniibe@chroot.org>
5744
5745 * configure.in: Add machine sh3, sh4.
5746 * elf/elf.h: Add SH specific declarations of relocations.
5747 * shlib-versions: Add sh*-*-linux* cases.
5748
37fb8add
UD
57492000-06-12 Ulrich Drepper <drepper@redhat.com>
5750
9405414f
UD
5751 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
5752 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
5753 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
5754 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
5755 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
5756 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
5757
afa0db7a
UD
5758 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
5759 instead of KERNEL_MATH_EMULATION.
5760 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
5761 KERNEL_MATH_EMULATION.
5762
65074d23
UD
5763 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
5764 * sysdeps/sh/sh3/dl-machine.h: Moved to...
5765 * sysdeps/sh/dl-machine.h: ...here. New file.
5766 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
5767 and include generic SH version.
5768 * sysdeps/sh/sh3/bits/endian.h: Move to...
5769 * sysdeps/sh/bits/endian.h: ...here. New file.
5770 * sysdeps/sh/sh4/bits/endian.h: Removed.
5771 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
5772 * sysdeps/sh/bits/huge_val.h: ...here. New file.
5773 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
5774
37fb8add 5775 * include/libc-symbols.h (link_warning): Work around a change in
65074d23
UD
5776 GAS which warns about changing section attributes.
5777 Proposed by Nick Clifton <nickc@redhat.com>.
37fb8add 5778
2caacb0a
UD
57792000-06-12 H.J. Lu <hjl@gnu.org>
5780
5781 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
5782
57832000-06-11 H.J. Lu <hjl@gnu.org>
5784
5785 * sysdeps/i386/fpu/Versions: New file.
5786
4d37e19c
UD
57872000-06-12 Ulrich Drepper <drepper@redhat.com>
5788
5789 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
5790 parameters.
5791 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
5792 exists.
5793
30010c63
UD
57942000-06-12 Jes Sorensen <jes@linuxcare.com>
5795
5796 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
5797 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
5798 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
5799
5800 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
5801 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
5802 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
5803
3846ef75
UD
58042000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
5805 Yutaka Niibe <gniibe@chroot.org>
5806
5807 * sysdeps/sh/Dist: New file.
5808 * sysdeps/sh/Implies: New file.
65074d23 5809 * sysdeps/sh/elf/initfini.c: New file.
3846ef75
UD
5810 * sysdeps/sh/gmp-mparam.h: New file.
5811 * sysdeps/sh/init-first.c: New file.
5812 * sysdeps/sh/machine-gmon.h: New file.
5813 * sysdeps/sh/memcpy.S: New file.
5814 * sysdeps/sh/memprof.h: New file.
5815 * sysdeps/sh/memset.S: New file.
5816 * sysdeps/sh/sh3/__longjmp.S: New file.
5817 * sysdeps/sh/sh3/bits/endian.h: New file.
5818 * sysdeps/sh/sh3/bits/huge_val.h: New file.
5819 * sysdeps/sh/sh3/bits/setjmp.h: New file.
5820 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
5821 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
5822 * sysdeps/sh/sh3/dl-machine.h: New file.
3846ef75 5823 * sysdeps/sh/sh3/setjmp.S: New file.
3846ef75
UD
5824 * sysdeps/sh/sh4/__longjmp.S: New file.
5825 * sysdeps/sh/sh4/bits/endian.h: New file.
5826 * sysdeps/sh/sh4/bits/huge_val.h: New file.
5827 * sysdeps/sh/sh4/bits/setjmp.h: New file.
5828 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
5829 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
5830 * sysdeps/sh/sh4/dl-machine.h: New file.
3846ef75
UD
5831 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
5832 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
5833 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
5834 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
5835 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
5836 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
5837 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
5838 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
5839 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
5840 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
5841 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
5842 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
5843 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
5844 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
5845 * sysdeps/sh/sh4/setjmp.S: New file.
65074d23
UD
5846 * sysdeps/sh/elf/start.S: New file.
5847 * sysdeps/sh/sys/ucontext.h: New file.
3846ef75
UD
5848 * sysdeps/sh/strlen.S: New file.
5849 * sysdeps/sh/sysdep.h: New file.
5850 * sysdeps/unix/sh/sysdep.S: New file.
5851 * sysdeps/unix/sh/sysdep.h: New file.
5852 * sysdeps/unix/sysv/linux/sh/Dist: New file.
5853 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
5854 * sysdeps/unix/sysv/linux/sh/Versions: New file.
5855 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
5856 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
5857 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
5858 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
5859 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
5860 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
5861 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
5862 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
5863 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
5864 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
5865 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
5866 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
5867 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
5868 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
5869 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
5870 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
5871 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
5872 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
5873 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
5874 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
5875 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
5876 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
5877 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
5878 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
5879 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
5880 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
5881 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
5882 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
5883 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
5884 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
5885 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
5886 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
5887 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
5888 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
5889 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
5890 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
5891 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
5892 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
5893 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
5894 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
5895 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5896 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
5897 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
5898 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
5899 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
5900 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
5901 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
5902
55985355
UD
59032000-06-12 Ulrich Drepper <drepper@redhat.com>
5904
5905 * Rules (%.out): Define GCONV_PATH in the environment.
5906 * assert/Depend: New file.
5907 * iconvdata/Depend: New file.
5908 * intl/Depend: New file.
5909 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
5910 * intl/tst-gettext.sh: Likewise.
5911 * iconv/Makefile (routines): Add gconv_trans.
5912 * iconv/gconv_trans.c: New file.
5913 * iconv/gconv.h (struct __gconv_trans_data): New type.
5914 (__gconv_fct): New parameter with starting position in output buffer.
5915 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
5916 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
5917 (struct __gconv_step): Add new member __trans.
5918 * iconv/gconv_int.h: Pretty print prototypes.
5919 (gconv_transliterate): New prototype.
5920 (__BUILTIN_TRANS): Update for new conversion function interface.
5921 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
5922 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
5923 in names, find appropriate function, and install in the conversion
5924 steps it can be used.
5925 * iconv/skeleton.c: Add additional parameter for beginning of output
5926 buffer. Change calls of downstream functions.
5927 * iconv/loop.c: Change loop function interface completely. Pass in
5928 step and step_data structure. Remove optimization for BODY with
5929 NEED_LENGTH_TEST == 0.
5930 * iconv/gconv_simple.c: Update interfaces of functions. Insert
5931 appropriate error handling code to use transliteration steps. Remove
5932 optimization for BODY with NEED_LENGTH_TEST == 0.
5933 * iconvdata/8bit-gap.c: Likewise.
5934 * iconvdata/8bit-generic.c: Likewise.
5935 * iconvdata/ansi_x3.110.c: Likewise.
5936 * iconvdata/big5.c: Likewise.
5937 * iconvdata/big5hkscs.c: Likewise.
5938 * iconvdata/euc-cn.c: Likewise.
5939 * iconvdata/euc-jp.c: Likewise.
5940 * iconvdata/euc-kr.c: Likewise.
5941 * iconvdata/euc-tw.c: Likewise.
5942 * iconvdata/gbgbk.c: Likewise.
5943 * iconvdata/gbk.c: Likewise.
5944 * iconvdata/iso-2022-cn.c: Likewise.
5945 * iconvdata/iso-2022-jp.c: Likewise.
5946 * iconvdata/iso-2022-kr.c: Likewise.
5947 * iconvdata/iso646.c: Likewise.
5948 * iconvdata/iso8859-1.c: Likewise.
5949 * iconvdata/iso_6937-2.c: Likewise.
5950 * iconvdata/iso_6937.c: Likewise.
5951 * iconvdata/johab.c: Likewise.
5952 * iconvdata/sjis.c: Likewise.
5953 * iconvdata/t.61.c: Likewise.
5954 * iconvdata/uhc.c: Likewise.
5955 * iconvdata/unicode.c: Likewise.
5956 * iconvdata/utf-16.c: Likewise.
5957 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
5958 DL_CALL_FCT.
5959 * wcsmbs/btowc.c: Likewise.
5960 * wcsmbs/mbrtowc.c: Likewise.
5961 * wcsmbs/mbsnrtowcs.c: Likewise.
5962 * wcsmbs/mbsrtowcs.c: Likewise.
5963 * wcsmbs/wcrtomb.c: Likewise.
5964 * wcsmbs/wcsnrtombs.c: Likewise.
5965 * wcsmbs/wcsrtombs.c: Likewise.
5966 * wcsmbs/wctob.c: Likewise.
5967
b6299091
GK
59682000-04-11 Geoff Keating <geoffk@cygnus.com>
5969
5970 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
5971 other header files. Mention about 128-byte cache line sizes.
5972 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
5973 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
5974 for current calling sequence.
5975 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
5976
5977 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
5978 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5979
5980 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
5981 and setrlimit syscalls for backwards compatibility.
5982
e5221165
UD
59832000-06-10 Ulrich Drepper <drepper@redhat.com>
5984
38677ace
UD
5985 * iconv/skeleton.c: Rename converted written to correcter name
5986 irreversible.
5987 * iconv/gconv.c: Rename converted variable to correcter name
5988 irreversible.
5989 * iconv/gconv_int.h: Likewise.
5990 * iconv/gconv_simple.c: Likewise.
5991 * iconv/iconv.c: Likewise.
5992 * iconv/loop.c: Likewise.
5993 * iconvdata/8bit-gap.c: Likewise.
5994 * iconvdata/8bit-generic.c: Likewise.
5995 * iconvdata/ansi_x3.110.c: Likewise.
5996 * iconvdata/big5.c: Likewise.
5997 * iconvdata/big5hkscs.c: Likewise.
5998 * iconvdata/euc-cn.c: Likewise.
5999 * iconvdata/euc-jp.c: Likewise.
6000 * iconvdata/euc-kr.c: Likewise.
6001 * iconvdata/gbgbk.c: Likewise.
6002 * iconvdata/gbk.c: Likewise.
6003 * iconvdata/iso-2022-cn.c: Likewise.
6004 * iconvdata/iso-2022-jp.c: Likewise.
6005 * iconvdata/iso-2022-kr.c: Likewise.
6006 * iconvdata/iso646.c: Likewise.
6007 * iconvdata/iso8859-1.c: Likewise.
6008 * iconvdata/iso_6937-2.c: Likewise.
6009 * iconvdata/iso_6937.c: Likewise.
6010 * iconvdata/johab.c: Likewise.
6011 * iconvdata/sjis.c: Likewise.
6012 * iconvdata/t.61.c: Likewise.
6013 * iconvdata/uhc.c: Likewise.
6014 * iconvdata/unicode.c: Likewise.
6015 * iconvdata/utf-16.c: Likewise.
6016
e5221165
UD
6017 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
6018 __cmsg_data field with __extension__.
6019
d049b712
UD
60202000-06-10 David Mosberger <davidm@hpl.hp.com>
6021
6022 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
6023
3f912cee
UD
60242000-06-10 Ulrich Drepper <drepper@redhat.com>
6025
3593973b
UD
6026 * iconv/gconv_simple.c: Fix various small bugs in several
6027 functions.
6028
3f912cee
UD
6029 * iconv/loop.c: Fix comment.
6030
7e6d3809
UD
60312000-06-10 Jakub Jelinek <jakub@redhat.com>
6032
6033 * elf/link.h: Remove libc internal declarations.
6034 * include/link.h: Move them here.
6035
8e17ea58
UD
60362000-06-09 Ulrich Drepper <drepper@redhat.com>
6037
000171e5
UD
6038 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
6039 Patch by Dan Pop <Dan.Pop@cern.ch>.
6040
8e17ea58
UD
6041 Rewrite error message handling.
6042 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
6043 _dl_catch_error.
6044 * elf/dl-error (struct catch): Add objname member.
6045 (_dl_signal_error): Take new parameter with object name. When
6046 passing message on simply store object name and duplicate error
6047 message.
6048 (_dl_catch_error): Take new parameter. Store object name in the
6049 place pointed to.
6050 * include/dlfcn.h: Adjust _dl_catch_error prototype.
6051 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
04470dc0
UD
6052 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
6053 (dlerror): Add objname to asprintf() parameters.
6054 (_dl_error_run): Pass new parameter to _dl_catch_error.
8e17ea58
UD
6055 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
6056 * elf/dl-open.c (_dl_open): Likewise.
6057 * elf/rtld.c (dl_main): Likewise.
6058 * elf/dl-close.c: Mark error messages with N_().
6059 * elf/dl-deps.c: Likewise.
6060 * elf/dl-error.c: Likewise.
6061 * elf/dl-load.c: Likewise.
6062 * elf/dl-open.c: Likewise.
6063 * elf/dl-reloc.c: Likewise.
6064 * elf/dl-support.c: Likewise.
6065 * elf/dl-sym.c: Likewise.
6066 * elf/dl-version.c: Likewise.
6067 * elf/dl-lookup.c: Add comments about problems with error message
6068 translations.
6069 * elf/dl-reloc.c: Likewise.
6070 * elf/dl-version.c: Likewise.
6071
d743ba1e
UD
60722000-06-09 H.J. Lu <hjl@gnu.org>
6073
6074 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
6075 after freeing it.
6076
6077 * dlfcn/Makefile (distribute): Add failtestmod.c.
6078 (tests): Add failtest.
6079 Add rules to build and run failtest.
6080 * dlfcn/failtest.c: New file.
6081 * dlfcn/failtestmod.c: New file.
6082
f3863621
UD
60832000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
6084
6085 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
6086 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
6087 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
6088 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
6089 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
6090
af501e15
UD
60912000-06-09 Jes Sorensen <jes@linuxcare.com>
6092
6093 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
6094 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
6095
c79c9039
UD
60962000-06-09 Jes Sorensen <jes@linuxcare.com>
6097 Ulrich Drepper <drepper@redhat.com>
6098
6099 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
6100 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
6101 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
6102 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
6103 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
6104 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
6105
301909fb
UD
61062000-06-09 Ulrich Drepper <drepper@redhat.com>
6107
6108 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
6109 to find correct mount point despite wrong information from the
6110 kernel.
6111
b511d8fc
UD
61122000-06-09 Jes Sorensen <jes@linuxcare.com>
6113
6114 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
6115 the address of a symbol so function pointers are handled properly.
6116
1acc0b55
UD
61172000-06-08 Ulrich Drepper <drepper@redhat.com>
6118
8aa8fc7f
UD
6119 * sysdeps/i386/Dist: Add bp-asm.h.
6120
480a06df
UD
6121 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
6122 defaultdir variable instead of "/var/shm" everywhere.
6123 (defaultdir): Change to /dev/shm/.
1acc0b55 6124
3f02f778
GM
61252000-06-08 Greg McGary <greg@mcgary.org>
6126
6127 * sysdeps/i386/bp-asm.h: New file.
6128 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
6129 offsets. Add ENTER/LEAVE macros for optionally maintaining
6130 frame-pointer chain when debugging.
6131 * sysdeps/i386/add_n.S: Likewise.
6132 * sysdeps/i386/addmul_1.S: Likewise.
6133 * sysdeps/i386/lshift.S: Likewise.
6134 * sysdeps/i386/memchr.S: Likewise.
6135 * sysdeps/i386/memcmp.S: Likewise.
6136 * sysdeps/i386/mul_1.S: Likewise.
6137 * sysdeps/i386/rawmemchr.S: Likewise.
6138 * sysdeps/i386/rshift.S: Likewise.
6139 * sysdeps/i386/stpcpy.S: Likewise.
6140 * sysdeps/i386/stpncpy.S: Likewise.
6141 * sysdeps/i386/strchr.S: Likewise.
6142 * sysdeps/i386/strchrnul.S: Likewise.
6143 * sysdeps/i386/strcspn.S: Likewise.
6144 * sysdeps/i386/strpbrk.S: Likewise.
6145 * sysdeps/i386/strrchr.S: Likewise.
6146 * sysdeps/i386/strspn.S: Likewise.
6147 * sysdeps/i386/strtok.S: Likewise.
6148 * sysdeps/i386/sub_n.S: Likewise.
6149 * sysdeps/i386/submul_1.S: Likewise.
6150 * sysdeps/i386/elf/setjmp.S: Likewise.
6151 * sysdeps/i386/i486/strcat.S: Likewise.
6152 * sysdeps/i386/i486/strlen.S: Likewise.
6153 * sysdeps/i386/i586/add_n.S: Likewise.
6154 * sysdeps/i386/i586/lshift.S: Likewise.
6155 * sysdeps/i386/i586/memcpy.S: Likewise.
6156 * sysdeps/i386/i586/memset.S: Likewise.
6157 * sysdeps/i386/i586/rshift.S: Likewise.
6158 * sysdeps/i386/i586/strchr.S: Likewise.
6159 * sysdeps/i386/i586/strcpy.S: Likewise.
6160 * sysdeps/i386/i586/strlen.S: Likewise.
6161 * sysdeps/i386/i586/sub_n.S: Likewise.
6162 * sysdeps/i386/i686/add_n.S: Likewise.
6163 * sysdeps/i386/i686/memcpy.S: Likewise.
6164 * sysdeps/i386/i686/mempcpy.S: Likewise.
6165 * sysdeps/i386/i686/memset.S: Likewise.
6166 * sysdeps/i386/i686/strcmp.S: Likewise.
6167
9e56352f
UD
61682000-06-08 Ulrich Drepper <drepper@redhat.com>
6169
47bc7a9b
UD
6170 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
6171
9001274d
UD
6172 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
6173 256 and don't use OPEN_MAX.
6174
9e56352f
UD
6175 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
6176 use it instead of LINK_MAX.
de1a7177 6177 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
9e56352f 6178
46a26d45
AJ
61792000-06-08 Andreas Jaeger <aj@suse.de>
6180
6181 * libio/genops.c (_IO_list_lock): Only compile body if we're
6182 thread safe.
6183 (_IO_list_unlock): Likewise.
6184 (_IO_list_resetlock): Likewise.
6185
dc3b5786
UD
61862000-06-07 Ulrich Drepper <drepper@redhat.com>
6187
bb790106
UD
6188 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
6189 unless user defined it.
6190
104d0690
UD
6191 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
6192 if not defined by the user.
6193
a27c96b0
UD
6194 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
6195 * libio/iofwrite.c (_IO_fwrite): Likewise.
6196
77741499
UD
6197 * time/time.h: Add missing __THROW for clock_getcpuclockid
6198 prototype.
6199
ffa8a903 6200 * elf/Makefile (distribute): Add dl-dtprocnum.h.
b0982c4a
UD
6201 * include/elf.h: Include also <dl-dtprocnum.h>.
6202 * elf/dl-deps.c: Likewise.
6203 * elf/dl-lookup.c: Likewise.
6204 * elf/dl-runtime.c: Likewise.
6205 * elf/dl-version.c: Likewise.
6206 * elf/do-rel.h: Likewise.
6207 * elf/dynamic-link.h: Likewise.
6208 * elf/link.h: Likewise.
6209 * elf/rtld.c: Likewise.
6210 * sysdeps/generic/dl-dtprocnum.h: New file.
6211 * sysdeps/ia64/dl-dtprocnum.h: New file.
6212 * sysdeps/mips/dl-dtprocnum.h: New file.
6213 * sysdeps/sparc/dl-dtprocnum.h: New file.
6214
d4f170a9
UD
6215 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
6216
7e281477
UD
6217 * elf/do-lookup.h: Add some __builtin_expect.
6218
dec126b4
UD
6219 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
6220
6221 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
6222 (_dl_dynamic_weak): New variable.
6223 * elf/dl-support.c: Likewise.
6224 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
6225 * elf/do-lookup.h: If we find a weak definition treat it like a
6226 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
6227 case treat it like before.
6228
b8565e78
UD
6229 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
6230 is in main program.
6231 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
6232
1c14af44
UD
6233 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
6234 using l_map_start and l_map_end.
6235
7b228b68
UD
6236 * elf/dl-version.c: Add __builtin_expect in many places.
6237
dc3b5786
UD
6238 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
6239 Update.
6240
3fc9ca4e
UD
62412000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
6242
6243 Lock for stdio stream list becomes global, for use in LinuxThreads.
6244
6245 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
6246 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
6247 _IO_list_resetlock): New interface for iterating global list of
6248 streams without accessing the _IO_list_all global variable,
6249 and for manipulating the lock which protects this list.
6250 * libio/libioP.h: Likewise.
6251 * libio/Version: Add entries for the new functions.
6252
6253 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
6254 pointer to _IO_FILE.
6255
2a631990
UD
62562000-06-07 Ulrich Drepper <drepper@redhat.com>
6257
ce177a84
UD
6258 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
6259 BIT() must actually be BITw().
6260
45c95239
UD
6261 * locale/programs/ld-ctype.c: Handle SP and space consistently.
6262
2a631990
UD
6263 * locale/programs/charmap.c: Allow string arguments for
6264 code_set_name and repertoiremap.
6265
99ac5e47
UD
62662000-06-07 Andreas Jaeger <aj@suse.de>
6267
6268 * elf/Makefile: Build ldconfig only when building shared libraries.
6269
62702000-06-07 Jakub Jelinek <jakub@redhat.com>
6271
6272 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
6273 __USE_ISOC99.
6274 (fdimf, __fdim, fdim): Likewise.
6275
345f9ac0
UD
62762000-06-07 Ulrich Drepper <drepper@redhat.com>
6277
6278 * locale/findlocale.c: Add __builtin_expect in many places.
6279 * locale/loadlocale.c: Likewise.
6280
9b6a9cee
GM
62812000-06-06 Greg McGary <greg@mcgary.org>
6282
d5bc737a
GM
6283 * sysdeps/mips/elf/start.S: Trim redundant code.
6284
1d280d9f
GM
6285 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
6286 Use C comments throughout. Line up operands column with tabs.
6287 * sysdeps/powerpc/strchr.S: Likewise.
6288 * sysdeps/powerpc/strcmp.S: Likewise.
6289 * sysdeps/powerpc/strcpy.S: Likewise.
6290 * sysdeps/powerpc/strlen.S: Likewise.
6291
9b6a9cee
GM
6292 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
6293 Get low part of &__curbrk with @l.
6294
89301d68
UD
62952000-06-06 Ulrich Drepper <drepper@redhat.com>
6296
4c3192f9
UD
6297 * iconvdata/utf-16.c: Add __builtin_expect in many places.
6298 * iconvdata/unicode.c: Likewise.
6299 * iconvdata/uhc.c: Likewise.
6300 * iconvdata/t.61.c: Likewise.
6301 * iconvdata/sjis.c: Likewise.
6302 * iconvdata/johab.c: Likewise.
6303 * iconvdata/iso_6937.c: Likewise.
6304 * iconvdata/iso_6937-2.c: Likewise.
6305 * iconvdata/iso8859-1.c: Likewise.
6306 * iconvdata/iso646.c: Likewise.
6307 * iconvdata/iso-2022-kr.c: Likewise.
89301d68
UD
6308 * iconvdata/iso-2022-jp.c: Likewise.
6309 * iconvdata/iso-2022-cn.c: Likewise.
6310 * iconvdata/gbgbk.c: Likewise.
6311 * iconvdata/gbk.c: Likewise.
6312 * iconvdata/euc-kr.c: Likewise.
6313 * iconvdata/euc-jp.c: Likewise.
6314 * iconvdata/euc-cn.c: Likewise.
6315
b0f1ca68
UD
63162000-06-05 Ulrich Drepper <drepper@redhat.com>
6317
5ea1a82d
UD
6318 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
6319 * iconvdata/big5.c: Likewise.
6320 * iconvdata/ansi_x3.110.c: Likewise.
6321 * iconvdata/8bit-generic.c: Likewise.
6322 * iconvdata/8bit-gap.c: Likewise.
6323 * iconv/loop.c: Likewise.
6324 * iconv/gconv_db.c: Likewise.
6325 * iconv/gconv_dl.c: Likewise.
6326 * iconv/gconv_simple.c: Likewise.
6327 * iconv/skeleton.c: Likewise.
365afefc 6328
85830c4c
UD
6329 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
6330 (struct __gconv_step_data): Rename __is_last to __flags.
6331 * iconv/gconv_close.c: Change all uses of __is_last.
6332 * iconv/skeleton.c: Likewise.
6333 * iconvdata/iso-2022-cn.c: Likewise.
6334 * iconvdata/iso-2022-jp.c: Likewise.
6335 * iconvdata/iso-2022-kr.c: Likewise.
6336 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
6337 Recognize IGNORE error handling, set flag, and remove from name.
6338 * iconv/loop.c (ignore_errors_p): Define.
6339 Add flags parameter to both functions.
6340 * iconv/skeleton.c: Pass flags to all conversion functions.
6341 * iconv/gconv_simple.c: Add flags parameter to all functions.
6342 Don't return error for invald error if ignore flag is set.
6343 (ucs4_internal_loop_single): Add missing pointer increment.
6344 (internal_ucs4le_loop_single): Likewise.
6345 * iconv/iconv_prog.c: Implement handling of -c parameter.
6346 * iconvdata/8bit-gap.c: Don't return error for invald error if
6347 ignore flag is set.
6348 * iconvdata/8bit-generic.c: Likewise.
6349 * iconvdata/ansi_x3.110.c: Likewise.
6350 * iconvdata/big5.c: Likewise.
6351 * iconvdata/big5hkscs.c: Likewise.
6352 * iconvdata/euc-cn.c: Likewise.
6353 * iconvdata/euc-jp.c: Likewise.
6354 * iconvdata/euc-kr.c: Likewise.
6355 * iconvdata/gbgbk.c: Likewise.
6356 * iconvdata/gbk.c: Likewise.
6357 * iconvdata/iso-2022-cn.c: Likewise.
6358 * iconvdata/iso-2022-jp.c: Likewise.
6359 * iconvdata/iso-2022-kr.c: Likewise.
6360 * iconvdata/iso646.c: Likewise.
6361 * iconvdata/iso8859-1.c: Likewise.
6362 * iconvdata/iso_6937-2.c: Likewise.
6363 * iconvdata/iso_6937.c: Likewise.
6364 * iconvdata/johab.c: Likewise.
6365 * iconvdata/sjis.c: Likewise.
6366 * iconvdata/t.61.c: Likewise.
6367 * iconvdata/uhc.c: Likewise.
6368 * iconvdata/unicode.c: Likewise.
6369 * iconvdata/utf-16.c: Likewise.
6370 * libio/fileops.c: Likewise.
6371 * libio/iofwide.c: Likewise.
6372 * wcsmbs/btowc.c: Likewise.
6373 * wcsmbs/mbrtowc.c: Likewise.
6374 * wcsmbs/mbsnrtowcs.c: Likewise.
6375 * wcsmbs/mbsrtowcs.c: Likewise.
6376 * wcsmbs/wcrtomb.c: Likewise.
6377 * wcsmbs/wcsnrtombs.c: Likewise.
6378 * wcsmbs/wcsrtombs.c: Likewise.
6379 * wcsmbs/wctob.c: Likewise.
6380
6381 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
b0f1ca68
UD
6382 an error.
6383
add40772
UD
63842000-06-04 Ulrich Drepper <drepper@redhat.com>
6385
6386 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
6387 counter for the object we are releasing, just decrement it.
6388 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
6389
1dd54850
UD
63902000-06-04 Jakub Jelinek <jakub@redhat.com>
6391
6392 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
6393 if -ffast-math.
6394
dda5c10b
UD
63952000-06-04 Ulrich Drepper <drepper@redhat.com>
6396
6397 * iconvdata/big5hkscs.c: New file.
6398 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
6399
6400 * iconvdata/gconv-modules: Add entry for new module.
61da7687
UD
6401 * iconvdata/Makefile (modules): Add BIG5HKSCS.
6402 (distribute): Add big5hkscs.c.
dda5c10b 6403
cc46c92d
UD
64042000-06-01 Jakub Jelinek <jakub@redhat.com>
6405
6406 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
6407 inlines to match prototypes in mathcalls.h.
6408 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
6409 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
6410 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
6411 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6412
b7a65b86
UD
64132000-06-03 Ulrich Drepper <drepper@redhat.com>
6414
ec880cc7
UD
6415 * elf/elf.h (SHT_SUNW_move): Define.
6416
b7a65b86
UD
6417 * elf/elf.h: Add more Solaris compatiblity definitions.
6418
ec215d43
AJ
64192000-06-03 Andreas Jaeger <aj@suse.de>
6420
cc46c92d 6421 * sysdeps/powerpc/dl-start.S: Close open comment.
ec215d43
AJ
6422
64232000-06-03 Jakub Jelinek <jakub@redhat.com>
6424
6425 * inet/Versions: Fix typo in rresvport_af export.
6426
a6dd2e55
UD
64272000-06-02 Ulrich Drepper <drepper@redhat.com>
6428
6429 * math/tgmath.h: Pretty print.
6430
7b61638d
AJ
64312000-06-02 Andreas Jaeger <aj@suse.de>
6432
6433 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
6434 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6435
75e8d1f5
UD
64362000-06-02 Ulrich Drepper <drepper@redhat.com>
6437
6438 * elf/rtld.c (process_envvars): Test for = after variable name.
6439
61d655c1
UD
64402000-06-01 Ulrich Drepper <drepper@redhat.com>
6441
6c021fdc
UD
6442 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
6443 have extra call to __gmon_start__, use the pointer we already have.
6444
68979757
UD
6445 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
6446 shifting.
6447
61d655c1
UD
6448 * sysdeps/i386/elf/setjmp.S: Work around change is recent
6449 binutils. gas now emits a jump through the PLT instead of a
6450 relative jump if the jump target is an exported symbol.
6451
9f97f790
UD
64522000-05-31 Ulrich Drepper <drepper@redhat.com>
6453
6454 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
6455
c3e485f1
AJ
64562000-05-31 Andreas Jaeger <aj@suse.de>
6457
6458 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
6459 gregset_t.
6460
6461 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
6462 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
9f97f790 6463
c3e485f1
AJ
6464 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
6465 syscall.
6466 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
6467
a907bff9
UD
64682000-05-30 Ulrich Drepper <drepper@redhat.com>
6469
a2fa8605
UD
6470 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
6471
9b014809
UD
6472 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
6473 * locale/localeconv.c: Make function versioned (with same definition).
6474
a907bff9
UD
6475 * elf/Makefile (modules-names): Strip before using it.
6476
e82a0295
AJ
64772000-05-30 Andreas Jaeger <aj@suse.de>
6478
6479 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
6480 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
6481 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
6482 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
6483 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
6484 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
6485
3846463e
UD
64862000-05-29 Ulrich Drepper <drepper@redhat.com>
6487
c8d32817
UD
6488 * Makefile: Add GNU make magic.
6489
3846463e
UD
6490 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
6491 Removed.
6492 * inet/rcmd.c: Remove __P. Remove unused variables.
6493 (iruserfopen): Make first parameter const.
6494 (ruserok_sa): Return result of ruserok2_sa.
6495 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
6496 * inet/rexec.c: Remove unused variables. Other small cleanups.
6497 * inet/ruserpass.c: Remove __P. Remove unused variables.
6498 (ruserpass): Check results of memory allocation.
6499 * include/netdb.h: Add prototype for ruserpass.
6500
03fad0ec
AJ
65012000-05-29 Andreas Jaeger <aj@suse.de>
6502
6503 * elf/readlib.c (interpreters): Use LD_SO since this is supported
6504 for all platforms.
6505
a8322b4f
UD
65062000-05-29 Jakub Jelinek <jakub@redhat.com>
6507
6508 * inet/rcmd.c (rresvport_af): Use correct port number.
6509
65102000-05-26 Andreas Schwab <schwab@suse.de>
6511
6512 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
6513 entries in all-sonames.
6514 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
6515 preserving the old name if different for compatibility.
6516
08c7f6b0
UD
65172000-05-29 Ulrich Drepper <drepper@redhat.com>
6518
6519 * posix/Makefile (tests): Add tst-spawn.
6520 (tst-spawn-ARGS): New variable.
6521 * posix/tst-spawn.c: New file.
6522
6523 * posix/spawn_faction_addclose.c: Correctly account for new entry.
6524 * posix/spawn_faction_adddup2.c: Likewise.
6525 * posix/spawn_faction_addopen.c: Likewise.
6526 * posix/spawni.c: Correctly test for success of dup2 calls.
6527
6528 * posix/tst-preadwrite.c: Check success of malloc call.
6529
31eb0a91
UD
65302000-05-28 Ulrich Drepper <drepper@redhat.com>
6531
079199de
UD
6532 * posix/Makefile (tests): Add tst-exec.
6533 (tst-exec-ARGS): New variable.
6534 * posix/tst-exec.c: New file.
6535
31eb0a91
UD
6536 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
6537
84838b8f
UD
65382000-05-04 Andreas Jaeger <aj@suse.de>
6539
6540 * string/string.h: Remove __strdup prototype, it's not needed in
6541 this file anymore.
6542
2588068b
UD
65432000-05-28 Ulrich Drepper <drepper@redhat.com>
6544
c0f3519d 6545 * posix/Makefile (tests): Add tst-fork.
079199de 6546 * posix/tst-fork.c: New file.
c0f3519d 6547
2588068b
UD
6548 * resolv/inet_pton.c: Loose __P.
6549
7163e69e
UD
65502000-05-21 Jakub Jelinek <jakub@redhat.com>
6551
6552 * libio/libioP.h (_IO_CHECK_WIDE): Define.
6553 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
7163e69e
UD
6554 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6555 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
6556 _IO_CHECK_WIDE fails.
6557
e6e81391
UD
65582000-05-28 Ulrich Drepper <drepper@redhat.com>
6559
1ef9f0b6
UD
6560 * po/da.po: New file.
6561
e6e81391
UD
6562 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
6563 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
6564
b160422e
UD
6565 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
6566 (Other iconv Implementations): Fix typo.
6567 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
6568
741845cb
AJ
65692000-05-27 Andreas Jaeger <aj@suse.de>
6570
6571 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
6572 normal version now.
6573 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
6574 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
6575 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6576 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6577 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
6578 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
6579
6580 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
6581 endianness to decide how to pass arguments.
6582 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6583
6584 * elf/vismain.c: Use test-skeleton interface.
6585 (TEST_FUNCTION): New macro.
6586 (do_test): Renamed from main.
6587
b455972f
UD
65882000-05-27 Ulrich Drepper <drepper@redhat.com>
6589
6590 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
6591 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
6592
6593 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
6594 handling of AI_V4MAPPED flag.
6595
6596 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
6597 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
6598 perform lookup for T_A type and tell getanswer_r to convert the
6599 result with new argument.
6600 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
6601 Don't convert addresses from IPv4 to IPv6 here.
6602 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
6603 IPv6 is wanted. Allow qtype and type from reply to disagree if
6604 IPv4 mapping has to be done. Perform mappings if required by the
6605 caller and not if RES_USE_INET6 bit in _res.options is set.
6606 Add several __builtin_expect.
6607
09bbe3bf
UD
66082000-05-26 Ulrich Drepper <drepper@redhat.com>
6609
e84e339f
UD
6610 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
6611
6612 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
4c540916
UD
6613 NULL.
6614
0a550321
UD
6615 * posix/tst-preadwrite.c: Allow parallel execution of
6616 tst-preadwrite and tst-preadwrite64.
6617
ad92208d
UD
6618 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
6619 * posix/tst-truncate.c: New file.
6620 * posix/tst-truncate64.c: New file.
6621
f0b2767b
UD
6622 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
6623 was switched.
6624
bd9df4cd 6625 * posix/Makefile (tests): Add tst-preadwrite64.
09bbe3bf
UD
6626 * posix/tst-preadwrite.c: Alloc file being used also for testing
6627 pread64 and pwrite64.
6628 * posix/tst-preadwrite64.c: New file.
6629
dc95d158
AJ
66302000-05-26 Andreas Jaeger <aj@suse.de>
6631
aac468ae
AJ
6632 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
6633 of arguments dependend on endianness.
6634 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
6635
088b9917
AJ
6636 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
6637 normal version now.
6638 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6639 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6640 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6641 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6642
6643 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
6644 endianness to check how to pass argument.
6645 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6646
dc95d158
AJ
6647 * elf/ldconfig.h: Update parameter list for process_elf_file.
6648
6649 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
6650 Add parameter file_length and pass it ot process_elf*file.
6651
6652 * sysdeps/generic/readelflib.c (check_ptr): New.
6653 (process_elf_file): Use check_ptr to check all accesses to the
6654 mmapped file. Add parameter file_length.
6655
6656 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
6657 library names.
6658
6659 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
6660 Closes PR libc/1573, reported by Bradley White
6661 <bww@laurelnetworks.com>.
6662
81e43fc1
UD
66632000-05-25 Ulrich Drepper <drepper@redhat.com>
6664
6665 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
6666 __FAST_MATH__ is defined.
6667
378fbeb4
UD
66682000-05-22 Andreas Jaeger <aj@suse.de>
6669
6670 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
6671 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
6672
6673 * manual/math.texi (FP Function Optimizations): Document gcc
6674 -ffast-math behaviour with mathinlines.
6675
6676 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
6677 functions unless -ffast-math is given to gcc.
6678
0f550417
UD
66792000-05-23 Jakub Jelinek <jakub@redhat.com>
6680
6681 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
6682 __sincosl): Guard with __USE_GNU.
6683
acb5ee2e
UD
66842000-05-24 Ulrich Drepper <drepper@redhat.com>
6685
db33f7d4
UD
6686 * csu/Makefile (routines): Add check_fds.
6687 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
6688 binaries. Add various __builtin_expect.
6689 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
6690 * sysdeps/generic/check_fds.c: ...here. New file.
6691
6692 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
6693 binaries if file /etc/suid-debug is available.
6694
acb5ee2e
UD
6695 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
6696 and wcseqorder members.
6697 (struct locale_collate_t): Likewise.
6698 (collate_finish): Assign collation sequence value to each character.
6699 Create tables for output.
6700 (collate_output): Write out tables with collation sequence information.
6701 * locale/C-collate.c: Provide C locale data for collation sequence
6702 table.
6703 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
6704 _NL_COLLATE_COLLSEQWC.
6705 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
6706 _NL_COLLATE_COLLSEQWC.
6707 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
6708 include fnmatch_loop.c.
6709 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
6710 character is matched by range expression. Use collation sequence
6711 table. Outside glibc fall back on simple character value comparison.
6712
ff31ba59
AJ
67132000-05-24 Andreas Jaeger <aj@suse.de>
6714
fff82885
AJ
6715 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
6716 words.
6717
ff31ba59
AJ
6718 * intl/Makefile: Run gettext-test only if msgfmt is available.
6719
a074fa3c
AJ
6720 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
6721 Define it for newer kernels.
6722
eec8ef5a
UD
67232000-05-23 Ulrich Drepper <drepper@redhat.com>
6724
5e76a346
UD
6725 * elf/dl-sym.c: Minor cleanups.
6726
2d499f55
UD
6727 * configure.in: Add test for .protected.
6728 * config.make.in: Add have-protected variable.
eec8ef5a
UD
6729 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
6730 (tests-vis-yes): Add vismain.
6731 (modules-names): Add $(modules-vis-$(have-protected)).
6732 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
6733 Add rules to generate and run vismain.
6734 * elf/vismain.c: New file.
6735 * elf/vismod1.c: New file.
6736 * elf/vismod2.c: New file.
6737 * elf/vismod3.c: New file.
6738
21ad6b26
AJ
67392000-05-23 Andreas Jaeger <aj@suse.de>
6740
6741 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
6742
6743 * manual/search.texi (Array Sort Function): Document that qsort is
6744 not necessarily in-place.
6745
6746 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
6747 Closes PR libc/1731.
6748
bcaad6ee
AJ
6749 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
6750 * dirent/scandir64.c: Likewise.
6751 * pwd/getpw.c: Likewise.
6752 * stdlib/bsearch.c (bsearch): Likewise.
6753 * stdlib/tst-strtoll.c: Likewise.
6754 * localedata/collate-test.c: Likewise.
6755 * localedata/xfrm-test.c: Likewise.
6756 * posix/bsd-getpgrp.c: Likewise.
6757 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
6758 * sysdeps/generic/bits/siginfo.h: Likewise.
6759 * sysdeps/generic/bits/sockaddr.h: Likewise.
6760 * sysdeps/generic/sys/swap.h: Likewise.
6761 * sysdeps/generic/sys/sysinfo.h: Likewise.
6762 * sysdeps/generic/vfork.c: Likewise.
6763 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
6764 * sysdeps/mach/hurd/fdopen.c: Likewise.
6765 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
6766 * sysdeps/unix/sysv/linux/poll.c: Likewise.
6767 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6768 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6769 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6770 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6771 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
6772
6773 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
6774 * shadow/lckpwdf.c: Likewise.
6775 * stdlib/tst-strtol.c: Likewise.
6776 * sysdeps/generic/tcsetattr.c: Likewise.
6777 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6778 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6779
6a7c9bb4
UD
67802000-05-22 Jakub Jelinek <jakub@redhat.com>
6781
6782 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
6783 free it and set to (void *) -1.
6784
3f651a4d
UD
67852000-05-22 Jakub Jelinek <jakub@redhat.com>
6786
6787 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
6788 not the second character in the range.
6789 * stdio-common/tstscanf.c (main): Add testcase for the above.
6790 Reported by jik@kamens.brookline.ma.us.
6791
6aa29abe
UD
67922000-05-21 H.J. Lu <hjl@gnu.org>
6793
6794 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
6795 with noexec and noplt parameter.
6796 (do_lookup): Likewise.
6797
6798 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
6799 do_lookup. Support STV_PROTECTED.
6800 (_dl_lookup_symbol_skip): Likewise.
6801 (_dl_lookup_versioned_symbol): Likewise.
6802 (_dl_lookup_versioned_symbol_skip): Likewise.
6803
6804 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
6805
6806 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
6807
85153f6c
AJ
68082000-05-21 Jakub Jelinek <jakub@redhat.com>
6809
6810 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
6811 * sysdeps/i386/bits/huge_val.h: Likewise.
6812 * sysdeps/ieee754/bits/huge_val.h: Likewise.
6813 * sysdeps/m68k/bits/huge_val.h: Likewise.
6814 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
6815 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
6816
5748f418
AJ
68172000-05-22 Andreas Jaeger <aj@suse.de>
6818
6819 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
6820 change in iconv.h.
6821
4a624ae3
UD
68222000-05-19 Andreas Jaeger <aj@suse.de>
6823
6824 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
6825 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
6826 breaks compilation without linuxthreads.
6827
99a20616
UD
68282000-05-21 Ulrich Drepper <drepper@redhat.com>
6829
5bfc4252
UD
6830 * sysdeps/ia64/memccpy.S: New file.
6831 * sysdeps/ia64/memchr.S: New file.
6832 * sysdeps/ia64/memcmp.S: New file.
6833 * sysdeps/ia64/memcpy.S: New file.
6834 * sysdeps/ia64/memmove.S: New file.
6835 * sysdeps/ia64/memset.S: New file.
6836 * sysdeps/ia64/strcat.S: New file.
6837 * sysdeps/ia64/strchr.S: New file.
6838 * sysdeps/ia64/strcmp.S: New file.
6839 * sysdeps/ia64/strcpy.S: New file.
6840 * sysdeps/ia64/strlen.S: New file.
6841 * sysdeps/ia64/strncmp.S: New file.
6842 * sysdeps/ia64/strncpy.S: New file.
6843 * sysdeps/ia64/softpipe.h: New file.
6844 Patches by Dan Pop <Dan.Pop@cern.ch>.
6845
6846 * manual/memory.texi: Document memory handling functions (mlock,
6847 munlock, mlockall, munlockall, brk, and sbrk)
99a20616
UD
6848 * manual/time.texi: Document timespec and friends.
6849 * manual/conf.texi: Fix references.
6850 * manual/ctype.texi: Likewise.
6851 * manual/errno.texi: Likewise.
6852 * manual/intro.texi: Likewise.
6853 * manual/locale.texi: Likewise.
6854 * manual/sysinfo.texi: Likewise.
6855 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
6856
371071d5
UD
68572000-05-09 Jes Sorensen <jes@linuxcare.com>
6858
6859 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
6860 * sysdeps/ia64/dl-lookupcfg.h: ...here.
6861
f87e0815
UD
68622000-05-21 Jakub Jelinek <jakub@redhat.com>
6863
6864 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
6865 dxfer_direction.
6866
0efb48a1
UD
68672000-05-21 Ulrich Drepper <drepper@redhat.com>
6868
3b434940
UD
6869 * locale/locale.h (struct lconv): Add new elements from ISO C99.
6870 * locale/localeconv.c: Initialize new elements from ISO C99.
3446e2c3
UD
6871 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
6872 new standard elements.
6873 * locale/categories.def: Adjust accordingly.
3b434940 6874
0efb48a1
UD
6875 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
6876 * iconv/iconv.c: Likewise.
6877 * conform/data/iconv.h-data: Likewise.
3b434940
UD
6878 * iconv/iconv_prog.c (process_block): Remove const from second
6879 parameter.
6880 (main): Remove const from addr definition.
70a1a465
UD
6881 * manual/charset.texi (Generic Conversion Interface): Remove from
6882 inbuf parameter of iconv.
0efb48a1
UD
6883
6884 * intl/dcigettext.c: Fix typo in comment.
6885
5d1fba6d
AJ
68862000-05-20 2000 H.J. Lu <hjl@gnu.org>
6887
6888 * resolv/res_libc.c (_res): Initialize _sock to -1.
6889
68902000-05-18 Jakub Jelinek <jakub@redhat.com>
6891
6892 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
6893 (fopencookie@@GLIBC_2.2): New.
6894 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
6895 (fopencookie@GLIBC_2.0): New.
6896 * libio/Versions: Add fopencookie to GLIBC_2.2.
6897
600a7457
AJ
68982000-05-18 Andreas Jaeger <aj@suse.de>
6899
5d1fba6d
AJ
6900 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
6901 Closes PR libc/1731.
6902
600a7457
AJ
6903 * manual/arith.texi (Parsing of Integers): Fix typo.
6904 Closes PR libc/1744, reported by blp@gnu.org.
6905
cc3f0ddb
AJ
69062000-05-17 Jakub Jelinek <jakub@redhat.com>
6907
6908 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
6909 __extension__ to hexadecimal floating constant notation.
6910 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
6911 Likewise.
6912 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
6913 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
6914 Likewise.
6915 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
6916 HUGE_VALL): Likewise.
6917 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
6918 HUGE_VALL): Likewise.
6919 (HUGE_VALL): Set to HUGE_VAL on sparc32.
6920
e656498e
AJ
69212000-05-17 Andreas Jaeger <aj@suse.de>
6922
6923 * string/envz.h: Add pure attributes if possible.
6924
6925 * string/argz.h: argz_count is a pure function.
6926
6927 * string/strings.h: Add pure and const attributes if possible.
6928
1261b97d
AJ
6929 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
6930 possibly searching through the whole memory.
6931 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
6932
e25054c4
AJ
69332000-05-17 Jakub Jelinek <jakub@redhat.com>
6934
6935 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
6936 not yet defined.
6937 (_dl_cache_check_flags): Likewise.
6938 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
6939 dl-cache.h.
6940
69412000-05-17 Andreas Jaeger <aj@suse.de>
6942
6943 * manual/creature.texi (Feature Test Macros): Remove paragraph
6944 since the description is wrong.
6945 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
6946
7626e16c
AJ
6947 * scripts/config.sub: New version.
6948 * scripts/config.guess: Likewise.
6949 * manual/texinfo.tex: Likewise.
6950
e25054c4
AJ
6951 * time/test_time.args: Removed.
6952 * time/Makefile (test_time-ARGS): Added contents here instead.
6953
6954 * posix/tstgetopt.args: Removed.
6955 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
6956
6957 * Rules: Allow arguments for test files to be specified in
6958 Makefile with testname-ARGS; remove rules with .args in it.
6959
6960 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
6961 remove old bogus rule for opendir-tst1.args.
6962
6963 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
6964
6965 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
6966 into objdir. This allows a readonly sourcetree.
6967 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
6968
69692000-05-16 Andreas Jaeger <aj@suse.de>,
0efb48a1 6970 David Huggins-Daines <dhd@linuxcare.com>
e25054c4
AJ
6971
6972 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
6973 cache_data in case of only new cache format correctly.
6974
6975 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
6976 cache_file_new.
6977
6978 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
6979 struct cache_file_new.
6980
6981 * elf/cache.c (save_cache): Fix str_offset if only new cache is
6982 present.
6983
6984 * elf/cache.c (save_cache): Align struct new_file_cache.
6985 (print_cache): Likewise.
6986
d7dcf126
AJ
69872000-05-13 Jakub Jelinek <jakub@redhat.com>
6988
6989 * elf/soinit.c (__libc_global_ctors): Move
6990 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
6991 * resolv/resolv.h (__res_state): Added __attribute__((const)).
6992 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
6993 variable, don't define it to __res_state call.
6994
99356b9b
AJ
69952000-05-13 Andreas Jaeger <aj@suse.de>
6996
6997 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
6998 Linux 2.3.99pre7.
6999 (AF_PPPOX): Likewise.
7000 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
7001 (AF_PPPOX): Likewise.
7002
88d9b1b2
AJ
70032000-05-12 Andreas Jaeger <aj@suse.de>
7004
7005 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
7006 Reported by tmoestl@gmx.net, closes PR libc/1732.
7007
ca5a4c3c
AJ
70082000-05-11 Jan Hubicka <jh@suse.cz>
7009
7010 * misc/sys/cdefs.h: Add support for pure attribute.
7011
7012 * include/string.h: Add __attribute_pure__ to various functions.
7013 * string/string.h: Likewise.
7014
b227a3a6
AJ
70152000-05-10 Jakub Jelinek <jakub@redhat.com>
7016
99356b9b
AJ
7017 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
7018 argument.
7019 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7020 R_SPARC_UA64.
7021 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
b227a3a6 7022
676d12fd
AJ
70232000-05-10 Jakub Jelinek <jakub@redhat.com>
7024
7025 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
5d693ae3 7026 at proper place. Compute the high nibble correctly.
676d12fd 7027
a8571d37
AJ
70282000-05-09 Jakub Jelinek <jakub@redhat.com>
7029
9c95d361
AJ
7030 * elf/ldconfig.c: Include elf.h.
7031
a8571d37
AJ
7032 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
7033 (_dl_vsym): Likewise.
7034 Reported by Owen Taylor <otaylor@redhat.com>.
7035
7036 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
7037 always.
7038
fbd61fc1
AJ
70392000-05-08 Andreas Jaeger <aj@suse.de>
7040
7041 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
7042
7043 * intl/bindtextdom.c (set_binding_values): Add prototype.
7044
470175f1
AJ
70452000-05-08 Jakub Jelinek <jakub@redhat.com>
7046
7047 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
7048 call to elf_machine_fixup_plt.
7049 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7050 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7051
3b3938c9
UD
70522000-05-08 Jakub Jelinek <jakub@redhat.com>
7053
7054 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
7055 they are not dlclose'd from underneath us.
7056
0320a5aa
UD
70572000-05-08 Andreas Schwab <schwab@suse.de>
7058
7059 * posix/execle.c: Fix size parameter of memcpy.
7060
4159408a
AS
70612000-05-08 Andreas Schwab <schwab@suse.de>
7062
7063 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
7064 getpagesize syscall if available.
7065
97d9957b
AJ
70662000-05-08 Andreas Jaeger <aj@suse.de>
7067
7068 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
7069 set errno.
7070
ded812f4
AJ
70712000-05-08 Jakub Jelinek <jakub@redhat.com>
7072
7073 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
7074 sizeof(struct link_map *) chunks, not in bytes.
7075
33f5839f
UD
70762000-05-07 Ulrich Drepper <drepper@redhat.com>
7077
7078 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
7079 only needed for locale.
7080 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
7081 It's only needed for catgets.
7082 Patches by Greg McGary <gkm@eng.ascend.com>.
7083
d1c2a14c
UD
70842000-05-07 Mark Kettenis <kettenis@gnu.org>
7085
7086 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
7087 Remove duplicate <errno.h> include. Remove inclusion of
7088 <libintl.h> and "nsswitch.h".
7089 (set_cloexec_flag): New function, broken out of dbopen.
7090 (dbopen): Changed return type to `enum
7091 nss_status'. Mostly rewritten to make sure that we do not report
7092 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
7093 (internal_setent): Change return type to nss_status.
7094 Document, and make sure that the function
7095 behaves accordingly. Make dynamically loading the database
7096 library really thread-safe and return NSS_STATUS_UNAVAIL if it
7097 failed.
7098 (db_cursor): Return ENOMEM is memory allocation failed. Remove
7099 unecessary casts.
7100 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
7101 documentation.
7102 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
7103 c_get function member.
7104 * nss/nss_db/nss_db.h: Add and tweak some comments.
7105 (DBT): Move typedef before NSS_DBC typedef.
7106 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
7107
93414bb9
UD
71082000-05-07 H.J. Lu <hjl@gnu.org>
7109
7110 * csu/initfini.c: Moved to ....
7111 * sysdeps/generic/initfini.c: ...here.
7112
7113 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
7114
c63b67bd
UD
71152000-05-07 Ulrich Drepper <drepper@redhat.com>
7116
639c6286
UD
7117 * manual/resource.texi: Document POSIX scheduling functions.
7118 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7119
6ac52e83
UD
7120 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
7121 reading anything. Reported by Andries.Brouwer@cwi.nl.
7122
74a0513d
UD
7123 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
7124 for x since promotion in comparison might leads to unexpected
7125 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
7126
c63b67bd
UD
7127 * iconv/Makefile (tests): Add tst-iconv1.
7128 * iconv/tst-iconv1.c: New file.
1336419e
UD
7129 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
7130 empty input buffer over full output buffer.
fc08075d
UD
7131 (ucs4_internal_loop): Likewise.
7132 (ucs4_internal_loop_unaligned): Likewise.
7133 (internal_ucs4le_loop): Likewise.
7134 (internal_ucs4le_loop_unaligned): Likewise.
7135 (ucs4le_internal_loop): Likewise.
7136 (ucs4le_internal_loop_unaligned): Likewise.
c63b67bd
UD
7137 Reported by yaoz@nih.gov.
7138
45eca4d1
UD
71392000-05-06 Bruno Haible <haible@clisp.cons.org>
7140
7141 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
7142 returned != __GCONV_OK, there is nothing to clean up.
7143
71442000-05-06 Bruno Haible <haible@clisp.cons.org>
7145
7146 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
7147 OUTPUT_CHARSET environment variables.
7148
71492000-05-06 Andreas Jaeger <aj@suse.de>
7150
7151 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
7152 (struct cache_file_new): New.
7153 (struct file_entry): New (moved from cache.c).
7154 (struct cache_file): New (moved from cache.c).
7155
7156 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
7157 from _dl_load_cache_lookup.
7158 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
7159 the different cache formats.
7160 New variable cache_new for new format.
7161
7162 * elf/ldconfig.h: Change according to changes in cache.c and
7163 ldconfig.c; remove cache_libcmp; add opt_format.
7164
7165 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
7166 stuff that's defined in those headers.
7167 Add hwcap to struct lib_entry.
7168 (opt_format): New variable to select cache format.
7169 (options): Add format parameter.
7170 (is_hwcap): New function.
7171 (path_hwcap): New function.
7172 (parse_opt): Handle new format parameter.
7173 (search_dir): Handle hwcap, search also subdirectories with hwcap.
7174
7175 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
7176 ldconfig is part of glibc.
7177 Include dl-cache.h and remove stuff that's defined there.
7178 (struct cache_entry): Add new member hwcap.
7179 (print_entry): Print hwcap, cleanup a bit.
7180 (print_cache): Print new and old formats.
7181 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
7182 (save_cache): Save new and old formats.
7183 (add_to_cache): Handle hwcap.
7184
7185 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
7186 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
7187 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
7188 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
7189 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
7190 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
7191
71922000-05-05 Bruno Haible <haible@clisp.cons.org>
7193
7194 * intl/dcigettext.c (alignof): New macro.
7195 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
7196 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
7197 freemem_size to 0.
7198
71992000-05-05 Bruno Haible <haible@clisp.cons.org>
7200
7201 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
7202 return value.
7203
f0a7f742
UD
72042000-05-06 Ulrich Drepper <drepper@redhat.com>
7205
7206 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
7207 (mempcpy): Correct typo is parameter list.
7208
badd9b02
AJ
72092000-05-06 Andreas Jaeger <aj@suse.de>
7210
7211 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
7212 functions unless -ffast-math is given to gcc.
7213
d02b1569
UD
72142000-05-06 Ulrich Drepper <drepper@redhat.com>
7215
7216 * po/ko.po: Update from translation team.
7217
3c38e028
UD
72182000-05-05 Ulrich Drepper <drepper@redhat.com>
7219
7220 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
7221 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
7222 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
7223 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
7224 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
7225 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
7226
7227 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
7228 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
7229 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
7230
7231 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
7232 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
7233 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
7234 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
7235
fda4deac 7236 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
3c38e028
UD
7237 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
7238
f1d86a93
UD
72392000-05-05 Jes Sorensen <jes@linuxcare.com>
7240
7241 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
7242 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
7243
7244 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
7245 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
7246
7247 * sysdeps/ia64/Implies: New file.
7248 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
7249 * sysdeps/ia64/Makefile: New file.
7250 * sysdeps/ia64/gmp-mparam.h: New file,
7251
7252 * sysdeps/ia64/elf/start.S: New file.
7253
7254 * sysdeps/ia64/bits/fenv.h: New file.
7255
72562000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
7257
7258 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
7259
72602000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
7261
7262 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
7263 ia64 has 64 bit .hash entries just as the Alpha.
7264
72652000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
7266
7267 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
7268
72692000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
7270
7271 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
7272 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
7273 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
7274 * sysdeps/ia64/fpu/fegetenv.c: New file.
7275 * sysdeps/ia64/fpu/fegetexcept.c: New file.
7276 * sysdeps/ia64/fpu/fegetround.c: New file.
7277 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
7278 * sysdeps/ia64/fpu/fesetenv.c: New file.
7279 * sysdeps/ia64/fpu/fesetround.c: New file.
7280 * sysdeps/ia64/fpu/feupdateenv.c: New file.
7281 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
7282 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
7283 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
7284 * sysdeps/ia64/fpu/ftestexcept.c: New file.
7285
621d9092
AJ
72862000-05-05 Andreas Jaeger <aj@suse.de>
7287
7288 * misc/tst-tsearch.c (main): Correct type for initstate argument.
7289
0b630168
AJ
7290 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7291 (_dl_string_hwcap): New, does nothing.
7292
f1d86a93 7293 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
0b630168
AJ
7294 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7295 (_dl_string_hwcap): New function, converts from string to hwcap
7296 encoding.
f1d86a93
UD
7297 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
7298 (_DL_HWCAP_COUNT): New.
0b630168
AJ
7299 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7300 (_dl_string_hwcap): New function, converts from string to hwcap
7301 encoding.
f1d86a93
UD
7302 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
7303 (_DL_HWCAP_COUNT): New.
0b630168
AJ
7304 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7305 (_dl_string_hwcap): New function, converts from string to hwcap
7306 encoding.
f1d86a93 7307
c0282c06
UD
73082000-05-05 Ulrich Drepper <drepper@redhat.com>
7309
c77ec56d
UD
7310 * elf/Makefile (distribute): Add dl-lookupcfg.h.
7311 * sysdeps/ia64/Dist: New file.
7312
c0282c06
UD
7313 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
7314 parameter to mprotect and for variable assignments.
7315
73162000-05-03 Jes Sorensen <jes@linuxcare.com>
7317
7318 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
7319 validity of map before dereferencing it.
7320
7321 * elf/dl-reloc.c (RESOLVE_MAP): Define.
7322
73232000-05-02 Jes Sorensen <jes@linuxcare.com>
7324
7325 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
7326 lookup to the arguments to elf_machine_fixup_plt().
7327
7328 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
7329 of the symbol being resolved to input argument list and make the
7330 function return the pointer to the reloc.
7331
7332 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
7333 return valuie to lookup_t and return the value.
7334 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
7335 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
7336 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
7337 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
7338 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
7339 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
7340
7341 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
7342 Make it an inline function returning value after calling
7343 __elf_machine_fixup_plt().
7344
7345 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
7346 symbol address.
7347
7348 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
7349 obtain the symbol address.
7350
7351 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
7352 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
7353
7354 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
7355 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
7356 inline on non ia64.
7357
73582000-04-28 Jes Sorensen <jes@linuxcare.com>
7359
7360 * elf/dl-runtime.c (fixup): Use the portable macros to get the
7361 symbol address of an object.
7362
7363 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
7364 the symbol address of an object.
7365
7366 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
7367 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
7368 (_dl_lookup_symbol_skip): Likewise.
7369 (_dl_lookup_versioned_symbol): Likewise.
7370 (_dl_lookup_versioned_symbol_skip): Likewise.
7371
73722000-04-27 Jes Sorensen <jes@linuxcare.com>
7373
7374 * elf/rtld.c (_dl_start): Get the function pointer return address
7375 via _dl_start_address for architectures that need a function
7376 pointer descriptor rather than just a pointer (ia64).
7377
7378 * sysdeps/generic/dl-lookupcfg.h: New file.
7379 * sysdeps/ia64/dl-lookupcfg.h: New file.
7380 * sysdeps/ia64/dl-machine.h: New file.
7381 * sysdeps/ia64/dl-symaddr.c: New file.
7382 * sysdeps/ia64/dl-fptr.c: New file.
7383
7384 * elf/elf.h: Add IA-64 specific definitions.
7385
61d357ca
UD
73862000-05-04 Jakub Jelinek <jakub@redhat.com>
7387
7388 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
7389 end of enum.
7390
73912000-05-04 Jakub Jelinek <jakub@redhat.com>
7392
7393 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
7394 happy.
7395
5a59a3a5
GK
73962000-04-11 Geoff Keating <geoffk@cygnus.com>
7397
7398 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
7399 symbol. Call _dl_init rather than the old way.
7400
6c51aa64
UD
74012000-05-04 Ulrich Drepper <drepper@redhat.com>
7402
7403 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
7404 test for pointer in range of DSO address space.
7405
68843294
AJ
74062000-05-04 Andreas Jaeger <aj@suse.de>
7407
6c51aa64 7408 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
68843294 7409
17c389fc
UD
74102000-05-03 Ulrich Drepper <drepper@redhat.com>
7411
229c86ea
UD
7412 * locale/findlocale.c (_nl_find_locale): Add new parameter to
7413 calls of _nl_make_l10nflist.
7414
17c389fc
UD
7415 * libio/stdio.h: Make fseeko and ftello prototypes available is
7416 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
7417
7418 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
7419 real unsetenv implementation from 1999-07-29 [PR libc/1714].
7420
74212000-05-03 Bruno Haible <haible@clisp.cons.org>
7422
7423 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
7424 before calling tfind.
7425
74262000-03-05 Jakub Jelinek <jakub@redhat.com>
7427
7428 * resolv/resolv.h (res_querydomain): Remove redefinition to
7429 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
7430
74312000-05-03 Ulrich Drepper <drepper@redhat.com>
7432
7433 * po/gl.po: Update from translation team.
7434
7435 * manual/intro.texi (Program Basics): Change section title.
7436 * manual/process.texi: Fix reference.
7437 (Executing a File): Add reference exec in other section.
7438 * manual/signal.texi: Fix reference.
7439 * manual/startup.texi: Document syscall function.
7440 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7441
74422000-04-29 Bruno Haible <haible@clisp.cons.org>
7443
7444 * intl/libintl.h (bind_textdomain_codeset): New declaration.
7445 * intl/bindtextdom.c (set_binding_values): New function.
7446 (bindtextdomain): Call it.
7447 (bind_textdomain_codeset): New function.
7448 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
7449 (free_mem): Free each binding's codeset.
7450 * intl/gettextP.h (struct binding): Add codeset field.
7451 (_nl_find_domain): Add domainbinding argument.
7452 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
7453 Pass it to _nl_make_l10nflist.
7454 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
7455 (_nl_make_l10nflist): Add domainbinding argument.
7456 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
7457 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
7458 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
7459 locale_charset().
7460 * manual/message.texi: New node "Charset conversion in gettext".
7461
74622000-04-30 Bruno Haible <haible@clisp.cons.org>
7463
7464 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
7465 appropriate. Handle possible __read error.
7466
74672000-04-29 Bruno Haible <haible@clisp.cons.org>
7468
7469 * intl/gettextP.h (__builtin_expect): Define as empty if not a
7470 compiler builtin.
7471 * intl/loadinfo.h (__builtin_expect): Likewise.
7472 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
7473 __builtin_expect where appropriate.
7474 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7475 * intl/localealias.c (extend_alias_table): Return an error indicator.
7476 (read_alias_file): Bail out if extend_alias_table fails.
7477
74782000-04-29 Bruno Haible <haible@clisp.cons.org>
7479
7480 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
7481 * intl/localealias.c: Likewise.
7482
74832000-05-01 Bruno Haible <haible@clisp.cons.org>
7484
7485 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
7486 Initialize domain->plural and domain->nplurals even if there is no
7487 nullentry.
7488
74892000-05-01 Bruno Haible <haible@clisp.cons.org>
7490
7491 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
7492 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
7493 In case of failure, goto converted.
7494
74952000-05-01 Bruno Haible <haible@clisp.cons.org>
7496
7497 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
7498 * iconv/gconv_int.h (norm_add_slashes): Move to here.
7499 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
7500 __gconv_open.
7501
75022000-04-29 Bruno Haible <haible@clisp.cons.org>
7503
7504 * intl/dcigettext.c (transcmp): Compare the domains as well.
7505 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
7506 not before.
7507 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
7508 <errno.h>.
7509
160016c9
UD
75102000-05-03 Ulrich Drepper <drepper@redhat.com>
7511
7512 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
7513 Reported by Bruno Haible.
7514
75152000-04-29 Bruno Haible <haible@clisp.cons.org>
7516
7517 * manual/arith.texi: Remove @w from @itemize.
7518
20d49639
AJ
75192000-05-02 Andreas Jaeger <aj@suse.de>
7520
75cabb04
AJ
7521 * conform/data/tar.h-data: Add some checks for specific values.
7522
7523 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
7524 and RAND_MAX.
7525
7526 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
7527 FOPEN_MAX.
7528
7529 * conform/data/netinet/in.h-data: Add exact checks for the values
7530 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
7531
7532 * conform/data/float.h-data: Add some minimal values.
7533
20d49639
AJ
7534 * conform/conformtest.pl: Test for macros with string constants,
7535 check for minimum and maximum values.
7536 Add limits.h to headers.
7537
7538 * conform/data/cpio.h-data: Test for value of MAGIC.
7539
7540 * conform/data/limits.h-data: New file.
7541
741befc8
AJ
75422000-04-30 Bruno Haible <haible@clisp.cons.org>
7543
7544 * math/Makefile (headers): Add bits/fenvinline.h.
7545
09411686
UD
75462000-05-01 Ulrich Drepper <drepper@redhat.com>
7547
0f50c8d3
UD
7548 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
7549 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
7550
09411686
UD
7551 * posix/Versions: Change posix_spawnattr_getdefault and
7552 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
7553 and posix_spawnattr_setsigdefault respectively.
7554 * posix/spawn.h: Likewise.
7555 * posix/spawnattr_getdefault.h: Likewise.
7556 * posix/spawnattr_setdefault.h: Likewise.
782af2c0 7557 * conform/data/spawn.h-data: Likewise.
09411686 7558
2c1efeaf
AJ
75592000-05-01 Andreas Jaeger <aj@suse.de>
7560
7561 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
7562
e52236e5
UD
75632000-04-30 Ulrich Drepper <drepper@redhat.com>
7564
4b9a6d7c
UD
7565 * manual/sysinfo.texi: Document getdomainname, setdomainname
7566 and sysctl.
e52236e5
UD
7567 * manual/string.texi: Fix typo.
7568 * manual/terminal.texi: Document gtty and stty.
7569 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7570
93b1a554
UD
75712000-04-30 Andreas Jaeger <aj@suse.de>
7572
7573 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
7574 accordance with Austin Draft.
7575
01ed6c51
UD
75762000-04-30 Ulrich Drepper <drepper@redhat.com>
7577
c3880fbd
UD
7578 * catgets/gencat.c (read_input_file): Use isblank and not isspace
7579 to recognize second character in comment line.
7580
edecfcda
UD
7581 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
7582 ENOBUFS if we are out of memory.
7583
01ed6c51
UD
7584 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
7585 available if __USE_XOPEN2K.
7586 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
7587 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7588 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
7589 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7590 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
7591 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7592 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
7593 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
7594
adcf0e4a
UD
75952000-04-29 Ulrich Drepper <drepper@redhat.com>
7596
7597 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
7598 Recognize option -s, -c, and -l.
7599
76002000-04-20 Thorsten Kukuk <kukuk@suse.de>
7601
7602 * nscd/nscd.c: Start new session for nscd, drop privilegs
7603 to configured user if requested and no -S parameter are used.
7604 * nscd/nscd.conf: Add new option "server-user".
7605 * nscd/nscd_conf.c: Add support for new "server-user" option.
7606 * nscd/nscd.h: Add declaration for server_user variable.
7607 Based on patch by Chris Wing <wingc@engin.umich.edu>
7608
76092000-04-29 Mark Kettenis <kettenis@gnu.org>
7610
7611 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
7612 that changing the __restore and __restore_rt signal return code
7613 will break GDB.
7614
76152000-04-29 Mark Kettenis <kettenis@gnu.org>
7616
7617 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
7618 <sys/user.h>.
7619
76202000-04-29 Mark Kettenis <kettenis@gnu.org>
7621
7622 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
7623
d2dc3fc9
UD
76242000-04-29 Ulrich Drepper <drepper@redhat.com>
7625
9d4d69b8
UD
7626 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
7627 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
7628 arpa/inet.h.
7629 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
7630 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
7631 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
7632 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
7633 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
7634 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
7635 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
7636 posix_fallocate, and posix_madvise.
7637 * conform/data/netdb.h-data: New file.
7638 * conform/data/pthread.h-data: Add pthread_barrier_t,
7639 pthread_barrierattr_t, pthread_barrier_destroy,
7640 pthread_barrier_init, pthread_barrier_wait,
7641 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
7642 pthread_barrierattr_init, pthread_barrierattr_setpshared,
7643 pthread_condattr_getclock, pthread_condattr_setclock,
7644 pthread_getcpuclockid, pthread_mutex_timedlock,
7645 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
7646 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
7647 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
7648 * conform/data/sched.h-data: Add sched_ss_low_priority,
7649 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
7650 SCHED_SPORADIC.
7651 * conform/data/semaphore.h-data: Add sem_timedwait.
7652 * conform/data/signal.h-data: Add SIGIO.
7653 * conform/data/spawn.h-data: New file.
7654 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
7655 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
7656 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
7657 Fix typo in gmtime_r definition.
7658 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
7659 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
7660 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
7661 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
7662 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
7663 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
7664 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
7665 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
7666 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
7667 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
7668 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
7669 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
7670 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
7671 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
7672 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
7673 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
7674 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
7675 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
7676 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
7677 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
7678 typo in off_t definition.
7679 * conform/data/net/if.h-data: New file.
7680 * conform/data/netinet/in.h-data: New file.
7681 * conform/data/netinet/tcp.h-data: New file.
7682 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
7683 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
7684 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
7685 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
7686 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
7687 and posix_typed_mem_open.
7688 * conform/data/sys/socket.h-data: New file.
7689 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
7690 * conform/data/sys/types.h-data: Add pthread_barrier_t,
7691 pthread_barrierattr_t, and pthread_spinlock_t.
7692 * conform/data/sys/un.h-data: New file.
7693 * conform/data/sys/utsname.h-data: New file.
7694
7695 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
7696 parameter.
7697 * inet/gethstbyad.c (gethostbyname): Likewise.
7698 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
7699 * inet/getipnodebyad.c (getipnodebyad): Likewise.
7700 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
7701 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
7702 Likewise.
7703 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
7704 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
7705 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
7706 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
7707 * resolv/gethnamaddr.c (gethostbyname): Likewise.
7708 * resolv/netdb.h (struct hostent): Fix type of h_length member.
7709 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
7710 and second parameter.
7711
d2dc3fc9
UD
7712 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
7713 == NULL.
7714
9d4d69b8
UD
77152000-04-29 Andreas Jaeger <aj@suse.de>
7716
7717 * conform/data/arpa/inet.h-data: New file.
7718
cffad2ae
AJ
77192000-04-28 Geoff Clare <gwc@unisoft.com>
7720
7721 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
7722 path passed to ftw() or nftw() is an empty string.
7723 Closes PR libc/1710.
7724
0a55a284
UD
77252000-04-27 Ulrich Drepper <drepper@redhat.com>
7726
d4134450
UD
7727 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
7728 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
7729 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
7730 * localedata/tst-mbswcs4.c: New file.
7731 * localedata/tst-mbswcs5.c: New file.
7732
a7f91846
UD
7733 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
7734 == NULL. Little optimization.
7735
7736 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
7737 DT_PREINIT_ARRAYSZ).
7738 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
7739
0a55a284
UD
7740 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
7741 overflows in conversion from ASCII.
7742
77432000-04-26 Jakub Jelinek <jakub@redhat.com>
7744
7745 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
7746 * Makerules (full_config_sysdirs): Likewise.
7747 * MakeTAGS (full_config_sysdirs): Likewise.
7748
77492000-04-26 Jakub Jelinek <jakub@redhat.com>
7750
7751 * .cvsignore: Remove linuxthreads.
7752 * po/.cvsignore: Remove *.pot.
7753 * posix/glob/.cvsignore: Removed.
7754 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
7755
77562000-04-25 Andreas Jaeger <aj@suse.de>
7757
7758 * conform/Makefile (distribute): Also distribute contents of
7759 subdirectories.
7760
7761 * Makerules (no_deps): Remove abi-versions.h.
7762
7763 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
7764
77652000-04-25 Jakub Jelinek <jakub@redhat.com>
7766
7767 * sysdeps/sparc/sparc64/elf/Dist: Remove.
7768 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
7769 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
7770 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
7771 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
7772 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
7773 objects.
7774
77752000-04-25 Thorsten Kukuk <kukuk@suse.de>
7776
7777 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
7778
8651d8a2 77792000-04-23 Bruno Haible <haible@clisp.cons.org>
0a55a284
UD
7780
7781 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
7782 * intl/l10nflist.c: Likewise.
7783
8651d8a2 77842000-04-23 Bruno Haible <haible@clisp.cons.org>
0a55a284
UD
7785
7786 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
7787 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
7788 * intl/textdomain.c [!_LIBC]: Likewise.
7789 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
7790 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
7791 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
7792 syntax error.
7793
8651d8a2 77942000-04-23 Bruno Haible <haible@clisp.cons.org>
0a55a284
UD
7795
7796 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
7797 character set conversion also in the case the translation was found
8651d8a2
UD
7798 after a hash collision or through binary search. Store the maximum
7799 index together with the converted message. Use iconv() when available.
0a55a284
UD
7800 In case of out of memory during conversion, return the unconverted
7801 translated string, not NULL.
7802
0e4ee106
UD
78032000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
7804
7805 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
7806 to avoid name clashes with the ia32 linker.
7807
78082000-04-25 Jakub Jelinek <jakub@redhat.com>
7809
7810 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
7811 handling.
7812
3300816c
UD
78132000-04-27 Ulrich Drepper <drepper@redhat.com>
7814
0e4ee106
UD
7815 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
7816 strtoumax, strfry, and memfrob.
7817 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
7818 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7819
3300816c
UD
7820 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
7821 if this function is available.
7822
7823 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
7824 all values.
7825
159a2a51
AJ
78262000-04-27 Jakub Jelinek <jakub@redhat.com>
7827
7828 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
7829
3c5adb76
UD
78302000-04-27 Ulrich Drepper <drepper@redhat.com>
7831
7832 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
7833 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
7834 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
7835 * localedata/tst-mbswcs3.c: New file.
7836
316518d6
UD
78372000-04-26 Ulrich Drepper <drepper@redhat.com>
7838
1da6cab2
UD
7839 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
7840 characters. Don't handle incomplete characters as errors.
7841 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
7842 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
7843 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
7844 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
7845 * localedata/tst-mbswcs2.c: New file.
7846
316518d6
UD
7847 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
7848 stored character in state in UNPACK_BYTES macro.
7849 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
7850 test for available characters, handle result of BODY code correctly.
7851 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
7852 (distribute): Add tst-mbswcs.sh.
7853 Add rule to run tst-mbswcs.sh.
7854 * localedata/tst-mbswcs.sh: New file.
7855 * localedata/tst-mbswcs1.c: New file.
7856
78572000-04-26 Jakub Jelinek <jakub@redhat.com>
7858
7859 * nis/nis_callback.c (__nis_create_callback): Do failed memory
7860 allocation fixups centrally, fix __builtin_expect call, return NULL
7861 on failure, not NIS_NOMEMORY.
7862
78632000-04-27 Bruno Haible <haible@clisp.cons.org>
fff1a600
AJ
7864
7865 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
7866
7867 * intl/loadinfo.h (internal_function): Define if not already defined.
7868
78692000-04-27 Andreas Jaeger <aj@suse.de>
7870
7871 * intl/libintl.h: Fix typo, reported by Bruno Haible
3300816c 7872 <haible@clisp.cons.org>.
fff1a600 7873
d472655c
UD
78742000-04-25 Ulrich Drepper <drepper@redhat.com>
7875
7876 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
7877 setting the state to GMON_PROF_BUSY.
7878
20b02a2e 78792000-04-24 Ulrich Drepper <drepper@redhat.com>
128e2b0f
UD
7880
7881 * elf/dl-profile.c (_dl_start_profile): define all variables which
7882 do not have to be global as local variables.
20b02a2e 7883
6d5728c8
UD
7884 * nis/nis_callback.c (__nis_create_callback): Partially undo last
7885 patch. Keep needed tests for failed memory allocation.
7886
655ab929
UD
7887 * elf/dl-reloc.c (_dl_relocate_object): Add one more
7888 __builtin_expect saying that we don't normally expect to profile.
7889
20b02a2e
UD
7890 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
7891 __builtin_expect where desirable.
7892
d52b6462
UD
78932000-04-23 Ulrich Drepper <drepper@redhat.com>
7894
7895 * manual/Makefile (chapters): Add syslog.
7896 * manual/syslog.texi: New file.
7897 * manual/math.texi: Fix references.
7898 * manual/terminal.texi: Likewise.
7899 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7900
79012000-04-18 Jakub Jelinek <jakub@redhat.com>
7902
7903 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
7904 stdlib.h was not included or __USE_XOPEN not defined.
7905
bcad2c29
UD
79062000-04-23 Ulrich Drepper <drepper@redhat.com>
7907
4ded1f08 7908 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
bcad2c29
UD
7909 Patch by Zack Weinberg <zack@wolery.cumb.org>.
7910
ef52edfc
UD
79112000-04-22 Ulrich Drepper <drepper@redhat.com>
7912
b1184fcd
UD
7913 * manual/examples/subopt.c (mount_opts): Add missing terminating
7914 entry.
7915 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
7916
ef52edfc
UD
7917 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
7918 * libio/ftello.c: Likewise.
7919 * libio/ftello64.c: Likewise.
7920 * libio/ioftell.c: Likewise.
7921 * sysdeps/generic/memrchr.c: Likewise.
7922 * sysdeps/posix/libc_fatal.c: Likewise.
7923 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7924 * misc/fstab.c: Include <string.h> for strcmp prototype.
7925 * sysdeps/generic/ldsodefs.h: Likewise.
7926 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7927 Patch by Kurt Roeckx <Q@ping.be>.
7928
7929 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
7930 Remove db-open. Change all uses.
7931 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
7932
79332000-04-21 Jakub Jelinek <jakub@redhat.com>
7934
7935 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
7936 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
7937 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
7938 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
7939 with .set noat/at to shut up warnings.
7940 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
7941 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
7942 compilation if __NR_pciconfig_iobase is not defined.
7943 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
7944 Add alias.
7945
4fcfc4c6
UD
79462000-04-21 Ulrich Drepper <drepper@redhat.com>
7947
3566d33c
UD
7948 * manual/sysinfo.texi: Fix typo.
7949 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
7950 Replace "high precision time" with "high accuracy clock".
7951 Fix language.
7952 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7953
54eb84d0
UD
7954 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
7955 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
7956 instead of malloc.
7957 * nis/nis_subr.c: Use __builtin_expect.
7958 * nis/ypclnt.c: Likewise.
7959 * nis/nis_getservlist.c: Likewise.
7960 * nis/nis_creategroup.c: Likewise.
7961
4fcfc4c6
UD
7962 * nis/nis_callback.c (__nis_create_callback): Check result of
7963 memory allocation. Fix memory leaks. Use __builtin_expect.
7964 (__nis_destroy_callback): Fix memory leaks.
7965
4f263528
AJ
79662000-04-21 Andreas Jaeger <aj@suse.de>
7967
7968 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
7969 * sysdeps/mips/mips64/add_n.S: Likewise.
7970 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
7971 * sysdeps/mips/mips64/lshift.S: Likewise.
7972 * sysdeps/mips/mips64/mul_1.S: Likewise.
7973 * sysdeps/mips/mips64/rshift.S: Likewise.
7974 * sysdeps/mips/mips64/setjmp.S: Likewise.
7975 * sysdeps/mips/mips64/sub_n.S: Likewise.
abd8a0b5
AJ
7976 * sysdeps/mips/mips64/submul_1.S: Likewise
7977 * sysdeps/unix/mips/sysdep.S: Likewise.
4f263528
AJ
7978
7979 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
7980 and update comment. The strtab from _dl_relocate_object can be
7981 used.
7982
a711dd4b
UD
79832000-04-21 Ulrich Drepper <drepper@redhat.com>
7984
7985 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
7986 * iconv/iconv_close.c (iconv_close): Likewise.
7987 * iconv/iconv_open.c (iconv_open): Likewise.
7988
7989 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
7990 __builtin_expect where useful.
7991
7992 * grp/initgroups.c (initgroups): Test for result of memory
7993 allocation and punt if it fails.
7994
7995 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
7996 * grp/fgetgrent.c (fgetfrent): Likewise.
7997 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
7998
761df3a7
UD
79992000-04-21 Jakub Jelinek <jakub@redhat.com>
8000
8001 * libio/vasprintf.c: Include string.h to get memcpy prototype.
8002
978ce92b
UD
80032000-04-20 Ulrich Drepper <drepper@redhat.com>
8004
376b8b3d
UD
8005 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
8006 don't search for NUL byte to decrement counter.
8007 Reported by Ulrich.Brink@sap.com.
8008
4a069c33
UD
8009 * iconv/gconv_simple.c: Define separate functions to convert from
8010 UCS4/UCS4-LE to the internal encoding.
8011 * iconv/gconv_builtin.h: Use separate functions to convert from
8012 UCS4/UCS4-LE to the internal encoding.
8013 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
8014 __gconv_transform_ucs4le_internal.
8015
8016 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
8017 output buffer overflow. Reported by Ulrich.Brink@sap.com.
8018
978ce92b
UD
8019 * iconv/skeleton.c: Add some more __builtin_expect.
8020 * iconv/loop.c: Likewise.
8021
460e040a
UD
80222000-03-08 H.J. Lu <hjl@gnu.org>
8023
8024 * posix/regex.c (regex_compile): Correctly handle "\{" when
8025 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
8026
d879eb85
UD
80272000-04-20 Ulrich Drepper <drepper@redhat.com>
8028
8029 * manual/stdio.texi: Give advise about handling error when using
8030 stream functions.
8031 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
8032
a0edd63e
UD
80332000-04-19 Jakub Jelinek <jakub@redhat.com>
8034
8035 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
8036 field to nelems * sizeof (uint32_t).
8037 * locale/programs/ld-address.c (address_output): Align word fields
8038 properly.
8039 * locale/programs/ld-monetary.c (monetary_output): Likewise.
8040 Don't restart idx pointers to idx end at the duo_int_curr_symbol
8041 field.
8042 Avoid giving arbitrary garbage in the crncystr field.
8043 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
8044 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
8045 fields.
8046 * locale/programs/ld-numeric.c (numeric_output): Likewise.
8047 Don't restart idx pointers to idx end at the decimal_point_wc field.
8048 * locale/programs/ld-time.c (time_output): week_1stday should be
8049 word, not byte. Align it properly.
8050
80512000-04-19 H.J. Lu <hjl@gnu.org>
8052
8053 * csu/gmon-start.c (_start): Declared as "extern void".
8054 (etext): Likewise.
8055
80562000-04-18 Andreas Jaeger <aj@suse.de>
8057
8058 * manual/install.texi (Running make install): Don't mention utmpd
8059 anymore.
8060
80612000-04-18 Andreas Jaeger <aj@suse.de>
8062
8063 * linuxthreads/Versions: Use ld instead of ld.so.
8064
8065 * elf/Makefile (ld-map): Use ld.map.
8066
8067 * Versions.def: Use ld instead of ld.so.
8068 * elf/Versions: Likewise.
8069 * sysdeps/mach/hurd/Versions: Likewise.
8070
8b07d6a8
AJ
80712000-04-20 Andreas Jaeger <aj@suse.de>
8072
8073 * elf/rtld.c (print_statistics): Move ifndef further up.
8074 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
8075 (dl_main): Likewise.
8076
74f99822
UD
80772000-04-18 Ulrich Drepper <drepper@redhat.com>
8078
69173865
UD
8079 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
8080 * gmon/Versions: Move moncontrol to GLIBC_2.2.
8081
17ef6f59
UD
8082 * po/cs.po: Update from translation team.
8083
22b0607b
UD
8084 * sysdeps/generic/updwtmp.c: Remove daemon support.
8085
92da46fc
UD
8086 * login/Makefile (routines): Remove utmp_daemon.
8087
bd4ebb90 8088 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
9434de89 8089 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
acda7090
UD
8090 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
8091 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
8092
dc911631
UD
8093 * elf/rtld.c: Display statitics option also if hp timing is not
8094 available.
8095
74f99822
UD
8096 * login/programs/connection.c: Removed.
8097 * login/programs/database.c Removed.
8098 * login/programs/error.c: Removed.
8099 * login/programs/request.c: Removed.
8100 * login/programs/xtmp.c: Removed.
8101 * login/programs/xtmp.h: Removed.
8102 * login/Makefile: Remove rules for utmpd.
8103 * login/README.utmpd: Removed.
33c50f10
UD
8104 * login/utmp_daemon.c: Removed.
8105 * login/getutent_r.c: Remove references to daemon functions.
8106 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
8107 declaration.
74f99822 8108
d1891b39
AJ
81092000-04-18 Andreas Jaeger <aj@suse.de>
8110
69a79602
AJ
8111 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8112 2.2 for libnsl, libresolv, librt, libnss_*.
8113
b034c2b1
AJ
8114 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
8115
d1891b39
AJ
8116 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
8117
dc32d4fe
UD
81182000-04-18 Ulrich Drepper <drepper@redhat.com>
8119
ed7abbd0
UD
8120 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
8121 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
dc32d4fe
UD
8122 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
8123 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
8124 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
8125 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
8126 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
8127 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
8128 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
8129 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
8130 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
8131 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
8132 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
8133 it here.
8134 * sysdeps/unix/sysv/aix/msync.c: New file.
8135 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
8136 * sysdeps/unix/sysv/aix/net/if.h: New file.
8137 * sysdeps/unix/sysv/aix/pipe.c: New file.
8138 * sysdeps/unix/sysv/aix/poll.c: New file.
8139 * sysdeps/unix/sysv/aix/rename.c: New file.
8140 * sysdeps/unix/sysv/aix/rmdir.c: New file.
8141 * sysdeps/unix/sysv/aix/select.c: New file.
8142 * sysdeps/unix/sysv/aix/semctl.c: New file.
8143 * sysdeps/unix/sysv/aix/semget.c: New file.
8144 * sysdeps/unix/sysv/aix/semop.c: New file.
8145 * sysdeps/unix/sysv/aix/sendto.c: New file.
8146 * sysdeps/unix/sysv/aix/setgroups.c: New file.
8147 * sysdeps/unix/sysv/aix/setpgid.c: New file.
8148 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
8149 * sysdeps/unix/sysv/aix/setpriority.c: New file.
8150 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
8151 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
8152 * sysdeps/unix/sysv/aix/setsid.c: New file.
8153 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
8154 * sysdeps/unix/sysv/aix/shmat.c: New file.
8155 * sysdeps/unix/sysv/aix/shmctl.c: New file.
8156 * sysdeps/unix/sysv/aix/shmdt.c: New file.
8157 * sysdeps/unix/sysv/aix/shmget.c: New file.
8158 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
8159 * sysdeps/unix/sysv/aix/sigstack.c: New file.
8160 * sysdeps/unix/sysv/aix/socket.c: New file.
8161 * sysdeps/unix/sysv/aix/socketpair.c: New file.
8162 * sysdeps/unix/sysv/aix/speed.c: New file.
8163 * sysdeps/unix/sysv/aix/symlink.c: New file.
8164 * sysdeps/unix/sysv/aix/sync.c: New file.
8165 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
8166 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
8167 * sysdeps/unix/sysv/aix/times.c: New file.
8168 * sysdeps/unix/sysv/aix/ulimit.c: New file.
8169 * sysdeps/unix/sysv/aix/umask.c: New file.
8170 * sysdeps/unix/sysv/aix/unlink.c: New file.
8171 * sysdeps/unix/sysv/aix/ustat.c: New file.
8172 * sysdeps/unix/sysv/aix/utimes.c: New file.
8173
1531e094
AJ
81742000-04-18 Andreas Jaeger <aj@suse.de>
8175
18be3f69
AJ
8176 * manual/startup.texi (Environment Access): Fix putenv prototype
8177 according to recent changes.
8178 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
8179 PR libc/1692.
8180
1531e094
AJ
8181 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
8182 needed.
8183
cd43f797
UD
81842000-04-18 Ulrich Drepper <drepper@redhat.com>
8185
8186 * posix/Makefile (tests): Add tst-getaddrinfo.
8187 * posix/tst-getaddrinfo.c: New file.
8188
5732c4df
UD
81892000-04-17 Ulrich Drepper <drepper@redhat.com>
8190
dbacafe5
UD
8191 * manual/sysinfo.texi: Document that umount2 is not widely available.
8192
5732c4df
UD
8193 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
8194 signal timing is not really implemented.
8195
81962000-04-17 Andreas Jaeger <aj@suse.de>
8197
8198 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
8199
82002000-04-17 Jakub Jelinek <jakub@redhat.com>
8201
8202 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
8203 and inst_libdir.
8204
faf2289f
UD
82052000-04-17 Ulrich Drepper <drepper@redhat.com>
8206
8207 * manual/intro.texi: Change reference from System Information to
8208 System Management.
8209 * manual/users.texi: Likewise.
8210 * manual/conf.texi: Likewise.
8211 * manual/sysinfo.texi: Document mount, umount, and umount2.
8212 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8213
82142000-04-17 Jakub Jelinek <jakub@redhat.com>
8215
8216 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
8217 Create wnumstr as well as numstr to support wide character output
8218 correctly.
8219
82202000-04-15 Jakub Jelinek <jakub@redhat.com>
8221
8222 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
8223 modification and move it...
8224 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
8225 Add -melf64_sparc switch to $(LD) on sparc64-linux.
8226 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
8227 switch to $(LD) on sparc-linux.
8228
82292000-04-17 Thorsten Kukuk <kukuk@suse.de>
8230
8231 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
cd43f797 8232 and setresuid from sysdep_routines.
faf2289f 8233
171b7cf1
UD
82342000-04-17 Ulrich Drepper <drepper@redhat.com>
8235
5ce8f203
UD
8236 * manual/Makefile (chapters): Add resource.
8237
8238 * manual/time.texi: Move section on resources to...
faf2289f
UD
8239 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
8240 and vtimes.
5ce8f203
UD
8241 * manual/setjmp.texi: Adjust back reference.
8242 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8243
171b7cf1
UD
8244 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
8245 definition.
8246 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
8247 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
8248 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
8249 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
8250 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
8251 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
8252 * sysdeps/unix/sysv/aix/close.c: Add copyright.
8253 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
8254 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
8255 * sysdeps/unix/sysv/aix/access.c: Add copyright.
8256 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
8257 * sysdeps/unix/sysv/aix/Implies: New file.
8258 * sysdeps/unix/sysv/aix/Versions: New file.
8259 * sysdeps/unix/sysv/aix/bind.c: New file.
8260 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
8261 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
8262 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
8263 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
8264 * sysdeps/unix/sysv/aix/chdir.c: New file.
8265 * sysdeps/unix/sysv/aix/chmod.c: New file.
8266 * sysdeps/unix/sysv/aix/chroot.c: New file.
8267 * sysdeps/unix/sysv/aix/creat.c: New file.
8268 * sysdeps/unix/sysv/aix/dl-close.c: New file.
8269 * sysdeps/unix/sysv/aix/dl-open.c: New file.
8270 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
8271 * sysdeps/unix/sysv/aix/fchdir.c: New file.
8272 * sysdeps/unix/sysv/aix/fchmod.c: New file.
8273 * sysdeps/unix/sysv/aix/getgroups.c: New file.
8274 * sysdeps/unix/sysv/aix/gethostname.c: New file.
8275 * sysdeps/unix/sysv/aix/getpriority.c: New file.
8276 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
8277 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
8278 * sysdeps/unix/sysv/aix/getrusage.c: New file.
8279 * sysdeps/unix/sysv/aix/link.c: New file.
8280 * sysdeps/unix/sysv/aix/madvise.c: New file.
8281 * sysdeps/unix/sysv/aix/mkdir.c: New file.
8282 * sysdeps/unix/sysv/aix/mknod.c: New file.
8283 * sysdeps/unix/sysv/aix/mprotect.c: New file.
8284 * sysdeps/unix/sysv/aix/msgctl.c: New file.
8285 * sysdeps/unix/sysv/aix/msgget.c: New file.
8286 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
8287
42eb5242
AJ
82882000-04-17 Andreas Jaeger <aj@suse.de>
8289
b0a62805
AJ
8290 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
8291 as suggested by Ulrich Drepper.
8292 (__dl_runtime_resolve): Remove unused variable, initialize sym
8293 directly.
8294 (RTLD_START): Document OFFSET_GP_GOT.
8295 (OFFSET_GP_GOT): New magic value.
8296 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
8297 (elf_machine_got_rel): Only declare strtab if needed.
716c75c4
AJ
8298 (elf_machine_relplt): Removed, it's not needed.
8299 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
b0a62805 8300
42eb5242
AJ
8301 * sysdeps/mips/add_n.S: Add newline at EOF.
8302 * sysdeps/mips/rshift.S: Likewise.
8303 * sysdeps/mips/mul_1.S: Likewise.
8304 * sysdeps/mips/lshift.S: Likewise.
8305 * sysdeps/mips/addmul_1.S: Likewise.
8306
e3265f5b
UD
83072000-04-17 Ulrich Drepper <drepper@redhat.com>
8308
b99a3e9a
UD
8309 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
8310
dc051821
UD
8311 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
8312 * elf/dl-lookup.c: Likewise.
8313 * elf/dl-init.c (_dl_init): Likewise.
8314 * elf/dl-fini.c (_dl_fini): Likewise.
8315 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8316 * elf/dl-close.c (_dl_close): Likewise.
8317 * elf/rtld.c (_dl_start_final): Likewise.
466a0ec9 8318
e3265f5b
UD
8319 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
8320
29094e48
UD
83212000-04-15 Ulrich Drepper <drepper@redhat.com>
8322
c269fdb4
UD
8323 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
8324 only fall back on using Linux.
8325
145b8413
UD
8326 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
8327 Before testing versions check that we actually loaded the object
8328 and whether we are in trace mode. If not loaded during tracing don't
8329 test versions in this object.
8330 (_dl_check_all_versions): Take new parameter and pass to
8331 _dl_check_map_versions.
8332 * sysdeps/generic/ldsodefs.h: Update prototypes for
8333 _dl_check_all_versions and _dl_check_map_versions.
8334 * elf/rtld.c (struct version_check_args): Add dotrace.
8335 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
8336 (dl_main): Pass info about trace mode to version_check_doit.
8337 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
8338 _dl_check_all_versions.
8339
8340 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
8341 and getutmpx.
8342 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8343
29094e48
UD
8344 * manual/argp.texi: Document index parameter of argp_parse.
8345 Fix typo.
8346 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
8347
afdda55a
UD
83482000-04-14 Andreas Jaeger <aj@suse.de>
8349
8350 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
8351 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
8352
8353 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
8354
a5a6f926
UD
83552000-04-15 Ulrich Drepper <drepper@redhat.com>
8356
150f740a
UD
8357 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
8358 compat_symbol call for old adjtime.
8359
8360 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
ef187474
UD
8361 function interface. Patch by Richard Henderson <rth@cygnus.com>.
8362
a5a6f926
UD
8363 * posix/Makefile (headers): Add spawn.h.
8364 (distribute): Add spawn_int.h.
8365 (routines): Add spawn_faction_init, spawn_faction_destroy,
8366 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
8367 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
8368 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
8369 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
8370 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
8371 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
8372 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
8373 posix_spawnattr_init, posix_spawnattr_destroy,
8374 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
8375 posix_spawnattr_getflags, posix_spawnattr_setflags,
8376 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
8377 and posix_spawnp.
8378 * posix/spawn.c: New file.
8379 * posix/spawn.h: New file.
8380 * posix/spawn_faction_addclose.c: New file.
8381 * posix/spawn_faction_adddup2.c: New file.
8382 * posix/spawn_faction_addopen.c: New file.
8383 * posix/spawn_faction_destroy.c: New file.
8384 * posix/spawn_faction_init.c: New file.
8385 * posix/spawn_int.h: New file.
8386 * posix/spawnattr_destroy.c: New file.
8387 * posix/spawnattr_getdefault.c: New file.
8388 * posix/spawnattr_getflags.c: New file.
8389 * posix/spawnattr_getpgroup.c: New file.
8390 * posix/spawnattr_getschedparam.c: New file.
8391 * posix/spawnattr_getschedpolicy.c: New file.
8392 * posix/spawnattr_getsigmask.c: New file.
8393 * posix/spawnattr_init.c: New file.
8394 * posix/spawnattr_setdefault.c: New file.
8395 * posix/spawnattr_setflags.c: New file.
8396 * posix/spawnattr_setpgroup.c: New file.
8397 * posix/spawnattr_setschedparam.c: New file.
8398 * posix/spawnattr_setschedpolicy.c: New file.
8399 * posix/spawnattr_setsigmask.c: New file.
8400 * posix/spawni.c: New file.
8401 * posix/spawnp.c: New file.
8402
8403 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
8404 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
8405
0758ea0c
UD
84062000-04-14 Ulrich Drepper <drepper@redhat.com>
8407
8408 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
8409 * malloc/malloc.c: Implement posix_memalign for glibc.
8410 * include/stdlib.h: Add prototype for __posix_memalign.
8411 * stdlib/stdlib.h: Add prototype for posix_memalign.
8412
12d3e579
AJ
84132000-04-14 Andreas Jaeger <aj@suse.de>
8414
fe81e988
AJ
8415 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
8416 symidx correctly.
c84956c7 8417 (elf_machine_got_rel): Cast sym correctly.
fe81e988 8418
30c2f3c4 8419 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
90bf0e07
AJ
8420 * sysdeps/mips/addmul_1.S: Likewise.
8421 * sysdeps/mips/lshift.S: Likewise.
8422 * sysdeps/mips/mul_1.S: Likewise.
8423 * sysdeps/mips/rshift.S: Likewise.
8424 * sysdeps/mips/sub_n.S: Likewise.
8425 * sysdeps/mips/submul_1.S: Likewise.
fe81e988 8426
c8c73ac3
AJ
8427 * stdlib/stdlib.h: Fix typo in comment.
8428
d0a5dae4
AJ
8429 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8430 2.2 for libdl, ld and libm.
8431
12d3e579
AJ
8432 * sysdeps/generic/madvise.c: Fix typos.
8433
8434 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
8435
8436 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
8437
8438 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
8439 warnings.
8440
bb8e0116
UD
84412000-04-14 Ulrich Drepper <drepper@redhat.com>
8442
8443 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
8444 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
8445 Make old name weak alias.
8446 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
8447 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
8448 Make old name weak alias.
8449 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
8450
8451 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
8452 posix_fallocate, and posix_fallocate64.
8453 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
8454 posix_fallocate, and posix_fallocate64.
8455 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
8456 posix_fallocate, and posix_fallocate64.
8457 * sysdeps/generic/fadvise.c: New file.
8458 * sysdeps/generic/fadvise64.c: New file.
8459 * sysdeps/generic/fallocate.c: New file.
8460 * sysdeps/generic/fallocate64.c: New file.
8461 * sysdeps/posix/fallocate.c: New file.
8462 * sysdeps/posix/fallocate64.c: New file.
8463 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
8464 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
8465 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
8466 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8467 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8468 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8469 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8470 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8471 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8472
8473 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
8474 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8475
8f6f7a31
UD
84762000-04-13 Ulrich Drepper <drepper@redhat.com>
8477
8478 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
8479 * misc/sys/mman.h (posix_madvise): Add prototype.
8480 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
8481 old name and posix_madvise weak aliases.
8482 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8483 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
8484 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
8485 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8486 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
8487 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8488 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8489
490a9ab7
AJ
84902000-04-13 Andreas Jaeger <aj@suse.de>
8491
8492 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
8493 versioning.
0fc95464 8494 (elf_machine_got_rel): Only add runtime display if needed.
68e1ab18 8495 (elf_machine_got_rel): Handle symbol versioning.
490a9ab7 8496
382e7b29
AJ
84972000-04-13 Andreas Jaeger <aj@suse.de>
8498
44a202c0 8499 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
ab718a79 8500
382e7b29
AJ
8501 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
8502 default.
8503
8504 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
8505 with some applications.
8506 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
8507
8508 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
8509 * sysdeps/mips/bsd-_setjmp.S: Likewise.
8510 * sysdeps/mips/setjmp.S: Likewise.
44a202c0
AJ
8511
8512 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
8f6f7a31 8513
3737ff12
UD
85142000-04-13 Ulrich Drepper <drepper@redhat.com>
8515
8516 * posix/globtest.sh: Work around inconsistency with expanding ~/
8517 in shell (PR libc/1690). Reported by patsmith@pobox.com.
8518
aee46704
UD
85192000-04-12 Ulrich Drepper <drepper@redhat.com>
8520
b3ae0650
UD
8521 * posix/getconf.c: Add support for many more POSIX options.
8522 * sysdeps/posix/sysconf.c: Likewise.
8523 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
8524 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
8525 _POSIX_SHELL.
8526 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
8527 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
8528 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
8529 CLOCK_THREAD_CPUTIME_ID.
8530 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
8531 CLOCK_PROCESS_CPUTIME_ID.
8532 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
8533 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
8534 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
8535 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
8536
aa780bab
UD
8537 * malloc/Makefile (tests): Add tst-calloc.
8538 * malloc/tst-calloc.c: New file.
8539
c49b2a4e
UD
8540 * sysdeps/arm/libm-test-ulps: New file.
8541
13f536d4
UD
8542 * malloc/malloc.c: Undo all of today's changes.
8543
92d2e18f
UD
8544 * locale/programs/locale.c (show_info): Don't try to look into
8545 data for LC_ALL (there is none).
8546
3ea1b82e
UD
8547 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
8548 avoid writing over boundary.
8549 Patch by Greg McGary <gkm@eng.ascend.com>.
8550
aee46704
UD
8551 * sysdeps/arm/memprof.h: New file.
8552
4a199526
UD
85532000-04-12 Andreas Jaeger <aj@suse.de>
8554
8555 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
8556
8557 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
8558 for memmem declaration.
8559
da240c6b
UD
85602000-04-12 Ulrich Drepper <drepper@redhat.com>
8561
4a199526
UD
8562 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
8563 to -1.
8564 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8565
a4dec43d
UD
8566 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
8567 mode is invalid.
8568 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
8569 Patch by Bart Veer <bartv@redhat.com>.
8570
da240c6b
UD
8571 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
8572 function interface.
8573
bfe42f05
AJ
85742000-04-11 Andreas Jaeger <aj@suse.de>
8575
8576 * sysdeps/mips/dl-machine.h: Update some comments.
8577 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
8578
e7c036b3
UD
85792000-04-11 Ulrich Drepper <drepper@redhat.com>
8580
8a31d742
UD
8581 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
8582 _POSIX_SHARED_MEMORY_OBJECTS.
8583
ca99b8a0
UD
8584 * rt/Makefile (tests): Add tst-shm.
8585 Add rules to generate tst-shm.
8586 * rt/tst-shm.c: New file.
8587
fb125e0c
UD
8588 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
8589 for descriptor.
8590
a63be9f7
UD
8591 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
8592 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
8593 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
8594 * sysdeps/generic/shm_open.c: New file.
8595 * sysdeps/generic/shm_unlink.c: New file.
8596 * sysdeps/unix/sysv/linux/shm_open.c: New file.
8597 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
8598 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
8599 __endmntent, __getmntent_r, __setmntent, and __statfs.
8600
25728f03
UD
8601 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
8602 fragmentation by allocating new memory at the end instead of
8603 reallocating.
8604
e7c036b3
UD
8605 * posix/globtest.sh: Fix last change.
8606
86072000-04-10 Philip Blundell <philb@gnu.org>
8608
8609 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
8610 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
8611 IPV6_DROP_MEMBERSHIP.
8612 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
8613 Likewise.
8614
86152000-04-11 Ulrich Drepper <drepper@redhat.com>
8616
8617 * elf/readlib (process_file): Close streams in case of an error.
8618
86192000-04-09 Andreas Jaeger <aj@suse.de>
8620
8621 * elf/readlib.c (process_file): Check if file is big enough to
8622 contain aout and ELF headers.
8623 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
8624
86252000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
8626
8627 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
8628
86292000-04-11 Ulrich Drepper <drepper@redhat.com>
8630
8631 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
8632 stream unbuffered.
8633 * rt/Makefile (tests): Add tst-clock.
8634 Add rules to build tst-clock.
8635 * rt/tst-clock.c: New file.
8636 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
8637 about initialization of nsec.
8638 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
8639 about initialization of freq. Set retval to zero if successful.
8640 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
8641
6689a188
UD
86422000-04-10 Ulrich Drepper <drepper@redhat.com>
8643
8644 * Versions.def (librt): Add GLIBC_2.2.
8645 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
8646 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
8647 timer_getoverr, timer_gettime, and timer_settime.
8648 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
8649 clock_settime, timer_create, timer_delete, timer_getoverrun,
8650 timer_gettime, and timer_settime.
8651 * sysdeps/generic/clock_getcpuclockid.c: New file.
8652 * sysdeps/generic/get_clockfreq.c: New file.
8653 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
8654 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
8655 * sysdeps/mach/hurd/i386/bits/time.h: New file.
8656 * sysdeps/unix/i386/i586/clock_getres.c: New file.
8657 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
8658 * sysdeps/unix/i386/i686/Implies: New file.
8659 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
8660 * time/Makefile (routines): Move clock_getres, clock_gettime,
8661 clock_settime, timer_create, timer_delete, timer_getoverr,
8662 timer_gettime, and timer_settime to rt/Makefile.
8663 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
8664 clock_settime, timer_create, timer_delete, timer_getoverrun,
8665 timer_gettime, and timer_settime.
094f72c6 8666 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
6689a188
UD
8667
8668 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
8669 and not const as attribute name.
8670
25ee87d6
UD
86712000-04-10 Thorsten Kukuk <kukuk@suse.de>
8672
8673 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
8674
3b690639
UD
86752000-04-10 Andreas Schwab <schwab@suse.de>
8676
8677 * posix/globtest.sh: Skip tests that depend on unreadable
8678 directories if run as root.
8679
e79af11c
UD
86802000-04-10 Ulrich Drepper <drepper@redhat.com>
8681
8682 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
8683 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
8684
8956ac9e
UD
86852000-04-09 Ulrich Drepper <drepper@redhat.com>
8686
13fa3676
UD
8687 * sysdeps/unix/clock_gettime.c: New file.
8688 * sysdeps/unix/clock_settime.c: New file.
8689 * sysdeps/posix/clock_getres.c: New file.
8690
1a8de3e4
UD
8691 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
8692
4186c9f4
UD
8693 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
8694 lseek call be passing in a buffer which never allow a successful
8695 first getdents syscall if not at leas the initial entry can be
8696 stored in the user buffer.
8697
8956ac9e
UD
8698 * localedata/Makefile: Add rules to clean up directories created by
8699 new strfmon tests.
8700
87012000-04-09 Geoff Clare <gwc@unisoft.com>
8702
8703 * localedata/tst-fmon.data: Added new tests for strfmon()
8704 using test locales with all combinations of cs_precedes,
8705 sign_posn and sep_by_space.
8706 * localedata/tst-fmon.sh: Updated to support the new tests.
8707 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
8708 the localedef source for the new strfmon() test locale.
8709 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
8710 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
8711 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
8712 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
8713 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
8714 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
8715 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
8716 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
8717 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
8718 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
8719 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
8720 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
8721 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
8722 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
8723
8724 * stdlib/strfmon.c: Correct problems with missing or extra
8725 spaces for unusual combinations of sign_posn and sep_by_space.
8726 Improved left-precision alignment code.
8727
fe9d16a5
UD
87282000-04-07 Andreas Jaeger <aj@suse.de>
8729
8730 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
8731
ddf0c536
AJ
87322000-04-10 Andreas Jaeger <aj@suse.de>
8733
8734 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
8735
fd1b5c0f
UD
87362000-04-09 Ulrich Drepper <drepper@redhat.com>
8737
8738 Implement handling of restartable conversion functions according to
8739 ISO C.
8740 * iconv/gconv.h (__gconv_fct): Add additional parameter.
8741 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
8742 * iconv/gconv.c: Pass additional parameter to conversion function.
8743 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
8744 (internal_ucs4le_loop_single): New function.
8745 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
8746 (__gconv_transform_internal_ascii): Likewise.
8747 (__gconv_transform_internal_utf8): Likewise.
8748 (__gconv_transform_utf8_internal): Likewise.
8749 (__gconv_transform_ucs2_internal): Likewise.
8750 (__gconv_transform_internal_ucs2): Likewise.
8751 (__gconv_transform_ucs2reverse_internal): Likewise.
8752 (__gconv_transform_internal_ucs2reverse): Likewise.
8753 (internal_ucs4le_loop_unaligned): Before return
8754 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
8755 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
8756 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
8757 * iconv/loop.c: Fit in definition of function to convert one character
8758 for processing of left-over bytes from the state object.
8759 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
8760 inend to match names in loop functions.
8761 (RESET_INPUT_BUFFER): Change apprpriately.
8762 (gconv): If needed, call function to process bytes from the state
8763 object. Similar at the end: store left over bytes if input is
8764 incomplete.
8765 Take extra argument and add new argument to all calls of the
8766 conversion function.
8767 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
8768 information in the state object to not conflict with length count.
8769 * iconvdata/iso-2022-jp.c: Likewise.
8770 * iconvdata/iso-2022-kr.c: Likewise.
8771 * iconvdata/unicode.c: Adjust for change change in parameters of
8772 skeleton function.
8773 * iconvdata/utf-16.c: Likewise.
8774 * libio/iofwide.c: Add new parameter to all calls of conversion
8775 function.
8776 * wcsmbs/btowc.c: Likewise.
8777 * wcsmbs/mbrtowc.c: Likewise.
8778 * wcsmbs/mbsnrtowcs.c: Likewise.
8779 * wcsmbs/mbsrtowcs.c: Likewise.
8780 * wcsmbs/wcrtomb.c: Likewise.
8781 * wcsmbs/wcsnrtombs.c: Likewise.
8782 * wcsmbs/wcsrtombs.c: Likewise.
8783 * wcsmbs/wctob.c: Likewise.
8784
8785 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
8786 MAX_NEEDED_INPUT.
8787
22804455
AJ
87882000-04-07 Andreas Jaeger <aj@suse.de>
8789
8790 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
8791 newer kernels.
8792
aa831d6d
UD
87932000-04-07 Ulrich Drepper <drepper@redhat.com>
8794
8795 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
8796 element a union to allow byte access.
8797 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
8798 mbstate_t.
8799 * iconvdata/iso-2022-jp.c: Likewise.
8800 * iconvdata/iso-2022-kr.c: Likewise.
404ee5fc
UD
8801 * wcsmbs/mbsinit.c: Likewise.
8802 * stdlib/mblen.c: Likewise.
b837918e 8803 * stdio-common/printf-parse.h: Likewise.
aa831d6d 8804
a0dc5206
UD
88052000-04-06 Ulrich Drepper <drepper@redhat.com>
8806
f11b9da6
UD
8807 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
8808 kernel does not allow relative seeks on descriptors associated
8809 with directories. Go back to get the position in the directory
8810 every time we enter the function. Return -1 and set errno if one
8811 entry could be read from the kernel but does not fit into the
8812 buffer passed in by the user.
8813
a0dc5206
UD
8814 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
8815 Support ..(2).. ellipsis.
8816 (parse_charmap): Recognize ..(2).. etc and pass step down.
8817 Correctly generate names for UCS4 characters.
8818
8819 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
8820 (ctype_finish): We know the wide character value for <SP>,
8821 don't search.
8822 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
8823 (charclass_ucs4_ellipsis): Likewise.
8824 (read_translit_ignore_entry): Store ellipsis step.
8825 (ctype_read): Recognize ..(2).. etc and pass step down.
8826
8827 * locale/programs/linereader.c (lr_token): When seeing comment
8828 character ignore only rest of line in sources but stop at escaped
8829 newline.
8830 Recognize ..(2).. and ....(2).....
8831
8832 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
8833 and tok_ellipsis4_2.
8834
372f94ba
UD
88352000-04-06 Andreas Jaeger <aj@suse.de>
8836
8837 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
8838 removed, remove it here also.
8839 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
8840 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
8841 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
8842 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
8843
88442000-04-06 Jakub Jelinek <jakub@redhat.com>
8845
8846 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
8847 include bits/sigcontext.h.
8848 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8849
723faa38
UD
88502000-04-06 Ulrich Drepper <drepper@redhat.com>
8851
5943f0bc
UD
8852 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
8853 collation symbol definition. Value in quivalence definition must
8854 be defined, don't check that it is not.
8855
723faa38
UD
8856 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
8857 values as character names.
8858
8859 * locale/programs/ld-ctype.c (get_character): Handle missing
8860 repertoire map correctly.
8861
a1303dc8
UD
88622000-04-05 Cristian Gafton <gafton@redhat.com>
8863
8864 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
8865 because it is used in generic code.
8866 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
8867 * wcsmbs/wcwidth.h: Declare __ctype32_b.
8868 * intl/gettext.c: Include <locale.h>.
8869 * intl/ngettext.c: Likewise.
8870
88712000-04-05 Jakub Jelinek <jakub@redhat.com>
8872
8873 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
8874 socklen_t type for size.
8875 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
8876 init function interface.
8877 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8878 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
8879 sys/ucontext.h.
8880 (__jmp_buf): Declare the whole type structure here, don't use
8881 ucontext.
8882
2a0ff6ff
UD
88832000-04-05 Ulrich Drepper <drepper@redhat.com>
8884
a1303dc8
UD
8885 * iconv/skeleton.c (put16u): Fix typo.
8886 Reported by Bruno Haible <haible@ilog.fr>.
8887
2a0ff6ff
UD
8888 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
8889 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
8890 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
8891 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
8892 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
8893 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
8894
8895 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
8896 * Makefile (distribute): Add abi-versions.awk and
8897 firstversions.awk.
8898 Patches by Torsten Duwe <duwe@caldera.de>.
8899
5560eac7
UD
89002000-04-05 Andreas Schwab <schwab@suse.de>
8901
8902 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
8903
a6dd65cd
AS
89042000-04-05 Andreas Schwab <schwab@suse.de>
8905
8906 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
8907 entry point, used on Hurd.
8908
7d4de961
UD
89092000-04-04 Andreas Jaeger <aj@suse.de>
8910
8911 * intl/Makefile: Only run the gettext test with shared libraries.
8912
f0d872e9
UD
89132000-03-16 Mark Kettenis <kettenis@gnu.org>
8914
8915 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
8916 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
8917
7499a22a
RM
89182000-04-05 Roland McGrath <roland@baalperazim.frob.com>
8919
8920 * Makeconfig: Undo last change.
8921 * configure.in: If --disable-shared was given, don't set VERSIONING,
8922 don't define DO_VERSIONING, and don't give scare warning for no
8923 versioning.
8924 * configure: Regenerated.
8925
2c57ff21
RM
89262000-04-04 Roland McGrath <roland@baalperazim.frob.com>
8927
8928 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
8929
09847c8d
UD
89302000-04-04 Andreas Jaeger <aj@suse.de>
8931
8932 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
8933
3aaad0b6
UD
89342000-04-04 Ulrich Drepper <drepper@redhat.com>
8935
736d0841
UD
8936 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
8937 STV_HIDDEN and STV_INTERNAL during lookup.
8938 (profile_fixup): Likewise.
8939 * elf/dl-reloc.c (RESOLVE): Likewise.
8940
3aaad0b6
UD
8941 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
8942 unaligned so that it compiles for system which need unaligned
8943 access handling.
8944
0b7219cc
UD
89452000-04-04 Andreas Schwab <schwab@suse.de>
8946
8947 * elf/cache.c (print_entry): Only look at the type field when
8948 printing the type.
8949
89502000-04-04 Andreas Schwab <schwab@suse.de>
8951
8952 * iconvdata/big5.c (BODY): Fix typo.
8953
658943b9
AS
89542000-04-04 Andreas Schwab <schwab@suse.de>
8955
8956 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
8957 function interface. Remove unused _dl_start_user entry point.
8958
bd457114
UD
89592000-04-03 Andreas Jaeger <aj@suse.de>
8960
8961 * include/arpa/inet.h (__inet_aton): Add protoype.
8962
41aefe41
UD
89632000-04-01 Andreas Jaeger <aj@suse.de>
8964
8965 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
8966
8967 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
8968 * sysdeps/mach/mips/thread_state.h: Likewise.
8969
8970 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
8971 * sysdeps/generic/fegetenv.c: Likewise.
8972 * sysdeps/generic/fesetenv.c: Likewise.
8973 * sysdeps/generic/feupdateenv.c: Likewise.
8974 * sysdeps/generic/fraiseexcpt.c: Likewise.
8975 * sysdeps/generic/fsetexcptflg.c: Likewise.
8976 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
8977 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
8978 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
8979 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8980
89812000-04-02 H.J. Lu <hjl@gnu.org>
8982
8983 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
8984
ad085e8a
UD
89852000-04-03 Ulrich Drepper <drepper@redhat.com>
8986
839be784
UD
8987 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
8988 (add_name_to_object): Add cast in malloc call.
8989 (fillin_rpath): Optimize loop to initialize ->status a bit.
8990
f9b798ba
UD
8991 * sysdeps/i386/dl-machine.h: Undo last change.
8992 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
8993 Restore %edx register after call here.
8994
ad085e8a
UD
8995 * sysdeps/arm/atomicity.h: New file.
8996 Contributed by Jesper Skov <jskov@redhat.com>.
8997
c6d80202
RM
89982000-04-03 Roland McGrath <roland@baalperazim.frob.com>
8999
ca5becb0
RM
9000 * Makeconfig (preprocess-versions): Undo last change.
9001 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
9002
c6d80202
RM
9003 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
9004 here, before we might move the stack.
9005 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
9006 (init1): And not here.
9007
9008 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
9009 change, to restore argc value in call-clobbered register after
9010 RTLD_START_SPECIAL_INIT, which will contain a call.
9011
9012 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
9013 allocating and initializing L->l_initfini.
9014
9015 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
9016
152e7964
UD
90172000-04-03 Ulrich Drepper <drepper@redhat.com>
9018
9019 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
9020 RUNPATH, RPATH, and LD_LIBRARY_PATH.
9021 (open_path): Change type of fourth parameter. Make pointer to array
9022 of pointers. Create variable dirs with original type.
9023 Track whether any directory for the object exists and if not,
9024 change *DIRSP to (void*) -1 to signal there is no such search path.
9025 (_dl_map_object): Change all calls of open_path.
9026 Rewrite decompose_rpath calls.
9027
42ba2c11
UD
90282000-03-31 Andreas Schwab <schwab@suse.de>
9029
9030 * string/strfry.c: Declare STATE as array of char instead of int
9031 and do not initialize it (done by initstate_r). Pass correct
9032 size.
9033
0a63529d
UD
90342000-04-03 Ulrich Drepper <drepper@redhat.com>
9035
42ba2c11
UD
9036 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
9037
0a63529d
UD
9038 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
9039 instruction out of the code.
9040
cf197e41
UD
90412000-04-02 Ulrich Drepper <drepper@redhat.com>
9042
9043 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
9044 element at this position.
9045
9046 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
9047 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
9048 l_reldeps elements.
9049 * elf/dl-lookup.c (add_dependency): New function.
9050 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
9051 dynamically loaded object.
9052 (_dl_lookup_symbol_skip): Likewise.
9053 (_dl_lookup_versioned_symbol): Likewise.
9054 (_dl_lookup_versioned_symbol_skip): Likewise.
9055 * elf/dl-open.c: Don't define _dl_load_lock here...
9056 * elf/rtld.c: ...but here...
9057 * elf/dl-support.c: ...and here.
9058 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
9059 through relocation.
9060 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
9061 relocations.
9062 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
9063 anymore.
9064 * dlfcn/glrefmain.c: Add one more debug message.
9065
9066 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
9067 command line.
9068 * Makerules (sysd-versions): Use ( ) instead of { }.
9069
9070 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
9071 optimize for the non-debugging case.
9072 * elf/dl-lookup.c: Likewise.
9073 * sysdeps/generic/libc-start.c: Likewise.
9074
e1724cd7
RM
90752000-04-02 Roland McGrath <roland@baalperazim.frob.com>
9076
5879ee9f
RM
9077 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
9078 (init1): Don't initialize __environ here, since init already does it.
9079 (first_init): New function, broken out of _init.
9080 (_hurd_stack_setup): Use it.
9081 [SHARED] (_dl_init_first): New function, renamed from old _init.
9082 (init1) [SHARED]: Don't call posixland_init here.
9083 (posixland_init): Take ENVP arg, so signature is usual for initializer.
9084 [SHARED] (_init): Define as alias for posixland_init.
9085 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
9086 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
9087 RTLD_START_SPECIAL_INIT before calling initializers.
9088 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
9089 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
9090 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
9091 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
9092
e1724cd7
RM
9093 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
9094 since we define the function with the name `tmpfile'.
9095
9096 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
9097 * hurd/Versions: Likewise.
9098
e10b8512
UD
90992000-04-02 Ulrich Drepper <drepper@redhat.com>
9100
e1724cd7 9101 * elf/dl-runtime.c (fixup): Fix typo in comment.
d8655fd7 9102
e1724cd7 9103 * resolv/netdb.h (getnameinfo): All length parameters are of type
e10b8512
UD
9104 socklen_t.
9105 * inet/getnameinfo.c: Likewise.
9106
0adb8e47
UD
91072000-04-01 Ulrich Drepper <drepper@redhat.com>
9108
750f9af6
UD
9109 * posix/unistd.h (socklen_t): Define if it has not yet happened.
9110 (gethostname): Change type of second parameter to socklen_t.
9111 * include/unistd.h (__gethostname): Change type of second
9112 parameter to socklen_t.
9113 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
9114 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9115 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
9116 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
9117 Likewise.
9118 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
9119 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
9120 Allow definition elsewhere.
9121 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
9122 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9123 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
9124 * sysdeps/generic/bits/types.h: Define __socklen_t.
9125 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
9126 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
9127 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9128 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9129 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9130 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
9131 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
9132
ad483238
UD
9133 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
9134 (inet_lnaof): Likewise.
9135 (inet_netof): Likewise.
9136 (inet_network): Likewise.
9137 (inet_aton): Likewise.
9138 (inet_makeaddr): Change parameter types to in_addr_t.
9139 (inet_neta): Likewise.
9140 (inet_ntop): Change type of last parameter to socklen_t.
9141 (inet_aton): Only make available if __USE_MISC.
9142 (inet_neta): Likewise.
9143 (inet_net_ntop): Likewise.
9144 (inet_net_pton): Likewise.
9145 (inet_nsap_ntoa): Likewise.
9146
9147 * inet/in.h: Define in_port_t type.
9148 Define in_addr_t type.
9149 (struct in_addr): Use in_addr_t in definition.
9150 (IN_CLASSA): Use cast to in_addr_t.
9151 (IN_CLASSB): Likewise.
9152 (IN_CLASSC): Likewise.
9153 (IN_CLASSD): Likewise.
9154 (IN_EXPERIMENTAL): Likewise.
9155 (IN_BADCLASS): Likewise.
9156 (INADDR_ANY): Likewise.
9157 (INADDR_BROADCAST): Likewise.
9158 (INADDR_NONE): Likewise.
9159 (INADDR_LOOPBACK): Likewise.
9160 (INADDR_UNSPEC_GROUP): Likewise.
9161 (INADDR_ALLHOSTS_GROUP): Likewise.
9162 (INADDR_ALLRTRS_GROUP): Likewise.
9163 (INADDR_MAX_LOCAL_GROUP): Likewise.
9164 (struct sockaddr_in): Use in_port_t for sin_port element.
9165 (struct sockaddr_in6): Use in_port_t for sin6_port element.
9166 Use uint8_t instead of u_int8_t.
9167
9168 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
9169 Call __inet_aton instead of inet_aton.
9170 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
9171
9172 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
9173 (innetgr): Likewise.
9174 (struct addrinfo): Use socklen_t for ai_addrlen element.
9175
9176 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
9177 IPV6_RECVERR): New defines.
9178
9b48fa9b
UD
9179 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
9180 * inet/getnetbyad.c: Likewise.
9181 * inet/getnetbyad_r.c: Likewise.
9182 * nis/nss_nis/nis-network.c: Likewise.
9183 * nis/nssplus_nis/nisplus-network.c: Likewise.
9184 * nss/nss_files/files-network.c: Likewise.
9185 * resolv/netdb.h: Define uint32_t if not already happened.
9186 Include bits/netdb.h. Remove definition of struct netent.
9187 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
9188 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
9189 * sysdeps/generic/bits/netdb.h: New file.
9190 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
9191
4380ef5e
UD
9192 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
9193 (tests): Add glrefmain.
9194 Add rules to build modules and run tests. Ignore result of glrefmain
9195 for now since it fails.
9196 * dlfcn/glrefmain.c: New file.
9197 * dlfcn/glreflib1.c: New file.
9198 * dlfcn/glreflib2.c: New file.
9199
9200 * test-skeleton.c: Include <string.h> for strsignal prototype.
9201
289e8e7e
UD
9202 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
9203 to be missing.
9204
0adb8e47
UD
9205 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
9206 former init-first.h. Initialize __libc_multiple_libcs.
9207
c0c2af07
UD
92082000-03-31 Ulrich Drepper <drepper@redhat.com>
9209
c1db8b0d
UD
9210 * iconv/skeleton.c: Define access macros with u suffix. Adjust
9211 #if expression for use of unaligned function to the one used in
9212 the definition of these functions.
6674e127 9213 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
c1db8b0d
UD
9214 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
9215 (internal_ucs4le_loop_unaligned): New function.
9216
c0c2af07
UD
9217 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
9218 (tests): Add order.
9219 (module-names): Add dep1, dep2, dep3, and dep4.
9220 Add dependencies for dep* modules and order.
9221 Define rule for order.out which checks the result.
9222 * elf/dep1.c: New file.
9223 * elf/dep2.c: New file.
9224 * elf/dep3.c: New file.
9225 * elf/dep4.c: New file.
9226 * elf/order.c: New file.
9227
e1724cd7 9228 * elf/dl-init.c: Fix typo in comment.
c0c2af07 9229
ad08a5b6
AJ
92302000-03-31 Andreas Jaeger <aj@suse.de>
9231
9232 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
9233 init function interface.
9234 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
9235
e7960df5
AJ
92362000-03-31 Andreas Jaeger <aj@suse.de>
9237
36d04330
AJ
9238 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
9239 * sysdeps/mips/fpu/fegetenv.c: Likewise.
9240 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
9241 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
9242 * sysdeps/mips/fpu/fesetenv.c: Likewise.
9243
88fdf42f 9244 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
e1724cd7 9245 anymore, update comment.
88fdf42f 9246
e7960df5
AJ
9247 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9248
9249 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
9250 SHLIB_COMPAT - the struct is always needed.
9251
9ad04ff7
UD
92522000-03-31 Ulrich Drepper <drepper@redhat.com>
9253
9254 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
9255 * elf/dl-support.c: Define _dl_starting_up.
9256
924c3f59
UD
92572000-03-30 Ulrich Drepper <drepper@redhat.com>
9258
9ad04ff7 9259 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
7688db91
UD
9260 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
9261
9ad04ff7 9262 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
7688db91 9263
d7926ed9
UD
9264 * elf/Makefile (dl-routines): Remove preinit.
9265 * elf/Versions: Remove _dl_preinit.
9266 * elf/dl-preinit.c: Removed. Move content into...
9267 * elf/dl-init.c: ...here.
758cb061 9268 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
d7926ed9 9269
924c3f59 9270 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
9ad04ff7 9271 elements.
924c3f59 9272
9e9e0532
UD
92732000-03-29 Geoff Clare <gwc@unisoft.com>
9274
9275 * stdlib/strfmon.c: Corrected problems with the code that
9276 sets default values for [np]_sep_by_space and
9277 [np]_sign_posn; also the new positive/negative alignment
9278 code from the previous patch was not quite right for
9279 [np]_sign_posn = 0.
9280
9281 * localedata/tst-fmon.data: Changes corresponding to the
9282 two sets of fixes made to stdlib/strfmon.c.
9283
b5567b2a
UD
92842000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
9285
9286 * malloc/malloc.c: Declare bit flags UL so that they will not
9287 default to int size when being inverted.
9288
92892000-03-29 Andreas Jaeger <aj@suse.de>
9290
9291 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
9292 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9293
92942000-03-29 Andreas Jaeger <aj@suse.de>,
c1db8b0d 9295 Ralf Baechle <ralf@uni-koblenz.de>
b5567b2a
UD
9296
9297 * Makeconfig: Introduce new variable SHARED to mark code used in
9298 the shared library.
9299 * elf/dl-close.c: Use it instead of PIC.
9300 * elf/dl-load.c: Likewise.
9301 * elf/dl-open.c: Likewise.
9302 * hurd/geteuids.c: Likewise.
9303 * include/libc-symbols.h: Likewise.
9304 * include/shlib-compat.h: Likewise.
9305 * libio/freopen.c: Likewise.
9306 * linuxthreads/cancel.c: Likewise.
9307 * linuxthreads/pthread.c: Likewise.
9308 * linuxthreads/wrapsyscall.c: Likewise.
9309 * nss/nsswitch.c: Likewise.
9310 * stdio-common/vfprintf.c: Likewise.
9311 * sysdeps/arm/init-first.c: Likewise.
9312 * sysdeps/i386/init-first.c: Likewise
9313 * sysdeps/generic/init-first.c: Likewise.
9314 * sysdeps/generic/libc-start.c: Likewise.
9315 * sysdeps/mips/init-first.c: Likewise.
9316 * sysdeps/powerpc/elf/libc-start.c: Likewise.
9317 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9318 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9319 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9320 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9321
9322 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
9323
b86120ed
UD
93242000-03-29 Andreas Jaeger <aj@suse.de>
9325
9326 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
9327 Use D_PTR to access relocated entries in l_info.
9328 (elf_machine_rela): Likewise.
9329
9330 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
9331 Likewise.
9332 (elf_machine_rela): Likewise.
9333
9334 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
9335 Likewise.
9336 (__elf_machine_fixup_plt): Likewise.
9337 (__process_machine_rela): Likewise.
9338
9339 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
9340 (elf_machine_rela): Likewise.
9341
9342 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
9343 (elf_machine_rel): Likewise.
9344
9345 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
9346 (elf_machine_fixup_plt): Likewise.
9347 (elf_machine_rela): Likewise.
9348
93492000-03-29 Andreas Jaeger <aj@suse.de>
9350
9351 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
9352 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9353 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9354 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
9355 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9356 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
9357 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
9358 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
9359 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9360 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
9361 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
9362 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
9363 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
9364 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
9365 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9366
9367 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
9368 macros, remove K&R prototypes.
9369
05c54d4c
UD
93702000-03-30 Ulrich Drepper <drepper@redhat.com>
9371
9372 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
9373 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
9374 (PR libc/1677).
9375
7f4e0e58
UD
93762000-03-30 Andreas Jaeger <aj@suse.de>
9377
9378 * misc/sys/cdefs.h: Remove K&R support.
9379
fdf64555
UD
93802000-03-30 Ulrich Drepper <drepper@redhat.com>
9381
9382 * iconv/skeleton.c: Avoid compiling unaligned versions in some
9d54e984 9383 more cases.
fdf64555
UD
9384 * iconv/loop.c: Likewise.
9385
99a7e065
UD
93862000-03-29 Bruno Haible <haible@clisp.cons.org>
9387
9388 * iconv/loop.c (put16): Remove __const. Fix access index.
9389 (put32): Remove __const. Use uint32_t instead of uint16_t.
9390 * iconv/skeleton.c: Likewise.
9391
9a95cd1c
RM
93922000-03-30 Roland McGrath <roland@baalperazim.frob.com>
9393
9394 * mach/Versions (libc: GLIBC_2.0)
9395 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
9396 __vm_allocate on this.
9397 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
9398 mutex- and spinlock-related symbols on this.
9399 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9400 New version set. Lock-related symbols go here instead in this case.
9401 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
9402 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
9403 cthread_getspecific, cthread_setspecific, __libc_getspecific.
9404 * hurd/Versions
9405 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
9406 Put them here instead.
9407 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9408 New version set. Those cthreads symbols go here instead in this case.
9409 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
9410
dacc8ffa
UD
94112000-03-30 Ulrich Drepper <drepper@redhat.com>
9412
841288ec
UD
9413 * elf/dl-init.c (_dl_init): We don't need to call constructors
9414 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
9415
dacc8ffa
UD
9416 Implement dynamic determination of constructor/destructor order in
9417 the dynamic linker.
9418 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
9419 (GLIBC_2.2): Add _dl_init.
9420 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
9421 r_duplist is not anymore allocated separately. l_initfini is and
9422 therefore free it if necessary.
9423 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
9424 malloc block. Otherwise allocate l_initfini list only.
9425 Put dependencies for the object in l_initfini list.
9426 Sort dependencies for the object to be loaded topologically.
9427 * elf/dl-fini.c: Before running the destructors sort the topologically.
9428 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
9429 call constructors instead of iterating over the pointers. Get list of
9430 objects for which to run constructors from l_initfini element. Accept
9431 argc, argv, and env as parameters and pass them to the constructors.
9432 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
9433 with size of dynamic section.
9434 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
9435 _dl_init_next and calling constructors ourself.
9436 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
9437 Take argc, argv, and env as parameters and pass them to the
9438 constructors. Rewrite to call all constructors and not iterate over
9439 the pointers.
9440 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
9441 precompute l_initcount and l_preinitcount.
9442 * elf/link.h (struct link_map): Add l_ldnum member.
9443 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
9444 l_initcount, and l_preinitcount. Add l_initfini.
9445 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
9446 one for _dl_init.
9447 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
9448 function interface.
9449 * sysdeps/unix/sysv/linux/init-first.h: Removed.
9450 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
9451 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
9452 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
9453 conventions now match.
9454
9455 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
9456 effect for shared objects. Don't emit message and call only for
9457 static library.
9458
38e986ec
UD
94592000-03-29 Ulrich Drepper <drepper@redhat.com>
9460
9461 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
9462 CSA_Z243.4-1985-1..UCS2.
9463 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
9464 ISO-8859-10..UCS2.
9465
689993b2
AJ
94662000-03-29 Andreas Jaeger <aj@suse.de>
9467
dab715b9
AJ
9468 * include/unistd.h: Remove duplicate entry for __rmdir.
9469 Remove declaration of __mkdir since __mkdir is declared in
9470 sys/stat.h.
9471
56fbd811
AJ
9472 * manual/creature.texi (Feature Test Macros): Fix typo, reported
9473 by Michael Deutschmann <michael@talamasca.ocis.net>.
9474
689993b2
AJ
9475 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
9476 * sysdeps/mips/fpu/fegetenv.c: Likewise.
9477 * sysdeps/mips/fpu/fesetenv.c: Likewise.
9478 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
9479 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
9480
300583a7
UD
94812000-03-28 Andreas Jaeger <aj@suse.de>
9482
9483 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
9484 declaration, the prototype is defined via bits/mathcalls.h.
9485 (__sincosf): Likewise.
9486 (__sincosl): Likewise.
9487 (ldexp): Likewise.
9488 (ldexpf): Likewise.
9489 (ldexpl): Likewise.
9490 (__finite): Likewise.
10685cd0 9491 (__inline_mathcodeNP): New macro without prototype
300583a7 9492 declarations.
10685cd0
AJ
9493 (__inline_mathcodeNP2): Likewise.
9494 (__inline_mathcodeNP3): Likewise.
9495 (__inline_mathcodeNP_): Likewise.
9496 (__inline_mathcodeNP2_): Likewise.
9497 (__inline_mathcodeNP3_): Likewise.
9498 (__inline_mathopNP): Likewise.
9499 (__inline_mathop_declNP): Likewise.
9500 (__inline_mathop_declNP_): Likewise.
300583a7
UD
9501 (__inline_mathcode_): Use __inline_mathcodeNP_.
9502 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
9503 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
9504 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
9505 (__expm1l): Don't define prototype, the prototype is defined via
9506 bits/mathcalls.h.
9507 (exp): Likewise.
9508 (__expl): Likewise.
9509 (tan): Likewise.
9510 (atan2): Likewise.
9511 (__atan2l): Likewise.
9512 (fmod): Likewise.
9513 (pow): Likewise.
10685cd0
AJ
9514 (fabsf): Likewise.
9515 (fabsl): Likewise.
9516 (__fabsl): Likewise.
300583a7
UD
9517 (asin): Likewise.
9518 (acos): Likewise.
9519 (sinh): Likewise.
9520 (cosh): Likewise.
9521 (tanh): Likewise.
9522 (floor): Likewise.
9523 (ceil): Likewise.
9524 (expm1): Likewise.
9525 (log1p): Likewise.
9526 (asinh): Likewise.
9527 (acosh): Likewise.
9528 (atanh): Likewise.
9529 (hypot): Likewise.
9530 (logb): Likewise.
9531 (fma): Likewise.
9532 (drem): Likewise.
9533 (sqrt): Likewise.
9534 (__sqrtl): Likewise.
9535 (sin): Likewise.
9536 (cos): Likewise.
9537 (atan): Likewise.
9538 (log): Likewise.
9539 (log10): Likewise.
9540 (asinh): Likewise.
9541 (log2): Likewise.
9542 (rint): Likewise.
9543
77e1d15a
UD
95442000-03-28 Ulrich Drepper <drepper@redhat.com>
9545
d2b9a50e
UD
9546 * Makerules: If make variable md5 is defined to yes after
9547 generating dependencies generate MD5 sum for the object.
9548
9dfa9a5a
UD
9549 * iconv/gconv_builtin.h: Fix length in transformation definition
9550 for UNICODEBIG.
9551
77e1d15a
UD
9552 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
9553
9554 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
9555 allow as well reading from/writing to unaligned addresses on machines
9556 which don't support this in hardware. Use FCTNAME macro to define
9557 function name. Include the file a second time for platforms which
9558 need special unaligned handling.
9559 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
9560 to access potentially unaligned addresses. These macros are intended
9561 to be used only outside the loops.
9562 (unaligned): New definition. In case the machine can handle unaligned
9563 access define as zero. Otherwise as a variable which is initialized
9564 as nonzero in case the buffer passed in at runtime is unaligned with
9565 respect to the character set encoding involved.
9566 Call aligned or unaligned looop functions according to unaligned
9567 variable.
9568 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
9569 of direct casting pointer to potentially handle unaligned memory
9570 accesses.
9571 * iconvdata/8bit-generic.c: Likewise.
9572 * iconvdata/ansi_x3.110.c: Likewise.
9573 * iconvdata/big5.c: Likewise.
9574 * iconvdata/euc-cn.c: Likewise.
9575 * iconvdata/euc-jp.c: Likewise.
9576 * iconvdata/euc-kr.c: Likewise.
9577 * iconvdata/euc-tw.c: Likewise.
9578 * iconvdata/gbk.c: Likewise.
9579 * iconvdata/iso-2022-cn.c: Likewise.
9580 * iconvdata/iso-2022-jp.c: Likewise.
9581 * iconvdata/iso-2022-kr.c: Likewise.
9582 * iconvdata/iso646.c: Likewise.
9583 * iconvdata/iso_6937-2.c: Likewise.
9584 * iconvdata/iso_6937.c: Likewise.
9585 * iconvdata/johab.c: Likewise.
9586 * iconvdata/sjis.c: Likewise.
9587 * iconvdata/t.61.c: Likewise.
9588 * iconvdata/uhc.c: Likewise.
9589 * iconvdata/unicode.c: Likewise.
9590 * iconvdata/utf-16.c: Likewise.
9591
9592 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
9593 prototypes.
9594
9595 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
9596 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
9597 public.
9598 * malloc/mcheck.h (mcheck_check_all): Declare.
9599
9600 * stdio-common/Makefile (tests): Add tst-obprintf.
9601
26c400e6
RM
96022000-03-28 Roland McGrath <roland@baalperazim.frob.com>
9603
9604 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
9605 Declare pthread_sigmask.
9606
9607 * csu/version.c: Add 2000 to copyright years.
9608 Remove Emacs local variables section.
9609
428bcea4
UD
96102000-03-23 Bruno Haible <haible@clisp.cons.org>
9611
9612 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
9613 __gconv_transform_internal_ucs2little): Remove declarations.
9614 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
9615 __gconv_transform_internal_ucs2): Never need to bswap_16.
9616 (__gconv_transform_ucs2reverse_internal,
9617 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
9618
58dc1d49
RM
96192000-03-27 Roland McGrath <roland@baalperazim.frob.com>
9620
65b4f10b
RM
9621 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
9622 obsoleting version not being defined at all, in which case the
9623 result is always true.
9624
58dc1d49
RM
9625 * Makeconfig (preprocess-versions): New canned sequence for running
9626 cpp on shlib-versions and the like.
9627 (soversions.i): Use it.
9628 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
9629 Versions.def and Versions files.
9630
670066c3
UD
96312000-03-27 Ulrich Drepper <drepper@redhat.com>
9632
22d5fbfe
UD
9633 * stdio-common/tst-obprintf.c (main): Add another check to see
9634 obstack_printf handling all possible beginnings of the block
9635 inside an obstack chunk.
9636
670066c3
UD
9637 * locale/programs/localedef.c: Use __malloc_initialize_hook to
9638 install mcheck handler.
9639
9640 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
9641 handling problem.
22d5fbfe 9642
3e5155f8
RM
96432000-03-27 Roland McGrath <roland@baalperazim.frob.com>
9644
9010d7f8
RM
9645 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
9646
3e5155f8
RM
9647 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
9648 on [HAVE_ELF && DO_VERSIONING].
9649
0c04b91e
UD
96502000-03-27 Ulrich Drepper <drepper@redhat.com>
9651
9652 * stdio-common/tst-obprintf.c: New file.
9653
8e605e78
UD
96542000-03-26 Ulrich Drepper <drepper@redhat.com>
9655
9202ffe3
UD
9656 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
9657 _IO_OVERFLOW directly instead through __overflow.
9658
30e0f9c3
UD
9659 * locale/programs/localedef.c (construct_output_path): If path
9660 contains a / compute the end of the directory name correctly.
9661
8e605e78
UD
9662 * include/features.h: Undef and document __USE_XOPEN2K.
9663
9664 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
9665 whenever a function is called. Initiated by calling mcheck_pedantic
9666 instead of mcheck.
9667 * malloc/mcheck.h: Declare mcheck_pedantic.
9668 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
9669 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
9670 for now.
9671
4c63ebaa
UD
96722000-03-26 Roland McGrath <roland@baalperazim.frob.com>
9673
16710d58
RM
9674 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
9675 * dlfcn/dlopenold.c: Likewise.
9676 * nss/getXXbyYY_r.c: Likewise.
9677 * nss/getXXent_r.c: Likewise.
9678 * hurd/hurdinit.c: Likewise.
9679 * hurd/compat-20.c: Likewise.
9680 * libio/oldiofopen.c: Likewise.
9681 * libio/oldiofclose.c: Likewise.
9682 * libio/oldiofdopen.c: Likewise.
9683 * libio/oldfileops.c: Likewise.
9684 * libio/oldstdfiles.c: Likewise.
9685 * libio/oldiofsetpos.c: Likewise.
9686 * libio/oldiofgetpos.c: Likewise.
9687 * libio/oldiofgetpos64.c: Likewise.
9688 * libio/oldiofsetpos64.c: Likewise.
9689 * libio/oldiopopen.c: Likewise.
9690 * libio/oldpclose.c: Likewise.
9691 * libio/oldtmpfile.c: Likewise.
9692 * libio/freopen.c (freopen): Likewise.
9693 * libio/iofclose.c (_IO_new_fclose): Likewise.
9694
54f6cbb3
RM
9695 * sysdeps/mach/sys/reboot.h: Include <features.h>.
9696 (reboot): Declare it.
9697
1c479f72
RM
9698 * libio/Makefile (headers): Add bits/stdio-lock.h here.
9699
9700 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
9701
a7ca88b8
RM
9702 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
9703
4c63ebaa
UD
9704 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
9705 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
9706 We need this for the sbrk decl, which can be included without Unix98.
9707
c7e41631
UD
97082000-03-20 Richard Henderson <rth@cygnus.com>
9709
9710 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
9711 argument to yperr2nss is an int, not size_t.
9712 * posix/regex.c (print_partial_compiled_pattern): Cast all
9713 ptrdiff_t to long for printing.
9714 (print_compiled_pattern): Use Z for printing size_t.
9715 * posix/testfnm.c (tests): Avoid trigraphs.
9716 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9717 Use a C comment, not an assembly comment.
9718
9719 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
9720 of __ASSUME_32BITUIDS.
9721
6d2e234a
UD
97222000-03-26 Ulrich Drepper <drepper@redhat.com>
9723
9724 * libio/iofopncook.c: Remove K&R prototypes.
9725
2e6f096f
RM
97262000-03-26 Roland McGrath <roland@baalperazim.frob.com>
9727
9728 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
9729 an initial value of 1024 instead of RLIM_INFINITY.
9730
9731 * Versions.def (libmachuser, libhurduser): Remove these sections,
9732 since these libraries do not presently use symbol versions.
9733
9734 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
9735 is RLIM_INFINITY, return -1 instead.
9736
4fcddf8e
UD
97372000-03-24 Andreas Jaeger <aj@suse.de>
9738
9739 * Makefile (postclean): Added soversions.i.
9740
97412000-03-24 Scott Bambrough <scottb@netwinder.org>
9742
9743 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
9744 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
9745 and _FPU_IEEE. Change _FPU_RESERVED.
9746
97472000-03-24 Scott Bambrough <scottb@netwinder.org>
9748
9749 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
9750
97512000-03-24 Roland McGrath <roland@baalperazim.frob.com>
9752
9753 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
9754 (gaih_inet): Remove unused duplicate variable.
9755
9756 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
9757 Don't use __libc_sa_len, which only exists for Linux. Just handle
9758 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
9759 only flavors supported by this function anyway.
9760
97612000-03-24 Geoff Clare <gwc@unisoft.com>
9762
9d54e984 9763 * stdlib/strfmon.c: Corrected problems with missing signs and
4fcddf8e
UD
9764 missing or extra spaces; allow for sign strings longer than
9765 one character; add padding to ensure positive and negative
9766 formats are aligned when a left precision is used.
9767
97682000-03-26 Ulrich Drepper <drepper@redhat.com>
9769
9770 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
9771 Patch by John Mizel <John.Mizel@msdw.com>.
9772
0efadcd9
UD
97732000-03-25 Ulrich Drepper <drepper@redhat.com>
9774
9775 * manual/install.texi: Remove references to crypt add-on.
9776
9e3438be
RM
97772000-03-25 Roland McGrath <roland@baalperazim.frob.com>
9778
9779 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
9780 section while taking the _hurd_rlimit_lock.
9781 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9782
4f173e2c
RM
97832000-03-24 Roland McGrath <roland@baalperazim.frob.com>
9784
6a08db09
RM
9785 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
9786 using $(LN_S).
9787
4f173e2c
RM
9788 * sysdeps/mach/hurd/if_index.c: New file.
9789
9790 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
9791 * sysdeps/gnu/net/if.h: here.
9792 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
9793 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
9794 * sysdeps/generic/net/if.h: New file. Declares just the standard
9795 functions and `struct if_nameindex' type.
9796 * socket/Makefile (headers): Add net/if.h here.
9797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
9798 * sysdeps/mach/hurd/Dist: Remove it here.
9799 * sysdeps/unix/sysv/linux/Dist: And here.
9800 * sysdeps/generic/if_index.c: Include <net/if.h>.
9801
e63721a4
AJ
98022000-03-24 Andreas Jaeger <aj@suse.de>
9803
9804 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
9805 access relocated entries in l_info.
9806 (elf_machine_got_rel): Likewise.
9807 (elf_machine_runtime_setup): Likewise.
9808 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
9809 (elf_machine_runtime_setup): Likewise.
9810 (__dl_runtime_resolve): Likewise.
9811
383052e9
UD
98122000-03-23 Ulrich Drepper <drepper@redhat.com>
9813
9814 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
9815 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
9816 according to RFC 2553.
9817 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
9818 * inet/getnameinfo.c: Likewise.
9819 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
9820
c0bc5f7b
UD
98212000-03-23 Bruno Haible <haible@clisp.cons.org>
9822
9823 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
9824 Remove no-op pointer increment.
9825
7392ce9b
UD
98262000-03-23 Andreas Jaeger <aj@suse.de>
9827
9828 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
9829 follow change for libio.h from 2000-03-10.
9830
a42195db
UD
98312000-03-23 Andreas Jaeger <aj@suse.de>
9832
9833 * elf/dl-addr.c: Adjust include paths for ldsodefs location
9834 change.
9835 * elf/dl-debug.c: Likewise.
9836 * elf/dl-deps.c: Likewise.
9837 * elf/dl-error.c: Likewise.
9838 * elf/dl-fini.c: Likewise.
9839 * elf/dl-init.c: Likewise.
9840 * elf/dl-load.c: Likewise.
9841 * elf/dl-lookup.c: Likewise.
9842 * elf/dl-minimal.c: Likewise.
9843 * elf/dl-object.c: Likewise.
9844 * elf/dl-open.c: Likewise.
9845 * elf/dl-preinit.c: Likewise.
9846 * elf/dl-profile.c: Likewise.
9847 * elf/dl-profstub.c: Likewise.
9848 * elf/dl-reloc.c: Likewise.
9849 * elf/dl-runtime.c: Likewise.
9850 * elf/dl-support.c: Likewise.
9851 * elf/dl-symbol.c: Likewise.
9852 * elf/dl-version.c: Likewise.
9853 * elf/rtld.c: Likewise.
9854 * elf/sprof.c: Likewise.
9855 * sysdeps/generic/dl-cache.c: Likewise.
9856 * sysdeps/generic/dl-origin.c: Likewise.
9857 * sysdeps/generic/dl-sysdep.c: Likewise.
9858 * sysdeps/generic/elf/backtracesyms.c: Likewise.
9859 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9860 * sysdeps/generic/libc-start.c: Likewise.
9861 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9862 * sysdeps/powerpc/dl-machine.c: Likewise.
9863 * sysdeps/powerpc/elf/libc-start.c: Likewise.
9864 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9865 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9866 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
9867
9868 * elf/ldsodefs.h: Move file to ...
9869 * sysdeps/generic/ldsodefs.h: ... here.
9870
9871 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
7392ce9b 9872
a42195db
UD
9873 * sysdeps/mips/elf/ldsodefs.h: New file.
9874
9875 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
9876 entries in l_info.
9877 (_dl_check_map_versions): Likewise.
9878 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9879 * elf/dl-load.c (_dl_init_paths): Likewise.
9880 (_dl_map_object): Likewise.
9881 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
9882 (elf_get_dynamic_info): Likewise.
9883 * elf/do-lookup.h (FCT): Likewise.
9884 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
9885 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9886 * elf/dl-addr.c (_dl_addr): Likewise.
9887 * elf/dl-runtime.c (profile_fixup): Likewise.
9888 (fixup): Likewise.
9889 * elf/dl-init.c (_dl_init_next): Likewise.
9890 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
9891 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
9892 (DISTINGUISH_LIB_VERSIONS): Likewise.
9893 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
9894 (elf_machine_rel): Likewise.
9895
9896 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
9897 for writable dynamic section.
9898
922809a2
UD
98992000-03-22 Ulrich Drepper <drepper@redhat.com>
9900
9901 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
9902 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
9903
99042000-03-22 Andreas Jaeger <aj@suse.de>
9905
9906 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
9907 from latest Linux kernel.
9908
0ddd06d1
AJ
99092000-03-21 Andreas Jaeger <aj@suse.de>
9910
9911 * Versions.def: Add version 2.1.4.
9912
1ab1ea76
UD
99132000-03-21 Ulrich Drepper <drepper@redhat.com>
9914
9915 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
9916 * libio/oldiofopen.c: Likewise.
9917 * libio/oldiofclose.c: Likewise.
ef7dddd0 9918 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
1ab1ea76 9919
42f76b6b
RM
99202000-03-22 Roland McGrath <roland@baalperazim.frob.com>
9921
9922 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
9923 indicating the first version set to obsolete the conditionalized code.
2ae13e20 9924 (compat_symbol): New macro.
42f76b6b
RM
9925 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
9926 rhs be the ABI_* macro for the subsuming version. Assign increasing
9927 integer values to the ABI_* macros for supported versions.
2ae13e20
RM
9928 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
9929 compat_symbol macro.
42f76b6b 9930
cb162e13
UD
99312000-03-21 Ulrich Drepper <drepper@redhat.com>
9932
101edd3f
UD
9933 * nscd/connections.c (nscd_run): Pretty print.
9934 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
9935
bafb8ee9
UD
9936 * manual/charset.texi: Fix typos. Rephrase.
9937 * manual/process.texi: Likewise.
9938 * manual/signal.texi: Likewise.
9939 Patches by Mike Coleman <mkc@kc.net>.
9940
fd091d3f
UD
9941 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
9942 versions.
9943 * libio/iofdopen.c: Likewise.
9944 * libio/iofgetpos.c: Likewise.
9945 * libio/iofgetpos64.c: Likewise.
9946 * libio/iofopen.c: Likewise.
9947 * libio/iofsetpos.c: Likewise.
9948 * libio/iofsetpos64.c: Likewise.
9949 * libio/iopopen.c: Likewise.
9950 * libio/oldiofopen.c: Likewise.
9951 * libio/pclose.c: Likewise.
9952 * sysdeps/gnu/siglist.c: Likewise.
9953 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
9954
cb162e13
UD
9955 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
9956 chance to expand VERSION_##lib##_##version.
9957
0bf98029
UD
9958 * libio/fileops.c: Use new macros from shlib-compat.h to define
9959 versions.
9960 * libio/iofclose.c: Likewise.
9961 * libio/oldiofclose.c: Likewise.
75836bc8 9962 Patch by Roland McGrath <roland@frob.com>.
0bf98029 9963
54021487
UD
99642000-03-21 Jakub Jelinek <jakub@redhat.com>
9965
9966 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
9967 Lay out struct sigcontext according to what really gets passed on
9968 the stack.
9969 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
9970 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
9971 (prgregset_t, prfpregset_t): Define to elf_* types.
9972 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
9973 Define to correct value.
9974 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
9975 sigcontext.
9976 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
9977
39c57122
RM
99782000-03-21 Roland McGrath <roland@baalperazim.frob.com>
9979
9980 * scripts/firstversions.awk: Allow multiple version sets in the
9981 "earliest version" specification, meaning that version sets in the
9982 gaps between listed versions should be folded into the earliest later
9983 version that is explicitly listed.
9984 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
9985 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
9986
bc4831b9
UD
99872000-03-21 Ulrich Drepper <drepper@redhat.com>
9988
8d617a71
UD
9989 * iconv/gconv_builtin.c: Include <endian.h>.
9990 * iconv/gconv_builtin.h: Add UCS-BE aliases.
9991 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
9992 according to current platform.
9993 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
9994 __gconv_transform_internal_ucs2reverse, and
9995 __gconv_transform_internal_ucs4le.
9996 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
9997 __gconv_transform_ucs2reverse_internal and
9998 __gconv_transform_internal_ucs2reverse.
9999 * iconvdata/Makefile (modules): Add UNICODE.
10000 (distribute): Add unicode.c.
10001 * iconvdata/gconv-modules: Add definitions for UNICODE module.
10002 * iconvdata/unicode.c: New file.
10003
10004 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
10005 determine byte order of input and convert accordingly.
10006
bc4831b9
UD
10007 * iconvdata/utf-16.c (gconv_init): Fix typo.
10008
7e836977
UD
100092000-03-20 Ulrich Drepper <drepper@redhat.com>
10010
6abcde8e
UD
10011 * iconvdata/gconv-modules: Fix typo.
10012
b0c766dd 10013 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
62d999dc
UD
10014 more messages.
10015
7e836977
UD
10016 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
10017
db840914
UD
100182000-03-16 Thorsten Kukuk <kukuk@suse.de>
10019
10020 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
10021
4159e387
UD
100222000-03-20 Ulrich Drepper <drepper@redhat.com>
10023
10024 * misc/Makefile (routines): Add mincore.
10025
100262000-03-20 Andreas Jaeger <aj@suse.de>
10027
10028 * sysdeps/generic/mincore.c: New stub file.
10029
10030 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
10031 from latest Linux kernel.
10032
db766e12
UD
100332000-03-20 Ulrich Drepper <drepper@redhat.com>
10034
10035 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
10036 _SC_GETPW_R_SIZE_MAX.
10037
cf9e0cbc
RH
100382000-03-20 Richard Henderson <rth@cygnus.com>
10039
db766e12 10040 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
cf9e0cbc
RH
10041 in GLIBC_2.1.4.
10042
c069bb98
RH
100432000-03-20 Richard Henderson <rth@cygnus.com>
10044
b7434f82
RH
10045 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
10046 of arithmetic instructions.
10047
10048 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
10049 with the fpcr. Protect from INV exception.
10050 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
10051 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
10052 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
10053
10054 * sysdeps/alpha/fpu/s_copysign.c: New.
10055 * sysdeps/alpha/fpu/s_copysignf.c: New.
10056 * sysdeps/alpha/fpu/s_fabs.c: New.
10057 * sysdeps/alpha/fpu/s_fabsf.c: New.
10058 * sysdeps/alpha/fpu/s_rint.c: New.
10059 * sysdeps/alpha/fpu/s_rintf.c: New.
10060
45159f00
RH
10061 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
10062
c069bb98
RH
10063 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
10064 Kill sethae.
10065 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
10066 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
10067 Use physical addresses not KSEG addresses.
10068 (io_system): Add PYXIS.
10069 (io): Remove hae.reg, sys, hae_shift.
10070 (stb_mb, stw_mb, stl_mb, __sethae): New.
10071 (inline_outb, inline_outw, inline_outl): Don't set hae.
10072 (inline_inb, inline_inw, inline_inl): Likewise.
10073 (dense_sethae): New null function.
10074 (struct cpuinfo_data): New.
10075 (process_cpuinfo): Use local and stack variables, not static.
10076 Move readlink check here from init_iosys.
10077 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
10078 (_iopl): Simplify.
10079 (_hae_shift): Calculate it here.
10080 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
10081 add pciconfig_iobase.
10082
d3564d01
RM
100832000-03-20 Roland McGrath <roland@baalperazim.frob.com>
10084
5d431a3e
RM
10085 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
10086 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
10087
d3564d01
RM
10088 * scripts/versions.awk: Fixed version renaming code to distinguish
10089 libraries properly.
10090
41a173e1
UD
100912000-03-19 Ulrich Drepper <drepper@redhat.com>
10092
a6a478e9
UD
10093 * include/stdlib.h: Add prototype for __cxa_atexit.
10094
41a173e1
UD
10095 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
10096 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
10097
100982000-03-17 Cristian Gafton <gafton@redhat.com>
10099
10100 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
10101 existing rtld-installed-name.
10102 ($(rtld-installed-name)): Request libc-$(version) be installed too.
10103 replace existing rtld-installed-name using $(symbolic-link-prog).
10104
101052000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10106
10107 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
10108 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
10109 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
10110 but not the former.
10111
101122000-03-19 Ulrich Drepper <drepper@redhat.com>
10113
10114 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
10115 glob64. Since there is no glob64 in the LFS proposal applications
10116 can assume that glob handles LFS situations. glob64 is only needed
10117 if alternative filesystem functions are used.
10118
101192000-03-19 Geoff Clare <gwc@unisoft.com>
10120
10121 * sysdeps/generic/glob.c: Correct gl_pathc value returned
10122 when GLOB_DOOFFS is set; correct handling of patterns
10123 containing escaped wildcards (and no unescaped ones);
10124 GLOB_ERR flag was being ignored in some situations.
10125
10126 * posix/globtest.c, posix/globtest.sh: Updated to include
10127 tests for the problems fixed by the above changes to glob.c.
10128
10129 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
10130
361742ed
RM
101312000-03-19 Roland McGrath <roland@baalperazim.frob.com>
10132
af260314
RM
10133 * Makeconfig (soversion.i): Use only first match for each lib.
10134
0ecdeb26
RM
10135 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
10136
c95527a1
RM
10137 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
10138 rather than $(sysd-dirs-done) to protect these rules.
10139
3c132532
RM
10140 * Makerules (version-renames.def): Target removed.
10141 (Versions.all): Depend on soversions.i directly and parse it.
10142
ba7e89ec
RM
10143 * Makeconfig (soversions.i): New target, input-reading parts of
10144 soversions.mk generation moved here; result is a canonicalized
10145 list "LIB VERSION [SET]" for this configuration.
10146 (soversions.mk): Use that as input. Don't emit map-firstversions.
10147 * Makerules (version-renames.def): New target, generated from
10148 soversions.i with contents that was in $(map-firstversions).
10149 (Versions.all): Don't depend on soversions.mk, depend on
10150 version-renames.def instead; just cat it into the input.
10151
6b3c3a35
RM
10152 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
10153 for $(map-firstversions), which better handles it being empty.
10154
361742ed
RM
10155 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
10156 supported version for libc 0.2.90.libio to GLIBC_2.2.
10157
10158 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
10159 and use it to emit new variable `map-firstversions'.
10160 * scripts/firstversions.awk: New file.
10161 * Makerules (Versions.all): Use scripts/firstversions.awk and
10162 the $(map-firstversions) value to generate a modified versions list
10163 that includes renames in "A = B" syntax for each version set earlier
10164 than the "earliest symbol version" named in shlib-versions.
10165 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
10166 rename version set A to B in the output to the intermediate file.
10167 * scripts/abi-versions.awk: New file.
10168 * Makerules (abi-versions.h): New target, generated by that script.
10169 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
10170 * include/shlib-compat.h: New file, uses that generated header.
10171
a5733c28
RM
101722000-03-18 Roland McGrath <roland@baalperazim.frob.com>
10173
88268852
RM
10174 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
10175 after stripping # comments, and then run it through cpp.
10176 This allows things like "%ifdef FOO" based on config.h settings.
10177 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
10178
a5733c28
RM
10179 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
10180 and other errors that indicate a pseudo-receive happened, grok through
10181 the message buffer for port rights that need references fixed up.
10182
f5ef7558
UD
101832000-03-16 Andreas Jaeger <aj@suse.de>
10184
10185 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
10186
10187 * sysdeps/unix/sysv/linux/madvise.c: Remove.
10188
10189 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
10190 from latest Linux kernel.
10191 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
10192
4ede8b06
UD
10193 * misc/sys/mman.h: Add prototype for mincore.
10194
b9b178ac
UD
101952000-03-17 Ulrich Drepper <drepper@redhat.com>
10196
10197 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
10198 entry for GLIBC_2.0 version of setrlimit.
10199 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10200
3b965a7d
UD
102012000-03-16 Thorsten Kukuk <kukuk@suse.de>
10202
10203 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
10204 * nis/nss_compat/compat-initgroups.c: Likewise.
10205 * nis/nss_nis/nis-initgroups.c: Likewise.
10206 * nis/nss_nis/nis-netgrp.c: Likewise.
10207 * nis/nss_nis/nis-proto.c: Likewise.
10208 * nis/nss_nis/nis-rpc.c: Likewise.
10209 * nis/nss_nis/nis-service.c: Likewise.
10210 * nis/ypclnt.c: Likewise.
a5733c28 10211
96888079
UD
102122000-03-16 Andreas Jaeger <aj@suse.de>
10213
10214 * manual/Makefile: MAKEINFO is set to `:' from configure if it
3b965a7d 10215 doesn't exist, correct checks. Fixes PR libc/1649.
96888079 10216
5c7b0fb2
UD
102172000-03-16 Thorsten Kukuk <kukuk@suse.de>
10218
10219 * nscd/hstcache.c: Restore correct UID.
10220 * nscd/pwdcache.c: Likewise.
10221 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
10222
da28fa2a
RM
102232000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10224
4ae18693
RM
10225 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
10226 macros for register names, in line with 2000-03-14 linux change.
10227
da28fa2a
RM
10228 * sysdeps/mach/sched_yield.c: New file.
10229
102302000-03-13 Roland McGrath <roland@baalperazim.frob.com>
10231
10232 * sysdeps/generic/lockfile.c: Include <stdio.h>
10233 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
10234 case <libio.h> defined them.
10235 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
10236 from __internal_*.
10237 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
10238 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
10239
10240 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
10241 for more pleasing parse error.
10242
19cf43be
UD
102432000-03-16 Ulrich Drepper <drepper@redhat.com>
10244
0db0e149
UD
10245 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
10246 memory for eras.
10247 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10248
da28fa2a 10249 * elf/Makefile: Add rules to compile and run constload1 test.
19cf43be
UD
10250 * elf/constload1.c: New file.
10251 * elf/constload2.c: New file.
10252 * elf/constload3.c: New file.
10253
a96206f4
UD
102542000-03-15 Ulrich Drepper <drepper@redhat.com>
10255
10256 * sysdeps/posix/open64.c: Make __open64 weak alias.
10257 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
10258 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10259 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10260 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10261 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
10262 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
10263 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10264 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10265 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10266 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
10267
04366d5f
UD
102682000-03-14 Ulrich Drepper <drepper@redhat.com>
10269
10270 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
10271 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
10272
f0d872e9
UD
102732000-03-16 Mark Kettenis <kettenis@gnu.org>
10274
10275 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10276 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10277
5d141597
UD
102782000-03-08 Andreas Jaeger <aj@suse.de>
10279
10280 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
10281
9658516a
UD
102822000-03-14 Ulrich Drepper <drepper@redhat.com>
10283
5d141597
UD
10284 * timezone/africa: Update from tzdata2000d.
10285 * timezone/asia: Likewise.
10286 * timezone/australasia: Likewise.
10287 * timezone/europe: Likewise.
10288 * timezone/northamerica: Likewise.
10289 * timezone/southamerica: Likewise.
10290
10291 * po/fr.po: Update from translation team.
10292 * po/de.po: Likewise.
10293
d9cb1a7d
UD
10294 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
10295 last parameter. Move code to add map to global scope from here...
10296 * elf/dl-open.c (dl_open_worker): ...here.
10297 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
10298 * elf/rtld.c: Adjust call to _dl_map_object_deps.
10299
36388ac4
UD
10300 * locale/programs/ld-collate.c (collate_read): Fix warning.
10301
6213a055
UD
10302 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
10303 values and macros for register names.
10304
9658516a
UD
10305 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
10306 returned by seek cookie function is -1.
10307
f1a53402
UD
103082000-03-14 Andreas Jaeger <aj@suse.de>
10309
10310 * locale/localeconv.c (localeconv): Fix typo.
10311 Reported by Andre Charbonneau <andrec@corel.com>.
10312
0aece08d
UD
103132000-03-14 Ulrich Drepper <drepper@redhat.com>
10314
10315 * iconv/skeleton.c: Increment __invocation_counter in inner loop
10316 since modules depend on it counting the number of times the conversion
10317 function got called.
10318
10319 * iconv/gconv_open.c: Optimize loop to setup step data structure.
10320
10321 * iconv/gconv.h: Pretty print.
10322
103232000-03-04 Ulrich Drepper <drepper@redhat.com>
10324
10325 * posix/wordexp-test.c: Correct one of the tests added in the last
10326 change. Really get the root passwd entry to check again ~root.
10327
d1d62b53
AJ
103282000-03-10 Andreas Jaeger <aj@suse.de>
10329
10330 * manual/filesys.texi (Working Directory): Fix last patch.
10331 Patch by Martin Buchholz <martin@xemacs.org>.
10332
0aa9fad6
AJ
103332000-03-10 Andreas Jaeger <aj@suse.de>
10334
10335 * manual/creature.texi (Feature Test Macros): Fix language.
10336
b4e54243
RM
103372000-03-10 Roland McGrath <roland@baalperazim.frob.com>
10338
10339 * mach/devstream.c (devstream_write, devstream_read): New functions.
10340 (input, output): Functions removed.
10341 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
10342 using only the vanilla fopencookie interface.
10343
10344 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
10345 as macro for __io_functions.
10346 (funcsio): Use cookie_io_functions_t type name.
10347 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
10348
10349 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
10350 fopencookie.
10351 (fopencookie): Use it.
10352 * libio/libio.h: Declare _IO_cookie_init.
10353 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
10354 _IO_cookie_init.
10355
10356 * libio/libio.h (__io_seek_fn): Fix second argument type
10357 to be a pointer, in line with the manual and the old stdio.
10358 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
10359
10360 * sysdeps/generic/bits/stdio-lock.h: New file.
10361 This is a stub with #error, but that's better than no file at all.
10362
d10c8b66
AJ
103632000-03-09 Martin Buchholz <martin@xemacs.org>
10364
9d54e984
UD
10365 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
10366 * manual/message.texi (Using gettextized software): Doc Fixes.
d10c8b66 10367 * manual/message.texi (Message Translation): Doc Fixes.
9d54e984
UD
10368 * manual/filesys.texi (File Size): Doc Fixes.
10369 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
10370 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
10371 * iconv/gconv_db.c (find_derivation): Doc Fixes.
10372 * manual/install.texi: Doc Fixes.
10373 * manual/search.texi (Hash Search Function): Doc Fixes.
10374 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
10375 * FAQ.in: Doc Fixes.
10376 * config.h.in: Doc Fixes.
10377 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
d10c8b66
AJ
10378 Doc Fixes. `allows to' is not correct English.
10379
10380 * elf/rtld.c: Doc fixes.
10381 * manual/creature.texi (Feature Test Macros): Doc fixes.
10382 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
10383
10384 * manual/filesys.texi (Working Directory): Check for ERANGE to
10385 avoid infloop.
10386
f25da8d0
RM
103872000-02-23 Roland McGrath <roland@baalperazim.frob.com>
10388
10389 * string/argz-stringify.c (__argz_stringify): Fix loop termination
10390 conditions so as not to clobber the final '\0' when there is only one
10391 element in the vector.
10392
07760b35
RM
103932000-03-09 Roland McGrath <roland@baalperazim.frob.com>
10394
10395 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
10396 broken by 2000-02-27 change.
10397
10398 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
10399
224a12bc
RM
104002000-02-23 Roland McGrath <roland@baalperazim.frob.com>
10401
10402 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
10403 argument type, for 2000-02-22 change in signal/signal.h declaration.
10404
9ab47461
RM
104052000-03-09 Roland McGrath <roland@baalperazim.frob.com>
10406
224a12bc
RM
10407 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
10408 to getdirentries64 (no __), since the Linux implementation
10409 has no __ name, and there is no declaration for the __ name.
10410
10411 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
10412
10413 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
10414 sed regexp so as not to break directory names including /../ within.
10415
10416 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
10417 The sysdeps/generic file is right for BSD. This file was in fact the
10418 Hurd file, but the only difference was the WNOREAP flag that was never
10419 actually implemented or used anywhere.
10420
9ab47461
RM
10421 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
10422 since AC_PATH_PROG already does it for us.
10423 (PERL): Rewrite check added in 2000-02-29 change for syntactic
10424 correctness and sh portability. I replaced the broken check
10425 with a more sensible implementation of the apparently intended
10426 semantics, which might still be questionable. Using expr causes
10427 a non-numeric value for `perl -V:apiversion` to be accepted,
10428 refusing to use only a perl that reports a number less than 5;
10429 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
10430 * configure: Regenerated.
10431
93773779
AJ
104322000-03-08 Andreas Jaeger <aj@suse.de>
10433
10434 * manual/crypt.texi: Fix paths.
10435
d92c02e8
AJ
104362000-03-07 Andreas Jaeger <aj@suse.de>
10437
10438 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
10439 were swapped.
10440 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
10441 libc/1636.
10442
8f95ad1c
AJ
104432000-03-06 Andreas Jaeger <aj@suse.de>
10444
5d141597
UD
10445 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
10446 in __sgn1l, otherwise g++ fails to parse this.
10447 Reported by Sean Chen <sean.chen@turbolinux.com>.
8f95ad1c 10448
8ed1e7d5
GK
104492000-03-03 Geoff Keating <geoffk@cygnus.com>
10450
10451 * configure.in: Compute sizeof-long-double.
10452 * configure: Regenerated.
10453 * config.make.in: Make sizeof-long-double available to sub-makes.
10454
706546ff
UD
104552000-03-03 Ulrich Drepper <drepper@cygnus.com>
10456
10457 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
10458 call.
10459
b11f5954
GK
104602000-03-03 Geoff Keating <geoffk@cygnus.com>
10461
10462 * Makeconfig (rpath-dirs): Add crypt.
10463 (all-subdirs): Remove md5crypt.
10464 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
10465 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
10466 * sysdeps/generic/crypt-entry.c: Delete.
10467 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
10468 * sysdeps/generic/crypt.h: Delete.
10469 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
10470 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
10471 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
10472 * sysdeps/generic/des_impl.c: Delete.
10473 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
10474 * crypt/sysdeps: Delete.
10475 * crypt/crypt_util.c: Don't use `patchlevel.h'.
10476 * md5-crypt/Versions: Move to crypt/.
10477 * md5-crypt/md5-crypt.c: Move to crypt/.
10478 * md5-crypt/md5.c: Move to crypt/.
10479 * md5-crypt/md5c-test.c: Move to crypt/.
10480 * md5-crypt/md5test.c: Move to crypt/.
10481 * md5-crypt: Delete.
10482 * crypt/Makefile: Adjust for new structure.
10483
e3d53b06
UD
104842000-03-03 Paul Eggert <eggert@twinsun.com>
10485
10486 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
10487 define to 1 if not defined.
10488
c88c8399
UD
104892000-03-03 Andreas Jaeger <aj@suse.de>
10490
10491 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
10492
104932000-03-03 Andreas Jaeger <aj@suse.de>
10494
10495 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
10496 cases.
10497 (xdr_int64_t): Correctly handle lower half.
10498 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
10499
bdd5fccd
UD
105002000-03-03 Ulrich Drepper <drepper@cygnus.com>
10501
10502 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
10503 call.
10504
2f1afc88
UD
105052000-03-02 Andreas Jaeger <aj@suse.de>
10506
10507 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
10508 2.3.43.
10509
6500dff6
UD
105102000-03-02 Andreas Jaeger <aj@suse.de>
10511
10512 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
10513
fc304e02
UD
105142000-03-01 Andreas Jaeger <aj@suse.de>
10515
10516 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
10517 (tests): Added tst-getdate.
10518
10519 * time/tst-getdate.c: New file.
10520
10521 * time/datemsk: New file, needed for tst-getdate.
10522
ecb06196
UD
105232000-02-29 Cristian Gafton <gafton@redhat.com>
10524
10525 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
10526
3fd759d1
UD
105272000-02-17 H.J. Lu <hjl@gnu.org>
10528
10529 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
10530
10531 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
10532 available.
10533 (svcudp_recv): Set up message with the new "xp_pad" field for
10534 IP_PKTINFO.
10535 (svcudp_reply): Support IP_PKTINFO if available.
10536
06b54322
AJ
105372000-03-01 Andreas Jaeger <aj@suse.de>
10538
10539 * time/getdate.c (check_mday): Fix check for february.
10540 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
10541 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
10542
901a5bd7
AJ
105432000-03-02 Andreas Jaeger <aj@suse.de>
10544
10545 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
10546 g++ fails to parse this.
10547 Reported by Sean Chen <sean.chen@turbolinux.com>.
10548
07e0f7ad
UD
105492000-02-28 Ulrich Drepper <drepper@redhat.com>
10550
6df9984c
UD
10551 * io/creat.c: Moved to...
10552 * sysdeps/generic/creat.c: ...here.
10553 * io/creat64.c: Moved to...
10554 * sysdeps/generic/creat64.c: ...here.
522dc855
UD
10555 * io/lockf.c: Moved to...
10556 * sysdeps/generic/lockf.c: ...here.
6df9984c 10557
6d7496e8 10558 * crypt/crypt.texi: Moved to...
07e0f7ad 10559 * manual/crypt.texi: ...here.
6d7496e8
UD
10560 * crypt/examples/genpass.c: Moved to...
10561 * manual/examples/genpass.c: ...here.
10562 * crypt/examples/mygenpass.c: Moved to...
10563 * manual/examples/mygenpass.c: ...here.
10564 * crypt/examples/testpass.c: Moved to...
10565 * manual/examples/testpass.c: ...here.
10566
10567 * manual/Makefile (chapters): Add crypt.
10568 * manual/conf.texi: Add usual header for not-last chapter.
10569 * manual/crypt.texi: Add special header for last chapter.
07e0f7ad 10570
63f791d3
GK
105712000-02-28 Geoff Keating <geoffk@cygnus.com>
10572
10573 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
10574 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
10575 complain if there is no crypt add-on.
10576 * crypt/configure: Removed.
6d7496e8 10577
63f791d3
GK
10578 * crypt/crypt.texi: Update documentation of US export restrictions
10579 to match the 14 Jan 2000 regulations.
10580
105812000-02-28 Geoff Keating <geoffk@cygnus.com>
10582
10583 * crypt: New subdirectory, merged in from the crypt add-on.
10584
a808d541
UD
105852000-02-28 Ulrich Drepper <drepper@redhat.com>
10586
108c6efa 10587 * include/unistd.h: Add __rmdir and __mkdir prototypes.
9b51f431 10588
d59e49d8 10589
108c6efa 10590See ChangeLog.10 for earlier changes.
This page took 1.305617 seconds and 5 git commands to generate.