Update.
[platform/upstream/glibc.git] / ChangeLog
1 2000-09-06  Ulrich Drepper  <drepper@redhat.com>
2
3         * posix/getopt.c (_getopt_internal): Don't recognize an option
4         name as ambiguous if it's a prefix for more than one name but the
5         other struct option values are identical.
6
7         * posix/tstgetopt.c: Add test for improved ambiguity recognition.
8         Don't depend on visual inspection of the output file to recognize
9         errors.
10         * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
11
12 2000-09-06  Andreas Jaeger  <aj@suse.de>
13
14         * sysdeps/alpha/soft-fp/Dist: New file.
15         * sysdeps/i386/soft-fp/Dist: New file.
16         * sysdeps/mips/mips64/soft-fp/Dist: New file.
17         * sysdeps/mips/soft-fp/Dist: New file.
18         * sysdeps/powerpc/soft-fp/Dist: New file.
19         * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
20         * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
21
22         * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
23         Use sysdep_routines instead of routines to fix make dist failure.
24         * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
25         out code).
26         * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
27
28         * sysdeps/mips/Makefile [$(subdir) = misc]:  Use
29         sysdep_headers instead of headers for make dist.
30
31         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
32         Likewise.
33
34 2000-09-06  Andreas Schwab  <schwab@suse.de>
35
36         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
37
38 2000-09-06  Andreas Jaeger  <aj@suse.de>
39
40         * soft-fp/Makefile (distribute): Remove ChangeLog.
41
42         * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]:  Use
43         sysdep_routines instead of routines for make dist.
44
45 2000-09-05  Ulrich Drepper  <drepper@redhat.com>
46
47         * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
48         compatibility check for old stream and call _IO_wide in doubt.
49         (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
50         * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
51         needed tst for such an old structure and don't do anything.
52         * libio/freopen.c: Remove declaration of _IO_stdin_used.
53
54 2000-09-06  Andreas Jaeger  <aj@suse.de>
55
56         * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
57         sysdep-dl-routines and sysdep_routines instead of rtld-routines
58         and dl-routines.
59
60         * soft-fp/ChangeLog: Merged with this file.
61
62 2000-06-13  Ulrich Drepper  <drepper@redhat.com>
63
64         * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
65
66         * soft-fp/Makefile (distribute): Add the math functions, too.
67
68         * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
69
70 2000-03-03  Geoff Keating  <geoffk@cygnus.com>
71
72         * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
73         as a statement.
74
75         * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
76         * soft-fp/sysdeps/powerpc/q_*: New files.
77
78 2000-09-05  Ulrich Drepper  <drepper@redhat.com>
79
80         * stdio-common/vfprintf.c (process_string_arg): Handle precision
81         in wide char case correctly.  Don't allocate too long temporary
82         strings with alloca.
83
84         * stdio-common/Makefile (tests): Add tst-swprintf.
85         (tst-swprintf-ENV): New variable.
86         * stdio-common/tst-swprintf.c: New file.
87
88 2000-09-05  Andreas Jaeger  <aj@suse.de>
89
90         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
91         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
92         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
93
94 2000-09-05  Ulrich Drepper  <drepper@redhat.com>
95
96         * configure.in: Strip out "unknown" from configuration names.
97
98 2000-09-05  Andreas Jaeger  <aj@suse.de>
99
100         * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
101
102         * sysdeps/sparc/sparc64/Implies: Add soft-fp.
103         * sysdeps/sparc/sparc32/Implies: Likewise.
104         * sysdeps/powerpc/Implies: Likewise.
105
106         * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
107         * libio/oldiofgetpos64.c: Likewise.
108
109         * soft-fp/Makefile (distribute): Remove configure.
110
111         * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
112
113         * soft-fp/configure: Remove.
114
115         * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
116         * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
117
118         * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
119         * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
120
121         * soft-fp/sysdeps/powerpc/Makefile: Move from here...
122         * sysdeps/powerpc/soft-fp/Makefile: ... to here.
123
124         * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
125         * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
126
127         * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
128         * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
129
130         * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
131         * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
132
133         * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
134         * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
135
136         * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
137         * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
138
139         * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
140         * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
141
142         * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
143         * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
144
145         * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
146         * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
147
148         * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
149         * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
150
151         * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
152         * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
153
154         * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
155         * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
156
157         * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
158         * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
159
160         * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
161         * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
162
163         * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
164         * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
165
166         * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
167         * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
168
169         * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
170         * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
171
172         * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
173         * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
174
175         * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
176         * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
177
178         * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
179         * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
180
181         * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
182         * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
183
184         * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
185         * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
186
187         * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
188         * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
189
190         * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
191         * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
192
193         * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
194         * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
195
196         * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
197         * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
198
199         * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
200         * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
201
202         * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
203         * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
204
205         * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
206         * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
207
208         * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
209         * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
210
211         * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
212         * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
213
214         * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
215         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
216
217         * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
218         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
219
220         * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
221         * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
222
223         * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
224         * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
225
226         * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
227         * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
228
229         * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
230         * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
231
232         * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
233         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
234
235         * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
236         * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
237
238         * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
239         * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
240
241         * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
242         * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
243
244         * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
245         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
246
247         * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
248         * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
249
250         * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
251         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
252
253         * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
254         * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
255
256         * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
257         * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
258
259         * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
260         * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
261
262         * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
263         * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
264
265         * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
266         * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
267
268         * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
269         * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
270
271         * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
272         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
273
274         * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
275         * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
276
277         * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
278         * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
279
280         * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
281         * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
282
283         * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
284         * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
285
286         * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
287         * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
288
289         * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
290         * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
291
292         * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
293         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
294
295         * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
296         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
297
298         * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
299         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
300
301         * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
302         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
303
304         * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
305         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
306
307         * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
308         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
309
310         * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
311         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
312
313         * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
314         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
315
316         * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
317         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
318
319         * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
320         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
321
322         * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
323         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
324
325         * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
326         * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
327
328         * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
329         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
330
331         * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
332         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
333
334         * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
335         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
336
337         * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
338         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
339
340         * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
341         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
342
343         * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
344         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
345
346         * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
347         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
348
349         * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
350         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
351
352         * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
353         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
354
355         * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
356         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
357
358         * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
359         * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
360
361         * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
362         * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
363
364         * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
365         * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
366
367         * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
368         * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
369
370         * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
371         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
372
373         * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
374         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
375
376         * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
377         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
378
379         * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
380         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
381
382         * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
383         * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
384
385         * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
386         * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
387
388         * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
389         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
390
391         * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
392         * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
393
394         * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
395         * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
396
397         * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
398         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
399
400         * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
401         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
402
403         * soft-fp/sysdeps/powerpc/Versions: Move from here...
404         * sysdeps/powerpc/soft-fp/Versions: ... to here.
405
406         * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
407         * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
408
409         * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
410         change symbol version.
411         * libio/oldiofgetpos64.c: Likewise.
412         Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
413
414         * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
415         typo.
416         Reported by dyky@kondara.org, closes PR libc/1886.
417
418         * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
419         libc/1880.
420
421 2000-09-04  Ulrich Drepper  <drepper@redhat.com>
422
423         * iconvdata/run-iconv-test.sh: Add code to immediately stop the
424         script when ^C is hit.
425
426         * locale/programs/localedef.c (construct_output_path): Correct
427         computation of endp after asprintf.
428         * locale/programs/locfile.c (write_locale_data): Don't add extra
429         slash in filename.
430
431 2000-09-05  Andreas Jaeger  <aj@suse.de>
432
433         * scripts/config.guess: New upstream version.
434         * scripts/config.sub: Likewise.
435         * manual/texinfo.tex: Likewise.
436
437 2000-09-04  Andreas Schwab  <schwab@suse.de>
438
439         * elf/Makefile (all-dl-routines): New variable.
440         (elide-routines.os): Use it instead of $(dl-routines).
441         (all-rtld-routines): New variable.
442         (extra-objs): Use it instead of $(rtld-routines).
443         ($(objpfx)dl-allobjs.os): Likewise.
444         * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
445         sysdep-dl-routines and sysdep_routines instead of rtld-routines
446         and dl-routines.
447
448 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
449
450         * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
451         Set fname to NULL if the module wasn't found.
452
453 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
454
455         * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
456         true if trans->name already ends in ".so".
457
458 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
459
460         * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
461         void.
462         * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
463         below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
464         (__gconv_release_shlib): Change return type to void.
465         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
466         step->__counter here.
467         * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
468         if the reference is zero.
469         (release_step): New function.
470         (gen_steps): Always initialize the __counter to 1. Use release_step.
471         Don't call the destructor on the step whose initializer failed.
472         (increment_counter): Use release_step. Don't normally run destructors
473         here.
474         (__gconv_close_transform): Use release_step.
475
476 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
477
478         * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
479         (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
480
481 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
482
483         * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
484         If the first byte is 0x8E, don't ask for 4 bytes until it has been
485         verified that the second byte is valid. Leave it to cns11643_to_ucs4
486         to check for incomplete input.
487         * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
488         ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
489         __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
490         (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
491         0x9f9d..0x9fa5.
492         * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
493         __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
494         (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
495         * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
496         upto index 0x0052.
497
498 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
499
500         * iconv/gconv_db.c (find_derivation): Always use the least-cost
501         solution.
502
503 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
504
505         * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
506         are invalid.
507
508 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
509
510         * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
511         * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
512         U+007E.
513
514 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
515
516         * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
517
518 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
519
520         * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
521
522 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
523
524         * iconvdata/tst-tables.sh: New file.
525         * iconvdata/tst-table.sh: New file.
526         * iconvdata/tst-table-from.c: New file.
527         * iconvdata/tst-table-to.c: New file.
528         * iconvdata/tst-table-charmap.sh: New file.
529         * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
530         (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
531         tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
532         ISIRI-3342.irreversible, SJIS.irreversible.
533         (tests): Add dependency on tst-tables.out.
534         (tst-tables.out, tst-tables-clean): New rules.
535         (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
536         * iconvdata/ISIRI-3342.irreversible: New file.
537         * iconvdata/EUC-JP.irreversible: New file.
538         * iconvdata/SJIS.irreversible: New file.
539
540 2000-09-04  Ulrich Drepper  <drepper@redhat.com>
541
542         * manual/locale.texi (General Numeric): Update description of
543         representation of the grouping information in the locale data.
544         Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
545
546 2000-09-04  Andreas Jaeger  <aj@suse.de>
547
548         * locale/programs/ld-monetary.c (monetary_read): Fix typo.
549         * iconv/iconv_prog.c (options): Fix typo.
550         Reported by dyky@kondara.org, closes PR libc/1885.
551
552 2000-09-04  Andreas Jaeger  <aj@suse.de>
553
554         * sysdeps/generic/fegetenv.c: It's __fegetenv.
555         Reported by Rob Levin <lilo@transvirtual.com>.
556
557 2000-09-03  Ulrich Drepper  <drepper@redhat.com>
558
559         * time/sys/time.h (gettimeofday): Move restrict for tz parameter
560         to the typedefs of __timezone_ptr_t.
561         Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
562
563 2000-09-02  Jakub Jelinek  <jakub@redhat.com>
564
565         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
566         the loop.
567
568 2000-09-01  H.J. Lu  <hjl@gnu.org>
569
570         * Makeconfig (built-program-cmd): Don't use the dynamic linker
571         to run a binary if it is in $(tests-static).
572
573         * Rules (binaries-static): Add $(tests-static).
574
575 2000-09-02  Andreas Jaeger  <aj@suse.de>
576
577         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
578
579         * libio/fmemopen.c (fmemopen_close): Revert one part of last
580         patch.
581
582 2000-09-01  Ulrich Drepper  <drepper@redhat.com>
583
584         * iconvdata/big5hkscs.c: Regenerated from charmap.
585         * iconvdata/testdata/BIG5HKSCS: Regenerated.
586         * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
587
588         * libio/fmemopen.c (fmemopen_seek): Add default case in switch
589         statement.  General cleanup.
590
591 2000-08-31  Bruno Haible  <haible@clisp.cons.org>
592
593         * wctype/wcfuncs.c (iswblank): New function.
594         * wctype/wcfuncs_l.c (__iswblank_l): New function.
595         * wctype/wcextra.c: Remove file.
596         * wctype/wcextra_l.c: Remove file.
597         * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
598
599 2000-08-31  Bruno Haible  <haible@clisp.cons.org>
600
601         * locale/programs/ld-collate.c (collate_output): Remove redundant
602         assert call.
603         * string/strcoll.c: Likewise.
604         * string/strxfrm.c: Include assert.h.  Add assert calls like in
605         string/strcoll.c.
606
607 2000-08-31  Bruno Haible  <haible@clisp.cons.org>
608
609         * locale/categories.def (_NL_COLLATE_HASH_SIZE,
610         _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
611         _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
612         * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
613         _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
614         (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
615         (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
616         (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
617         _NL_CTYPE_GAP5/6 respectively.
618
619         * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
620         * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
621         * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
622         Don't initialize __ctype_names and __ctype_width.
623         * wctype/cname-lookup.h: Remove file.
624         * wctype/Makefile (distribute): Remove cname-lookup.h.
625         * wctype/wchar-lookup.h: Include stdint.h.
626         * wctype/wctype.c (__wctype): Assume new locale format.
627         * wctype/wctype_l.c (__wctype_l): Likewise.
628         * wctype/iswctype.c: Don't include cname-lookup.h.
629         (__iswctype): Assume new locale format.
630         * wctype/iswctype_l.c: Don't include cname-lookup.h.
631         (__iswctype_l): Assume new locale format.
632         * wctype/wctrans.c: Don't include ctype.h.
633         (wctrans): Assume new locale format.
634         * wctype/wctrans_l.c (__wctrans_l): Likewise.
635         * wctype/towctrans.c: Don't include cname-lookup.h.
636         (__towctrans): Assume new locale format.
637         * wctype/towctrans_l.c: Don't include cname-lookup.h.
638         (__towctrans_l): Assume new locale format.
639         * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
640         localeinfo.h instead.
641         (__NO_WCTYPE): Remove unused macro.
642         (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
643         declarations.
644         (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
645         iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
646         (towlower, towupper): Likewise.
647         * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
648         localeinfo.h instead.
649         (__NO_WCTYPE): Remove unused macro.
650         (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
651         __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
652         __iswxdigit_l): Assume new locale format.
653         (__towlower_l, __towupper_l): Likewise.
654         * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
655         (__ctype32_b): Remove declaration.
656         (internal_wcwidth): Assume new locale format.
657         * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
658         plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
659         to map32_b, rename width_3level to width.
660         (ctype_output): Always create new locale format. Don't emit
661         _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
662         (allocate_arrays): Always create new locale format.
663
664         * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
665         * locale/weightwc.h (findidx): Assume new locale format.
666         * string/strcoll.c (wcscoll): Remove local variables size, layers,
667         names.
668         * string/strxfrm.c (wcsxfrm): Likewise.
669         * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
670         local variable collseq to 'const char *'.
671         (SUFFIX): Don't use, don't undefine.
672         * posix/fnmatch.c: Remove SUFFIX definition.
673         * locale/programs/ld-collate.c (struct locale_collate_t): Remove
674         fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
675         wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
676         (collate_finish): Always create new locale format. Remove local
677         variables min_total, act_size.
678         (collate_output): Always create new locale format. Remove local
679         variables table_size, names, tablewc. Rename tablewc_3level to
680         tablewc.
681
682 2000-08-31  Bruno Haible  <haible@clisp.cons.org>
683
684         * locale/programs/ld-collate.c (obstack_int32_grow,
685         obstack_int32_grow_fast): New inline functions.
686         (output_weightwc, collate_output): Use them where possible.
687
688 2000-09-01  Ulrich Drepper  <drepper@redhat.com>
689
690         * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
691         patch (_mode -> _flags).
692
693         * libio/Makefile (headers): Add stdio_ext.h.
694         (routines): Add __fbufsize, __freading, __fwriting, __freadable,
695         __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
696         * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
697         __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
698         __fsetlocking, and _flushlbf.
699         * libio/__fbufsize.c: New file.
700         * libio/__flbf.c: New file.
701         * libio/__fpending.c: New file.
702         * libio/__fpurge.c: New file.
703         * libio/__freadable.c: New file.
704         * libio/__freading.c: New file.
705         * libio/__fsetlocking.c: New file.
706         * libio/__fwritable.c: New file.
707         * libio/__fwriting.c: New file.
708         * libio/stdio_ext.h: New file.
709         * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
710         * libio/libio.h (_IO_USER_LOCK): Define.
711         [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
712         test _IO_USER_LOCK flag first.
713
714         * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
715         malloc fails.
716
717 2000-09-01  Andreas Jaeger  <aj@suse.de>
718
719         * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
720
721         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
722
723 2000-08-31  Ulrich Drepper  <drepper@redhat.com>
724
725         * math/Makefile (tests): Add tst-defintions.
726         * math/tst-definitions.c: New file.
727
728         * stdlib/Makefile (headers): Add bits/wchar.h.
729         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
730         * sysdeps/generic/bits/wchar.h: New file.
731         * sysdeps/generic/stdint.h: Include <bits/wchar.h>.  Use values in this
732         file to define WCHAR_MIN and WCHAR_MAX.
733         Change UINT*8_MAX and UIN*16_MAX value to type int.
734         * wcsmbs/wchar.h: Include <bits/wchar.h>.  Use values in this
735         file to define WCHAR_MIN and WCHAR_MAX.
736         * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
737         int values.
738         * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
739         * sysdeps/generic/bits/mathdef.h: Likewise.
740         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
741         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
742         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
743         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
744         * locale/locale.h (struct lconv): Add __ prefix to the new members
745         if not C99.
746         * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
747         imaxdiv optimizations.
748         * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
749         * sysdeps/wordsize-64/ldiv.c: Likewise.
750         * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
751         const fenv_t*.
752         * sysdeps/generic/bits/fenv.h: Likewise.
753         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
754         * sysdeps/ia64/bits/fenv.h: Likewise.
755         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
756         * sysdeps/mips/bits/fenv.h: Likewise.
757         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
758         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
759         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
760
761         * inet/rcmd.c: Use *stat64 instead of *stat internally.
762         * inet/ruserpass.c: Likewise.
763         * catgets/open_catalog.c: Likewise.
764         * intl/loadmsgcat.c: Likewise.
765         * io/getdirname.c: Likewise.
766         * locale/loadlocale.c: Likewise.
767         * misc/getusershell.c: Likewise.
768         * stdlib/canonicalize.c: Likewise.
769         * sysdeps/posix/euidaccess.c: Likewise.
770         * sysdeps/posix/isfdtype.c: Likewise.
771         * sysdeps/posix/posix_fallocate.c: Likewise.
772         * sysdeps/posix/tempname.c: Likewise.
773         * sysdeps/unix/grantpt.c: Likewise.
774         * sysdeps/unix/opendir.c: Likewise.
775         * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
776         * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
777         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
778         * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
779         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
780         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
781         * sysvipc/ftok.c: Likewise.
782         * time/getdate.c: Likewise.
783
784         * time/getdate.c: Add extra access test.
785
786 2000-08-31  Ulrich Drepper  <drepper@redhat.com>
787
788         * version.h (VERSION): Bump to 2.1.93.
789
790         * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
791         * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
792
793         * intl/Makefile (tests): Depend in mtrace-tst-gettext.
794         Make this a new rule depending on tst-gettext.out and run mtrace.
795         * intl/tst-gettext.c: Call mtrace.
796         * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
797
798         * elf/dl-reloc.c: Add a few more __builtin_expect.
799
800         * configure.in: Remove --with-gettext option.
801
802         * intl/dcigettext.c (free_mem): Correct freeing of
803         _nl_domain_bindings list.
804
805         * sysdeps/generic/setenv.c (free_mem): New function.  Free all
806         allocated memory.
807
808         * intl/locale.alias: Add aliases for bokmal and nynorsk.
809
810         * locale/iso-639.def: Fix 639-1 code for Bokmal.
811
812         * stdio-common/itoa-digits.c: Move upper digits to...
813         * stdio-common/itoa-udigits.c: ...here.  New file.
814         * stdio-common/Makefile (routines): Add itoa-udigits.
815
816         * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
817         relocate ld.so don't add supprt for relocations which should not
818         appear in ld.so.
819
820         * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
821         __secure_getenv.  Instead test __libc_enable_secure once.
822
823         * io/pwd.c (main): Provide a good example, use *_unlocked function.
824
825 2000-08-30  Ulrich Drepper  <drepper@redhat.com>
826
827         * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
828         whether the new record should be freed if it's a duplicate.
829         (add_module): Adjust insert_module call.
830         (__gconv_read_conf): Likewise.
831         * iconvdata/Makefile (generated): Add tst-loading.mtrace and
832         mtrace-tst-loading.
833         (tests): Make $(objpfx)mtrace-tst-loading a dependency.  Add rule.
834
835         * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
836         _dl_all_init_dirs.
837         * include/link.h (struct r_search_path_struct): New.
838         (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
839         * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
840         _dl_all_init_dirs.
841         * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
842         * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
843         added at startup time.
844         * elf/dl-load.c: Fix memory handling.  r_search_path_struct
845         contains element to remember fact that we can free memory.
846         (all_dirs): Renamed to _dl_all_dirs.  Made global.
847         (_dl_init_all_dirs): New variable.
848         (fillin_rpath): Save one malloc call.
849         (decompose_rpath): Change interface.  New first parameter points to
850         r_search_path_struct.
851         (_dl_init_paths): Adjust for changes.  Mark all memory as not
852         deletable.  Set _dl_init_all_paths value.
853         (open_path): Remove may_free_dirs parameter.  r_search_path_elem ***
854         parameter replaced with r_search_path_struct *.  Information about
855         freeing now contained in r_search_path_struct.
856         (_dl_map_object): Adjust for above changes.
857
858         * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
859
860         * elf/dl-load.c (fillin_rpath): Only check for trusted directories
861         when adding new entries.
862
863         * elf/dl-load.c (fillin_rpath): Make local copy of where string
864         since the object being loaded can be unloaded.
865
866         * iconvdata/Makefile (tests): Add tst-loading.
867         * iconvdata/tst-loading.c: New file.
868
869 2000-08-29  Bruno Haible  <haible@clisp.cons.org>
870
871         * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
872         When comparing a char with an int, always cast the char to
873         'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
874         compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
875
876 2000-08-30  Ulrich Drepper  <drepper@redhat.com>
877
878         * time/strftime.c (my_strftime): Add compatibility code for use
879         outside glibc.  Patch by Jim Meyering <meyering@ascend.com>.
880
881         * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
882         return 0 for success but always < 0 on failure.
883
884         * nss/getXXbyYY_r.c: Define result to *result before including
885         digits_dots.c.
886
887 2000-08-30  Andreas Jaeger  <aj@suse.de>
888
889         * math/gen-libm-test.pl (parse_ulps): Remove extra \.
890
891 2000-08-29  Ulrich Drepper  <drepper@redhat.com>
892
893         * iconvdata/big5hkscs.c: Rewritten.  Regenerate data from the
894         official file.
895         * iconvdata/TESTS: Add BIG5HKSCS entry.
896         * iconvdata/testdata/BIG5HKSCS: New file.
897         * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
898
899         * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
900         always true.
901
902         * libio/iogetline.c: Set mode before the loop in case n==0.
903         * libio/iogetwline.c: Likewise.
904
905 2000-08-29  H.J. Lu  <hjl@gnu.org>
906
907         * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
908         of fp->_mode < 0.
909         (_IO_new_file_overflow): Likewise.
910         * libio/genops.c (_IO_flush_all): Likewise.
911         * libio/ioftell.c (_IO_ftell): Likewise.
912
913 2000-08-29  Akira Higuchi  <a@kondara.org>
914
915         * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
916         and __end_fct fields of struct __gconv_step.
917         * iconv/Makefile (tests): Add iconv-bug2.
918         * iconv/iconv-bug2.c: New file.
919
920         * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
921         instead of 'inptr - inend' to ksc5601_to_ucs4.
922
923         * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
924
925         * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
926         character or shift sequence is found at the end of the input
927         string, return__GCONV_INCOMPLETE_INPUT instead of
928         __GCONV_EMPTY_INPUT.
929         * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
930         * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
931
932         * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
933         __GCONV_ILLEGAL_INPUT for 8bit characters.
934
935 2000-08-29  Ulrich Drepper  <drepper@redhat.com>
936
937         * signal/signal.h (sigpause): Move __THROW before __asm__.
938
939         * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
940         names don't match don't return.
941         Patch by Olaf Kirch <okir@flash.lst.de>.
942
943 2000-08-28  Ulrich Drepper  <drepper@redhat.com>
944
945         * time/strftime.c (my_strftime): Handle # flag for %b as well.
946
947 2000-08-27  H.J. Lu  <hjl@gnu.org>
948
949         * posix/Makefile (otherlibs): Add for building with static-nss
950         for "make check".
951
952 2000-08-28  Ulrich Drepper  <drepper@redhat.com>
953
954         * libio/stdio.h: Add fmemopen prototype.
955
956 2000-08-25  Andreas Jaeger  <aj@suse.de>
957
958         * libio/Makefile (routines): Add fmemopen.
959         (tests): Add test-fmemopen.
960         * libio/Versions: Add fmemopen with version GLIBC_2.2.
961         * libio/test-fmemopen.c: New file.
962         * libio/fmemopen.c: New file.
963         Patches by Hanno Mueller <kontakt@hanno.de>.
964
965 2000-08-28  Ulrich Drepper  <drepper@redhat.com>
966
967         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
968         inclusion.  Patch by Jes Sorensen <jes@linuxcare.com>.
969
970         * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
971         to avoid crashing statically linked applications.
972
973 2000-08-27  Bruno Haible  <haible@clisp.cons.org>
974
975         * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
976         If nrules == 0 and srclen < n, copy only srclen + 1 characters.
977
978         * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
979         If the result is fits in the buffer, copy only as many bytes as needed.
980
981         * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
982         buffer after copying numbuf into it.
983         * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
984
985 2000-08-27  Bruno Haible  <haible@clisp.cons.org>
986
987         * posix/confstr.c (confstr): When string_len > len, NUL-terminate
988         the result.  When string_len < len, don't clear the rest of the buffer.
989
990 2000-08-27  Bruno Haible  <haible@clisp.cons.org>
991
992         Support for new LC_COLLATE format.
993         * locale/coll-lookup.h: New file.
994         * locale/weightwc.h (findidx): When size == 0, call
995         collidx_table_lookup.
996         * wcsmbs/wcscoll.c: Include coll-lookup.h.
997         * wcsmbs/wcsxfrm.c: Likewise.
998         * posix/fnmatch.c: Likewise.
999         * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
1000         collseq_table_lookup.
1001         * locale/programs/3level.h: New file.
1002         * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
1003         by including "3level.h".
1004         * locale/programs/ld-collate.c (wchead_table, collidx_table,
1005         collseq_table): New types, defined by including "3level.h".
1006         (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
1007         (encoding_mask, encoding_byte): Remove.
1008         (utf8_encode): Use simple shifts instead.
1009         (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
1010         to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
1011         (collate_output): New local variable tablewc_3level. When
1012         !oldstyle_tables, set table_size to 0 and names to NULL and fill
1013         tablewc_3level instead of tablewc. Change format of TABLEWC and
1014         COLLSEQWC entries written to the file.
1015         * locale/C-collate.c (collseqwc): Change format.
1016         (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
1017         of COLLSEQWC.
1018         * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
1019
1020 2000-08-27  Bruno Haible  <haible@clisp.cons.org>
1021
1022         * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
1023         (locale_ctype_t): New charnames_idx field.
1024         (ctype_startup): Initialize charnames_idx field.
1025         (find_idx): Speed up dramatically by using charnames_idx inverse table.
1026
1027 2000-08-27  Bruno Haible  <haible@clisp.cons.org>
1028
1029         * locale/C-ctype.c: Switch to new locale format.
1030         (_nl_C_LC_CTYPE_names): Remove array.
1031         (STRUCT_CTYPE_CLASS): New macro.
1032         (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1033         graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1034         New three-level tables.
1035         (_nl_C_LC_CTYPE_width): Change from array to three-level table.
1036         (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
1037         to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
1038         12 class tables and 2 map tables at the end.
1039         * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
1040         (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1041         graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1042         New declarations.
1043         (b): Remove trailing semicolon.
1044         (__ctype_names, __ctype_width): Don't initialize.
1045         (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
1046
1047 2000-08-27  Bruno Haible  <haible@clisp.cons.org>
1048
1049         * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
1050         is guaranteed to be allocated with the same malloc() and may be
1051         passed to free().
1052         (_dl_map_object): Update open_path calls. If rtld_search_dirs has
1053         been set to empty by an earlier open_path call, don't pass it again.
1054
1055 2000-08-28  Ulrich Drepper  <drepper@redhat.com>
1056
1057         * include/libintl.h: Include <locale.h> since libintl.h doesn't if
1058         we are not optimizing.
1059
1060         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
1061         inclusion.
1062
1063         * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
1064         really match EOF.
1065         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1066
1067 2000-08-28  Andreas Jaeger  <aj@suse.de>
1068
1069         * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
1070
1071 2000-08-28  Mark Kettenis  <kettenis@gnu.org>
1072
1073         * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
1074         getpeername.  Use ISO C style function definition.
1075         (getpeername): Provide weak alias.
1076         * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
1077         setrlimit.  Use ISO C style function definition.
1078         (setrlimit): Provide weak alias.
1079
1080 2000-08-28  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1081
1082         * shlib-versions: Add a rule for S/390 to the libm version list.
1083         * sysdeps/s390/Versions: New file.
1084         * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
1085         * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
1086         * sysdeps/unix/sysv/linux/s390/Versions: New file.
1087         * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
1088         * sysdeps/unix/sysv/linux/s390/chown.c: New file.
1089         * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
1090         * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
1091         * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
1092         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
1093         * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
1094         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
1095         * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
1096         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
1097         * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
1098         * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
1099         * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
1100         * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
1101         * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
1102
1103 2000-08-28  Ulrich Drepper  <drepper@redhat.com>
1104
1105         * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
1106         (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
1107
1108         * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
1109         * elf/dl-close.c (_dl_close): Print debug message if object is not
1110         unloaded.
1111         * elf/dl-open.c (dl_open_worked): Print message about opencount before
1112         returning to caller.
1113
1114         * po/zh.po: Renamed to...
1115         * po/zh_TW.po: ...this.
1116
1117 2000-08-27  Geoff Keating  <geoffk@cygnus.com>
1118
1119         * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
1120
1121         * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
1122         * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
1123         * sysdeps/powerpc/fpu/fegetexcept.c: New file.
1124         * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
1125
1126 2000-08-27  Ulrich Drepper  <drepper@redhat.com>
1127
1128         * locale/programs/ld-collate.c (insert_weights): Also update
1129         backpointer of next element.
1130         (collate_read): Allow definition of new collation symbols in stage 2.
1131         Symbol after reorder-after can be UCS4 value.
1132         Allow reordering of collation symbols and elements.
1133         Do not only move reorder entry in new position.  Instead call
1134         insert_weight to do this and read the weights.
1135
1136         * locale/findlocale.c (free_mem): Add cast to avoid warning.
1137
1138         * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
1139         to determine invalid locale name.
1140         * locale/findlocale.c (_nl_find_locale): Likewise.
1141
1142         * posix/annexc.c: Correct test for unavailable feature.
1143
1144         * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
1145         __inline.
1146
1147 2000-08-26  Ulrich Drepper  <drepper@redhat.com>
1148
1149         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
1150         syscall.
1151
1152         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
1153         (sysdep_routines): Add oldgetrlimit64.
1154
1155         * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
1156         reldepmod2.c, reldepmod3.c, and reldepmod4.c.
1157         (tests): Add unload, reldep, reldep2, and reldep3.
1158         (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
1159         and reldepmod4.
1160         Add rules to build and run unload, reldep, reldep2, and reldep3.
1161         * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
1162         Don't create relocation dependency if it is nonzero.
1163         (_dl_lookup_symbol_skip): Remove relocation dependency stuff.  This
1164         can never happen here.
1165         (_dl_lookup_versioned_symbol): Add new parameter explicit.
1166         Don't create relocation dependency if it is nonzero.
1167         (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
1168         stuff.  This can never happen here.
1169         * sysdeps/generic/ldsodefs.h: Change prototypes.
1170         * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
1171         _dl_lookup_up and _dl_lookup_versioned_symbol.
1172         (RESOLV): Likewise.
1173         * elf/dl-runtime.c (fixup): Likewise.
1174         (profile_fixup): Likewise.
1175         * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
1176         _dl_lookup_symbol.
1177         * elf/dl-symbol.c (_dl_symbol_value): Likewise.
1178         * elf/rtld.c (dl_main): Likewise.
1179         * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
1180         _dl_lookup_symbol if handle is not RTLD_DEFAULT.  Always compute
1181         and pass down the caller map.
1182         (_dl_vsym): Likewise.
1183         * elf/reldep.c: New file.
1184         * elf/reldep2.c: New file.
1185         * elf/reldep3.c: New file.
1186         * elf/reldepmod1.c: New file.
1187         * elf/reldepmod2.c: New file.
1188         * elf/reldepmod3.c: New file.
1189         * elf/reldepmod4.c: New file.
1190         * elf/unload.c: New file.
1191         * elf/unloadmod.c: New file.
1192
1193         * elf/do-lookup.h: Remove unused undef_name parameter.
1194         * elf/dl-lookup.c: Adjust callers.
1195
1196 2000-08-25  Ulrich Drepper  <drepper@redhat.com>
1197
1198         * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
1199         irreversible in recursive call of conversion function to signal that
1200         no error handling is wanted.
1201         * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
1202         (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
1203         * iconv/skeleton.c (lirreversiblep): New variable.  Set to NULL is
1204         recursive error handling call, otherwise to &lirreversible.  Use it
1205         for calls to conversion functions.
1206         * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
1207         transliterating.
1208         (ucs4_internal_loop_unaligned): Likewise.
1209         (ucs4le_internal_loop): Likewise.
1210         (ucs4le_internal_loop_unaligned): Likewise.
1211
1212 2000-08-25  Greg McGary  <greg@mcgary.org>
1213
1214         * sysdeps/i386/memchr.S: Check high bound against chars
1215         actually scanned.
1216         * sysdeps/i386/memcmp.S: Likewise.
1217         * sysdeps/i386/stpncpy.S: Adjust high-bound check to
1218         account for pointers that lie one beyond end-of-buffer.
1219
1220 2000-08-25  Ulrich Drepper  <drepper@redhat.com>
1221
1222         * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
1223         * elf/nodelete.c (fini_ran): New global variable.
1224         (do_test): Before every dlclose call clear fini_ran and test
1225         afterwards that it is not set by the destructors.
1226         * elf/nodelmod1.c: Add destructor which sets fini_ran.
1227         * elf/nodelmod2.c: Likewise.
1228         * elf/nodelmod4.c: Likewise.
1229
1230 2000-08-21  Jes Sorensen  <jes@linuxcare.com>
1231
1232         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
1233         getrlimit to the list.
1234
1235 2000-08-18  Jes Sorensen  <jes@linuxcare.com>
1236
1237         * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
1238         long double format so use ldbl-96 instead of ldbl-128.
1239
1240 2000-08-25  Ulrich Drepper  <drepper@redhat.com>
1241
1242         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
1243         even if bits 10 a 11 are non-zero.
1244         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
1245
1246         * Makeconfig: Ensures the soversions.mk part of Makefile gets
1247         included before building gnu/lib-names.h
1248         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1249
1250         * elf/dl-close.c (_dl_close): Don't run destructors of objects
1251         marked DF_1_NODELETE.
1252
1253         * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
1254         since we call sigaction in the child.
1255
1256 2000-08-25  Andreas Jaeger  <aj@suse.de>
1257
1258         * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
1259         gconv-modules.
1260
1261 2000-08-25  Andreas Jaeger  <aj@suse.de>
1262
1263         * manual/arith.texi (Control Functions): Clarify possible
1264         arguments.  Closes PR libc/1856.
1265
1266 2000-08-24  H.J. Lu  <hjl@gnu.org>
1267
1268         * stdio-common/Makefile (tests): Don't do it for cross compiling.
1269         * malloc/Makefile (tests): Likewise.
1270
1271 2000-08-24  Ulrich Drepper  <drepper@redhat.com>
1272
1273         * iconvdata/unicode.c (gconv_init): Correct test for direction.
1274
1275 2000-08-24  Andreas Jaeger  <aj@suse.de>
1276
1277         * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
1278         only if LIBGD is available.
1279
1280 2000-08-24  Ulrich Drepper  <drepper@redhat.com>
1281
1282         * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
1283         problems with now restrict parameter types.
1284         (convaddr4to6): Likewise.
1285
1286 2000-08-24  Denis Joseph Barrow  <djbarrow@de.ibm.com>
1287
1288         * sysdeps/s390/fpu/fedisblxcpt.c: New file.
1289         * sysdeps/s390/fpu/feenablxcpt.c: New file.
1290         * sysdeps/s390/fpu/fegetexcept.c: New file.
1291         * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
1292         FPC_VALID_MASK.
1293
1294 2000-08-24  Andreas Jaeger  <aj@suse.de>
1295
1296         * malloc/Makefile (extra-objs): Add memusagestat.o.
1297         (generated): Added memusage and memusagestat for make clean.
1298
1299         * libio/tst_putwc.c (do_test): Delete temporary file.
1300         Move inclusion of test-skeleton to front to have prototype for
1301         add_temp_file.
1302
1303         * posix/Makefile (generated): Add wordexp-tst.out.
1304
1305 2000-08-24  Ulrich Drepper  <drepper@redhat.com>
1306
1307         * resolv/res_hconf.c (free_mem): Remove not needed if.
1308
1309         * time/tzset.c (free_mem): New function.
1310         * string/strsignal.c (free_mem): New function.
1311         * inet/inet_ntoa.c (free_mem): New function.
1312         * sunrpc/clnt_perr.c (free_mem): New function.
1313
1314 2000-08-24  Andreas Jaeger  <aj@suse.de>
1315
1316         * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
1317         * sysdeps/unix/sysv/syscalls.list: Likewise.
1318
1319         * posix/unistd.h: Move internal prototypes from here ...
1320         * include/unistd.h: ... to here.
1321
1322         * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
1323
1324 2000-08-24  Ulrich Drepper  <drepper@redhat.com>
1325
1326         * grp/initgroups.c (initgroups): Deallocate groups array.
1327         Reported by jani.raiha@sonera.com [PR libc/1868].
1328
1329         * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
1330         * sysdeps/alpha/Dist: Likewise.
1331
1332 2000-08-23  Ulrich Drepper  <drepper@redhat.com>
1333
1334         * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
1335         destructor).  Reported by Solar Designer <solar@false.com>.
1336
1337         * iconv/gconv_conf.c (add_module): Remove some unneeded code to
1338         avoid adding double slashes.
1339
1340 2000-08-23  Jakub Jelinek  <jakub@redhat.com>
1341
1342         * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
1343         out of the __REDIRECT macro.
1344
1345 2000-08-23  Ulrich Drepper  <drepper@redhat.com>
1346
1347         * stdio-common/vfscanf.c: Add %F format support.
1348
1349         * locale/programs/ld-ctype.c (ctype_output): Make sure
1350         _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
1351         _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
1352         (ctype_read): Enable returning of wide character strings for reading
1353         transliteration information.
1354
1355 2000-08-23  Andreas Jaeger  <aj@suse.de>
1356
1357         * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
1358         Use static __inline instead of _EXTERN_INLINE.
1359
1360         * misc/sys/select.h: Move prototypes of __select from here ...
1361         * include/sys/select.h: ... to here.
1362
1363         * socket/sys/socket.h: Move prototypes of __send and __connect
1364         from here....
1365         * include/sys/socket.h: ... to here.
1366
1367         * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
1368         lr_error.
1369
1370 2000-08-23  Jakub Jelinek  <jakub@redhat.com>
1371
1372         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
1373         __setrlimit as strong name. Takes only 2 arguments.
1374
1375         * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
1376         takes only 2 arguments.
1377
1378 2000-08-23  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1379
1380         * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
1381
1382         * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
1383
1384 2000-08-23  Ulrich Drepper  <drepper@redhat.com>
1385
1386         * locale/programs/ld-ctype.c (ctype_read): Allow more than one
1387         default_missing character being specified, pick the first
1388         representable.
1389
1390 2000-08-23  Andreas Jaeger  <aj@suse.de>
1391
1392         * include/wchar.h: Add some pure attributes.
1393
1394         * time/time.h: Add const attribute for dysize.
1395
1396         * include/stdlib.h: Add malloc attribute to __posix memalign.
1397
1398         * stdlib/stdlib.h: Add some pure and malloc attributes.
1399         * wcsmbs/wchar.h: Likewise.
1400
1401         * dirent/dirent.h: Add some pure attributes.
1402         * include/dirent.h: Likewise.
1403
1404 2000-08-23  Jakub Jelinek  <jakub@redhat.com>
1405
1406         * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
1407         on 64bit arches.
1408
1409 2000-08-22  Ulrich Drepper  <drepper@redhat.com>
1410
1411         * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
1412         missing buffer size checks.
1413
1414 2000-08-23  Andreas Jaeger  <aj@suse.de>
1415
1416         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
1417         strong name.
1418         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1419
1420         * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
1421         otherwise __LINUX_KERNEL_VERSION might not be defined.
1422         (MIN): Define if not already defined.
1423
1424 2000-08-22  Ulrich Drepper  <drepper@redhat.com>
1425
1426         * stdio-common/vfprintf.c: Handle %F format.
1427         * stdio-common/printf-parse.h (parse_one_spec): Likewise.
1428         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1429
1430         * stdio-common/tstdiomisc.c: Add test for %F printf format.
1431
1432         * po/zh.po: New file.
1433
1434         * iconvdata/sjis.c: In conversion from UCS4, correct test for
1435         enough room in target buffer.
1436         Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
1437         * iconvdata/bug-iconv1.c: New file.
1438         * iconvdata/Makefile (tests): Add bug-iconv1.
1439
1440         * locale/iso-4217.def: Update entry for Nicaragua.
1441
1442 2000-08-22  Mark Kettenis  <kettenis@gnu.org>
1443
1444         * hurd/hurdsig.c: Rearrange headers a bit.
1445         (_hurdsig_init): Block until _hurd_msgport_thread is initialized
1446         when cthreads is being used.
1447
1448 2000-08-22  Ulrich Drepper  <drepper@redhat.com>
1449
1450         * elf/Makefile (distribute): Add dl-osinfo.h.
1451         * sysdeps/generic/dl-osinfo.h: New file.
1452         * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
1453         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
1454         if defined.
1455         * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
1456         only for !SHARED case.  Get the code from dl-osinfo.h.
1457
1458         * stdlib/random_r.c: Cleanups.
1459         * stdlib/tst-random.c: New file.
1460         * stdlib/Makefile (tests): Add tst-random.
1461         Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
1462
1463 2000-08-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1464
1465         * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
1466         * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
1467         * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
1468         * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
1469
1470 2000-08-22  Jakub Jelinek  <jakub@redhat.com>
1471
1472         * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
1473         * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
1474         (__syscall__sysctl): Add.
1475
1476 2000-08-21  Andreas Jaeger  <aj@suse.de>
1477
1478         * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
1479         libc/1864).
1480         * stdlib/tst-strtoll.c: Likewise.
1481
1482 2000-08-21  Ulrich Drepper  <drepper@redhat.com>
1483
1484         * stdlib/random_r.c (__setstate_r): Also compute end_ptr
1485         correctly.
1486         (__initstate_r): Set errno on error.
1487         (__random_r): Likewise.
1488         (__setstate_r): Correct offset when computing
1489         new rptr and fptr.  Test for arg_state being NULL.
1490         Reported by Michael Fischer <fischer@cs.yale.edu>.
1491
1492         * posix/regex.h: Add macro definitions to allow compiling outside
1493         glibc.
1494
1495         * sysdeps/i370/Implies: Removed.
1496         * sysdeps/mvs/Implies: Removed.
1497
1498         * catgets/catgets.c (catopen): Filter out env_var values with / if
1499         necessary.
1500
1501         * locale/findlocale.c (_nl_find_locale): Move test for unusable
1502         locale name after all getenvs.
1503
1504         * configure.in: Allow sed versions like 3.02.8.
1505         Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
1506
1507 2000-08-21  Marko Myllynen  <myllynen@lut.fi>
1508
1509         * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
1510
1511 2000-08-21  Ulrich Drepper  <drepper@redhat.com>
1512
1513         * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
1514         of gethostbyname2_r call.
1515
1516         * intl/locale.alias: Add aliases for Korean.
1517
1518 2000-08-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1519
1520         * sysdeps/s390/__longjmp.c: Remove unused variable result.
1521         * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
1522         * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
1523         * sysdeps/s390/fpu/fegetenv.c: New file.
1524         * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
1525         * sysdeps/s390/fpu/feholdexcpt.c: New file.
1526         * sysdeps/s390/fpu/fenv_libc.h: New file.
1527         * sysdeps/s390/fpu/fesetenv.c: New file.
1528         * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
1529         * sysdeps/s390/fpu/feupdateenv.c: New file.
1530         * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
1531         * sysdeps/s390/fpu/fpu_control.h: Corrected header.
1532         * sysdeps/s390/fpu/fraiseexcpt.c: New file.
1533         * sysdeps/s390/fpu/fsetexcptflg.c: New file.
1534         * sysdeps/s390/fpu/ftestexcept.c: New file.
1535         * sysdeps/s390/fpu/libm-test-ulps: New file.
1536         * sysdeps/s390/gmp-mparam.h: Add end of comment.
1537         * sysdeps/s390/initfini.c: New file.
1538         * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
1539         * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
1540         * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
1541         * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
1542         * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
1543         sys/procfs.h as proposed by Mark Kettenis.
1544         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
1545
1546 2000-08-21  Andreas Jaeger  <aj@suse.de>
1547
1548         * include/poll.h: Include include/sys/poll.h to get __poll
1549         declaration.
1550
1551         * io/sys/poll.h: Move __poll declaration from here...
1552         * include/sys/poll.h: ...to here.
1553
1554         * include/sys/socket.h (__getpeername): Add declaration.
1555
1556         * include/wchar.h (__vswprintf): Add declaration.
1557
1558         * include/stdio.h (__flockfile): Add declaration.
1559         (__funlockfile): Likewise.
1560
1561 2000-08-20  Ulrich Drepper  <drepper@redhat.com>
1562
1563         * misc/sys/cdefs.h: Define __restrict_arr.
1564         * include/sys/time.h: Add restrict where required by AGd4.
1565         * inet/arpa/inet.h: Likewise.
1566         * io/sys/stat.h: Likewise.
1567         * io/sys/statvfs.h: Likewise.
1568         * misc/search.h: Likewise.
1569         * misc/sys/select.h: Likewise.
1570         * posix/glob.h: Likewise.
1571         * posix/regex.h: Likewise.
1572         * posix/spawn.h: Likewise.
1573         * posix/unistd.h: Likewise.
1574         * rt/aio.h: Likewise.
1575         * signal/signal.h: Likewise.
1576         * socket/sys/socket.h: Likewise.
1577         * stdlib/ucontext.h: Likewise.
1578         * streams/stropts.h: Likewise.
1579         * string/string.h: Likewise.
1580         * time/time.h: Likewise.
1581         * time/sys/time.h: Likewise.
1582
1583         * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
1584         and posix_spawnattr_setscheparam.
1585
1586         * libio/stdio.h: Make cuserid prototype again available for all
1587         XPG versions.
1588
1589         * argp/argp-help.c: Unify use of function aliases to make more compact
1590         PLT.
1591         * include/libintl.h: Likewise.
1592         * inet/rcmd.c: Likewise.
1593         * intl/dcigettext.c: Likewise.
1594         * libio/iofputws.c: Likewise.
1595         * libio/iofputws_u.c: Likewise.
1596         * libio/iogetwline.c: Likewise.
1597         * libio/swprintf.c: Likewise.
1598         * malloc/malloc.c: Likewise.
1599         * nss/digits_dots.c: Likewise.
1600         * posix/fnmatch.c: Likewise.
1601         * posix/spawn_faction_addclose.c: Likewise.
1602         * posix/spawn_faction_adddup2.c: Likewise.
1603         * posix/spawn_faction_addopen.c: Likewise.
1604         * posix/spawni.c: Likewise.
1605         * posix/wordexp.c: Likewise.
1606         * posix/spawni.c: Likewise.
1607         * resolv/res_hconf.c: Likewise.
1608         * resolv/res_init.c: Likewise.
1609         * shadow/lckpwdf.c: Likewise.
1610         * signal/sighold.c: Likewise.
1611         * signal/sigrelse.c: Likewise.
1612         * stdio-common/printf-parse.h: Likewise.
1613         * stdio-common/printf-prs.c: Likewise.
1614         * stdio-common/printf_fp.c: Likewise.
1615         * stdio-common/vfprintf.c: Likewise.
1616         * stdio-common/vfscanf.c: Likewise.
1617         * stdlib/rpmatch.c: Likewise.
1618         * sunrpc/create_xid.c: Likewise.
1619         * sunrpc/key_call.c: Likewise.
1620         * sysdeps/generic/setrlimit64.c: Likewise.
1621         * sysdeps/generic/utmp_file.c: Likewise.
1622         * sysdeps/generic/vlimit.c: Likewise.
1623         * sysdeps/posix/posix_fallocate.c: Likewise.
1624         * sysdeps/posix/posix_fallocate64.c: Likewise.
1625         * sysdeps/posix/sigpause.c: Likewise.
1626         * sysdeps/posix/sigset.c: Likewise.
1627         * sysdeps/unix/grantpt.c: Likewise.
1628         * sysdeps/unix/bsd/ualarm.c: Likewise.
1629         * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
1630         * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
1631         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1632         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
1633         * time/strftime.c: Likewise.
1634         * wcsmbs/wcscoll.c: Likewise.
1635         * wcsmbs/wcsxfrm.c: Likewise.
1636
1637         * time/tst-getdate.c (main): Make error messages more human readable.
1638
1639         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
1640         postinc/predec instruction.
1641         (_FPU_SETCW): Likewise.
1642         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1643
1644 2000-08-20  Andreas Jaeger  <aj@suse.de>
1645
1646         * time/tst-getdate.c (main): Increase error in case of wrong
1647         conversion.
1648         Fix typo in test case.
1649
1650 2000-08-20  Ulrich Drepper  <drepper@redhat.com>
1651
1652         * ctype/ctype.h (isblank): Make available if ISO C99.
1653         * wctype/wctype.h (iswblank): Make available if ISO C99.
1654         * math/math.h (signgam): Don't make available if ISO C99.
1655         * math/tgmath.h (tgamma): Renamed from gamma.
1656         Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1657
1658         * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
1659         Pretty printing.
1660         * intl/plural.y (new_exp): Take number of optional parameters in
1661         second parameter.  Test for correct number of parameters and free
1662         correctly in case of failure.  Adjust all callers.
1663         (yylex): Allow ';' as terminator character.
1664
1665 2000-08-19  Ulrich Drepper  <drepper@redhat.com>
1666
1667         * locale/lc-time.c (free_mem): New function.  Free alt_digits and
1668         walt_digits.
1669
1670         * locale/findlocale.c (free_mem): Also free here->filename.
1671
1672         * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
1673
1674         * math/test-fenv.c (feenv_tests): Clear all exceptions before
1675         first test.
1676         (feexcp_nomask_test): Correct printf args.
1677         (feexcp_mask_test): Likewise.
1678
1679 2000-08-19  Andreas Jaeger  <aj@suse.de>
1680
1681         * inet/tst-gethnm.c: Include string.h to provide prototype for
1682         strcmp.
1683
1684         * malloc/mtrace.pl (usage): Inform about --help.
1685
1686 2000-08-19  Wolfram Gloger  <wg@malloc.de>
1687
1688         * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
1689         size HEAP_MAX_SIZE.
1690
1691 2000-08-19  Andreas Jaeger  <aj@suse.de>
1692
1693         * shlib-versions: Remove libnss_db, libdb and libdb1.
1694
1695 2000-08-19  Jakub Jelinek  <jakub@redhat.com>
1696
1697         * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
1698         * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
1699         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
1700         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
1701         * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
1702         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
1703         * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
1704         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
1705         * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
1706         * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
1707         getdents.
1708         * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
1709         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
1710
1711 2000-08-18  Jakub Jelinek  <jakub@redhat.com>
1712
1713         * include/glob.h (__glob64): Add prototype.
1714         * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
1715         define glob and glob_in_dir.
1716         * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
1717         * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
1718         * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
1719         * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
1720         * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
1721         * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
1722         * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
1723         * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
1724
1725 2000-08-18  Jakub Jelinek  <jakub@redhat.com>
1726
1727         * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
1728
1729 2000-08-17  Andreas Jaeger  <aj@suse.de>
1730
1731         * math/test-fenv.c (fe_single_test): New function.
1732         (fe_env_tests): Use fe_single_test.
1733         (feenable_test): New tests for feenable/fedisable and
1734         fegetexcpetions.
1735         (feexcp_mask_test): New function.
1736         (feexcp_nomask_test): New function.
1737
1738 2000-08-19  Richard Henderson  <rth@cygnus.com>
1739
1740         * sysdeps/alpha/fpu/fenv_libc.h: New file.
1741         * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
1742         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1743         * sysdeps/alpha/fpu/fesetround.c: Likewise.
1744         * sysdeps/alpha/fpu/fegetround.c: Likewise.
1745         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1746         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1747         * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
1748         * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise.  Use the smaller mask.
1749         * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
1750         * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
1751         * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
1752         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1753         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1754         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1755         * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
1756         (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
1757
1758 2000-08-19  Andreas Jaeger  <aj@suse.de>
1759
1760         * elf/constload1.c: Include <stdio.h> for puts prototype.
1761
1762 2000-08-19  Ulrich Drepper  <drepper@redhat.com>
1763
1764         * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
1765         * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
1766         a dynamically loaded object remove old l_initfini list.
1767         * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
1768         remove some dynamically allocated memory blocks in the dynamic
1769         loading data structures.
1770         * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
1771         * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
1772         Instead call _dl_check_map_versions only for the dependencies.
1773         * elf/rtld.c: Avoid unneccessary initializations.  Mark l_libname
1774         information of initial objects as not free-able.
1775         * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
1776         element.
1777
1778         * elf/filter.c: Call mtrace.
1779         * elf/restest1.c: Likewise.  Close the objects.
1780         * elf/loadtest.c: Call mtrace.  Check result of dlclose.  Print more
1781         debug information.
1782
1783         * elf/constload1.c: Add comment explaining not freed memory.
1784
1785 2000-08-18  Andreas Jaeger  <aj@suse.de>
1786
1787         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
1788         alignment for structs stat and stat64.
1789         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1790
1791 2000-08-17  Ulrich Drepper  <drepper@redhat.com>
1792
1793         * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
1794         handling.  Patch by Richard Henderson <rth@twiddle.net>.
1795
1796         * nss/Versions: Remove libnss_db information.
1797
1798 2000-08-16  Jakub Jelinek  <jakub@redhat.com>
1799
1800         * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
1801         * sysdeps/sparc/fpu/feenablxcpt.c: New file.
1802         * sysdeps/sparc/fpu/fegetexcept.c: New file.
1803         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
1804
1805         * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
1806         to match Solaris.
1807
1808 2000-08-17  Ulrich Drepper  <drepper@redhat.com>
1809
1810         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
1811         (_FPU_SETCW): Likewise.
1812         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1813
1814         * stdio-common/printf_fp.c: Fix chars_needed computation.
1815         Patch by Greg McGary <greg@mcgary.org>.
1816
1817 2000-08-17  Jakub Jelinek  <jakub@redhat.com>
1818
1819         * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
1820         _dl_loaded are NULL.
1821
1822 2000-08-17  Jakub Jelinek  <jakub@redhat.com>
1823
1824         * manual/arith.texi (feholdexcept): Returns 0 on success.
1825
1826 2000-08-17  Andreas Jaeger  <aj@suse.de>
1827
1828         * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
1829         (ifr_newname): New.
1830         Reported by Andi Kleen <ak@suse.de>.
1831
1832 2000-08-17  Jakub Jelinek  <jakub@redhat.com>
1833
1834         * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
1835         * sysdeps/alpha/fpu/feenablxcpt.c: New file.
1836         * sysdeps/alpha/fpu/fegetexcept.c: New file.
1837
1838 2000-08-16  Jakub Jelinek  <jakub@redhat.com>
1839
1840         * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
1841         of buf->st_ino and kbuf->st_ino, not __st_ino.
1842         If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
1843         * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
1844         directive so that only linux/getdents.c is used, not some
1845         architecture specific one.
1846
1847 2000-08-16  Jakub Jelinek  <jakub@redhat.com>
1848
1849         * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
1850         enabled, not disabled exceptions.
1851         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1852         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
1853
1854 2000-08-17  Greg McGary  <greg@mcgary.org>
1855
1856         * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
1857         from test program name when constructing suffix for $(LDLIBS-*).
1858         (bounded-thread-library): New variable.
1859         * crypt/Makefile
1860         [build-shared, build-static] (libcrypt-dep): Remove variable.
1861         ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
1862         [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
1863         * linuxthreads/Makefile (libpthread, librt): Remove variables.
1864         (librt-tests): Add variable.  (tests): Use it.
1865         [build-shared, build-static]
1866         ($(addprefix $(objpfx),$(tests)),
1867         $(addprefix $(objpfx),$(librt-tests))):
1868         Consolidate individual dependencies.
1869         [build-bounded]
1870         ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
1871         Add dependencies.
1872         * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
1873         [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
1874         * misc/Makefile
1875         [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
1876         * rt/Makefile
1877         [build-shared, build-static]
1878         ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
1879         [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
1880
1881 2000-08-17  Greg McGary  <greg@mcgary.org>
1882
1883         * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
1884         * sysdeps/unix/make-syscalls.sh: Likewise.
1885         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1886         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1887         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1888         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
1889         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
1890
1891 2000-08-17  Greg McGary  <greg@mcgary.org>
1892
1893         * sysdeps/i386/fpu/s_frexp.S: Check bounds.
1894         Wrap extern symbols in BP_SYM ().
1895         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1896         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1897         * sysdeps/i386/fpu/s_remquo.S: Likewise.
1898         * sysdeps/i386/fpu/s_remquof.S: Likewise.
1899         * sysdeps/i386/fpu/s_remquol.S: Likewise.
1900         * sysdeps/i386/fpu/s_sincos.S: Likewise.
1901         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1902         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1903         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1904         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1905
1906 2000-08-16  Andreas Schwab  <schwab@suse.de>
1907
1908         * sysdeps/m68k/fpu/fegetexcept.c: New file.
1909         * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
1910         * sysdeps/m68k/fpu/feenablxcpt.c: New file.
1911
1912 2000-08-15  Ulrich Drepper  <drepper@redhat.com>
1913
1914         * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
1915         * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
1916         * elf/dl-support.c: Define _nl_nloaded.
1917         * elf/rtld.c: Likewise.  Increment _nl_nloaded for rtld itself.
1918         * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
1919         object to global list.
1920         * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
1921         from _dl_loaded list.
1922         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1923         * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
1924         number here.
1925
1926         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
1927         unmask, exceptions.
1928         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
1929         exceptions.
1930         Reported by Harvey J. Stein <hjstein@bfr.co.il>.
1931
1932 2000-08-16  Andreas Jaeger  <aj@suse.de>
1933
1934         * elf/elf.h (EM_X8664): Add official x86-64 specific value.
1935
1936 2000-08-15  Marko Myllynen  <myllynen@lut.fi>
1937
1938         * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
1939
1940 2000-08-15  Ulrich Drepper  <drepper@redhat.com>
1941
1942         * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
1943         * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
1944         (sysdep_routines): Add oldgetrlimit64.
1945         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
1946         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1947
1948         * include/link.h: Undo last patches.  Hurd now has stat64.
1949         * elf/Makefile: Likewise.
1950         * elf/dl-load.c: Likewise.
1951         * elf/dl-misc.c: Likewise.
1952         * elf/dl-profile.c: Likewise.
1953         * sysdeps/generic/sysd-link.h: Removed.
1954         * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
1955
1956         * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
1957         thread event callback function.
1958         (__aio_notify_only): Use function above.
1959         Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
1960
1961 2000-08-16  Mark Kettenis  <kettenis@gnu.org>
1962
1963         * sysdeps/mach/hurd/lseek64.c: New file.
1964
1965 2000-08-15  Mark Kettenis  <kettenis@gnu.org>
1966
1967         * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
1968         Remove typedefs.
1969         * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
1970         typedefs.
1971         * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
1972         typedefs.
1973         * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
1974
1975 2000-08-15  Mark Kettenis  <kettenis@gnu.org>
1976
1977         * sysdeps/mach/hurd/xstatconv.c: New file.
1978         * sysdeps/mach/hurd/fxstat64.c: New file.
1979         * sysdeps/mach/hurd/lxstat64.c: New file.
1980         * sysdeps/mach/hurd/xstat64.c: New file.
1981         * sysdeps/mach/hurd/Dist: Add xstatconv.c.
1982
1983 2000-08-15  Mark Kettenis  <kettenis@gnu.org>
1984
1985         * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
1986         Initialize, needed for change in common symbol handling in newer
1987         binutils.  Mirrors 2000-01-03 change made by Andreas Schwab.
1988
1989 2000-08-15  Ulrich Drepper  <drepper@redhat.com>
1990
1991         * elf/constload1.c: Call mtrace.  Check return value of dlclose call.
1992         * elf/constload2.c: Add destructor to unload constload3.
1993
1994         * include/link.h: Include sysd-link.h.
1995         * sysdeps/generic/sysd-link.h: New file.
1996         * sysdeps/unix/sysv/linux/sysd-link.h: New file.
1997         * elf/Makefile (distribute): Add sysd-link.h.
1998         * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
1999         types and functions directly.
2000         * elf/dl-misc.c: Likewise.
2001         * elf/dl-profile.c: Likewise.
2002
2003         * elf/loadfail.c (main): Close all successfully loaded objects.
2004
2005         * elf/multiload.c: Add mtrace call.  Call dlclose for all handles and
2006         free wd.
2007         * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
2008         there is already one.
2009
2010         * elf/dl-close.c: Pretty print.
2011
2012 2000-08-14  Ulrich Drepper  <drepper@redhat.com>
2013
2014         * sysdeps/posix/ttyname.c: Make name variable from getttyname function
2015         global (with file scope).  Add __libc_subfreeres function to free the
2016         string.
2017         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.  Also for buf variable
2018         in ttyname function.
2019
2020         * sysdeps/generic/strtok.c: Remove initializer for olds variable.
2021
2022         * crypt/md5-crypt.c: Let destructor deallocate static buffer.
2023
2024         * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
2025         mapping them to /x5c and /x7e respectively.
2026
2027         * locale/programs/ld-ctype.c: Add support for more definitions after
2028         copy statement.
2029
2030 2000-08-14  Jakub Jelinek  <jakub@redhat.com>
2031
2032         * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
2033         * sysdeps/unix/sysv/linux/kernel-features.h
2034         (__ASSUME_GETDENTS64_SYSCALL): Define.
2035         * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
2036         syscall if available to get d_type fields.
2037         * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
2038         * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
2039         __lxstat64): Export at GLIBC_2.2.
2040         (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
2041         Likewise.
2042         * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
2043         * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
2044         * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
2045         getdirentries64, versionsort64): Remove.
2046         * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
2047         getdirentries64, versionsort64): Remove.
2048
2049 2000-08-13  Ulrich Drepper  <drepper@redhat.com>
2050
2051         * posix/Makefile: Remove rules to generate glob package.
2052
2053         * posix/Makefile (tests): Add tst-regexloc.
2054         (tst-regexloc-ENV): Add LOCPATH.
2055         * posix/tst-regexloc.c: New file.
2056
2057 2000-08-12  Andreas Jaeger  <aj@suse.de>
2058
2059         * include/features.h (__STDC_ISO_10646__): Define.
2060         Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
2061
2062 2000-08-13  Ulrich Drepper  <drepper@redhat.com>
2063
2064         * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
2065
2066         * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
2067         for revision 6 and up).
2068
2069         * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
2070         including <time.h>.
2071         * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
2072         to get definitions of just these types.
2073
2074         * signal/signal.h: Define thread signal handling functions also for
2075         POSIX95.
2076
2077         * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
2078         POSIX95.
2079         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2080         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
2081         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2082         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2083
2084         * sysvipc/sys/shm.h: Define pid_t for XPG.
2085
2086         * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
2087         they are not anymore required here.
2088
2089         * wcsmbs/wchar.h: Make the various wide char string and stream
2090         functions available for the respective XPG versions.
2091
2092         * nss/Makefile: Remove rules to build and distribute nss_db.
2093
2094         * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
2095         * sysdeps/generic/scandir64.c: Likewise.
2096         * sysdeps/generic/versionsort64.c: Likewise.
2097
2098 2000-08-13  Ulrich Drepper  <drepper@redhat.com>
2099             Benjamin Koznik  <bkoz@redhat.com>
2100
2101         * libio/fileops.c: Merge with libstdc++-v3.
2102         * libio/genops.c: Likewise.
2103         * libio/iofclose.c: Likewise.
2104         * libio/iofopen.c: Likewise.
2105         * libio/iofwide.c: Likewise.
2106         * libio/libio.h: Likewise.
2107         * libio/libioP.h: Likewise.
2108         * libio/stdfiles.c: Likewise.
2109         * libio/stdio.c: Likewise.
2110         * libio/wfileops.c: Likewise.
2111         * libio/wgenops.c: Likewise.
2112
2113         * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
2114
2115 2000-08-12  Ulrich Drepper  <drepper@redhat.com>
2116
2117         * locale/programs/localedef.c: Implement --prefix option to allow
2118         writing in standard places of alternative install directories.
2119
2120         * posix/regex.c (compile_range): Implement collation sequence
2121         handling for glibc.  Use simple character ordering otherwise and
2122         not strcoll.
2123
2124 2000-08-12  Mark Kettenis  <kettenis@gnu.org>
2125
2126         * sysdeps/generic/scandir64.c: Include <dirent.h>.
2127
2128 2000-08-12  Andreas Jaeger  <aj@suse.de>
2129
2130         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
2131         __USE_FILE_OFFSET64 correctly for locking.
2132         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2133
2134 2000-08-12  Jakub Jelinek  <jakub@redhat.com>
2135
2136         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2137         Define for 2.4.1 on sparc as well.
2138         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
2139         for F_GETLK64, F_SETLK64, and F_SETLKW64.
2140         * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
2141         * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
2142
2143 2000-08-12  Ulrich Drepper  <drepper@redhat.com>
2144
2145         * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
2146         defined.
2147
2148 2000-08-12  Andreas Jaeger  <aj@suse.de>
2149
2150         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
2151         F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
2152
2153         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
2154         mips2 for assembler.
2155
2156         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
2157         if fnctl64 is not available for F_*LK*64.
2158
2159         * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
2160
2161 2000-08-12  Ulrich Drepper  <drepper@redhat.com>
2162
2163         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2164         Define for 2.4.1 on x86.
2165         * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
2166         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
2167         for F_GETLK64, F_SETLK64, and F_SETLKW64.
2168
2169         * dirent/dirent.h: Define DT_WHT.
2170
2171         * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
2172         * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
2173         * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
2174         * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
2175         * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
2176         * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
2177
2178 2000-08-11  Ulrich Drepper  <drepper@redhat.com>
2179
2180         * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
2181         lookup, pass pointer to array with NULL pointer [PR libc/1858].
2182         * inet/Makefile (tests): Add tst-gethnm.
2183         * inet/tst-gethnm.c: New file.
2184
2185         * rt/aio_cancel.c: If canceling a specific request which is running
2186         *really* do nothing.
2187         * rt/aio_misc.h: Add `done' to states of a request.
2188         * rt/aio_misc.c: Add several tests for the correct state.
2189         Simplify request table memory handling.
2190
2191 2000-08-10  Jakub Jelinek  <jakub@redhat.com>
2192
2193         * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
2194         * dirent/scandir64.c: Move...
2195         * sysdeps/generic/scandir64.c: ...here.
2196         * dirent/alphasort64.c: Move...
2197         * sysdeps/generic/alphasort64.c: ...here.
2198         * dirent/versionsort64.c: Move...
2199         * sysdeps/generic/versionsort64.c: ...here.
2200         * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
2201         getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
2202         Export symbols at GLIBC_2.2.
2203         * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
2204         * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
2205         * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
2206         __versionsort64): Add prototypes.
2207         * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
2208         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
2209         unused prototype.
2210         * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
2211         and GLIBC_2.2.
2212         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
2213         * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
2214         * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
2215         * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
2216         __u_quad_t.
2217         * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
2218         Adjust for kernel-2.4.0-test6 layout.
2219         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
2220         GLIBC_2.1 and GLIBC_2.2.
2221         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
2222         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
2223         * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
2224         * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
2225         * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
2226         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
2227         * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
2228         * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
2229         * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
2230         * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
2231         * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
2232         * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
2233         * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
2234         * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
2235         __u_quad_t.
2236         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
2237         * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
2238         * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
2239         * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
2240         * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
2241         * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
2242         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
2243         __u_quad_t.
2244         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
2245         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
2246         Define.
2247         * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
2248         * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
2249         * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
2250         * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
2251         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
2252         Define.
2253         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
2254         alpha/readdir.c.
2255         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
2256         alpha/readdir_r.c
2257         * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
2258         * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
2259         * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
2260         _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
2261         st_ino from __st_ino.
2262         * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2263         * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2264         * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
2265         xstat32_conv): Use _HAVE_STAT* macros.  If _HAVE_STAT64___ST_INO,
2266         set __st_ino in addition to st_ino.
2267         * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
2268         * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
2269         __old_getdents64 as well.
2270         * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
2271         getdirentries64 and old_getdirentries64 as well.
2272         * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
2273         __GETDENTS): Define.
2274         (GETDENTS64): Remove.
2275         * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
2276         Define.
2277         (GETDENTS64): Remove.
2278         * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
2279         * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
2280         * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
2281         as well.
2282         * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
2283         __old_readdir64_r as well.
2284         * sysdeps/unix/sysv/linux/kernel-features.h: Define
2285         __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
2286
2287 2000-08-08  Jes Sorensen  <jes@linuxcare.com>
2288
2289         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
2290         Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
2291         define of the kernel.
2292         Add missing __SEG_PSTKOVF definition.
2293         Adjust the padding of struct siginfo and struct sigevent to
2294         match the fact that sigval_t is 64 bit.
2295
2296 2000-08-10  Ulrich Drepper  <drepper@redhat.com>
2297
2298         * timezone/zic.c: Update from tzcode2000f.
2299         * timezone/australasia: Update from tzdata2000f.
2300         * timezone/europe: Likewise.
2301         * timezone/southamerica: Likewise.
2302         * timezone/yearistype: Likewise.
2303
2304 2000-08-10  Andreas Jaeger  <aj@suse.de>
2305
2306         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
2307         stat with current MIPS kernel.
2308
2309 2000-08-01  Mark Kettenis  <kettenis@gnu.org>
2310
2311         * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
2312         elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
2313         sysdeps/unix/sysv/linux/i386/sys/procfs.h.
2314         Remove the junk that's only relevant in the Linux kernel itself.
2315         Add a warning saying that this file is now obsolete, and include
2316         <sys/procfs.h>.
2317         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
2318         ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
2319         here from sysdeps/unix/sysv/linux/i386/sys/elf.h.  Don't include
2320         <signal.h>, <sys/ucontext.h> and <sys/elf.h>.  Remove parts of
2321         `struct elf_prstatus' that are #ifdef'ed out.  Improve comments
2322         and add the notice that the file is primarily there for GDB.
2323         * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
2324
2325 2000-08-09  Jakub Jelinek  <jakub@redhat.com>
2326
2327         * time/tzfile.c (__tzfile_compute): __tzstring zones
2328         from zone_names.
2329
2330 2000-08-09  Jakub Jelinek  <jakub@redhat.com>
2331
2332         * resolv/resolv.h (__res_state): Surround prototype with
2333         __BEGIN_DECLS/__END_DECLS.
2334         * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
2335
2336 2000-08-04  Jes Sorensen  <jes@linuxcare.com>
2337
2338         * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
2339         Make independant of asm/resource.h from the Linux kernel.
2340
2341 2000-08-06  Bruno Haible  <haible@clisp.cons.org>
2342
2343         * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
2344
2345 2000-08-06  Bruno Haible  <haible@clisp.cons.org>
2346
2347         * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
2348         * locale/Makefile (locale-CPPFLAGS): Likewise.
2349
2350 2000-08-09  Ulrich Drepper  <drepper@redhat.com>
2351
2352         * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
2353         for AMD processors.
2354
2355 2000-08-03  Jakub Jelinek  <jakub@redhat.com>
2356
2357         * misc/Versions (mincore): Export at GLIBC_2.2.
2358
2359 2000-08-03  Bruno Haible  <haible@clisp.cons.org>
2360
2361         * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
2362
2363 2000-08-02  Mark Kettenis  <kettenis@gnu.org>
2364
2365         * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
2366         socketpair.  Made socketpair a weak alias.
2367         * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
2368         __socketpair.  Use S_IFIFO protocol to make pipes POSIX
2369         conforming, but fall back on the old protocol if the socket server
2370         doesn't support it.
2371         * include/sys/socket.h: Add prototype for __socketpair.
2372
2373 2000-08-09  Andreas Schwab  <schwab@suse.de>
2374
2375         * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
2376         long long modifier is seen.
2377
2378         * elf/nodelete.c (do_test): Remove reference to undefined member
2379         sa_restorer.
2380         * rt/tst-aio4.c (do_test): Likewise.
2381
2382         * configure.in: Add `-lm' when checking for libgd.
2383         * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
2384         linking.
2385
2386 2000-08-09  Andreas Jaeger  <aj@suse.de>
2387
2388         * configure.in: Change required make versions.
2389
2390         * manual/install.texi (Tools for Compilation): Document required
2391         make version.
2392         (Supported Configurations): Update list of supported
2393         configurations.
2394
2395 2000-08-08  Ulrich Drepper  <drepper@redhat.com>
2396
2397         * locale/linereader.c (get_string): Don't print an error is a string
2398         contains an unknown character.
2399
2400 2000-08-06  Ulrich Drepper  <drepper@redhat.com>
2401
2402         * locale/programs/ld-collate.c (struct symbol_t): Add name element.
2403         (new_symbol): Take new parameters with name of the symbol.
2404         Adjust callers.
2405         (handle_ellipsis): Don't only allow character symbols.
2406         (collate_read): Allow string of collating elements contain invalid
2407         characters; ignore entry in this case.
2408         Handle ellipsis of collating symbols before first order_start.
2409         Allow ellipsis in state 0.
2410
2411 2000-08-04  Ulrich Drepper  <drepper@redhat.com>
2412
2413         * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
2414         error message.
2415         Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2416
2417 2000-08-04  Greg McGary  <greg@mcgary.org>
2418
2419         * posix/regex.c (SET_HIGH_BOUND): New macro.
2420         (MOVE_BUFFER_POINTER): Use it.
2421         (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
2422         (EXTEND_BUFFER): Use it.
2423
2424 2000-08-03  Ulrich Drepper  <drepper@redhat.com>
2425
2426         * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
2427         * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
2428         _wide_data but from _IO_FILE directly.
2429         * libio/iofclose.c: Likewise.
2430         * libio/wfileops.c: Likewise.
2431
2432         * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
2433         * libio/libioP.h: Change prototypes.
2434
2435 2000-08-03  Greg McGary  <greg@mcgary.org>
2436
2437         * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
2438         frame pointer early so that we save caller's frame pointer.
2439         * sysdeps/i386/elf/setjmp.S: Likewise.
2440
2441         * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
2442         * io/test-utime.c: Test passing NULL as utimbuf* arg.
2443
2444         * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
2445         (MOVE_BUFFER_POINTER): Handle high_bound properly.
2446         (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
2447
2448 2000-08-03  Ulrich Drepper  <drepper@redhat.com>
2449
2450         * iconvdata/big5.c: Updated.
2451         Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2452
2453 2000-08-02  Ulrich Drepper  <drepper@redhat.com>
2454
2455         * Makeconfig (all-subdirs): Add conform.
2456         * conform/Makefile: Include ../Rules.
2457
2458         * Makefile (README): Add rules to generate here as well.
2459
2460 2000-08-02  Ulrich Drepper  <drepper@redhat.com>
2461
2462         * version.h (VERSION): Bump to 2.1.92.
2463
2464         * sysdeps/ia64/Dist: Add _mcount.S.
2465
2466         * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
2467
2468         * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
2469
2470         * elf/Makefile (distribute): Add missing modules.
2471
2472         * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
2473
2474         * posix/regex.c (compile_range): Translate range start and end
2475         characters to avoid empty range in case of REG_ICASE [PR libc/1842].
2476
2477         * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
2478         asm/resource.h.
2479
2480         * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
2481
2482 2000-08-02  Andreas Jaeger  <aj@suse.de>
2483
2484         * elf/elf.h (EM_S390): Added.
2485         (R_390_*): New relocs for S390.
2486
2487         * sysdeps/unix/sysv/linux/s390/Dist: New file.
2488         * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
2489         * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
2490         * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
2491         * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
2492         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2493         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
2494         * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
2495         * sysdeps/unix/sysv/linux/s390/socket.S: New file.
2496         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
2497         * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
2498         * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
2499         * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
2500         * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
2501         * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
2502         * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
2503         * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
2504         * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
2505         * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
2506         * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
2507         * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
2508         * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
2509         * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
2510         * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
2511         * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
2512         * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
2513         * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
2514         * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
2515         * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
2516         * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
2517         * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
2518         * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
2519         * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
2520         * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
2521         * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
2522         * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
2523         * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
2524         * sysdeps/unix/sysv/linux/s390/clone.S: New file.
2525         * sysdeps/unix/sysv/linux/s390/brk.c: New file.
2526         * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
2527         * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
2528         * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
2529         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
2530         * sysdeps/unix/sysv/linux/s390/Makefile: New file.
2531         * sysdeps/s390/sysdep.h: New file.
2532         * sysdeps/s390/sys/ucontext.h: New file.
2533         * sysdeps/s390/sub_n.S: New file.
2534         * sysdeps/s390/strncpy.S: New file.
2535         * sysdeps/s390/strcpy.S: New file.
2536         * sysdeps/s390/stackinfo.h: New file.
2537         * sysdeps/s390/setjmp.S: New file.
2538         * sysdeps/s390/s390-mcount.S: New file.
2539         * sysdeps/s390/mul_1.S: New file.
2540         * sysdeps/s390/memusage.h: New file.
2541         * sysdeps/s390/memset.S: New file.
2542         * sysdeps/s390/memcpy.S: New file.
2543         * sysdeps/s390/memchr.S: New file.
2544         * sysdeps/s390/machine-gmon.h: New file.
2545         * sysdeps/s390/ldbl2mpn.c: New file.
2546         * sysdeps/s390/gmp-mparam.h: New file.
2547         * sysdeps/s390/fpu/fpu_control.h: New file.
2548         * sysdeps/s390/fpu/fesetround.c: New file.
2549         * sysdeps/s390/fpu/fegetround.c: New file.
2550         * sysdeps/s390/fpu/fclrexcpt.c: New file.
2551         * sysdeps/s390/fpu/bits/fenv.h: New file.
2552         * sysdeps/s390/ffs.c: New file.
2553         * sysdeps/s390/elf/start.S: New file.
2554         * sysdeps/s390/elf/setjmp.S: New file.
2555         * sysdeps/s390/elf/bsd-setjmp.S: New file.
2556         * sysdeps/s390/elf/bsd-_setjmp.S: New file.
2557         * sysdeps/s390/dl-machine.h: New file.
2558         * sysdeps/s390/bzero.S: New file.
2559         * sysdeps/s390/bsd-setjmp.S: New file.
2560         * sysdeps/s390/bsd-_setjmp.S: New file.
2561         * sysdeps/s390/bits/string.h: New file.
2562         * sysdeps/s390/bits/setjmp.h: New file.
2563         * sysdeps/s390/bits/huge_val.h: New file.
2564         * sysdeps/s390/bits/endian.h: New file.
2565         * sysdeps/s390/bits/byteswap.h: New file.
2566         * sysdeps/s390/bcopy.S: New file.
2567         * sysdeps/s390/backtrace.c: New file.
2568         * sysdeps/s390/atomicity.h: New file.
2569         * sysdeps/s390/asm-syntax.h: New file.
2570         * sysdeps/s390/addmul_1.S: New file.
2571         * sysdeps/s390/add_n.S: New file.
2572         * sysdeps/s390/abort-instr.h: New file.
2573         * sysdeps/s390/__longjmp.c: New file.
2574         * sysdeps/s390/Makefile: New file.
2575         * sysdeps/s390/Implies: New file.
2576         * sysdeps/s390/Dist: New file.
2577         Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
2578
2579 2000-08-01  Ulrich Drepper  <drepper@redhat.com>
2580
2581         Remove incompatible IPv6 extension of RPC.
2582         * sunrpc/Makefile: Undo changes.
2583         * sunrpc/rpc_main.c: Likewise.
2584         * sunrpc/rpc/clnt.h: Likewise.
2585         * sunrpc/rpc/svc.h: Likewise.
2586         * sunrpc/bindrsvprt6.c: Removed.
2587         * sunrpc/clnt_tcp6.c: Removed.
2588         * sunrpc/clnt_udp6.c: Removed.
2589         * sunrpc/svc_tcp6.c: Removed.
2590         * sunrpc/svc_udp6.c: Removed.
2591
2592         * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
2593         dgettext, and dcgettetxt.
2594
2595         * intl/locale.alias: Update japanese aliases.
2596
2597         * sysdeps/ia64/bits/byteswap.h: New file.
2598         Patch by Dan Pop <Dan.Pop@cern.ch>.
2599
2600         * misc/sys/cdefs.h: Define __attribute_format_arg__.
2601         * intl/libintl.h: Use it here instead of using __attribute__ directly.
2602
2603 2000-07-13  H.J. Lu  <hjl@gnu.org>
2604
2605         * posix/regex.c (re_max_failures): Set to 4000.
2606
2607 2000-08-01  Ulrich Drepper  <drepper@redhat.com>
2608
2609         * gnulib/Makefile (tests): Add tst-gcc.
2610         * gnulib/tst-gcc.c: New file.
2611
2612         * assert/Makefile (routines): Add __assert.
2613         * assert/Versions: Export __assert for glibc 2.2.
2614         * assert/__assert.c: New file.
2615         * assert/assert.h: Declare __assert.
2616
2617 2000-07-27  Bruno Haible  <haible@clisp.cons.org>
2618
2619         * locale/localeinfo.h (_ISCTYPE): New macro.
2620         * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
2621         LC_CTYPE locale format.
2622         * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
2623         (ctype_output): Output class_b[nr] right before class_3level[nr].
2624         (allocate_arrays): Fill class_b, similarly to class_3level.
2625
2626 2000-08-01  Ulrich Drepper  <drepper@redhat.com>
2627             Joseph S. Myers  <jsm28@cam.ac.uk>
2628
2629         * math/tgmath.h: Make standard compliant.  Don't ask how.
2630
2631 2000-07-04  H.J. Lu  <hjl@gnu.org>
2632
2633         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
2634         Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
2635         ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
2636
2637 2000-07-30  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
2638
2639         * include/features.h (_XOPEN_SOURCE): Update the explanation.
2640         (__USE_LARGEFILE): Add an explanation.
2641         (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
2642         (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
2643
2644 2000-08-01  Ulrich Drepper  <drepper@redhat.com>
2645
2646         * libio/Makefile: Enable exception handling for genops, wgenops,
2647         fileops, and wfileops.
2648
2649 2000-07-29  Mark Kettenis  <kettenis@gnu.org>
2650
2651         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
2652         acount that elf/rtld's main program might remove some varibales
2653         from the environment if we're trying to be secure.  Move the Hurd
2654         startup data if necessary, or, if we there is no startup data,
2655         make sure the magical convention that ARGV[0] is stored just after
2656         the environment list.
2657
2658 2000-08-01  Philip Blundell  <philb@gnu.org>
2659
2660         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
2661         (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
2662         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
2663         oldsetrlimit for GLIBC_2.0.
2664
2665 2000-08-01  Andreas Jaeger  <aj@suse.de>
2666
2667         * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
2668         (LINE_PARSER): Allow any number of spaces between ip address and
2669         number.  Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
2670
2671         * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
2672
2673         * include/netdb.h: Remove getipnodebyaddr and friends, leave
2674         constants in.
2675
2676         * nis/Versions: Remove _nss_nis_getipnodebyname_r and
2677         _nss_nisplus_getipnodebyname_r.
2678
2679         * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
2680         now, getipnodebyname is deprecated.
2681         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
2682         Likewise.
2683
2684         * inet/Makefile (routines): Don't build getipnodebyaddr and
2685         friends.
2686
2687         * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
2688
2689         * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
2690
2691         * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
2692
2693         * wctype/Makefile (distribute): Add wchar-lookup.h.
2694
2695         * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
2696
2697         * iconvdata/Makefile (distribute): Add isiri-3342.h.
2698
2699 2000-08-01  Andreas Schwab  <schwab@suse.de>
2700
2701         * Make-dist (dist): Resolve `..' in file names.
2702
2703 2000-08-01  Andreas Jaeger  <aj@suse.de>
2704
2705         * stdio-common/Makefile (distribute): Remove removed files, add
2706         new files.
2707
2708         * Makefile (distribute): Remove include/db_185.h and db.h.
2709
2710         * include/db_185.h: Remove, it's not needed anymore.
2711         * include/db.h: Likewise.
2712
2713 2000-07-31  Ulrich Drepper  <drepper@redhat.com>
2714
2715         * inet/Makefile (tests): Remove tst-ipnode.
2716         * include/netdb.h: Add stuff removed from resolv/netdb.h here for
2717         now.
2718
2719 2000-07-31  Jes Sorensen  <jes@linuxcare.com>
2720
2721         * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
2722         endp statements have already been added.
2723
2724 2000-04-18  David Mosberger  <davidm@hpl.hp.com>
2725
2726         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
2727         <sysdeps/ia64/sysdep.h>.
2728
2729         * sysdeps/ia64/_mcount.S: New file.
2730
2731         * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
2732         __gmon_start__.  Fix up extraneous whitespace.
2733
2734 2000-01-12  H.J. Lu  <hjl@gnu.org>
2735
2736         * sysdeps/ia64/elf/initfini.c: New file.
2737
2738 2000-07-31  Jes Sorensen  <jes@linuxcare.com>
2739
2740         * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
2741         dependency between branch and ar.pfs write.
2742
2743 2000-07-31  H.J. Lu  <hjl@gnu.org>
2744
2745         * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
2746         handle the wchar_t array.
2747
2748 2000-07-31  Ulrich Drepper  <drepper@redhat.com>
2749
2750         * iconvdata/gb18030.c: Don't map to and from positions in ISO
2751         10646 which are not yet assigned.
2752         Patch by wang shouhua <shouhuawang@redflag-linux.com>.
2753
2754 2000-07-31  Andreas Jaeger  <aj@suse.de>
2755
2756         * inet/Versions: Remove getipnodebyaddr and friends from
2757         GLIBC_2.2.
2758
2759         * resolv/netdb.h: Remove getipnodebyaddr and friends.
2760
2761 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
2762
2763         * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
2764         ch >= 0x81 && ch2 < 0x40 as invalid.
2765
2766 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
2767
2768         * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
2769         (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
2770
2771 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
2772
2773         * iconvdata/johab.c (BODY for TO_LOOP): After calling
2774         ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
2775
2776 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
2777
2778         * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
2779         0xb8.
2780         (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
2781
2782 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
2783
2784         * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
2785
2786 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
2787
2788         * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
2789         (from_ucs4): Change values of U+00A4 and U+00ED.
2790         (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
2791
2792 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
2793
2794         * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
2795         (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
2796
2797 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
2798
2799         * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
2800         * iconvdata/isiri-3342.h: New file.
2801         * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
2802         treat 0x80 as a gap.
2803
2804 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
2805
2806         * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
2807         (utf8_encode): Use simple shifts instead.  Fix return value.
2808
2809 2000-07-31  Ulrich Drepper  <drepper@redhat.com>
2810
2811         * timezone/private.h: Update from tzcode2000e.
2812         * timezone/asia: Update from tzdata2000e.
2813         * timezone/australasia: Likewise.
2814         * timezone/europe: Likewise.
2815         * timezone/northamerica: Likewise.
2816         * timezone/zone-tab: Likewise.
2817
2818 2000-07-30  Ralf Baechle  <ralf@gnu.org>
2819
2820         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h:  New file.  On MIPS
2821         the order of struct sigaltstack members is different.
2822
2823 2000-07-26  Philip Blundell  <philb@gnu.org>
2824
2825         * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
2826
2827 2000-07-29  Ulrich Drepper  <drepper@redhat.com>
2828
2829         * locale/langinfo.h: Add entries for extra tables in CTYPE data.
2830         * locale/programs/ld-ctype.c: Adjust for this.
2831
2832         * locale/programs/ld-collate.c: Add more alignment checks.
2833         * locale/string/strcoll.c: Likewise.
2834
2835 2000-07-30  Mark Kettenis  <kettenis@gnu.org>
2836
2837         * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
2838         outside USE_IN_LIBIO block.
2839
2840 2000-07-26  Philip Blundell  <philb@gnu.org>
2841
2842         * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
2843         (elf_machine_rel): Use it for out-of-range PC24 relocs.
2844
2845 2000-07-28  Philip Blundell  <philb@gnu.org>
2846
2847         * math/test-fpucw.c: Ignore reserved bits in control word.
2848
2849 2000-07-28  Philip Blundell  <philb@gnu.org>
2850
2851         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
2852         (ret): Redefine to PSEUDO_RET.
2853         (PSEUDO): Remove jump to syscall_error.
2854
2855 2000-07-29  Mark Kettenis  <kettenis@gnu.org>
2856
2857         * resolv/README: Add some information about using the resolver in
2858         multi-threaded code and with C++.  Spelling fixes.
2859
2860 2000-07-29  Mark Kettenis  <kettenis@gnu.org>
2861
2862         * resolv/resolv.h (struct __sockaddr_in): Remove.
2863         (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
2864
2865 2000-07-29  Greg McGary  <greg@mcgary.org>
2866
2867         * Rules (test-bp-inputs, make-test-out): New variables.
2868         ($(objpfx)%-bp.out): New rule.
2869         ($(objpfx)%.out): Rewrite in terms of new variables.
2870
2871         * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
2872         internal function that uses vtable.
2873         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2874         * libio/vswprintf.c (_IO_vswprintf): Likewise.
2875
2876         * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
2877         (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
2878         (chunk_align): Likewise.
2879
2880         * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
2881         in a way that conforms to decl, and avoids spurious bounds violation.
2882
2883         * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
2884         * sysdeps/generic/frame.h: Likewise.
2885         * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
2886         around return value.
2887         (__backtrace): Qualify frame-pointer chain and return address
2888         pointers as __unbounded.  Wrap bounds around variable `current'.
2889         * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
2890         around return value.
2891         (catch_segfault): Qualify frame-pointer chain and return address
2892         pointers as __unbounded.  Wrap bounds around variable `current'.
2893         * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
2894         (ADVANCE_STACK_FRAME): Wrap bounds around return value.
2895         * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
2896         __unbounded.
2897         (__backtrace): Qualify frame-pointer chain and return address
2898         pointers as __unbounded.  Wrap bounds around variable `current'.
2899
2900         * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
2901         * sysdeps/i386/mul_1.S: Likewise.
2902         * sysdeps/i386/submul_1.S: Likewise.
2903         * sysdeps/i386/i586/addmul_1.S: Likewise.
2904         * sysdeps/i386/i586/mul_1.S: Add bounds checks.
2905         * sysdeps/i386/i586/submul_1.S: Likewise.
2906
2907 2000-07-27  Andreas Jaeger  <aj@suse.de>
2908
2909         * libio/Depend: New file, libio needs localedata for tests.
2910         * posix/Depend: Likewise.
2911
2912 2000-07-28  Ulrich Drepper  <drepper@redhat.com>
2913
2914         * stdio-common/_i18n_itoa.c: Removed.
2915         * stdio-common/_i18n_itoa.h: Removed.
2916         * stdio-common/_i18n_itowa.c: Removed.
2917         * stdio-common/_i18n_itowa.h: Removed.
2918         * stdio-common/_i18n_number.h: New file.
2919         * stdio-common/Depend: New file.
2920         * stdio-common/printf-parse.h: Handle I modifier correctly.  Optimize.
2921         * stdio-common/vfprintf.c: Rewrite buffer handling for integer
2922         printing.  Change printing of numbers with locale specific digits to
2923         use new code in _i18n_number.h.
2924         * stdio-common/Makefile (routines): Remove _i18n_itoa and
2925         _i18n_itowa.
2926
2927         * stdio-common/bug13.c: Improve messages.
2928
2929         * locale/programs/ld-ctype.c (ctype_read): Improve error message.
2930         (set_class_defaults): Always search also for Uxxxx names.
2931         Detect insufficient number of outdigits.
2932
2933         * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
2934
2935 2000-07-27  Bruno Haible  <haible@clisp.cons.org>
2936
2937         * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
2938         _NL_CTYPE_MAP_NAMES.
2939         * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
2940         * wctype/wcfuncs.c (towlower, towupper): Use them.
2941         * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
2942         * wctype/wctrans.c (wctrans): Likewise.
2943         * wctype/wctrans_l.c (__wctrans_l): Likewise.
2944
2945 2000-07-27  Bruno Haible  <haible@clisp.cons.org>
2946
2947         * posix/fnmatch.c (is_char_class): Fix logic.  Avoid buffer overrun.
2948         Use the optimized version of this function outside glibc as well.
2949
2950 2000-07-27  Jakub Jelinek  <jakub@redhat.com>
2951
2952         * locale/indigits.h (indigit_value): Correct.
2953         * locale/indigitswc.h (indigitwc_value): Correct.
2954         * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
2955         conversion, add GROUP checking for it, fix GROUP number
2956         conversion with strlen(thousands) > 1.
2957         Honour width correctly in the presence of floating
2958         decimal points and thousands separators.
2959         * stdio-common/tst-sscanf.c: New test.
2960         * stdio-common/Makefile: Add it to tests.
2961         * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
2962         thousands separators and group argument is non-zero.
2963
2964 2000-07-25  Bruno Haible  <haible@clisp.cons.org>
2965
2966         * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
2967         starts at GLIBC_2.2.
2968
2969 2000-07-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
2970
2971         * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
2972         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
2973         _test_and_set.
2974         (headers): Add sys/tas.h.
2975         * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
2976         GLIBC_2.2 from libc.
2977         * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
2978         * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
2979         _test_and_set.
2980
2981 2000-07-28  Andreas Jaeger  <aj@suse.de>
2982
2983         * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
2984
2985         * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
2986         ($(objpfx)tst-dladdr.out): new.
2987         (tests): Add tst-dladdr.
2988         ($(objpfx)glrefmain): Use libdl.
2989
2990         * dlfcn/tst-dladdr.c: New file.  Based on a test by Volkmar Sieh
2991         <vs@caldera.de>.
2992
2993 2000-07-27  Jes Sorensen  <jes@linuxcare.com>
2994
2995         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
2996         ftruncate(64) calls.
2997
2998 2000-07-27  Jes Sorensen  <jes@linuxcare.com>
2999
3000         * intl/tst-translit.c: Include string.h to get prototype for
3001         strcmp().
3002
3003 2000-07-27  Jes Sorensen  <jes@linuxcare.com>
3004
3005         * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
3006         name and add weak alias for __fork.
3007
3008         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
3009         & pwrite to use __libc_<name> as strong names instead of
3010         __syscall_<name>.
3011
3012         * include/sched.h: Add clone2 prototype.
3013
3014 2000-07-26  Jes Sorensen  <jes@linuxcare.com>
3015
3016         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
3017         procedure name twice.
3018
3019 2000-07-27  Philip Blundell  <philb@gnu.org>
3020
3021         * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
3022
3023 2000-07-27  Andreas Jaeger  <aj@suse.de>
3024
3025         * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
3026         MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
3027         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3028         Reported by Andi Kleen <ak@suse.de>.
3029
3030         * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
3031         (do_wait): Test requests with aio_return64.
3032         (do_test): Change callers of do_wait.
3033
3034 2000-07-26  Andreas Jaeger  <aj@suse.de>
3035
3036         * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
3037         (do_wait): Test requests with aio_return.
3038         (do_test): Change callers of do_wait.
3039
3040 2000-07-27  Ulrich Drepper  <drepper@redhat.com>
3041
3042         * rt/aio_misc.c (__aio_remove_request): New function.  Handle removing
3043         from request list.  Don't do the list handling here, call
3044         __aio_remove_request.
3045         * rt/aio_misc.h: Add prototype for __aio_remove_request.
3046         * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
3047         request might already be processed.  Don't do the list handling
3048         here, call __aio_remove_request.
3049
3050         * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
3051         LIO_DSYNC.
3052
3053         * rt/aio_misc.c: Add comment explaining why writer memory barriers
3054         are missing.
3055
3056 2000-07-27  Greg McGary  <greg@mcgary.org>
3057
3058         * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
3059         * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
3060         in union init.  Pass zero for ignored semnum arg to semctl.
3061         * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
3062
3063 2000-07-26  Greg McGary  <greg@mcgary.org>
3064
3065         * sysdeps/gnu/bits/msq.h: Qualify kernel's
3066         data structure pointers as __unbounded.
3067         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
3068         * sysdeps/generic/bp-semctl.h: New file.
3069         * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
3070         pointers as __unbounded.  Check bounds of syscall args.
3071         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3072         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
3073         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3074         * sysdeps/unix/sysv/linux/semop.c: Likewise.
3075         * sysdeps/unix/sysv/linux/shmat.c: Likewise.
3076         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3077         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
3078         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
3079         * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
3080         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
3081         * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
3082         * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
3083         * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
3084         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
3085         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
3086         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
3087
3088 2000-07-26  Ulrich Drepper  <drepper@redhat.com>
3089
3090         * libio/iofwide.c: Enable transliteration for conversion from wchar_t
3091         by default.
3092         * locale/C-ctype.c: Likewise.
3093         * wcsmbs/wcsmbsload.c: Likewise.
3094
3095 2000-07-26  Greg McGary  <greg@mcgary.org>
3096
3097         * Makeconfig (+link-bounded, link-libc-bounded,
3098         link-extra-libs-bounded): New variables.
3099         (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
3100         * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
3101         * Rules (tests-bp.out): New variable.
3102         (tests): Conditionally add BP tests.
3103         (binaries-bounded): Add variable and associated rule.
3104         * csu/Makefile [build-bounded] (extra-objs, install-lib):
3105         Move conditional stuff after place where condition is defined.
3106
3107         * malloc/malloc.c (bp-checks.h): Add #include.
3108         (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
3109         (_bin_at): Add unbounded version of bin_at.
3110         (IAV, chunk_alloc): Use unbounded _bin_at.
3111         (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
3112         chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
3113         Wrap BOUNDED_N around return value.
3114         (chunk_realloc): Adjust oldsize once.
3115
3116         * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
3117         (__ubp_memchr): Add correct decl.
3118         (_CHECK_STRING): Use __ubp_memchr.
3119         * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3120         New alias for unbounded-pointer __memchr.
3121         * sysdeps/i386/memchr.S: Likewise.
3122         * sysdeps/ia64/memchr.S: Likewise.
3123         * sysdeps/m68k/memchr.S: Likewise.
3124         * sysdeps/sparc/sparc32/memchr.S: Likewise.
3125         * sysdeps/sparc/sparc64/memchr.S: Likewise.
3126         * sysdeps/vax/memchr.s: Likewise.
3127
3128         * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
3129         (SAVE_PTR): New macro.  (save_ptr): Expand size as BP.
3130         (strtok): Don't bother to write into SAVE_PTR when returning NULL.
3131         * sysdeps/i386/i686/strtok.S: Likewise.
3132         * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
3133         RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
3134
3135         * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
3136         * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
3137
3138         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
3139         bounds of copy_result to mount_proc.
3140
3141 2000-07-25  Bruno Haible  <haible@clisp.cons.org>
3142
3143         * wctype/wctype.h (__wctrans_l): New declaration.
3144         * wctype/wctrans_l.c: New file.
3145         * wctype/Makefile (routines): Add wctrans_l.
3146
3147 2000-07-26  Ulrich Drepper  <drepper@redhat.com>
3148
3149         * posix/fnmatch_loop.c: Fixes for use outside glibc.
3150         Patch by MacGyver <macgyver@tos.net>.
3151
3152 2000-07-26  Andreas Jaeger  <aj@suse.de>
3153
3154         * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
3155         * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
3156         * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
3157
3158         * rt/tst-aio.c (test_file): Fix typo.
3159         * rt/tst-aio64.c (test_file): Likewise.
3160
3161         * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
3162         * rt/Makefile: Add rules to build and run tst-aio3.
3163
3164         * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
3165         it's not needed and confuses only.
3166
3167 2000-07-26  Ulrich Drepper  <drepper@redhat.com>
3168
3169         * resolv/res_init.c: Add support for nameserver communication with
3170         IPv6.
3171         * resolv/res_send.c: Likewise.
3172         * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
3173         in nsaddrs field.
3174         Patch by <venaas@nvg.ntnu.no>.
3175
3176 2000-07-25  Bruno Haible  <haible@clisp.cons.org>
3177
3178         * locale/programs/ld-ctype.c (wctype_table_get): New function.
3179         (wcwidth_table_get): New function.
3180         (wcwidth_table_add): Call it.
3181         (wctrans_table_get): New function.
3182         (wctrans_table_add): Call it.
3183
3184 2000-07-25  Ulrich Drepper  <drepper@redhat.com>
3185
3186         * rt/lio_listio.c (lio_listio): Always disable individual
3187         notification.
3188         * rt/Makefile: Add rules to build and run tst-aio2.
3189         * rt/tst-aio2.c: New file.
3190
3191         * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
3192         Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
3193
3194 2000-07-25  Mark Kettenis  <kettenis@gnu.org>
3195
3196         * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
3197         (_nss_netgroup_parseline): Use strip_whitespace to strip off any
3198         leading and trailing spaces from host, user and domain name.
3199
3200 2000-07-25  Jes Sorensen  <jes@linuxcare.com>
3201
3202         * csu/defs.awk: Add support for need_endp.
3203
3204 2000-07-25  Mark Kettenis  <kettenis@gnu.org>
3205
3206         * resolv/resolv.h: Remove __P from res_send_qhook and
3207         res_send_rhook typedefs.
3208
3209 2000-07-25  Bruno Haible  <haible@clisp.cons.org>
3210
3211         * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
3212
3213 2000-07-25  Ulrich Drepper  <drepper@redhat.com>
3214
3215         * iconv/gconv_builtin.h: Add WCHAR_T alias.
3216
3217 2000-07-25  Mark Kettenis  <kettenis@gnu.org>
3218
3219         * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
3220         calling thread, set the cancellation flag and return success
3221         instead of EINTR.
3222
3223 2000-07-25  Ulrich Drepper  <drepper@redhat.com>
3224
3225         * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
3226         * libio/tst-widetext.c: New file.
3227         * libio/tst-widetext.input: New file.
3228
3229         * libio/iogetwline.c (_IO_getwline_info): Pretty print.
3230
3231         * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
3232         empty external buffer correctly.
3233
3234 2000-07-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
3235
3236         * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
3237         __STRING(entry) and not #entry.
3238         (_RTLD_EPILOGUE): Likewise.
3239         * sysdeps/mips/mips64/dl-machine.h: Likewise.
3240
3241 2000-07-25  Andreas Jaeger  <aj@suse.de>
3242
3243         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
3244         according to changes in test program, run also with static only
3245         builds.
3246         ($(objpfx)tst-printf.out): Likewise.
3247
3248         * stdio-common/tst-unbputc.sh: Likewise.
3249         * stdio-common/tst-printf.sh: Likewise.
3250
3251 2000-07-25  Ulrich Drepper  <drepper@redhat.com>
3252
3253         * libio/wfileops.c (_IO_wdo_write): Correct return value.
3254
3255         * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
3256         loop.
3257
3258         * libio/fileops.c: Pretty print.
3259
3260 2000-07-23  Bruno Haible  <haible@clisp.cons.org>
3261
3262         * wctype/wchar-lookup.h: New file.
3263         * wctype/iswctype.c: Include "wchar-lookup.h".
3264         (__iswctype): Support alternate locale format with 3-level tables.
3265         * wctype/iswctype_l.c (__iswctype_l): Likewise.
3266         * wctype/towctrans.c (__towctrans): Likewise.
3267         * wctype/towctrans_l.c (__towctrans_l): Likewise.
3268         * wctype/wcfuncs.c: Include "wchar-lookup.h".
3269         (__ctype32_wctype, __ctype32_wctrans): Declare external.
3270         (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
3271         __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
3272         __iswxdigit, towlower, towupper): Support alternate locale format
3273         with 3-level tables.
3274         * wctype/wcextra.c (iswblank): Likewise.
3275         * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
3276         (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
3277         __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
3278         __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
3279         format with 3-level tables.
3280         * wctype/wcextra_l.c (__iswblank_l): Likewise.
3281         * wctype/wctype.c (__wctype): Likewise.  In the alternate locale
3282         format, return a 3-level table pointer.
3283         * wctype/wctype_l.c (__wctype_l): Likewise.
3284         * wctype/wctrans.c (wctrans): Likewise.
3285         * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
3286         __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
3287         __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
3288         (iswctype): Remove macro definition.
3289         * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
3290         (internal_wcwidth): Support alternate locale format with 3-level
3291         tables.
3292         * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3293         New nl_items.
3294         * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3295         Define them as being type "word".
3296         * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
3297         * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
3298         __ctype32_width): New exported variables.
3299         * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
3300         alternate locale format. Don't initialize __ctype_names and
3301         __ctype_width in the alternate locale format.
3302         * locale/programs/localedef.h (oldstyle_tables): New declaration.
3303         * locale/programs/localedef.c (oldstyle_tables): New variable.
3304         (OPT_OLDSTYLE): New macro.
3305         (options): Add --old-style option.
3306         (parse_opt): Handle --old-style option.
3307         * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
3308         map_offset, class_3level, map_3level, width_3level members.
3309         (ctype_output): Support for alternate locale format: Computation of
3310         nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
3311         _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
3312         New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
3313         _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
3314         now contain both class and map tables.
3315         (struct wctype_table): New type.
3316         (wctype_table_init, wctype_table_add, wctype_table_finalize): New
3317         functions.
3318         (struct wcwidth_table): New type.
3319         (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
3320         functions.
3321         (struct wctrans_table): New type.
3322         (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
3323         functions.
3324         (allocate_arrays): Support for alternate locale format: Set
3325         plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
3326         256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
3327         to the first 256 characters. Compute ctype->map_3level. Set
3328         ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
3329         instead of ctype->width.
3330
3331 2000-07-24  Ulrich Drepper  <drepper@redhat.com>
3332
3333         * libio/iogetwline.c (_IO_getwline_info): Use wide character
3334         string functions.
3335
3336 2000-07-24  Jakub Jelinek  <jakub@redhat.com>
3337
3338         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
3339         in wide characters, not bytes.
3340         * libio/tst_putwc.c (do_test): Add test for writing lots of data
3341         into file.
3342
3343 2000-07-22  Bruno Haible  <haible@clisp.cons.org>
3344
3345         * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
3346         new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
3347         LC_MEASUREMENT, LC_IDENTIFICATION.
3348
3349         * locale/xlocale.h (struct __locale_struct): Increase size of
3350         __locales array.
3351         * locale/duplocale.c (__duplocale): Copy newly added categories as
3352         well.
3353         * locale/freelocale.c (__freelocale): Free newly added categories.
3354         * locale/newlocale.c (__newlocale): Fix typo in sanity check.
3355         If a base is given, use it, don't simply return it.
3356
3357 2000-07-22  Bruno Haible  <haible@clisp.cons.org>
3358
3359         * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
3360         variables, copied_key and copied_salt, instead of boolean variables.
3361
3362 2000-07-24  Andreas Jaeger  <aj@suse.de>
3363
3364         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
3365         check for offset.
3366
3367         * grp/initgroups.c (initgroups_dyn_function): Renamed from
3368         initgroups_function, adopted prototype for change from 2000-07-23.
3369         (initgroups): Follow type change.
3370
3371         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
3372         & PAGE_MASK case, reformat.
3373
3374         * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
3375         from stdin and setup environment.
3376
3377 2000-07-24  Andreas Schwab  <schwab@suse.de>
3378
3379         * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
3380
3381 2000-07-23  Ulrich Drepper  <drepper@redhat.com>
3382
3383         * string/endian.h: Explain the _*_ENDIAN constant values a bit
3384         more.  Patch by scarlet@mit.edu [PR libc/1799].
3385
3386         * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
3387         [PR libc/1792].
3388
3389         * argp/argp-parse.c (parser_finalize): Reverse order in which
3390         parsers are run for ARGP_KEY_END.  [PR libc/1755].
3391
3392         * grp/initgroups.c (initgroups): Don't limit the possible number
3393         of groups to NGROUPS_MAX.  Allow dynamic resizing.  Loop around
3394         the setgroups call while the call fails and descrease the number
3395         of groups each round.
3396         The name of the initgroups function in the NSS modules changed.
3397         (compat_call): Adapt for dynamic resizing.
3398         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3399         Implement dynamic resizing.
3400         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3401         Likewise.
3402         * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
3403         * hesiod/Versions: Change exported interface name.
3404         * nis/Versions: Change exported interface name.
3405
3406 2000-07-23  Ulrich Drepper  <drepper@redhat.com>
3407
3408         * locale/iso-639.def: Some errors corrected.
3409         Patch by Keld Simonsen.
3410
3411         * include/limits.h: Update non-gcc portion.
3412         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
3413
3414 2000-07-22  Mark Kettenis  <kettenis@gnu.org>
3415
3416         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
3417         program's data space, reallocate only the space that was just
3418         deallocated to release its backing space.
3419
3420 2000-07-23  Ulrich Drepper  <drepper@redhat.com>
3421
3422         * stdio-common/vfprintf.c (process_string_arg): For wide character
3423         version, handle precision also correctly.
3424
3425         * nss/nss_files/files-hosts.c: Correct problem with three or more
3426         entries with the same name.
3427
3428         * nss/nss_files/files-hosts.c: Implement multi handling.
3429         * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
3430
3431 2000-07-22  Ulrich Drepper  <drepper@redhat.com>
3432
3433         * nss/nss_files/files-parse.c: Don't pollute namespace by using
3434         strcasecmp.
3435
3436         * grp/Makefile: Change Makefiles and tests to run only when necessary.
3437         * malloc/Makefile: Likewise.
3438         * malloc/tst-mtrace.sh: Likewise.
3439         * posix/Makefile: Likewise.
3440         * posix/globtest.sh: Likewise.
3441         * posix/wordexp-tst.sh: Likewise.
3442         * string/Makefile: Likewise.
3443
3444 2000-07-22  Mark Kettenis  <kettenis@gnu.org>
3445
3446         * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
3447         size instead of LC_ALL to take into account the new locale
3448         categories.
3449
3450 2000-07-22  Ulrich Drepper  <drepper@redhat.com>
3451
3452         * iconv/gconv_trans.c: Correct a few bugs in the search loop.  Remove
3453         remainders of hash table.
3454         * locale/categories.def: Remove remainders of transliteration
3455         hash table.
3456         * locale/langinfo.h: Likewise.
3457         * locale/programs/ld-ctype.c: Likewise.  Fix code to write out
3458         transliteration tables.
3459
3460         * locale/gen-translit.pl: New file.
3461         * locale/C-translit.h.in: New file.
3462         * locale/C-ctype.c: Include C-translit.h.  Initialize transliteration
3463         data pointers with data from this file.
3464         * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
3465         and gen-translit.pl.
3466         Add rule to generate C-translit.h.
3467         * intl/tst-translit.c (main): Update for now performed
3468         transliteration.
3469
3470         * stdio-common/vfscanf.c: Handle input -- with format %f correctly
3471         (it's no input error).
3472         * stdio-common/tstscanf.c: Add test case for format %f with input --.
3473         * stdio-common/scanf12.c: Correct expected result for first scanf.
3474
3475         * stdio-common/vfprintf.c (process_string_arg): Correct handling
3476         of multibyte character strings in %s format with precision.
3477
3478 2000-07-21  Ulrich Drepper  <drepper@redhat.com>
3479
3480         * locale/programs/ld-collate.c (collate_read): Allow collating
3481         symbols and elements be named in reorder-after instructions.
3482         Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
3483
3484         * locale/programs/ld-collate.c (handle_ellipsis): Test for
3485         duplication with generated name, not the name of the first
3486         character.
3487         Patch by Yong Li <yong.li@asu.edu>.
3488
3489         * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
3490         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3491
3492 2000-07-21  Wolfram Gloger  <wg@malloc.de>
3493
3494         * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
3495         allocations only if a non-main arena cannot be extended.
3496
3497 2000-07-21  Ulrich Drepper  <drepper@redhat.com>
3498
3499         * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
3500         in DF_1_NODEFLIB handling.
3501
3502 2000-07-21  Andreas Jaeger  <aj@suse.de>
3503
3504         * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
3505         own rule.
3506
3507         * libio/fwide.c: Include <wchar.h> for prototype.
3508
3509 2000-07-21  Greg McGary  <greg@mcgary.org>
3510
3511         * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
3512         set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
3513         Define in terms of chunk_at_offset.
3514         (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
3515         (next_bin, prev_bin): offset by size of real array elements.
3516         (chunk_align): Make `m' a scalar, since that's how it's used.
3517
3518 2000-07-21  Greg McGary  <greg@mcgary.org>
3519
3520         * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
3521         UNCHECK_BOUNDS.
3522         * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
3523         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
3524         Wrap bounds around argv & envp and each of their string members.
3525         * sysdeps/powerpc/elf/start.S: Designate BP symbols.
3526         * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
3527         symbol in BP_SYM ().  Discard bounds of address arg.
3528         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
3529         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
3530         Discard bounds on address arg, add bounds to return value.
3531
3532 2000-07-20  Ulrich Drepper  <drepper@redhat.com>
3533
3534         * elf/Makefile (tests): Add filter.  Add rules to generate filter.
3535         * elf/filter.c: New file.
3536         * elf/filtmod1.c: New file.
3537         * elf/filtmod2.c: New file.
3538
3539         * elf/rtld.c: Define _dl_bind_not variable.
3540         (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
3541         * elf/dl-support.c: Likewise.
3542         * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
3543         * elf/dl-runtime.c (fixup): Don't remember looked up value if
3544         _dl_bind_not.
3545         (profile_fixup): Likewise.
3546
3547         * libio/Makefile (routines): Add fwide.
3548         * libio/iofwide.c (_IO_fwide): Remove locking.  This is done in
3549         fwide now.  Internal calls to _IO_fwide must do locking themselves
3550         or don't need locking.
3551         * libio/fwide.c: New file.
3552
3553         * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
3554
3555         * elf/Makefile: Add no modules for nodelete test.
3556         * elf/nodelmod3.c: New file.
3557         * elf/nodelmod4.c: New file.
3558         * elf/nodelete.c: Also test case where dependency of dlopen() object
3559         is marked nodelete.
3560
3561         * elf/Makefile (tests): Add nodlopen.  Add rules to generate nodlopen.
3562         * elf/nodlopen.c: New file.
3563         * elf/nodlopenmod.c: New file.
3564         * include/dlfcn.h: Define __RTLD_DLOPEN.
3565         * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
3566         and this is a dlopen() call, do not load the binary.
3567         * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
3568         * dlfcn/dlopenold.c: Likewise.
3569         * configure.in: Add test for -z nodelete option.
3570         * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
3571
3572 2000-07-20  Mark Kettenis  <kettenis@gnu.org>
3573
3574         Make Hesiod NSS module thread-safe.
3575
3576         * hesiod/README.hesiod: Update.
3577
3578         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
3579         _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
3580         _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
3581         * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
3582         hesiod-proto.
3583         * hesiod/nss_hesiod/hesiod-init.c: New file.
3584         * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
3585         * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
3586         * hesiod/nss_hesiod/nss_hesiod.h: New file.
3587         * hesiod/nss_hesiod/hesiod-service.c
3588         (_nss_hesiod_getservbyport_r): New function.  Provide support for
3589         looking up services by port number.
3590         * hesiod/nss_hesiod/hesiod-proto.c: New file.
3591
3592         * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
3593         * hesiod/hesiod.h: Likewise.
3594         * hesiod/hesiod_p.h: Likewise.
3595
3596 2000-07-20  Mark Kettenis  <kettenis@gnu.org>
3597
3598         Fix problems with `struct __res_state' getting too big.
3599         * resolv/resolv.h (struct __sockaddr_in): New definition.
3600         (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
3601         the private parts of the structure to save some space.
3602         * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
3603         (struct sockaddr_in *) in call to sock_eq.
3604         Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
3605
3606 2000-07-20  Ulrich Drepper  <drepper@redhat.com>
3607
3608         * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
3609         * elf/dl-close.c (_dl_close): Don't close an object if it is marked
3610         with nodelete.
3611         * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
3612         to _dl_map_object.  Return immediately if no object loaded.
3613         Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
3614         * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
3615         if it exists into l_flags_1 word.
3616         * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
3617         it to determine whether loading is wanted or not.
3618         (_dl_map_object): Likewise.
3619         Call _dl_map_object_from_fd with new parameter.
3620         * sysdeps/generic/ldsodefs.h: Update prototype.
3621         * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
3622         * elf/rtld.c: Likewise.
3623         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3624         * elf/Makefile (tests): Add noload.  Add rules to generate noload.
3625         * elf/noload.c: New file.
3626         * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
3627         * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
3628         * sysdeps/mips/bits/dlfcn.h: Likewise.
3629         * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
3630         (tests-nodelete-yes): Define.
3631         (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
3632         Add rules to build nodelete and modules.
3633         * elf/nodelete.c: New file.
3634         * elf/nodelmod1.c: New file.
3635         * elf/nodelmod2.c: New file.
3636         * configure.in: Add test for -z nodelete option.
3637         * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
3638
3639         * libio/Makefile (tests): Add tst_wprintf2.
3640         (tst_wprintf2-ARGS): Define.
3641         * libio/tst_wprintf2.c: New file.
3642         Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
3643
3644         * libio/wfiledoalloc.c: Only allocate external buffer if this
3645         hasn't happened yet.
3646
3647         * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
3648         something in the buffer.  gconv call can write up to end of the
3649         buffer, not only _IO_write_end.
3650         (_IO_wfile_overflow): Allocate also external buffer.
3651
3652 2000-07-19  Ulrich Drepper  <drepper@redhat.com>
3653
3654         * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
3655         strings with precision in vfwprintf correctly.
3656         * stdio-common/vfprintf.c: Fix completely broken handling of
3657         unbuffered wide character streams.
3658         Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
3659
3660         * resolv/Makefile (distribute): Add README.
3661
3662         * resolv/README: New file.  By Mark Kettenis <kettenis@gnu.org>.
3663
3664 2000-07-18  Mark Kettenis  <kettenis@gnu.org>
3665
3666         Update resolver code to BIND 8.2.3-T5B.
3667
3668         * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
3669         __res_nclose.
3670         [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
3671         __res_mkquery, __res_nsend, __res_query, __res_querydomain and
3672         __res_search.
3673         * resolv/Banner: BIND-8.2.3-T5B.
3674
3675         * resolv/base64.c: Update from BIND 8.2.3-T5B.
3676         * resolv/herror.c: Likewise.
3677         * resolv/inet_addr.c: Likewise.
3678         * resolv/inet_net_ntop.c: Likewise.
3679         * resolv/inet_net_pton.c: Likewise.
3680         * resolv/inet_neta.c: Likewise.
3681         * resolv/inet_ntop.c: Likewise.
3682         * resolv/nsap_addr.c: Likewise.
3683         * resolv/inet_pton.c: Likewise.  Reject a few more more invalid
3684         IPv6 addresses (ISC bug #520).
3685
3686         * resolv/ns_name.c: Avoid emitting RCS ID in object file.
3687         * resolv/ns_parse.c: Likewise.
3688         * resolv/ns_netint.c: Likewise.
3689         * resolv/ns_samedomain.c: Likewise.
3690         * resolv/ns_ttl.c: Likewise.
3691         * resolv/ns_print.c: Update from BIND 8.2.3-T5B.  Avoid emitting
3692         RCS ID in object file.
3693
3694         * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
3695         * resolv/res_mkquery.c: Likewise.
3696         * resolv/res_query.c: Likewise.
3697         * resolv/res_init.c: Likewise.
3698         (res_setoptions): Mark internal.
3699         * resolv/res_send.c: Likewise.
3700         [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
3701         by using poll instead.
3702         * resolv/res_comp.c: Likewise.
3703         [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
3704         weak alias for __dn_expand.
3705         * resolv/res_data.c: Likewise.
3706         (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
3707         in _res.options.  Avoids a potential security risk by avoiding a
3708         close (0).
3709         [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
3710         res_mkquery, res_query, res_querydomain adn res_search weak
3711         aliases for __res_mkquery, __res_query, __res_querydomain and
3712         __res_search.
3713         * resolv/res_libc.c: (_res): Don't initialize.  Fix res_close
3714         instead to avoid close(0).
3715         (res_init): Always use the static resolver context.
3716         [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
3717         alias for __res_init.
3718
3719         * resolv/resolv.h: Update from BIND 8.2.3-T5B.  Move definition of
3720         RES_SET_H_ERRNO and accompanying comment to...
3721         * include/resolv.h: ... here.
3722
3723         * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
3724         * resolv/arpa/nameser_compat.h: Likewise.
3725
3726 2000-07-18  Ulrich Drepper  <drepper@redhat.com>
3727
3728         * nss/makedb.c (main): Compare result of load_db with
3729         NSS_STATUS_SUCCESS and not 0.
3730         Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
3731
3732         * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
3733
3734 2000-07-18  Greg McGary  <greg@mcgary.org>
3735
3736         * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
3737         (EXTEND_BUFFER): Use it.
3738
3739 2000-07-18  Ulrich Drepper  <drepper@redhat.com>
3740
3741         * include/libc-symbols.h: Define RETURN_ADDRESS macro.
3742         * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
3743         __builtin_return_address.
3744         * dlfcn/dlopenold.c: Likewise.
3745         * dlfcn/dlsym.c: Likewise.
3746         * dlfcn/dlvsym.c: Likewise.
3747         * elf/dl-profstub.c: Likewise.
3748         * malloc/malloc.c: Likewise.
3749         * sysdeps/generic/machine-gmon.h: Likewise.
3750         Based on a patch by schwidefsky@de.ibm.com.
3751
3752 2000-07-18  Andreas Jaeger  <aj@suse.de>
3753
3754         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
3755         NULL to elf_machine_fixup_plt t argument to silence GCC.
3756
3757         * include/string.h: Add prototype for __memchr.
3758
3759         * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
3760
3761         * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
3762         instead of memrchr.
3763
3764 2000-07-18  Ulrich Drepper  <drepper@redhat.com>
3765
3766         * intl/Makefile: Make sure tst-translit is run after tst-gettext.
3767
3768         * locale/C-ctype.c: Add initializers for gap elements.
3769         * locale/programs/ld-ctype.c (ctype_output): Write out index entries
3770         for gap elements.
3771
3772 2000-07-16  Ulrich Drepper  <drepper@redhat.com>
3773
3774         * nscd/nscd.c (print_version): Update copyright year.
3775
3776 2000-07-17  Greg McGary  <greg@mcgary.org>
3777
3778         * sysdeps/unix/make-syscalls.sh: Handle new arg signature
3779         keyletters F, I, S, W.  Remove unused keyletter V.  Surround
3780         signature argnames with angle-brackets for use as word delimiters,
3781         and to induce syntax errors for any args not handled.  Split
3782         multi-echo echoes and comment each stage.
3783         * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
3784         * sysdeps/unix/inet/syscalls.list: Likewise.
3785         * sysdeps/unix/mman/syscalls.list: Likewise.
3786         * sysdeps/unix/syscalls.list: Likewise.
3787         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3788         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3789         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3790         * sysdeps/unix/sysv/syscalls.list: Likewise.
3791         * sysdeps/unix/sysv/linux/powerpc/syscalls.list
3792
3793         * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
3794         * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
3795         qualifiers.  Don't check NULL-terminator of argv & envp.
3796         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
3797         unbounded pointer type in word-size assertion.
3798         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
3799         cases to stifle warnings.
3800
3801         * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
3802         _IO_file_attach.
3803         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3804
3805         * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
3806         * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods.  Qualify
3807         ptr as __unbouned.
3808
3809         * Makerules (o-objects): Supplement with $(o-objects$o).
3810         * string/Makefile (o-objects.ob): Add variable to pull
3811         unbounded versions of memcpy, memset and memchr into libc_b.
3812
3813         * sysdeps/generic/bp-checks.h: Use unbounded __memchr
3814         rather than non-existent __ubp_memchr.
3815         (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
3816         (_CHECK_STRING, _CHECK_N): New macros.
3817         (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
3818         (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
3819         * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
3820         Add weak alias "memchr".
3821         * sysdeps/generic/memchr.c: Likewise.
3822         * sysdeps/i386/memchr.S: Likewise.
3823         * sysdeps/ia64/memchr.S: Likewise.
3824         * sysdeps/m68k/memchr.S: Likewise.
3825         * sysdeps/sparc/sparc32/memchr.S: Likewise.
3826         * sysdeps/sparc/sparc64/memchr.S: Likewise.
3827         * sysdeps/vax/memchr.s: Likewise.
3828
3829         * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
3830
3831         * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
3832         (profile_fixup): Don't define for __BOUNDED_POINTERS__.
3833         * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
3834         __BOUNDED_POINTERS__.
3835         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
3836         for __BOUNDED_POINTERS__.
3837
3838 2000-07-17  Bruno Haible  <haible@clisp.cons.org>
3839
3840         * iconv/gconv_open.c (__gconv_open): Initialize the __data
3841         field of struct __gconv_trans_data differently.  Don't pass NULL to
3842         trans_init_fct.  Simplify list append operation.
3843
3844 2000-07-14  Bruno Haible  <haible@clisp.cons.org>
3845
3846         * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
3847         not only those having tsearch.
3848
3849 2000-07-17  Ulrich Drepper  <drepper@redhat.com>
3850
3851         * locale/langinfo.h: Add placeholder values in enum for removed
3852         LC_CTYPE entries.
3853
3854 2000-07-17  Jakub Jelinek  <jakub@redhat.com>
3855
3856         * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
3857         chain if the PHDR check fails.
3858
3859 2000-07-17  Mark Kettenis  <kettenis@gnu.org>
3860
3861         * nss/getent.c (print_hosts): Make sure we always print a space
3862         between numeric addresses and hostnames.
3863
3864 2000-07-17  Wolfram Gloger  <wg@malloc.de>
3865
3866         * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
3867         i.e. if n_mmaps_max>0.
3868
3869 2000-07-16  Mark Kettenis  <kettenis@gnu.org>
3870
3871         * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
3872         values to remove possible clash with other AI_* constants.
3873         (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
3874         hexadecimal constants to stress the fact they're in fact
3875         bit flags.
3876
3877 2000-07-15  Mark Kettenis  <kettenis@gnu.org>
3878
3879         * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
3880         (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
3881         instead of res_init.
3882
3883 2000-07-16  Ulrich Drepper  <drepper@redhat.com>
3884
3885         * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
3886         parameters of memset calls to avoid warnings.
3887
3888 2000-07-15  Ulrich Drepper  <drepper@redhat.com>
3889
3890         * stdlib/Makefile: Rewrite rules to avoid running isomac unless
3891         necessary.
3892
3893         * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
3894         Patch by Greg McGary <greg@mcgary.org>.
3895
3896         * io/Makefile (tests): Add tst-getcwd.
3897         * io/tst-getcwd.c: New file.
3898
3899         * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
3900
3901 2000-07-15  Jakub Jelinek  <jakub@redhat.com>
3902
3903         * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
3904         structure.
3905
3906 2000-07-13  Jakub Jelinek  <jakub@redhat.com>
3907
3908         * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
3909         * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
3910
3911 2000-07-12  H.J. Lu  <hjl@gnu.org>
3912
3913         * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
3914         GLIBC_2.2.
3915         * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
3916         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
3917         (sysdep-routines): Add clone2.
3918         * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
3919
3920 2000-07-13  Jes Sorensen  <jes@linuxcare.com>
3921
3922         * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
3923         * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
3924
3925 2000-06-05  David Mosberger  <davidm@hpl.hp.com>
3926
3927         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
3928         based on sysdeps/unix/sysv/linux/bits/siginfo.h.
3929         Change type of si_band from "int" to "long".
3930         (si_imm) [USE_GNU]: Define
3931         (si_isr) [USE_GNU]: Ditto.
3932         (ILL_BREAK) [USE_GNU]: Ditto.
3933         (FPE_DECOVF) [USE_GNU]: Ditto.
3934         (FPE_DECDIV) [USE_GNU]: Ditto.
3935         (FPE_DECERR) [USE_GNU]: Ditto.
3936         (FPE_INVASC) [USE_GNU]: Ditto.
3937         (FPE_INVDEC) [USE_GNU]: Ditto.
3938         (TRAP_BRANCH) [USE_GNU]: Ditto.
3939         (TRAP_HWBKPT) [USE_GNU]: Ditto.
3940
3941 2000-07-06  Jes Sorensen  <jes@linuxcare.com>
3942
3943         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
3944         bits/sigcontext as struct mcontext does not depend on it.
3945
3946         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
3947
3948 2000-07-04  Jes Sorensen  <jes@linuxcare.com>
3949
3950         * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
3951
3952 2000-07-04  David Mosberger-Tang  <davidm@hpl.hp.com>
3953
3954         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
3955
3956 2000-06-22  Jes Sorensen  <jes@linuxcare.com>
3957
3958         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
3959
3960 2000-07-15  Ulrich Drepper  <drepper@redhat.com>
3961
3962         * intl/Makefile (test-srcs): Add tst-translit.
3963         (tests): Likewise.
3964         Add rules to build and run tst-translit.
3965         * intl/tst-translit.c: New file.
3966         * intl/tst-translit.sh: New file.
3967         * intl/translit.po: New file.
3968
3969 2000-07-14  Ulrich Drepper  <drepper@redhat.com>
3970
3971         * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
3972         transliteration function did its job, continue, don't stop.
3973
3974         * iconvdata/iso646.c: Little optimizations in body for conversion
3975         from UCS4.
3976
3977 2000-07-14  Mark Kettenis  <kettenis@gnu.org>
3978
3979         * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
3980
3981 2000-07-14  Mark Kettenis  <kettenis@gnu.org>
3982
3983         * configure.in: Check for pwd binary.
3984         * config.make.in: Add PWD_P to be subsituted.
3985         * Makerules: Use $(PWD_P) instead of /bin/pwd.
3986
3987 2000-07-14  Ulrich Drepper  <drepper@redhat.com>
3988
3989         * iconvdata/Makefile (modules): Add GB18030.
3990         (distribute): Add gb18030.c.
3991         * iconvdata/gconv-modules: Add entries for GB18030 module.
3992         * iconvdata/gb18030.c: New file.
3993         Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
3994         and Wu Jian.
3995
3996 2000-07-13  Andreas Jaeger  <aj@suse.de>
3997
3998         * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
3999         patch.
4000
4001         * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
4002         * inet/getnetgrent.c (free_mem): Likewise.
4003         * misc/mntent.c (free_mem): Likewise.
4004         * nss/getXXbyYY.c (free_mem): Likewise.
4005         * nss/getXXent.c (free_mem): Likewise.
4006         * pwd/fgetpwent.c (free_mem): Likewise.
4007         * shadow/fgetspent.c (free_mem): Likewise.
4008
4009 2000-07-14  Ulrich Drepper  <drepper@redhat.com>
4010
4011         * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
4012         64-bit architecture correctly [PR libc/1794].
4013
4014 2000-07-13  Ulrich Drepper  <drepper@redhat.com>
4015
4016         * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
4017         * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
4018         report that we are out of memory.
4019         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4020         * elf/dl-libc.c (dlerror_run): Likewise.
4021         * elf/dl-open.c (_dl_open): Likewise.
4022         * elf/rtld.c (dl_main): Likewise.
4023         * elf/dl-error.c: Define _dl_out_of_memory.
4024         (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
4025         the error string.
4026         * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
4027         [PR libc/1813].
4028
4029         * dlfcn/dlerror.c (free_key_mem): Also free error string.
4030
4031         * iconv/loop.c: Fix comment.
4032
4033         * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
4034
4035 2000-07-13  Andreas Jaeger  <aj@suse.de>
4036
4037         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
4038         getcwd (NULL, size) with size > 0.
4039         Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
4040
4041 2000-07-13  Andreas Jaeger  <aj@suse.de>
4042
4043         * posix/Makefile: Remove build rules for libposix.
4044
4045 2000-07-13  Andreas Schwab  <schwab@suse.de>
4046
4047         * sysdeps/generic/glob.c (glob): Fix memory leak.
4048         [SHELL]: Remove reference to undefined variable `files'.
4049         Fixes PR libc/1782.
4050
4051 2000-07-13  Andreas Jaeger  <aj@suse.de>
4052
4053         * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
4054         functions.
4055
4056         * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
4057         memory if it was allocated.
4058
4059 2000-07-12  Ulrich Drepper  <drepper@redhat.com>
4060
4061         * iconv/gconv_db.c (gen_steps): Always initialize __data field of
4062         step.
4063
4064         * iconv/gconv_open.c (__gconv_open): Reapply
4065         2000-07-12 Bruno Haible <haible@clisp.cons.org>
4066
4067                 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4068
4069         * iconv/gconv_open.c: Undo last two changes for now.  They break
4070         everything.
4071
4072 2000-07-12  Andreas Jaeger  <aj@suse.de>
4073
4074         * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
4075         compiler.
4076         (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
4077         (CFLAGS-dl-cache.c): Likewise.
4078         (CFLAGS-ldconfig.c): Added, passes directory locations.
4079
4080         * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
4081         locate cache.
4082         * elf/ldconfig.c (LD_SO_CONF): Likewise.
4083         (main): Use configured LIBDIR and SLIBDIR.
4084
4085 2000-07-11  Jakub Jelinek  <jakub@redhat.com>
4086
4087         * math/bits/cmathcalls.h (cimag): Add __THROW.
4088         (creal, conj): Likewise.
4089         * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
4090         by negative value.
4091
4092 2000-07-12  H.J. Lu  <hjl@gnu.org>
4093
4094         * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
4095         for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
4096
4097 2000-07-12  Ulrich Drepper  <drepper@redhat.com>
4098
4099         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
4100         it is wrong.
4101
4102 2000-07-12  Bruno Haible  <haible@clisp.cons.org>
4103
4104         * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4105
4106 2000-07-12  Bruno Haible  <haible@clisp.cons.org>
4107
4108         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4109         __modname.
4110
4111 2000-07-12  Bruno Haible  <haible@clisp.cons.org>
4112
4113         * iconv/gconv_open.c (__gconv_open): Initialize
4114         result->__steps[cnt].__data.
4115
4116 2000-07-12  Mark Kettenis  <kettenis@gnu.org>
4117
4118         * nss/getent.c (services_keys): Pass port number in network byte
4119         order in call to getservbyport.
4120
4121 2000-07-11  Andreas Jaeger  <aj@suse.de>
4122
4123         * stdlib/Makefile (test-canon-ARGS): Fix for building in the
4124         source dir.
4125         * intl/Makefile (do-gettext-test): Likewise.
4126         * dirent/Makefile (opendir-tst1-ARGS): Likewise.
4127
4128 2000-07-11  Andreas Schwab  <schwab@suse.de>
4129
4130         * Makeconfig (run-program-prefix): New rule.
4131         (built-program-cmd): Use run-program-prefix.
4132
4133 2000-07-12  Ulrich Drepper  <drepper@redhat.com>
4134
4135         * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
4136         and NOEXPR unconditionally available.
4137
4138 2000-07-12  Greg McGary  <greg@mcgary.org>
4139
4140         * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
4141         * sysdeps/posix/open64.c: Likewise.
4142         * sysdeps/generic/fegetenv.c: Likewise.
4143         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
4144         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4145         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4146         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
4147         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
4148         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
4149
4150 2000-07-11  Greg McGary  <greg@mcgary.org>
4151
4152         * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
4153         Add extra level of macro expansion.
4154         [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
4155         * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
4156         is available at the time `select' prototype is declared.
4157         * sysdeps/unix/make-syscalls.sh: Remove unused variables.
4158         Collect non-versioned weak aliases.  Consider only non-versioned
4159         aliases for the user-visible systemcall name.  Do checks inline with
4160         call to primitive system call.
4161         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
4162         stand-alone bounds checks to suppress unused value warnings.
4163         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4164
4165 2000-07-10  Mark Kettenis  <kettenis@gnu.org>
4166
4167         * sysdeps/mach/hurd/check_fds.c: New file.  Implements
4168         file descriptor checking in SUID programs for the Hurd.
4169
4170         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
4171         res_hostalias instead of __hostalias for thread-safety.
4172
4173 2000-07-09  Mark Kettenis  <kettenis@gnu.org>
4174
4175         * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
4176         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
4177
4178 2000-07-10  Ulrich Drepper  <drepper@redhat.com>
4179
4180         * include/features.h: Include ISO C99 features if the compiler used
4181         is an ISO C99 compiler.
4182         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4183
4184 2000-07-08  Mark Kettenis  <kettenis@gnu.org>
4185
4186         * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
4187
4188 2000-07-10  Andreas Jaeger  <aj@suse.de>
4189
4190         * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
4191         it's overridden by libpthreads.
4192         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4193         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4194         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4195         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4196         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4197
4198         * malloc/Makefile: Run tst-mtrace only with shared libs.
4199
4200         * stdio-common/Makefile: Run unbputc and tst-printf tests only
4201         with shared libs.
4202
4203 2000-07-10  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
4204
4205         * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
4206         that gpreg really points to the GOT section of the calling object.
4207         Scan all PT_LOAD segments of objects for stub_pc, instead of only
4208         checking a start address of first one.
4209         Fix typos.
4210         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
4211         Likewise.
4212
4213         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
4214
4215 2000-07-10  Andreas Jaeger  <aj@suse.de>
4216
4217         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
4218         (string_alias->strong_alias).
4219
4220 2000-07-08  Mark Kettenis  <kettenis@gnu.org>
4221
4222         * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
4223
4224 2000-07-07  Greg McGary  <greg@mcgary.org>
4225
4226         * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
4227         have no names without leading underscores.
4228
4229 2000-07-07  Ulrich Drepper  <drepper@redhat.com>
4230
4231         * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
4232         U007E.
4233
4234         * stdio-common/Makefile (tests): Remove tst-printf here...
4235         (tests-srcs): ...and add it here.
4236         (distribute): Add tst-unbputc.sh and tst-printf.sh.
4237         Add rules to run tst-printf.sh.
4238         * stdio-common/tst-printf.c: Move code around so that there is really
4239         no further output where it's stated.
4240         * stdio-common/tst-printf.sh: New file.
4241
4242 2000-07-07  Mark Kettenis  <kettenis@gnu.org>
4243
4244         * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
4245         (do_write): Renamed from pwrite.
4246         (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
4247         `struct _IO_cookie_file'.
4248
4249 2000-07-07  Ulrich Drepper  <drepper@redhat.com>
4250
4251         * malloc/mtrace.pl: Exit with exit code 1 if any leak was
4252         detected.
4253         * malloc/tst-mtrace.sh: Run mtrace script.
4254
4255 2000-07-07  Greg McGary  <greg@mcgary.org>
4256
4257         * posix/regex.c (EXTEND_BUFFER): Compute increment once.
4258         Move all three components of a bounded pointer.
4259
4260 2000-07-07  Ulrich Drepper  <drepper@redhat.com>
4261
4262         * locale/programs/locale.c (write_locales): Don't simply add all
4263         directories found in the subdir, test whether at least the
4264         LC_CTYPE file is in there.
4265
4266 2000-07-06  Ulrich Drepper  <drepper@redhat.com>
4267
4268         * iconvdata/euc-jp.c: Map characters in C1 area to itself.
4269         * iconvdata/euc-kr.c: Likewise.
4270
4271         * stdio-common/vfprintf.c (process_string_arg): Check result of
4272         wcrtomb call and bail out if it failed.
4273
4274         * malloc/Makefile (test-srcs): Add tst-mtrace.
4275         (distribute): Add tst-mtrace.sh.
4276         Add rule to run tst-mtrace.sh.
4277         * malloc/tst-mtrace.c: New file.
4278         * malloc/tst-mtrace.sh: New file.
4279
4280         * include/signal.h: Declare __libc_sigaction.
4281         * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
4282         * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
4283         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4284         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4285         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4286         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4287         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4288
4289         * configure.in: Fix CFLAGS-memprofstat.c definition after
4290         2000-06-19 change.
4291         Patch by Bradford W. Johnson <bradford@math.umn.edu>.
4292
4293 2000-07-06  Jakub Jelinek  <jakub@redhat.com>
4294
4295         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
4296         instead of NULL to elf_machine_fixup_plt t argument.
4297         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4298         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
4299         cast.
4300
4301 2000-07-06  Andreas Jaeger  <aj@suse.de>
4302
4303         * crypt/Makefile (LDLIBS-cert): Removed.
4304         (LDLIBS-md5c-test): Removed.
4305         ($(objpfx)cert): Renamed from cert.out to fix dependencies.
4306         ($(objpfx)md5c-test): Likewise for md5c-test.out.
4307
4308 2000-07-06  Andreas Jaeger  <aj@suse.de>
4309
4310         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
4311         of the proc system is "proc".
4312
4313         * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
4314         thread library for static programs.
4315
4316 2000-07-06  Greg McGary  <greg@mcgary.org>
4317
4318         * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
4319         New macros.
4320         * sysdeps/generic/strcpy.c: Add bounds checks.
4321         * sysdeps/unix/fxstat.c: Likewise.
4322         * sysdeps/unix/xstat.c: Likewise.
4323         * sysdeps/unix/common/lxstat.c: Likewise.
4324         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4325         * sysdeps/unix/sysv/linux/execve.c: Likewise.
4326         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
4327         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
4328         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4329         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4330         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4331         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4332         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4333         * sysdeps/unix/sysv/linux/poll.c: Likewise.
4334         * sysdeps/unix/sysv/linux/pread.c: Likewise.
4335         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4336         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
4337         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4338         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4339         * sysdeps/unix/sysv/linux/readv.c: Likewise.
4340         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4341         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4342         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4343         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
4344         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4345         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
4346         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4347         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
4348         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4349         * sysdeps/unix/sysv/linux/ustat.c: Likewise.
4350         * sysdeps/unix/sysv/linux/writev.c: Likewise.
4351         * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
4352         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4353         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4354         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4355         * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
4356         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4357         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4358         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4359         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4360         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4361         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
4362         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4363         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4364         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4365         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4366         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4367         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4368         * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
4369         * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
4370         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4371         * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
4372         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
4373         * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
4374         * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
4375         * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
4376         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4377         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4378         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4379         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4380         * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4381         * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
4382         * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
4383         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
4384         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4385         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
4386         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
4387         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
4388
4389         * string/endian.h (__LONG_LONG_PAIR): New macro.
4390         * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
4391         * sysdeps/unix/sysv/linux/pread.c: Likewise.
4392         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4393         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4394         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4395         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4396         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
4397         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4398         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4399         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4400         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4401         * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4402
4403         * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
4404
4405 2000-07-06  Andreas Jaeger  <aj@suse.de>
4406
4407         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
4408         Initialize result.
4409
4410         * math/test-fpucw.c: Include <stdio.h> for printf.
4411
4412 2000-07-05  Greg McGary  <greg@mcgary.org>
4413
4414         * sysdeps/generic/bp-checks.h: New file.
4415         * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
4416         with list of #include files.
4417         * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4418         keyletters a, b, B, f, n, N, P, v, V.  Fixup some indentation.
4419         Don't generate BP thunk if `V' appears in signature.
4420         Generate thunks with complete bounds checks.
4421         * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
4422         * sysdeps/unix/inet/syscalls.list: Likewise.
4423         * sysdeps/unix/mman/syscalls.list: Likewise.
4424         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4425         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4426         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4427         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4428
4429 2000-07-05  Ulrich Drepper  <drepper@redhat.com>
4430
4431         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
4432         result.  Search first in /etc/mtab (proc/mounts would be stupid).
4433         If mount not in the file fall back on /proc.
4434
4435         * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
4436         string got copied in.
4437         Patch by Solar Designer <solar@false.com>.
4438
4439 2000-07-05  Andreas Jaeger  <aj@suse.de>
4440
4441         * manual/install.texi (Installation): Update information about
4442         add-ons.
4443         (Configuring and compiling): Update for glibc 2.2.
4444
4445 2000-07-04  Andreas Jaeger  <aj@suse.de>
4446
4447         * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
4448         (_FPU_IEEE): Likewise.
4449
4450         * math/Makefile (tests): Add test-fpucw.
4451
4452         * math/test-fpucw.c (main): New file.
4453
4454 2000-07-05  Ulrich Drepper  <drepper@redhat.com>
4455
4456         * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
4457
4458         * locale/programs/ld-collate.c (collate_output): Also write out the
4459         collation sequence values and the wide character string for the
4460         collation symbol table.
4461
4462         * posix/fnmatch.c: Include "../locale/elem-hash.h".
4463         * posix/fnmatch_loop.c: Implement collating symbol handling.
4464         * posix/tst-fnmatch.input: Add more tests, especially for collating
4465         symbol handling.
4466
4467         * posix/regex.c: Fix comment.
4468
4469 2000-07-05  Andreas Jaeger  <aj@suse.de>
4470
4471         * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
4472         (_FPU_GETCW): Remove extra colon.
4473         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4474
4475         * posix/fnmatch_loop.c (FCT): Only declare len if
4476         !WIDE_CHAR_VERSION to silence GCC.
4477
4478         * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
4479         prototype.
4480         * sysdeps/generic/strchrnul.c: Likewise.
4481         * sysdeps/generic/strlen.c: Likewise.
4482         * sysdeps/generic/strchr.c: Likewise.
4483         * sysdeps/generic/memchr.c: Likewise.
4484
4485 2000-07-04  Ulrich Drepper  <drepper@redhat.com>
4486
4487         * posix/fnmatch_loop.c: Implement equivalence class handling.
4488         * posix/tst-fnmatch.input: Add tests for equivalence class
4489         handling.
4490
4491         * posix/fnmatch_loop.c: Improve performance for single-byte
4492         character sets by not using btowc.
4493
4494         * posix/tst-fnmatch.input: Add tests for locale dependent
4495         behaviour.
4496         * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
4497
4498         * posix/tst-fnmatch.input: Add more test cases.
4499
4500         * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
4501         are not aligned to alignof(md5_uint32) do it before calling
4502         __md5_process_bytes.
4503         * crypt/md5.c: Make sure buffers are aligned.
4504         * crypt/md5.h: Likewise.
4505         Reported by Solar Designer <solar@false.com>.
4506
4507         * crypt/Makefile: Add dependencies for test programs.
4508
4509         * Rules: Define LC_ALL=C in environments of all programs we run.
4510
4511         * intl/tst-gettext.sh (LC_ALL): Define to C and export.
4512
4513 2000-07-03  H.J. Lu  <hjl@gnu.org>
4514
4515         * locale/programs/ld-ctype.c (ctype_output): The size of iov
4516         is 2 + elem + offset, not 2 + elem + offset + 2.
4517
4518 2000-07-04  Ulrich Drepper  <drepper@redhat.com>
4519
4520         * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
4521         suite.
4522         * posix/Makefile (tests): Add tst-fnmatch.
4523         (tst-fnmatch-ENV): Define.
4524         * posix/tst-fnmatch.c: New file.
4525         * posix/tst-fnmatch.sh: New file.
4526
4527 2000-07-04  NIIBE Yutaka  <gniibe@chroot.org>
4528
4529         * locale/programs/charmap.c (charmap_read): Prepend
4530         the condition filename == NULL.
4531
4532 2000-07-03  Greg McGary  <greg@mcgary.org>
4533
4534         * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
4535
4536         * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
4537         ($(objpfx)b$(start-installed-name)): Add non-elf rule.
4538
4539         * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
4540         * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
4541         (FILEBUF_LITERAL): Add cast for CHAIN init.
4542         * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
4543         (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
4544         Revert type of `fp' to _IO_FILE*.
4545         (_IO_iter_file): Remove cast.
4546         (_IO_iter_next): Elide intermediate member reference.
4547
4548         * sysdeps/powerpc/strchr.S:  Check bounds.
4549         Wrap extern symbols in BP_SYM ().
4550
4551 2000-07-03  Andreas Jaeger  <aj@suse.de>
4552
4553         * dlfcn/Makefile (generated): New.
4554
4555 2000-07-03  Ulrich Drepper  <drepper@redhat.com>
4556
4557         * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
4558         (__uflow): Likewise.
4559         (__underflow): Likewise.
4560         * libio/wgenops.c (__wunderflow): Likewise.
4561         * stdio-common/tst-unbputc.c: New file.
4562         * stdio-common/tst-unbputc.sh: New file.
4563         * stdio-common/Makefile: Add rules to build and run tst-unbputc.
4564
4565         * po/en_GB.po: New file.
4566         Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
4567
4568 2000-07-01  Andreas Jaeger  <aj@suse.de>
4569
4570         * intl/Makefile (generated-dirs): New.
4571
4572         * elf/Makefile (generated): trusted-dirs.h is always generated,
4573         move out of build-shared condition.
4574         (generated): Merge the two entries for build-shared.
4575
4576 2000-07-01  Ulrich Drepper  <drepper@redhat.com>
4577
4578         * debug/Makefile (distribute): Add xtrace.sh.
4579
4580 2000-06-30  Ulrich Drepper  <drepper@redhat.com>
4581
4582         * version.h (VERSION): Bump to 2.1.91.
4583
4584         * configure.in: Update warning comment.  glibc should not be
4585         broken anymore.
4586
4587         * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content.  Add
4588         ioperm.c, sys/procfs.h, and sys/io.h.
4589
4590         * sysdeps/powerpc/Dist: Add bp-asm.h.
4591
4592         * assert/Depend: Add localedata.
4593         * assert/Makefile (test-assert-ENV): New.  Define LANGUAGE=C.
4594         (test-assert-perr-ENV): New.  Define LANGUAGE=C.
4595
4596         * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
4597         R_ALPHA_REFQUAD]: Use memcpy to load and store value from
4598         relocation address to prevent unaligned trap.
4599         Suggested by Richard Henderson <rth@cygnus.com>.
4600
4601 2000-06-30  Jakub Jelinek  <jakub@redhat.com>
4602
4603         * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
4604         if redirecting and either redirection is done using defines or
4605         not optimizing.
4606
4607 2000-06-30  Ulrich Drepper  <drepper@redhat.com>
4608
4609         * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
4610         generated expressions.
4611         Patch by Darren McClelland <dmcclell@zetec.com>.
4612
4613         * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
4614         since zic uses setlocale and gettext but we cannot make it use the
4615         new locale data since zic calls a shell which might not use the
4616         new libc.
4617
4618         * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
4619         handling the internation currency symbol.  POSIX says that the
4620         fourth character is used to separate the currency symbol from the
4621         value.  Therefore it does not have to be printed.  But we cannot
4622         remove the space if the currency symbol is printed before the
4623         number since this is what many locales expect.
4624
4625         * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
4626         whether this information is available.
4627
4628         * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
4629         buffers in case the translation is too large.  Remember allocated
4630         memory blocks in a list.
4631         (free_mem): Free memory for translations.
4632
4633         * intl/tst-gettext.c: Use correct locale.  Improve error messages.
4634
4635         * locale/programs/ld-ctype.c (ctype_output): If no default_missing
4636         information is available set the string length to zero.
4637
4638         * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
4639
4640 2000-06-30  Greg McGary  <greg@mcgary.org>
4641
4642         * sysdeps/powerpc/bp-asm.h: New file.
4643         * sysdeps/powerpc/__longjmp.S:  Check bounds.
4644         Wrap extern symbols in BP_SYM ().
4645         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
4646         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
4647         * sysdeps/powerpc/setjmp.S: Likewise.
4648         * sysdeps/powerpc/add_n.S: Likewise.
4649         * sysdeps/powerpc/addmul_1.S: Likewise.
4650         * sysdeps/powerpc/lshift.S: Likewise.
4651         * sysdeps/powerpc/rshift.S: Likewise.
4652         * sysdeps/powerpc/mul_1.S: Likewise.
4653         * sysdeps/powerpc/sub_n.S: Likewise.
4654         * sysdeps/powerpc/submul_1.S: Likewise.
4655         * sysdeps/powerpc/strlen.S: Likewise.
4656         * sysdeps/powerpc/memset.S: Likewise.
4657         * sysdeps/powerpc/stpcpy.S: Likewise.
4658         * sysdeps/powerpc/strcmp.S: Likewise.
4659         * sysdeps/powerpc/strcpy.S: Likewise.
4660         * sysdeps/powerpc/elf/bzero.S: Likewise.
4661
4662         * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
4663         Line up operands column with tabs.
4664
4665 2000-06-30  Ulrich Drepper  <drepper@redhat.com>
4666
4667         * elf/Makefile (LDFLAGS-origtest): Actually add it.
4668
4669         * sysdeps/ia64/htonl.S: New file.
4670         * sysdeps/ia64/htons.S: New file.
4671         * sysdeps/ia64/memcpy.S: Replace with version which does not use
4672         floating point registers.
4673         Patches by Dan Pop <Dan.Pop@cern.ch>.
4674
4675 2000-06-30  Andreas Jaeger  <aj@suse.de>
4676
4677         * posix/Makefile (tests): tst-exec and tst-spawn only work with
4678         shared libraries.
4679
4680         * io/Makefile (CFLAGS-test-lfs.c): New.
4681         (tests): Add test-lfs.
4682
4683         * io/test-lfs.c: New file.
4684
4685 2000-06-30  Jakub Jelinek  <jakub@redhat.com>
4686
4687         * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
4688         instruction.
4689
4690 2000-06-29  David Mosberger-Tang  <davidm@hpl.hp.com>
4691
4692         * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
4693
4694 2000-06-29  Jes Sorensen  <jes@linuxcare.com>
4695
4696         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
4697         alias to the fstatfs call.
4698
4699         * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
4700         * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
4701
4702         * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
4703         * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
4704
4705         * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
4706         * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
4707         * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
4708         * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
4709
4710         * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
4711         * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
4712
4713         * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
4714         * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
4715
4716         * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
4717         * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
4718
4719         * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
4720
4721 2000-06-29  Andreas Jaeger  <aj@suse.de>
4722
4723         * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
4724         with syslog.
4725         (print_err_message): Likewise.
4726         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
4727
4728 2000-06-29  Ulrich Drepper  <drepper@redhat.com>
4729
4730         * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
4731         used as words is properly aligned.
4732
4733         * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
4734         data files.
4735
4736 2000-06-29  Greg McGary  <greg@mcgary.org>
4737
4738         * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
4739         * sysdeps/unix/make-syscalls.sh: Handle signatures of
4740         length 7..9, just in case...
4741         * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
4742
4743         * sysdeps/i386/bp-asm.h (PCOFF): New constant.
4744         (POP_ERRNO_LOCATION_RETURN): Fold insns.
4745         * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
4746         (PUSH_SIGNAL_MASK): New macro.
4747         * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
4748         LEAVE is unnecessary.  Check bounds of jmp_buf.
4749         * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK.  Wrap symbols
4750         in BP_SYM ().  Check bounds of jmp_buf.  Don't call LEAVE until
4751         immediately before tail-call.
4752         * sysdeps/i386/setjmp.S: Likewise.
4753         * sysdeps/i386/bsd-_setjmp.S: Likewise.
4754         * sysdeps/i386/bsd-setjmp.S: Likewise.
4755
4756 2000-06-29  Jakub Jelinek  <jakub@redhat.com>
4757
4758         * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
4759         versioned_symbol.
4760         * sysdeps/sparc/fpu/fesetenv.c: Likewise.
4761         * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
4762         * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
4763         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4764         * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
4765         * sysdeps/sparc/fpu/fegetenv.c: Likewise.
4766         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
4767         * shlib-versions: Make sparc64 GLIBC_2.2+ only.
4768
4769 2000-06-29  Ulrich Drepper  <drepper@redhat.com>
4770
4771         * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
4772         we later need to calling free().
4773         Patch by Matt Wilson <msw@redhat.com>.
4774
4775         * stdio-common/tst-printf.c: Add test for above problem.
4776
4777 2000-06-27  David Mosberger-Tang  <davidm@hpl.hp.com>
4778
4779         * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
4780         * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
4781
4782 2000-06-28  Jes Sorensen  <jes@linuxcare.com>
4783
4784         * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
4785         prototype for abs().
4786         * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
4787
4788 2000-06-23  Andreas Jaeger  <aj@suse.de>
4789
4790         * config.h.in: Don't use regparm with bounded pointers.
4791
4792 2000-06-29  Ulrich Drepper  <drepper@redhat.com>
4793
4794         * stdlib/grouping.h: Correctly handle multibyte thousands
4795         separator and decimal point.
4796         * stdlib/stdtod.c: Likewise.
4797         * sysdeps/generic/strtol.c: Likewise.
4798
4799         * locale/categories.def: Add entries for wide character decimal point
4800         and thousands separator in numeric and monetary category.
4801
4802 2000-06-28  Ulrich Drepper  <drepper@redhat.com>
4803
4804         * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
4805         second definition and initialization of decimal.
4806
4807 2000-06-28  Greg McGary  <greg@mcgary.org>
4808
4809         * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
4810         out.
4811         (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
4812         * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
4813         in.
4814         (_IO_JUMPS): Don't cast THIS--expect arg to be a
4815         (struct _IO_FILE_plus *).
4816         (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
4817         THIS, since _IO_JUMPS no longer does it implicitly.
4818         (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
4819         arg type as (struct _IO_FILE_plus *).
4820         (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
4821         arg as (_IO_strfile *).
4822         * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
4823         Declare 1st arg as (_IO_strfile *).
4824         * libio/fileops.c (_IO_new_file_init): Declare
4825         arg type as (struct _IO_FILE_plus *).
4826         * libio/oldfileops.c (_IO_old_file_init): Likewise.
4827         * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
4828         (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
4829         Declare iteration pointer as (struct _IO_FILE_plus *).
4830         (_IO_iter_next, _IO_iter_file): _IO_ITER is now
4831                 (struct _IO_FILE_plus *).
4832         * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
4833         * libio/oldstdfiles.c (_IO_list_all): Likewise.
4834         (_IO_check_libio): Set user-visible handles to
4835         (struct _IO_FILE_plus *).
4836         * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
4837         to (struct _IO_FILE_plus *).
4838
4839         * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
4840         whose high bound includes vtable to all functions that will use
4841         vtable.  For streambufs, pass pointer whose bounds include struct
4842         _IO_strfile.
4843         * libio/wgenops.c (_IO_wdefault_finish): Likewise.
4844         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4845         * libio/iofopen.c (_IO_new_fopen): Likewise.
4846         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4847         * libio/iofopen64.c (_IO_fopen64): Likewise.
4848         * libio/iopopen.c (_IO_new_popen): Likewise.
4849         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4850         * libio/memstream.c (open_memstream): Likewise.
4851         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
4852         * libio/iovsprintf.c (_IO_vsprintf): Likewise.
4853         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4854         * libio/iofopncook.c (_IO_cookie_init): Likewise.
4855         * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
4856         * libio/vasprintf.c (_IO_vasprintf): Likewise.
4857         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4858         * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
4859         * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
4860         * stdlib/strfmon.c (__strfmon_l): Likewise.
4861         * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
4862         (vfprintf): Qualify computed-goto targets as unbounded.
4863
4864 2000-06-28  Ulrich Drepper  <drepper@redhat.com>
4865
4866         * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
4867         thousands separator correctly.
4868
4869         * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
4870         * stdio-common/vfwscanf.c: Likewise.
4871
4872 2000-06-27  Jes Sorensen  <jes@linuxcare.com>
4873
4874         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
4875         count into signatures for most calls.
4876
4877 2000-06-28  Ulrich Drepper  <drepper@redhat.com>
4878
4879         * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed.  We can use
4880         the generic parser now.
4881
4882 2000-06-28  Jes Sorensen  <jes@linuxcare.com>
4883
4884         * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted.  Hash
4885         table entries are 32 bit on the ia64 (as specified by the ABI),
4886         not 64 bit as on the Alpha.
4887
4888         * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
4889         change of objects to use 32 bit hash table indices (see above).
4890
4891 2000-06-28  Jes Sorensen  <jes@linuxcare.com>
4892
4893         * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
4894         prototype for abs().
4895
4896 2000-06-28  Wolfram Gloger  <wg@malloc.de>
4897
4898         * malloc/malloc.c (chunk_alloc): If extension of the linear heap
4899         fails, try mmap_chunk() as a last resort even though n_mmaps_max
4900         may have been reached.
4901
4902 2000-06-28  Ulrich Drepper  <drepper@redhat.com>
4903
4904         * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
4905         symbols in multi-character weights correctly.
4906
4907         * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
4908         depending on whether the input string is empty or not.
4909
4910         * wcsmbs/mbrtowc.c: Calling function without input means clearing the
4911         given state and not avoiding this by modifying a local object.
4912         * wcsmbs/wcrtomb.c: Likewise.
4913
4914         * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
4915         object since some incomplete characters might be in there.
4916
4917         * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
4918         sequences with first byte 0x8e correctly.
4919
4920         * iconvdata/jis0208.h: Remove redundant test.
4921
4922 2000-06-27  Ulrich Drepper  <drepper@redhat.com>
4923
4924         * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
4925         Add it where it is needed now.
4926
4927         * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
4928         the input charset into account when generating the hash table.
4929         (allocate_arrays): Correct setting default width.  Not all empty slots
4930         in the table are filled, only those not covert explicitly by the
4931         locale description and in the charset.
4932
4933         * wctype/towctrans.c (__towctrans): Be graceful and accept error
4934         return values from the wctrans function.
4935
4936         * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
4937         wide character version.
4938         For %C handling, test correct pointer variable for NULL.
4939
4940         * wcsmbs/wctob.c: Handle WEOF special.
4941
4942         * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
4943
4944         * wctype/wctype.h: Protect gcc-isms with __extension__.  Avoid
4945         always-true test to avoid warning.
4946
4947 2000-06-27  Greg McGary  <greg@mcgary.org>
4948
4949         * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
4950         * include/libc-symbols.h (weak_extern): Add extra level of expansion.
4951         (symbol_version, default_symbol_version): Factor redundant
4952         definitions out of conditional.
4953
4954 2000-06-27  Jakub Jelinek  <jakub@redhat.com>
4955
4956         * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
4957         not obstack_blank.
4958
4959 2000-06-26  Ulrich Drepper  <drepper@redhat.com>
4960
4961         * include/libc-symbols.h (symbol_version): Add extra level of
4962         macro expansion.
4963         (default_symbol_version): Likewise.
4964
4965 2000-06-26  Greg McGary  <greg@mcgary.org>
4966
4967         * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
4968         for BP return value & push implicit struct-return pointer to
4969         __errno_location.
4970         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4971         (SYSCALL_ERROR_HANDLER): Likewise.
4972         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
4973         (SYSCALL_ERROR_HANDLER): Likewise.
4974
4975         * Makeconfig: Add missing comment.
4976         * csu/Makefile (extra-objs, omit-deps, install-lib): Add
4977         BP-flavored startup object.
4978         ($(objpfx)b$(start-installed-name)): New rule.
4979         * include/libc-symbols.h (symbol_set_declare): Change type
4980         of `__start_##set' and `__stop_##set' to pointer-to-function.
4981         (symbol_set_declare): Change type of `set' to array of
4982         pointer-to-function.
4983         * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
4984         pointer-to-function.
4985
4986         * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
4987
4988         * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
4989         Remove clock_* and timer_* entries.
4990         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
4991         arg-count with signatures.
4992
4993         * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
4994         Check bounds of arguments.
4995         * sysdeps/i386/addmul_1.S: Likewise.
4996         * sysdeps/i386/lshift.S: Likewise.
4997         * sysdeps/i386/mul_1.S: Likewise.
4998         * sysdeps/i386/rshift.S: Likewise.
4999         * sysdeps/i386/sub_n.S: Likewise.
5000         * sysdeps/i386/submul_1.S: Likewise.
5001         * sysdeps/i386/i586/add_n.S: Likewise.
5002         * sysdeps/i386/i586/addmul_1.S: Likewise.
5003         * sysdeps/i386/i586/lshift.S: Likewise.
5004         * sysdeps/i386/i586/rshift.S: Likewise.
5005         * sysdeps/i386/i586/sub_n.S: Likewise.
5006         * sysdeps/i386/i686/add_n.S: Likewise.
5007
5008         * sysdeps/i386/memchr.S: Likewise.
5009         * sysdeps/i386/memcmp.S: Likewise.
5010         * sysdeps/i386/rawmemchr.S: Likewise.
5011         * sysdeps/i386/i586/bzero.S: Likewise.
5012         * sysdeps/i386/i586/memcpy.S: Likewise.
5013         * sysdeps/i386/i586/mempcpy.S: Likewise.
5014         * sysdeps/i386/i586/memset.S: Likewise.
5015         * sysdeps/i386/i686/bzero.S: Likewise.
5016         * sysdeps/i386/i686/memcpy.S: Likewise.
5017         * sysdeps/i386/i686/mempcpy.S: Likewise.
5018         * sysdeps/i386/i686/memset.S: Likewise.
5019
5020         * sysdeps/i386/stpcpy.S: Likewise.
5021         * sysdeps/i386/stpncpy.S: Likewise.
5022         * sysdeps/i386/strchr.S: Likewise.
5023         * sysdeps/i386/strchrnul.S: Likewise.
5024         * sysdeps/i386/strcspn.S: Likewise.
5025         * sysdeps/i386/strpbrk.S: Likewise.
5026         * sysdeps/i386/strrchr.S: Likewise.
5027         * sysdeps/i386/strspn.S: Likewise.
5028         * sysdeps/i386/strtok.S: Likewise.
5029         * sysdeps/i386/strtok_r.S: Likewise.
5030         * sysdeps/i386/i486/strcat.S: Likewise.
5031         * sysdeps/i386/i486/strlen.S: Likewise.
5032         * sysdeps/i386/i586/strchr.S: Likewise.
5033         * sysdeps/i386/i586/strcpy.S: Likewise.
5034         * sysdeps/i386/i586/strlen.S: Likewise.
5035         * sysdeps/i386/i686/strcmp.S: Likewise.
5036         * sysdeps/i386/i686/strtok.S: Likewise.
5037         * sysdeps/i386/i686/strtok_r.S: Likewise.
5038
5039         * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
5040         * sysdeps/i386/fpu/fesetenv.c: Likewise.
5041         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
5042         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
5043         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
5044
5045         * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
5046         * sysdeps/i386/mul_1.S: Likewise.
5047         * sysdeps/i386/submul_1.S: Likewise.
5048         * sysdeps/i386/i586/add_n.S: Likewise.
5049         * sysdeps/i386/i586/addmul_1.S: Likewise.
5050         * sysdeps/i386/i586/lshift.S: Likewise.
5051         * sysdeps/i386/i586/mul_1.S: Likewise.
5052         * sysdeps/i386/i586/rshift.S: Likewise.
5053         * sysdeps/i386/i586/sub_n.S: Likewise.
5054         * sysdeps/i386/i586/submul_1.S: Likewise.
5055
5056 2000-06-26  Ulrich Drepper  <drepper@redhat.com>
5057
5058         * rt/Makefile (librt-routines): Add clock_nanosleep.
5059         * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
5060         * sysdeps/generic/clock_nanosleep.c: New file.
5061         * sysdeps/unix/clock_nanosleep.c: New file.
5062         * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
5063         * time/time.h: Declare clock_nanosleep.
5064
5065 2000-06-26  Greg McGary  <greg@mcgary.org>
5066
5067         * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
5068         INSN1, INSN2, TEXT, GLOBL): Remove macros.
5069         (ALIGN): Cleanup surrounding conditionals.
5070
5071         * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
5072         Call ENTER/LEAVE macros.
5073         * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
5074         * sysdeps/i386/submul_1.S: Likewise.
5075
5076         * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
5077         syntax.  Define & use symbolic argument stack offsets.  Call
5078         ENTER/LEAVE macros.
5079         * sysdeps/i386/i586/mul_1.S: Likewise.
5080         * sysdeps/i386/i586/submul_1.S: Likewise.
5081
5082 2000-06-25  Greg McGary  <greg@mcgary.org>
5083
5084         * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
5085         not as bcopy.
5086
5087 2000-06-25  Ulrich Drepper  <drepper@redhat.com>
5088
5089         * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
5090         * iconvdata/gen-8bit-gap.sh: Likewise.
5091         * iconvdata/gen-8bit.sh: Likewise.
5092
5093         * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
5094
5095         * locale/programs/ld-collate.c (collate_read): Don't actually read
5096         the copy locale if we are ignoring the content.
5097
5098         * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
5099         unknown character.
5100
5101         * locale/programs/ld-collate.c: Correct handling of different
5102         collation sections.
5103         * locale/programs/localedef.c (add_to_readlist): Take locale pointer
5104         as extra parameter from which to copy category information.
5105         Change all callers.
5106         (load_locale): Likewise.
5107         * locale/programs/localedef.h: Update prototypes of add_to_readlist
5108         and load_locale.
5109         * locale/programs/ld-ctype.c: Update call to add_to_readlist.
5110         * locale/programs/locfile.h: Likewise.
5111         * locale/programs/locfile-kw.gperf: Add entry for script.
5112         * locale/programs/locfile-token.h: Add tok_script.
5113
5114         * locale/programs/locale.c: Update copyright year.
5115         * locale/programs/localedef.c: Likewise.
5116
5117 2000-06-23  Thorsten Kukuk  <kukuk@suse.de>
5118
5119         * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
5120         Jens Moeller <jens.moeller@waii.com>.
5121
5122 2000-06-24  Ulrich Drepper  <drepper@redhat.com>
5123
5124         * locale/programs/ld-name.c (name_finish): Add missing format
5125         specifier to test for name_fmt.
5126
5127         * locale/programs/ld-address.c (iso639): Correct length of string
5128         elements.
5129         (iso3166): Likewise.
5130
5131         * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
5132
5133         * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
5134         Define.
5135
5136         * elf/elf.h (NT_PRFPXREG): Define.
5137
5138 2000-06-23  Ulrich Drepper  <drepper@redhat.com>
5139
5140         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
5141         PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
5142
5143 2000-06-23  Andreas Schwab  <schwab@suse.de>
5144
5145         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
5146         with signatures.
5147
5148 2000-06-23  Andreas Jaeger  <aj@suse.de>
5149
5150         * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
5151
5152         * io/test-stat.c: Add copyright header, mention Maciej.
5153
5154         * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
5155         SYS_mincore, SYS_madvise): Added.
5156
5157         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
5158         execve.
5159
5160 2000-06-22  Ulrich Drepper  <drepper@redhat.com>
5161
5162         * libio/Makefile (tests): Add tst-getwc and tst_putwc.
5163         (CFLAGS-tst_putwc.c): New definition.
5164         * libio/tst_getwc.c: New file.
5165         * libio/tst_getwc.input: New file.
5166         * libio/tst_putwc.c: New file.
5167
5168         * include/string.h: Add prototype for __strdup.
5169
5170 2000-06-22  Greg McGary  <greg@mcgary.org>
5171
5172         * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
5173         * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
5174         Fix signatures.
5175
5176 2000-06-23  Jes Sorensen  <jes@linuxcare.com>
5177
5178         * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
5179
5180 2000-06-22  Jes Sorensen  <jes@linuxcare.com>
5181
5182         * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
5183
5184 2000-06-22  Jes Sorensen  <jes@linuxcare.com>
5185
5186         * shlib-versions: Bump so versions to 6.1 for libc and libm on the
5187         ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
5188
5189 2000-06-22  Ulrich Drepper  <drepper@redhat.com>
5190
5191         * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
5192         * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
5193         and __S_TYPEISSHM.
5194         * sysdeps/mach/hurd/bits/stat.h: Likewise.
5195         * sysdeps/unix/bsd/bits/stat.h: Likewise.
5196         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5197         * sysdeps/unix/sysv/bits/stat.h: Likewise.
5198         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
5199         * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
5200         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5201         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5202         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5203         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5204         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
5205         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5206         * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
5207         * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
5208         S_TYPEISSHM.
5209
5210 2000-06-22  Andreas Jaeger  <aj@suse.de>
5211
5212         * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
5213         with signatures.
5214
5215         * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
5216
5217         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
5218
5219 2000-06-21  Ulrich Drepper  <drepper@redhat.com>
5220
5221         * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
5222         ahead.
5223
5224 2000-06-21  Greg McGary  <greg@mcgary.org>
5225
5226         * Makerules (elide-routines.*, elide-bp-thunks):
5227         Define unconditionally.
5228
5229 2000-06-21  Jes Sorensen  <jes@linuxcare.com>
5230
5231         * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5232
5233 2000-06-21  Andreas Jaeger  <aj@suse.de>
5234
5235         * io/Makefile (tests): Add test-stat.
5236         (CFLAGS-test-stat.c): New.
5237
5238         * io/test-stat.c: New file from Maciej W. Rozycki
5239         <macro@ds2.pg.gda.pl>.
5240
5241 2000-06-21  Jes Sorensen  <jes@linuxcare.com>
5242
5243         * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
5244         in __rlimit_resource to make them match the kernel order.
5245         rlim_t is always 64 bit, use __rlim64_t to declare it
5246         unconditionally.
5247
5248 2000-05-04  Jes Sorensen  <jes@linuxcare.com>
5249
5250         * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
5251         RLIM_INFINITY before defining it to avoid clash with kernel header
5252
5253 2000-05-03  Jes Sorensen  <jes@linuxcare.com>
5254
5255         * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
5256
5257 2000-06-21  Ulrich Drepper  <drepper@redhat.com>
5258
5259         * sysdeps/unix/sysv/linux/ia64/Versions: New file.
5260
5261 2000-06-21  Andreas Jaeger  <aj@suse.de>
5262
5263         * stdio-common/temptest.c: Include <stdlib.h>.
5264         * stdio-common/tst-fileno.c: Likewise.
5265         * stdio-common/scanf4.c: Likewise.
5266         * stdio-common/scanf5.c: Likewise.
5267         * time/clocktest.c: Likewise.
5268         * posix/test-vfork.c: Likewise.
5269         * posix/globtest.c: Likewise.
5270         * io/test-utime.c: Likewise.
5271         * wctype/test_wcfuncs.c: Likewise.
5272         * crypt/cert.c: Likewise.
5273
5274         * stdio-common/tst-printfsz.c: Include <string.h>.
5275         * libio/tst_swscanf.c: Likewise.
5276         * libio/tst_wscanf.c: Likewise.
5277         * posix/runtests.c: Likewise.
5278         * posix/tst-getaddrinfo.c: Likewise.
5279         * posix/wordexp-test.c: Likewise.
5280         * misc/tst-efgcvt.c: Likewise.
5281
5282         * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
5283         * nss/test-netdb.c: Likewise.
5284
5285         * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
5286         supported kernel for MIPS.
5287
5288         * elf/vismod2.c: Include <stdlib.h> for abort prototype.
5289         * rt/aio_suspend.c: Likewise.
5290
5291 2000-06-20  Ulrich Drepper  <drepper@redhat.com>
5292
5293         * math/libm-test.inc: Include <string.h>.
5294
5295 2000-06-20  Jes Sorensen  <jes@linuxcare.com>
5296
5297         * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
5298
5299 2000-06-20  Jes Sorensen  <jes@linuxcare.com>
5300
5301         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
5302         * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
5303
5304 2000-06-20  David Mosberger-Tang  <davidm@hpl.hp.com>
5305
5306         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
5307
5308 2000-06-20  Jes Sorensen  <jes@linuxcare.com>
5309
5310         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
5311
5312 2000-06-20  Ulrich Drepper  <drepper@redhat.com>
5313
5314         * locale/programs/ld-collate.c (insert_value): Now take string and
5315         length instead of struct token* parameter.  Adjust use of token.
5316         (handle_ellipsis): Likewise.
5317         (collate_read): Allow <Uxxxx> names and transform them into names
5318         to be passed to insert_value and handle_ellipsis.
5319
5320         * locale/programs/ld-ctype.c (uninames): New array with names of
5321         digits in <Uxxxxxxxx> format.
5322         (ctype_finish): Correct search for space character value.  Likewise
5323         for default outdigits values.
5324
5325 2000-06-20  Greg McGary  <greg@mcgary.org>
5326
5327         * Makerules (objects): Add BP thunks.
5328
5329 2000-06-20  Ulrich Drepper  <drepper@redhat.com>
5330
5331         * locale/programs/charmap.c (parse_charmap): Handle UCS names also
5332         in width definitions.
5333
5334 2000-06-20  Andreas Jaeger  <aj@suse.de>
5335
5336         * sysdeps/mips/fpu/libm-test-ulps: New file.
5337
5338         * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
5339         first.
5340
5341         * sysdeps/mips/fpu/feholdexcpt.c: New file.
5342
5343         * sysdeps/mips/fpu/fraiseexcpt.c: New file.
5344
5345 2000-06-19  Ulrich Drepper  <drepper@redhat.com>
5346
5347         * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
5348         change in gconv_builtin.h.
5349
5350         * malloc/Makefile: Change all references to memprof into memusage.
5351         * malloc/memprof.c: Rename to...
5352         * malloc/memusage.c: ...this.  New file.
5353         * malloc/memprof.sh: Rename to...
5354         * malloc/memusage.sh: ...this.  New file.
5355         * malloc/memprofstat.c: Rename to...
5356         * malloc/memusagestat.c: ...this.  New file.
5357         * sysdeps/alpha/memprof.h: Rename to..
5358         * sysdeps/alpha/memusage.h: ...this.  New file.
5359         * sysdeps/arm/memprof.h: Rename to..
5360         * sysdeps/arm/memusage.h: ...this.  New file.
5361         * sysdeps/generic/memprof.h: Rename to..
5362         * sysdeps/generic/memusage.h: ...this.  New file.
5363         * sysdeps/i386/memprof.h: Rename to..
5364         * sysdeps/i386/memusage.h: ...this.  New file.
5365         * sysdeps/ia64/memprof.h: Rename to..
5366         * sysdeps/ia64/memusage.h: ...this.  New file.
5367         * sysdeps/m68k/memprof.h: Rename to..
5368         * sysdeps/m68k/memusage.h: ...this.  New file.
5369         * sysdeps/mips/memprof.h: Rename to..
5370         * sysdeps/mips/memusage.h: ...this.  New file.
5371         * sysdeps/powerpc/memprof.h: Rename to..
5372         * sysdeps/powerpc/memusage.h: ...this.  New file.
5373         * sysdeps/sparc/memprof.h: Rename to..
5374         * sysdeps/sparc/memusage.h: ...this.  New file.
5375         * sysdeps/sh/memprof.h: Rename to..
5376         * sysdeps/sh/memusage.h: ...this.  New file.
5377
5378         * elf/sprof.c (print_version): Update year.
5379
5380         * elf/sprof.c (load_shobj): Don't always add load address to dynamic
5381         table entry values.  Use D_PTR.
5382         * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
5383         binaries without PLT.  Patches by James Mathiesen <james@curl.com>.
5384
5385 2000-06-20  Jes Sorensen  <jes@linuxcare.com>
5386
5387         * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5388         * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
5389         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
5390         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
5391
5392 2000-05-05  Jes Sorensen  <jes@linuxcare.com>
5393
5394         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
5395
5396 2000-06-16  Jes Sorensen  <jes@linuxcare.com>
5397
5398         * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
5399         * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
5400         * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
5401
5402         * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
5403
5404         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
5405         kernel change.
5406
5407         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
5408         __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
5409         structure.
5410         Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
5411         implementation.
5412
5413 2000-06-15  Jes Sorensen  <jes@linuxcare.com>
5414
5415         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
5416
5417 2000-06-08  Jes Sorensen  <jes@linuxcare.com>
5418
5419         * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
5420
5421 2000-06-19  Ulrich Drepper  <drepper@redhat.com>
5422
5423         * iconv/gconv_int.h (strict gconv_module): Remove all members
5424         associated with regular expressions.  Use a simple string as the
5425         from name.
5426         * iconv/gconv_db.c: Remove code handling regular expressions.
5427         * iconv/gconv_conf.c: Likewise.
5428         * iconv/iconv_prog.c: Likewise.
5429         * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
5430
5431         * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
5432         General namespace cleanup.
5433         (struct __gconv_trans_data): Add next field.
5434         (struct __gconv_step_data): Make __trans a pointer.
5435         * iconv/gconv_conf.c: Split out code to find gconv directories from
5436         __gconv_read_conf in new functions.
5437         * iconv/gconv_int.h: Define new data structure and declare new
5438         functions for handling of gconv directory list.
5439         * iconv/gconv_open.c: Allow more than one error handling step being
5440         used.  Call function to load error handling module if it is none
5441         of the builtin transformations.
5442         * iconv/gconv_close.c: Add code to free transliteration data.
5443         * iconv/gconv_trans.c: Add functions to load and unload modules
5444         implementing transliteration etc.
5445         * iconv/skeleton.c: Call all context functions now that more than
5446         one module is allowed.
5447         * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
5448         * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
5449         where the full error handling using transliteration is needed.
5450         * iconvdata/8bit-gap.c: Likewise.
5451         * iconvdata/8bit-generic.c: Likewise.
5452         * iconvdata/ansi_x3.110.c: Likewise.
5453         * iconvdata/big5.c: Likewise.
5454         * iconvdata/big5hkscs.c: Likewise.
5455         * iconvdata/euc-cn.c: Likewise.
5456         * iconvdata/euc-jp.c: Likewise.
5457         * iconvdata/euc-kr.c: Likewise.
5458         * iconvdata/euc-tw.c: Likewise.
5459         * iconvdata/gbgbk.c: Likewise.
5460         * iconvdata/gbk.c: Likewise.
5461         * iconvdata/iso-2022-cn.c: Likewise.
5462         * iconvdata/iso-2022-jp.c: Likewise.
5463         * iconvdata/iso-2022-kr.c: Likewise.
5464         * iconvdata/iso646.c: Likewise.
5465         * iconvdata/iso8859-1.c: Likewise.
5466         * iconvdata/iso_6937-2.c: Likewise.
5467         * iconvdata/iso_6937.c: Likewise.
5468         * iconvdata/johab.c: Likewise.
5469         * iconvdata/sjis.c: Likewise.
5470         * iconvdata/t.61.c: Likewise.
5471         * iconvdata/uhc.c: Likewise.
5472         * iconvdata/unicode.c: Likewise.
5473         * iconvdata/utf-16.c: Likewise.
5474         * libio/iofwide.c: Reset __trans member of __gconv_trans_data
5475         structure correctly after last change.
5476         * wcsmbs/btowc.c: Likewise.
5477         * wcsmbs/mbrtowc.c: Likewise.
5478         * wcsmbs/mbsnrtowcs.c: Likewise.
5479         * wcsmbs/mbsrtowcs.c: Likewise.
5480         * wcsmbs/wcrtomb.c: Likewise.
5481         * wcsmbs/wcsnrtombs.c: Likewise.
5482         * wcsmbs/wcsrtombs.c: Likewise.
5483         * wcsmbs/wctob.c: Likewise.
5484
5485         * localedata/Makefile: Set -Wno-format for some files since gcc does
5486         not know all the format specifiers.
5487
5488 2000-06-18  Ulrich Drepper  <drepper@redhat.com>
5489
5490         * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
5491         unneeded code.
5492         * locale/lc-time.c (_nl_init_era_entries): Likewise.
5493
5494 2000-06-18  Andreas Jaeger  <aj@suse.de>
5495
5496         * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
5497         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5498
5499 2000-06-17  Ulrich Drepper  <drepper@redhat.com>
5500
5501         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
5502         LINUX_LINK_MAX.
5503         * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
5504
5505         * locale/programs/ld-ctype.c (ctype_output): Really write out
5506         mboutdigits information.
5507         * localedata/tst-trans.c: Add code to test printf's I flag with locale.
5508         * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
5509         * localedata/tests/trans.def: Add outdigit information.
5510
5511         * localedata/tst-mbswcs3.c: Remove comment.
5512
5513         * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
5514         * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
5515         * libio/tst_wprintf.c (main): Add test for I flag.
5516
5517         * iconv/gconv_trans.c: Implement handling if translit_ignore.
5518         * locale/langinfo.h: Add entries for translit_ignore information.
5519         * locale/categories.def: Add entries for new LC_CTYPE elements.
5520         * locale/C-ctype.c: Add initializers for new fields.  Use NULL
5521         pointer instead of "" where possible.
5522         * locale/programs/ld-ctype.c: Write out translit_ignore information.
5523         * intl/Depend: Add localedata.
5524         * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
5525         * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
5526
5527 2000-06-16  Ulrich Drepper  <drepper@redhat.com>
5528
5529         * locale/langinfo.h: Add entries for default_missing information.
5530         * locale/C-ctype.c: Add initializers for new fields.
5531         * iconv/gconv_trans.c: If nothing matched, try to use default_missing
5532         information.
5533         * locale/categories.h: Add entries for all LC_CTYPE values.
5534         * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
5535         information.
5536
5537         * localedata/tst-trans.c: Write out an error message if class is
5538         not found.
5539
5540         * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
5541         * iconv/gconv_open.c: Remove error handling specification from `from'
5542         character set name.
5543         * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
5544         new parameter to always enable transliteration.
5545         * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
5546         change.
5547         (struct locale_data): Add new members use_translit and options.
5548         * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
5549         character set name contained modifier TRANSLIT.
5550         * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
5551         and options fields.
5552         (_nl_unload_locale): Free options string if necessary.
5553         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
5554         the locale names suggested this.
5555         * locale/C-address.c: Add two new initialilzers to adjust data
5556         structure for new format.
5557         * locale/C-collate.c: Likewise.
5558         * locale/C-ctype.c: Likewise.
5559         * locale/C-identification.c: Likewise.
5560         * locale/C-measurement.c: Likewise.
5561         * locale/C-messages.c: Likewise.
5562         * locale/C-monetary.c: Likewise.
5563         * locale/C-name.c: Likewise.
5564         * locale/C-numeric.c: Likewise.
5565         * locale/C-paper.c: Likewise.
5566         * locale/C-telephone.c: Likewise.
5567         * locale/C-time.c: Likewise.
5568
5569         * locale/setlocale.c: Add some more __builtin_expect.
5570
5571 2000-06-15  Ulrich Drepper  <drepper@redhat.com>
5572
5573         * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
5574         unsigned char **.
5575         (__gconv_init_fct): Remove two parameters.
5576         * iconv/gconv_int.h (__gconv_transliterate): Renamed from
5577         gconv_transliterate.  Remove two parameters.
5578         Change prototypes of builtin functions according to __gconv_fct change.
5579         * iconv/skeleton.c: Change type of fifth parameter.  make sure it is
5580         != NULL only during error handling.  Stop in this case after the
5581         conversion.
5582         * iconv/gconv_trans.c: Replace with real implementation for
5583         __gconv_transliterate.
5584         * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
5585         * iconv/gconv.c: Change calls to downstream functions once again.
5586         Use NULL for the fifth parameter instead of pointer to output buffer.
5587         * libio/iofwide.c: Likewise.
5588         * wcsmbs/btowc.c: Likewise.
5589         * wcsmbs/mbrtowc.c: Likewise.
5590         * wcsmbs/mbsnrtowcs.c: Likewise.
5591         * wcsmbs/mbsrtowcs.c: Likewise.
5592         * wcsmbs/wcrtomb.c: Likewise.
5593         * wcsmbs/wcsnrtombs.c: Likewise.
5594         * wcsmbs/wcsrtombs.c: Likewise.
5595         * wcsmbs/wctob.c: Likewise.
5596         * iconv/gconv_simple.c: Remove two parameters from error handling
5597         function call.
5598         * iconvdata/8bit-gap.c: Likewise.
5599         * iconvdata/8bit-generic.c: Likewise.
5600         * iconvdata/ansi_x3.110.c: Likewise.
5601         * iconvdata/big5.c: Likewise.
5602         * iconvdata/big5hkscs.c: Likewise.
5603         * iconvdata/euc-cn.c: Likewise.
5604         * iconvdata/euc-jp.c: Likewise.
5605         * iconvdata/euc-kr.c: Likewise.
5606         * iconvdata/euc-tw.c: Likewise.
5607         * iconvdata/gbgbk.c: Likewise.
5608         * iconvdata/gbk.c: Likewise.
5609         * iconvdata/iso-2022-cn.c: Likewise.
5610         * iconvdata/iso-2022-jp.c: Likewise.
5611         * iconvdata/iso-2022-kr.c: Likewise.
5612         * iconvdata/iso646.c: Likewise.
5613         * iconvdata/iso8859-1.c: Likewise.
5614         * iconvdata/iso_6937-2.c: Likewise.
5615         * iconvdata/iso_6937.c: Likewise.
5616         * iconvdata/johab.c: Likewise.
5617         * iconvdata/sjis.c: Likewise.
5618         * iconvdata/t.61.c: Likewise.
5619         * iconvdata/uhc.c: Likewise.
5620         * iconvdata/unicode.c: Likewise.
5621         * iconvdata/utf-16.c: Likewise.
5622
5623 2000-06-15  Greg McGary  <greg@mcgary.org>
5624
5625         * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
5626         of callnum assignment.  Tolerate callnum expressions containing
5627         parens.
5628
5629 2000-06-14  Ulrich Drepper  <drepper@redhat.com>
5630
5631         * login/Makefile (utmpd): Remove rule to build utmpd.
5632
5633         * csu/Versions: Move libgcc frame handling functions from here...
5634         * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
5635         * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
5636         * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
5637         * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
5638         * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
5639         * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
5640         New file.
5641         * sysdeps/mach/hurd/i386/Versions: ...and here.  New file.
5642
5643         * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
5644
5645         * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
5646
5647 2000-06-14  Kazumoto Kojima  <kkojima@rr.iij4u.or.jp>
5648
5649         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
5650         compatibility.
5651         * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
5652         * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
5653         * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
5654         * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
5655
5656 2000-06-14  Jakub Jelinek  <jakub@redhat.com>
5657
5658         * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
5659         defined, terminate quotes and read them after the comment char.
5660         * configure.in (HAVE_SECTION_QUOTES): Test whether
5661         __attribute__((section ("x"))) puts quotes around x or not.
5662         * config.h.in (HAVE_SECTION_QUOTES): Add.
5663         * configure: Rebuilt.
5664
5665 2000-06-14  Andreas Jaeger  <aj@suse.de>
5666
5667         * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
5668         depending on the configure option --sysconfdir.
5669         Closes PR libc/1762.
5670         Patch by Andreas Schwab <schwab@suse.de>.
5671
5672         * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
5673         entry point.
5674         Reported by Jim Pick <jim@jimpick.com>.
5675
5676 2000-06-14  Ulrich Drepper  <drepper@redhat.com>
5677
5678         * misc/syslog.c (vsyslog): Allow open_memstream to fail without
5679         crashing the application.  Emit some simple error message.
5680         Reported by mju@panasas.com [PR libc/1769].
5681
5682 2000-06-13  Ulrich Drepper  <drepper@redhat.com>
5683
5684         * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
5685
5686         * crypt/Makefile (distribute): Add md5.h.
5687
5688         * Makefile (distribute): Add include/shlib-compat.h.
5689
5690         * Make-dist: Search for tests also in sysdeps hierachy.
5691
5692         * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
5693         ufc.c, speeds.c, README.ufc-crypt, and Banner.
5694
5695         * sysdeps/sparc/Subdirs: New file.
5696
5697         * locale/Makefile (distribute): Add weightwc.h and
5698         programs/localedef.h.
5699
5700         * time/Makefile (distribute): Add datemsk.
5701
5702         * sysdeps/ia64/Dist: Add softpipe.h.
5703
5704         * sysdeps/unix/sysv/aix/Dist: New file.
5705
5706         * posix/setpgrp.c: Moved to...
5707         * sysdeps/generic/setpgrp.c: ...here.  New file.
5708         * io/mknod.c: Moved to...
5709         * sysdeps/generic/mknod.c: ...here.  New file.
5710
5711         * sysdeps/unix/sysv/linux/ia64/Dist: New file.
5712
5713         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
5714
5715         * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
5716
5717         * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
5718         gprsave0.S, gprrest1.S, and gprrest0.S.
5719
5720         * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
5721
5722         * posix/Makefile (routines): Add spawnattr_getsigmask,
5723         spawnattr_getschedpolicy, spawnattr_getschedparam,
5724         spawnattr_setsigmask, spawnattr_setschedpolicy, and
5725         spawnattr_setschedparam.
5726         * posix/Versions: Add posix_spawnattr_getschedpolicy,
5727         posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
5728         posix_spawnattr_setschedparam.
5729
5730         * posix/spawnattr_setschedparam.c: Fix typo.
5731
5732         * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
5733         Correct typo.
5734
5735         * login/programs/utmpd.c: Removed.
5736         * login/programs/utmpd.h: Removed.
5737         * login/programs/utmpd-private.h: Removed.
5738
5739         * Makefile (distribute): Add include/db_185.h and include/db.h.
5740
5741         * iconvdata/Makefile (distribute): Add iso-ir-165.c and
5742         iso-ir-165.h.
5743
5744         * elf/Makefile (distribute): Add missing files.
5745
5746         * dlfcn/Makefile: Add back rules to include eval in libdl.so.
5747         * elf/eval.c: Moved to...
5748         * dlfcn/eval.c: ...here.  New file.
5749
5750         * Makefile (distribute): Also distribute ChangeLog.1?.
5751
5752         * Make-dist (+tsrcs): Remove .args handling here as well.
5753
5754         * rt/Makefile (tests): Add tst-timer.
5755         * sysdeps/generic/tst-timer.c: New file.
5756
5757         * Makerules (sources): Don't add BP sources here.
5758
5759         * login/Makefile (distribute): Remove xtmp.h.
5760
5761         * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
5762         is true.  Reported by Bruno Haible <haible@ilog.fr>.
5763
5764 2000-06-13  Andreas Jaeger  <aj@suse.de>
5765
5766         * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
5767         Patch by Ralf Baechle <ralf@gnu.org>.
5768
5769 2000-06-13  Ulrich Drepper  <drepper@redhat.com>
5770
5771         * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
5772         for mincore syscall.
5773
5774         * misc/sys/cdefs.h: Define __bounded and __unbounded if
5775         __BOUNDED_POINTERS__ is not defined.
5776
5777 2000-06-07  Greg McGary  <greg@mcgary.org>
5778
5779         * sysdeps/generic/bp-sym.h: New file.
5780         * sysdeps/generic/bp-start.h: New file.
5781         * sysdeps/i386/elf/start.S: Designate BP symbols.
5782         * sysdeps/generic/libc-start.c: Wrap bounds around
5783         argv & envp and each of their string members.
5784
5785 2000-06-07  Greg McGary  <greg@mcgary.org>
5786
5787         * sysdeps/unix/make-syscalls.sh: Add comments to
5788         output that aid debugging & comprehension.
5789         Map simple syscall signatures to number of args.
5790         Generate BP syscall thunk definitions.
5791         * sysdeps/generic/bp-thunks.h: New file.
5792         * sysdeps/unix/syscalls.list: Replace arg-count with
5793         simple return+arg signature.
5794         * sysdeps/unix/common/syscalls.list: Likewise.
5795         * sysdeps/unix/inet/syscalls.list: Likewise.
5796         * sysdeps/unix/mman/syscalls.list: Likewise.
5797         * sysdeps/unix/sysv/syscalls.list: Likewise.
5798         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5799         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5800
5801 2000-06-07  Greg McGary  <greg@mcgary.org>
5802
5803         * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
5804         for all files *.[cS].
5805         (CFLAGS-.ob): Don't optimize sibling calls.
5806         (bppfx): New variable.
5807         * Makerules (elide-bp-thunks): New variable.
5808         (elide-routines.*): Elide BP-* files for all but *.ob.
5809         (sources): Include bp-thunks.
5810
5811 2000-06-12  Ulrich Drepper  <drepper@redhat.com>
5812
5813         * iconv/gconv_simple.c: Remove unnecessary prototype.
5814
5815         * iconv/gconv_trans.c: Pretty print.
5816
5817         * elf/elf.h (R_SH_NUM): Got accidently dropped.
5818
5819         * sysdeps/unix/sysv/linux/configure.in: Improve handling of
5820         minimal kernel versions.  Add information about IA-64 kernel.
5821
5822         * sysdeps/unix/sysv/linux/configure.in: Allow architecture
5823         specific minimal supported kernel versions to be specified.
5824
5825         * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
5826         step data structure.
5827         * wcsmbs/btowc.c: Likewise.
5828         * wcsmbs/mbrtowc.c: Likewise.
5829         * wcsmbs/mbsnrtowcs.c: Likewise.
5830         * wcsmbs/mbsrtowcs.c: Likewise.
5831         * wcsmbs/wcrtomb.c: Likewise.
5832         * wcsmbs/wcsnrtombs.c: Likewise.
5833         * wcsmbs/wcsrtombs.c: Likewise.
5834         * wcsmbs/wctob.c: Likewise.
5835
5836         * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
5837         * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
5838
5839         * shlib-versions: Earliest backward compatible version for SH is 2.2.
5840
5841         * misc/sys/cdefs.h: Remove one more __P.
5842
5843         * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
5844         Reported by HJ Lu.
5845
5846         * sysdeps/sh/sh3/bits/setjmp.h: Removed.
5847         * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
5848         * sysdeps/sh/bits/setjmp.h: ...here.  New file.
5849
5850 2000-06-12  Kazumoto Kojima  <kkojima@rr.iij4u.or.jp>
5851             Yutaka Niibe  <gniibe@chroot.org>
5852
5853         * configure.in: Add machine sh3, sh4.
5854         * elf/elf.h: Add SH specific declarations of relocations.
5855         * shlib-versions: Add sh*-*-linux* cases.
5856
5857 2000-06-12  Ulrich Drepper  <drepper@redhat.com>
5858
5859         * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
5860         * sysdeps/sh/bsd-_setjmp.S: ...here.  New file.
5861         * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
5862         * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
5863         * sysdeps/sh/bsd-setjmp.S: ...here.  New file.
5864         * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
5865
5866         * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
5867         instead of KERNEL_MATH_EMULATION.
5868         * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
5869         KERNEL_MATH_EMULATION.
5870
5871         * sysdeps/sh/Dist: Removed.  There is no ieee754.h file.
5872         * sysdeps/sh/sh3/dl-machine.h: Moved to...
5873         * sysdeps/sh/dl-machine.h: ...here.  New file.
5874         * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
5875         and include generic SH version.
5876         * sysdeps/sh/sh3/bits/endian.h: Move to...
5877         * sysdeps/sh/bits/endian.h: ...here.  New file.
5878         * sysdeps/sh/sh4/bits/endian.h: Removed.
5879         * sysdeps/sh/sh3/bits/huge_val.h: Move to...
5880         * sysdeps/sh/bits/huge_val.h: ...here.  New file.
5881         * sysdeps/sh/sh4/bits/huge_val.h: Removed.
5882
5883         * include/libc-symbols.h (link_warning): Work around a change in
5884         GAS which warns about changing section attributes.
5885         Proposed by Nick Clifton <nickc@redhat.com>.
5886
5887 2000-06-12  H.J. Lu  <hjl@gnu.org>
5888
5889         * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
5890
5891 2000-06-11  H.J. Lu  <hjl@gnu.org>
5892
5893         * sysdeps/i386/fpu/Versions: New file.
5894
5895 2000-06-12  Ulrich Drepper  <drepper@redhat.com>
5896
5897         * iconv/gconv.h (__gconv_trans_context_fct): Remove two
5898         parameters.
5899         * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
5900         exists.
5901
5902 2000-06-12  Jes Sorensen  <jes@linuxcare.com>
5903
5904         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
5905         * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
5906         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
5907
5908         * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
5909         * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
5910         * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
5911
5912 2000-06-12  Kazumoto Kojima  <kkojima@rr.iij4u.or.jp>
5913             Yutaka Niibe  <gniibe@chroot.org>
5914
5915         * sysdeps/sh/Dist: New file.
5916         * sysdeps/sh/Implies: New file.
5917         * sysdeps/sh/elf/initfini.c: New file.
5918         * sysdeps/sh/gmp-mparam.h: New file.
5919         * sysdeps/sh/init-first.c: New file.
5920         * sysdeps/sh/machine-gmon.h: New file.
5921         * sysdeps/sh/memcpy.S: New file.
5922         * sysdeps/sh/memprof.h: New file.
5923         * sysdeps/sh/memset.S: New file.
5924         * sysdeps/sh/sh3/__longjmp.S: New file.
5925         * sysdeps/sh/sh3/bits/endian.h: New file.
5926         * sysdeps/sh/sh3/bits/huge_val.h: New file.
5927         * sysdeps/sh/sh3/bits/setjmp.h: New file.
5928         * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
5929         * sysdeps/sh/sh3/bsd-setjmp.S: New file.
5930         * sysdeps/sh/sh3/dl-machine.h: New file.
5931         * sysdeps/sh/sh3/setjmp.S: New file.
5932         * sysdeps/sh/sh4/__longjmp.S: New file.
5933         * sysdeps/sh/sh4/bits/endian.h: New file.
5934         * sysdeps/sh/sh4/bits/huge_val.h: New file.
5935         * sysdeps/sh/sh4/bits/setjmp.h: New file.
5936         * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
5937         * sysdeps/sh/sh4/bsd-setjmp.S: New file.
5938         * sysdeps/sh/sh4/dl-machine.h: New file.
5939         * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
5940         * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
5941         * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
5942         * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
5943         * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
5944         * sysdeps/sh/sh4/fpu/fegetround.c: New file.
5945         * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
5946         * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
5947         * sysdeps/sh/sh4/fpu/fesetround.c: New file.
5948         * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
5949         * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
5950         * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
5951         * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
5952         * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
5953         * sysdeps/sh/sh4/setjmp.S: New file.
5954         * sysdeps/sh/elf/start.S: New file.
5955         * sysdeps/sh/sys/ucontext.h: New file.
5956         * sysdeps/sh/strlen.S: New file.
5957         * sysdeps/sh/sysdep.h: New file.
5958         * sysdeps/unix/sh/sysdep.S: New file.
5959         * sysdeps/unix/sh/sysdep.h: New file.
5960         * sysdeps/unix/sysv/linux/sh/Dist: New file.
5961         * sysdeps/unix/sysv/linux/sh/Makefile: New file.
5962         * sysdeps/unix/sysv/linux/sh/Versions: New file.
5963         * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
5964         * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
5965         * sysdeps/unix/sysv/linux/sh/brk.c: New file.
5966         * sysdeps/unix/sysv/linux/sh/chown.c: New file.
5967         * sysdeps/unix/sysv/linux/sh/clone.S: New file.
5968         * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
5969         * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
5970         * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
5971         * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
5972         * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
5973         * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
5974         * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
5975         * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
5976         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
5977         * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
5978         * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
5979         * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
5980         * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
5981         * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
5982         * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
5983         * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
5984         * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
5985         * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
5986         * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
5987         * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
5988         * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
5989         * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
5990         * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
5991         * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
5992         * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
5993         * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
5994         * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
5995         * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
5996         * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
5997         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
5998         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
5999         * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
6000         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
6001         * sysdeps/unix/sysv/linux/sh/socket.S: New file.
6002         * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
6003         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6004         * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
6005         * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
6006         * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
6007         * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
6008         * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
6009         * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
6010
6011 2000-06-12  Ulrich Drepper  <drepper@redhat.com>
6012
6013         * Rules (%.out): Define GCONV_PATH in the environment.
6014         * assert/Depend: New file.
6015         * iconvdata/Depend: New file.
6016         * intl/Depend: New file.
6017         * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
6018         * intl/tst-gettext.sh: Likewise.
6019         * iconv/Makefile (routines): Add gconv_trans.
6020         * iconv/gconv_trans.c: New file.
6021         * iconv/gconv.h (struct __gconv_trans_data): New type.
6022         (__gconv_fct): New parameter with starting position in output buffer.
6023         (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
6024         __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
6025         (struct __gconv_step): Add new member __trans.
6026         * iconv/gconv_int.h: Pretty print prototypes.
6027         (gconv_transliterate): New prototype.
6028         (__BUILTIN_TRANS): Update for new conversion function interface.
6029         * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
6030         * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
6031         in names, find appropriate function, and install in the conversion
6032         steps it can be used.
6033         * iconv/skeleton.c: Add additional parameter for beginning of output
6034         buffer.  Change calls of downstream functions.
6035         * iconv/loop.c: Change loop function interface completely.  Pass in
6036         step and step_data structure.  Remove optimization for BODY with
6037         NEED_LENGTH_TEST == 0.
6038         * iconv/gconv_simple.c: Update interfaces of functions.  Insert
6039         appropriate error handling code to use transliteration steps.  Remove
6040         optimization for BODY with NEED_LENGTH_TEST == 0.
6041         * iconvdata/8bit-gap.c: Likewise.
6042         * iconvdata/8bit-generic.c: Likewise.
6043         * iconvdata/ansi_x3.110.c: Likewise.
6044         * iconvdata/big5.c: Likewise.
6045         * iconvdata/big5hkscs.c: Likewise.
6046         * iconvdata/euc-cn.c: Likewise.
6047         * iconvdata/euc-jp.c: Likewise.
6048         * iconvdata/euc-kr.c: Likewise.
6049         * iconvdata/euc-tw.c: Likewise.
6050         * iconvdata/gbgbk.c: Likewise.
6051         * iconvdata/gbk.c: Likewise.
6052         * iconvdata/iso-2022-cn.c: Likewise.
6053         * iconvdata/iso-2022-jp.c: Likewise.
6054         * iconvdata/iso-2022-kr.c: Likewise.
6055         * iconvdata/iso646.c: Likewise.
6056         * iconvdata/iso8859-1.c: Likewise.
6057         * iconvdata/iso_6937-2.c: Likewise.
6058         * iconvdata/iso_6937.c: Likewise.
6059         * iconvdata/johab.c: Likewise.
6060         * iconvdata/sjis.c: Likewise.
6061         * iconvdata/t.61.c: Likewise.
6062         * iconvdata/uhc.c: Likewise.
6063         * iconvdata/unicode.c: Likewise.
6064         * iconvdata/utf-16.c: Likewise.
6065         * libio/iofwide.c: Adjust to new interface of gconv functions.  Use
6066         DL_CALL_FCT.
6067         * wcsmbs/btowc.c: Likewise.
6068         * wcsmbs/mbrtowc.c: Likewise.
6069         * wcsmbs/mbsnrtowcs.c: Likewise.
6070         * wcsmbs/mbsrtowcs.c: Likewise.
6071         * wcsmbs/wcrtomb.c: Likewise.
6072         * wcsmbs/wcsnrtombs.c: Likewise.
6073         * wcsmbs/wcsrtombs.c: Likewise.
6074         * wcsmbs/wctob.c: Likewise.
6075
6076 2000-04-11  Geoff Keating  <geoffk@cygnus.com>
6077
6078         * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
6079         other header files.  Mention about 128-byte cache line sizes.
6080         (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
6081         * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
6082         for current calling sequence.
6083         * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
6084
6085         * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
6086         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6087
6088         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
6089         and setrlimit syscalls for backwards compatibility.
6090
6091 2000-06-10  Ulrich Drepper  <drepper@redhat.com>
6092
6093         * iconv/skeleton.c:  Rename converted written to correcter name
6094         irreversible.
6095         * iconv/gconv.c: Rename converted variable to correcter name
6096         irreversible.
6097         * iconv/gconv_int.h: Likewise.
6098         * iconv/gconv_simple.c: Likewise.
6099         * iconv/iconv.c: Likewise.
6100         * iconv/loop.c: Likewise.
6101         * iconvdata/8bit-gap.c: Likewise.
6102         * iconvdata/8bit-generic.c: Likewise.
6103         * iconvdata/ansi_x3.110.c: Likewise.
6104         * iconvdata/big5.c: Likewise.
6105         * iconvdata/big5hkscs.c: Likewise.
6106         * iconvdata/euc-cn.c: Likewise.
6107         * iconvdata/euc-jp.c: Likewise.
6108         * iconvdata/euc-kr.c: Likewise.
6109         * iconvdata/gbgbk.c: Likewise.
6110         * iconvdata/gbk.c: Likewise.
6111         * iconvdata/iso-2022-cn.c: Likewise.
6112         * iconvdata/iso-2022-jp.c: Likewise.
6113         * iconvdata/iso-2022-kr.c: Likewise.
6114         * iconvdata/iso646.c: Likewise.
6115         * iconvdata/iso8859-1.c: Likewise.
6116         * iconvdata/iso_6937-2.c: Likewise.
6117         * iconvdata/iso_6937.c: Likewise.
6118         * iconvdata/johab.c: Likewise.
6119         * iconvdata/sjis.c: Likewise.
6120         * iconvdata/t.61.c: Likewise.
6121         * iconvdata/uhc.c: Likewise.
6122         * iconvdata/unicode.c: Likewise.
6123         * iconvdata/utf-16.c: Likewise.
6124
6125         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
6126         __cmsg_data field with __extension__.
6127
6128 2000-06-10  David Mosberger  <davidm@hpl.hp.com>
6129
6130         * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
6131
6132 2000-06-10  Ulrich Drepper  <drepper@redhat.com>
6133
6134         * iconv/gconv_simple.c: Fix various small bugs in several
6135         functions.
6136
6137         * iconv/loop.c: Fix comment.
6138
6139 2000-06-10  Jakub Jelinek  <jakub@redhat.com>
6140
6141         * elf/link.h: Remove libc internal declarations.
6142         * include/link.h: Move them here.
6143
6144 2000-06-09  Ulrich Drepper  <drepper@redhat.com>
6145
6146         * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
6147         Patch by Dan Pop <Dan.Pop@cern.ch>.
6148
6149         Rewrite error message handling.
6150         * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
6151         _dl_catch_error.
6152         * elf/dl-error (struct catch): Add objname member.
6153         (_dl_signal_error): Take new parameter with object name.  When
6154         passing message on simply store object name and duplicate error
6155         message.
6156         (_dl_catch_error): Take new parameter.  Store object name in the
6157         place pointed to.
6158         * include/dlfcn.h: Adjust _dl_catch_error prototype.
6159         * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
6160         * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
6161         (dlerror): Add objname to asprintf() parameters.
6162         (_dl_error_run): Pass new parameter to _dl_catch_error.
6163         * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
6164         * elf/dl-open.c (_dl_open): Likewise.
6165         * elf/rtld.c (dl_main): Likewise.
6166         * elf/dl-close.c: Mark error messages with N_().
6167         * elf/dl-deps.c: Likewise.
6168         * elf/dl-error.c: Likewise.
6169         * elf/dl-load.c: Likewise.
6170         * elf/dl-open.c: Likewise.
6171         * elf/dl-reloc.c: Likewise.
6172         * elf/dl-support.c: Likewise.
6173         * elf/dl-sym.c: Likewise.
6174         * elf/dl-version.c: Likewise.
6175         * elf/dl-lookup.c: Add comments about problems with error message
6176         translations.
6177         * elf/dl-reloc.c: Likewise.
6178         * elf/dl-version.c: Likewise.
6179
6180 2000-06-09  H.J. Lu  <hjl@gnu.org>
6181
6182         * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
6183         after freeing it.
6184
6185         * dlfcn/Makefile (distribute): Add failtestmod.c.
6186         (tests): Add failtest.
6187         Add rules to build and run failtest.
6188         * dlfcn/failtest.c: New file.
6189         * dlfcn/failtestmod.c: New file.
6190
6191 2000-06-09  David Mosberger-Tang  <davidm@hpl.hp.com>
6192
6193         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
6194         * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
6195         * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
6196         * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
6197         * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
6198
6199 2000-06-09  Jes Sorensen  <jes@linuxcare.com>
6200
6201         * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
6202         * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
6203
6204 2000-06-09  Jes Sorensen  <jes@linuxcare.com>
6205             Ulrich Drepper  <drepper@redhat.com>
6206
6207         * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
6208         * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
6209         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
6210         * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
6211         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
6212         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
6213
6214 2000-06-09  Ulrich Drepper  <drepper@redhat.com>
6215
6216         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
6217         to find correct mount point despite wrong information from the
6218         kernel.
6219
6220 2000-06-09  Jes Sorensen  <jes@linuxcare.com>
6221
6222         * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
6223         the address of a symbol so function pointers are handled properly.
6224
6225 2000-06-08  Ulrich Drepper  <drepper@redhat.com>
6226
6227         * sysdeps/i386/Dist: Add bp-asm.h.
6228
6229         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
6230         defaultdir variable instead of "/var/shm" everywhere.
6231         (defaultdir): Change to /dev/shm/.
6232
6233 2000-06-08  Greg McGary  <greg@mcgary.org>
6234
6235         * sysdeps/i386/bp-asm.h: New file.
6236         * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
6237         offsets.  Add ENTER/LEAVE macros for optionally maintaining
6238         frame-pointer chain when debugging.
6239         * sysdeps/i386/add_n.S: Likewise.
6240         * sysdeps/i386/addmul_1.S: Likewise.
6241         * sysdeps/i386/lshift.S: Likewise.
6242         * sysdeps/i386/memchr.S: Likewise.
6243         * sysdeps/i386/memcmp.S: Likewise.
6244         * sysdeps/i386/mul_1.S: Likewise.
6245         * sysdeps/i386/rawmemchr.S: Likewise.
6246         * sysdeps/i386/rshift.S: Likewise.
6247         * sysdeps/i386/stpcpy.S: Likewise.
6248         * sysdeps/i386/stpncpy.S: Likewise.
6249         * sysdeps/i386/strchr.S: Likewise.
6250         * sysdeps/i386/strchrnul.S: Likewise.
6251         * sysdeps/i386/strcspn.S: Likewise.
6252         * sysdeps/i386/strpbrk.S: Likewise.
6253         * sysdeps/i386/strrchr.S: Likewise.
6254         * sysdeps/i386/strspn.S: Likewise.
6255         * sysdeps/i386/strtok.S: Likewise.
6256         * sysdeps/i386/sub_n.S: Likewise.
6257         * sysdeps/i386/submul_1.S: Likewise.
6258         * sysdeps/i386/elf/setjmp.S: Likewise.
6259         * sysdeps/i386/i486/strcat.S: Likewise.
6260         * sysdeps/i386/i486/strlen.S: Likewise.
6261         * sysdeps/i386/i586/add_n.S: Likewise.
6262         * sysdeps/i386/i586/lshift.S: Likewise.
6263         * sysdeps/i386/i586/memcpy.S: Likewise.
6264         * sysdeps/i386/i586/memset.S: Likewise.
6265         * sysdeps/i386/i586/rshift.S: Likewise.
6266         * sysdeps/i386/i586/strchr.S: Likewise.
6267         * sysdeps/i386/i586/strcpy.S: Likewise.
6268         * sysdeps/i386/i586/strlen.S: Likewise.
6269         * sysdeps/i386/i586/sub_n.S: Likewise.
6270         * sysdeps/i386/i686/add_n.S: Likewise.
6271         * sysdeps/i386/i686/memcpy.S: Likewise.
6272         * sysdeps/i386/i686/mempcpy.S: Likewise.
6273         * sysdeps/i386/i686/memset.S: Likewise.
6274         * sysdeps/i386/i686/strcmp.S: Likewise.
6275
6276 2000-06-08  Ulrich Drepper  <drepper@redhat.com>
6277
6278         * sysdeps/unix/sysv/linux/getdtsz.c: New file.
6279
6280         * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
6281         256 and don't use OPEN_MAX.
6282
6283         * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
6284         use it instead of LINK_MAX.
6285         * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
6286
6287 2000-06-08  Andreas Jaeger  <aj@suse.de>
6288
6289         * libio/genops.c (_IO_list_lock): Only compile body if we're
6290         thread safe.
6291         (_IO_list_unlock): Likewise.
6292         (_IO_list_resetlock): Likewise.
6293
6294 2000-06-07  Ulrich Drepper  <drepper@redhat.com>
6295
6296         * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
6297         unless user defined it.
6298
6299         * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
6300         if not defined by the user.
6301
6302         * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
6303         * libio/iofwrite.c (_IO_fwrite): Likewise.
6304
6305         * time/time.h: Add missing __THROW for clock_getcpuclockid
6306         prototype.
6307
6308         * elf/Makefile (distribute): Add dl-dtprocnum.h.
6309         * include/elf.h: Include also <dl-dtprocnum.h>.
6310         * elf/dl-deps.c: Likewise.
6311         * elf/dl-lookup.c: Likewise.
6312         * elf/dl-runtime.c: Likewise.
6313         * elf/dl-version.c: Likewise.
6314         * elf/do-rel.h: Likewise.
6315         * elf/dynamic-link.h: Likewise.
6316         * elf/link.h: Likewise.
6317         * elf/rtld.c: Likewise.
6318         * sysdeps/generic/dl-dtprocnum.h: New file.
6319         * sysdeps/ia64/dl-dtprocnum.h: New file.
6320         * sysdeps/mips/dl-dtprocnum.h: New file.
6321         * sysdeps/sparc/dl-dtprocnum.h: New file.
6322
6323         * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
6324
6325         * elf/do-lookup.h: Add some __builtin_expect.
6326
6327         * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
6328
6329         * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
6330         (_dl_dynamic_weak): New variable.
6331         * elf/dl-support.c: Likewise.
6332         * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
6333         * elf/do-lookup.h: If we find a weak definition treat it like a
6334         normal symbol unless _dl_dynamic_weak is nonzero.  In the latter
6335         case treat it like before.
6336
6337         * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
6338         is in main program.
6339         * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
6340
6341         * elf/dl-addr.c (_dl_addr): Do exact testing of address range
6342         using l_map_start and l_map_end.
6343
6344         * elf/dl-version.c: Add __builtin_expect in many places.
6345
6346         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
6347         Update.
6348
6349 2000-06-04  Kaz Kylheku  <kaz@ashi.footprints.net>
6350
6351         Lock for stdio stream list becomes global, for use in LinuxThreads.
6352
6353         * libio/genops.c (_IO_iter_begin, _IO_iter_end,
6354         _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
6355         _IO_list_resetlock): New interface for iterating global list of
6356         streams without accessing the _IO_list_all global variable,
6357         and for manipulating the lock which protects this list.
6358         * libio/libioP.h: Likewise.
6359         * libio/Version: Add entries for the new functions.
6360
6361         * libio/libioP.h (_IO_ITER): New typedef, just an alias for
6362         pointer to _IO_FILE.
6363
6364 2000-06-07  Ulrich Drepper  <drepper@redhat.com>
6365
6366         * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
6367         BIT() must actually be BITw().
6368
6369         * locale/programs/ld-ctype.c: Handle SP and space consistently.
6370
6371         * locale/programs/charmap.c: Allow string arguments for
6372         code_set_name and repertoiremap.
6373
6374 2000-06-07  Andreas Jaeger  <aj@suse.de>
6375
6376         * elf/Makefile: Build ldconfig only when building shared libraries.
6377
6378 2000-06-07  Jakub Jelinek  <jakub@redhat.com>
6379
6380         * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
6381         __USE_ISOC99.
6382         (fdimf, __fdim, fdim): Likewise.
6383
6384 2000-06-07  Ulrich Drepper  <drepper@redhat.com>
6385
6386         * locale/findlocale.c: Add __builtin_expect in many places.
6387         * locale/loadlocale.c: Likewise.
6388
6389 2000-06-06  Greg McGary  <greg@mcgary.org>
6390
6391         * sysdeps/mips/elf/start.S: Trim redundant code.
6392
6393         * sysdeps/powerpc/memset.S: Define & use symbolic register names.
6394         Use C comments throughout.  Line up operands column with tabs.
6395         * sysdeps/powerpc/strchr.S: Likewise.
6396         * sysdeps/powerpc/strcmp.S: Likewise.
6397         * sysdeps/powerpc/strcpy.S: Likewise.
6398         * sysdeps/powerpc/strlen.S: Likewise.
6399
6400         * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
6401         Get low part of &__curbrk with @l.
6402
6403 2000-06-06  Ulrich Drepper  <drepper@redhat.com>
6404
6405         * iconvdata/utf-16.c: Add __builtin_expect in many places.
6406         * iconvdata/unicode.c: Likewise.
6407         * iconvdata/uhc.c: Likewise.
6408         * iconvdata/t.61.c: Likewise.
6409         * iconvdata/sjis.c: Likewise.
6410         * iconvdata/johab.c: Likewise.
6411         * iconvdata/iso_6937.c: Likewise.
6412         * iconvdata/iso_6937-2.c: Likewise.
6413         * iconvdata/iso8859-1.c: Likewise.
6414         * iconvdata/iso646.c: Likewise.
6415         * iconvdata/iso-2022-kr.c: Likewise.
6416         * iconvdata/iso-2022-jp.c: Likewise.
6417         * iconvdata/iso-2022-cn.c: Likewise.
6418         * iconvdata/gbgbk.c: Likewise.
6419         * iconvdata/gbk.c: Likewise.
6420         * iconvdata/euc-kr.c: Likewise.
6421         * iconvdata/euc-jp.c: Likewise.
6422         * iconvdata/euc-cn.c: Likewise.
6423
6424 2000-06-05  Ulrich Drepper  <drepper@redhat.com>
6425
6426         * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
6427         * iconvdata/big5.c: Likewise.
6428         * iconvdata/ansi_x3.110.c: Likewise.
6429         * iconvdata/8bit-generic.c: Likewise.
6430         * iconvdata/8bit-gap.c: Likewise.
6431         * iconv/loop.c: Likewise.
6432         * iconv/gconv_db.c: Likewise.
6433         * iconv/gconv_dl.c: Likewise.
6434         * iconv/gconv_simple.c: Likewise.
6435         * iconv/skeleton.c: Likewise.
6436
6437         * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
6438         (struct __gconv_step_data): Rename __is_last to __flags.
6439         * iconv/gconv_close.c: Change all uses of __is_last.
6440         * iconv/skeleton.c: Likewise.
6441         * iconvdata/iso-2022-cn.c: Likewise.
6442         * iconvdata/iso-2022-jp.c: Likewise.
6443         * iconvdata/iso-2022-kr.c: Likewise.
6444         * iconv/gconv_open.c: Likewise.  Avoid unneeded initializations.
6445         Recognize IGNORE error handling, set flag, and remove from name.
6446         * iconv/loop.c (ignore_errors_p): Define.
6447         Add flags parameter to both functions.
6448         * iconv/skeleton.c: Pass flags to all conversion functions.
6449         * iconv/gconv_simple.c: Add flags parameter to all functions.
6450         Don't return error for invald error if ignore flag is set.
6451         (ucs4_internal_loop_single): Add missing pointer increment.
6452         (internal_ucs4le_loop_single): Likewise.
6453         * iconv/iconv_prog.c: Implement handling of -c parameter.
6454         * iconvdata/8bit-gap.c: Don't return error for invald error if
6455         ignore flag is set.
6456         * iconvdata/8bit-generic.c: Likewise.
6457         * iconvdata/ansi_x3.110.c: Likewise.
6458         * iconvdata/big5.c: Likewise.
6459         * iconvdata/big5hkscs.c: Likewise.
6460         * iconvdata/euc-cn.c: Likewise.
6461         * iconvdata/euc-jp.c: Likewise.
6462         * iconvdata/euc-kr.c: Likewise.
6463         * iconvdata/gbgbk.c: Likewise.
6464         * iconvdata/gbk.c: Likewise.
6465         * iconvdata/iso-2022-cn.c: Likewise.
6466         * iconvdata/iso-2022-jp.c: Likewise.
6467         * iconvdata/iso-2022-kr.c: Likewise.
6468         * iconvdata/iso646.c: Likewise.
6469         * iconvdata/iso8859-1.c: Likewise.
6470         * iconvdata/iso_6937-2.c: Likewise.
6471         * iconvdata/iso_6937.c: Likewise.
6472         * iconvdata/johab.c: Likewise.
6473         * iconvdata/sjis.c: Likewise.
6474         * iconvdata/t.61.c: Likewise.
6475         * iconvdata/uhc.c: Likewise.
6476         * iconvdata/unicode.c: Likewise.
6477         * iconvdata/utf-16.c: Likewise.
6478         * libio/fileops.c: Likewise.
6479         * libio/iofwide.c: Likewise.
6480         * wcsmbs/btowc.c: Likewise.
6481         * wcsmbs/mbrtowc.c: Likewise.
6482         * wcsmbs/mbsnrtowcs.c: Likewise.
6483         * wcsmbs/mbsrtowcs.c: Likewise.
6484         * wcsmbs/wcrtomb.c: Likewise.
6485         * wcsmbs/wcsnrtombs.c: Likewise.
6486         * wcsmbs/wcsrtombs.c: Likewise.
6487         * wcsmbs/wctob.c: Likewise.
6488
6489         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
6490         an error.
6491
6492 2000-06-04  Ulrich Drepper  <drepper@redhat.com>
6493
6494         * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
6495         counter for the object we are releasing, just decrement it.
6496         Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
6497
6498 2000-06-04  Jakub Jelinek  <jakub@redhat.com>
6499
6500         * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
6501         if -ffast-math.
6502
6503 2000-06-04  Ulrich Drepper  <drepper@redhat.com>
6504
6505         * iconvdata/big5hkscs.c: New file.
6506         Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
6507
6508         * iconvdata/gconv-modules: Add entry for new module.
6509         * iconvdata/Makefile (modules): Add BIG5HKSCS.
6510         (distribute): Add big5hkscs.c.
6511
6512 2000-06-01  Jakub Jelinek  <jakub@redhat.com>
6513
6514         * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
6515         inlines to match prototypes in mathcalls.h.
6516         * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
6517         * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
6518         * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
6519         * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6520
6521 2000-06-03  Ulrich Drepper  <drepper@redhat.com>
6522
6523         * elf/elf.h (SHT_SUNW_move): Define.
6524
6525         * elf/elf.h: Add more Solaris compatiblity definitions.
6526
6527 2000-06-03  Andreas Jaeger  <aj@suse.de>
6528
6529         * sysdeps/powerpc/dl-start.S: Close open comment.
6530
6531 2000-06-03  Jakub Jelinek  <jakub@redhat.com>
6532
6533         * inet/Versions: Fix typo in rresvport_af export.
6534
6535 2000-06-02  Ulrich Drepper  <drepper@redhat.com>
6536
6537         * math/tgmath.h: Pretty print.
6538
6539 2000-06-02  Andreas Jaeger  <aj@suse.de>
6540
6541         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
6542         Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6543
6544 2000-06-02  Ulrich Drepper  <drepper@redhat.com>
6545
6546         * elf/rtld.c (process_envvars): Test for = after variable name.
6547
6548 2000-06-01  Ulrich Drepper  <drepper@redhat.com>
6549
6550         * sysdeps/generic/initfini.c (_init): One less relocation.  Don't
6551         have extra call to __gmon_start__, use the pointer we already have.
6552
6553         * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
6554         shifting.
6555
6556         * sysdeps/i386/elf/setjmp.S: Work around change is recent
6557         binutils.  gas now emits a jump through the PLT instead of a
6558         relative jump if the jump target is an exported symbol.
6559
6560 2000-05-31  Ulrich Drepper  <drepper@redhat.com>
6561
6562         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
6563
6564 2000-05-31  Andreas Jaeger  <aj@suse.de>
6565
6566         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
6567         gregset_t.
6568
6569         * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
6570         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6571
6572         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
6573         syscall.
6574         * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
6575
6576 2000-05-30  Ulrich Drepper  <drepper@redhat.com>
6577
6578         * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
6579
6580         * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
6581         * locale/localeconv.c: Make function versioned (with same definition).
6582
6583         * elf/Makefile (modules-names): Strip before using it.
6584
6585 2000-05-30  Andreas Jaeger  <aj@suse.de>
6586
6587         * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
6588         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
6589         * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
6590         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
6591         * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
6592         * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
6593
6594 2000-05-29  Ulrich Drepper  <drepper@redhat.com>
6595
6596         * Makefile: Add GNU make magic.
6597
6598         * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
6599         Removed.
6600         * inet/rcmd.c: Remove __P.  Remove unused variables.
6601         (iruserfopen): Make first parameter const.
6602         (ruserok_sa): Return result of ruserok2_sa.
6603         (__checkhost_sa): Correctly iterate through results of getaddrinfo.
6604         * inet/rexec.c: Remove unused variables.  Other small cleanups.
6605         * inet/ruserpass.c: Remove __P.  Remove unused variables.
6606         (ruserpass): Check results of memory allocation.
6607         * include/netdb.h: Add prototype for ruserpass.
6608
6609 2000-05-29  Andreas Jaeger  <aj@suse.de>
6610
6611         * elf/readlib.c (interpreters): Use LD_SO since this is supported
6612         for all platforms.
6613
6614 2000-05-29  Jakub Jelinek  <jakub@redhat.com>
6615
6616         * inet/rcmd.c (rresvport_af): Use correct port number.
6617
6618 2000-05-26  Andreas Schwab  <schwab@suse.de>
6619
6620         * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
6621         entries in all-sonames.
6622         ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
6623         preserving the old name if different for compatibility.
6624
6625 2000-05-29  Ulrich Drepper  <drepper@redhat.com>
6626
6627         * posix/Makefile (tests): Add tst-spawn.
6628         (tst-spawn-ARGS): New variable.
6629         * posix/tst-spawn.c: New file.
6630
6631         * posix/spawn_faction_addclose.c: Correctly account for new entry.
6632         * posix/spawn_faction_adddup2.c: Likewise.
6633         * posix/spawn_faction_addopen.c: Likewise.
6634         * posix/spawni.c: Correctly test for success of dup2 calls.
6635
6636         * posix/tst-preadwrite.c: Check success of malloc call.
6637
6638 2000-05-28  Ulrich Drepper  <drepper@redhat.com>
6639
6640         * posix/Makefile (tests): Add tst-exec.
6641         (tst-exec-ARGS): New variable.
6642         * posix/tst-exec.c: New file.
6643
6644         * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
6645
6646 2000-05-04  Andreas Jaeger  <aj@suse.de>
6647
6648         * string/string.h: Remove __strdup prototype, it's not needed in
6649         this file anymore.
6650
6651 2000-05-28  Ulrich Drepper  <drepper@redhat.com>
6652
6653         * posix/Makefile (tests): Add tst-fork.
6654         * posix/tst-fork.c: New file.
6655
6656         * resolv/inet_pton.c: Loose __P.
6657
6658 2000-05-21  Jakub Jelinek  <jakub@redhat.com>
6659
6660         * libio/libioP.h (_IO_CHECK_WIDE): Define.
6661         * libio/iosetbuffer.c (_IO_setbuffer): Use it.
6662         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6663         * libio/fileops.c (_IO_new_file_fopen): Return NULL if
6664         _IO_CHECK_WIDE fails.
6665
6666 2000-05-28  Ulrich Drepper  <drepper@redhat.com>
6667
6668         * po/da.po: New file.
6669
6670         * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
6671         Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
6672
6673         * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
6674         (Other iconv Implementations): Fix typo.
6675         Patch by Martin Pool <mbp@wistful.humbug.org.au>.
6676
6677 2000-05-27  Andreas Jaeger  <aj@suse.de>
6678
6679         * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
6680         normal version now.
6681         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
6682         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
6683         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6684         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6685         * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
6686         * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
6687
6688         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
6689         endianness to decide how to pass arguments.
6690         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6691
6692         * elf/vismain.c: Use test-skeleton interface.
6693         (TEST_FUNCTION): New macro.
6694         (do_test): Renamed from main.
6695
6696 2000-05-27  Ulrich Drepper  <drepper@redhat.com>
6697
6698         * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
6699         AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
6700
6701         * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify.  Correct
6702         handling of AI_V4MAPPED flag.
6703
6704         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
6705         of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
6706         perform lookup for T_A type and tell getanswer_r to convert the
6707         result with new argument.
6708         (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
6709         Don't convert addresses from IPv4 to IPv6 here.
6710         (getanswer_r): Take new parameter indicating if mapping from IPv4 to
6711         IPv6 is wanted.  Allow qtype and type from reply to disagree if
6712         IPv4 mapping has to be done.  Perform mappings if required by the
6713         caller and not if RES_USE_INET6 bit in _res.options is set.
6714         Add several __builtin_expect.
6715
6716 2000-05-26  Ulrich Drepper  <drepper@redhat.com>
6717
6718         * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
6719
6720         * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
6721         NULL.
6722
6723         * posix/tst-preadwrite.c: Allow parallel execution of
6724         tst-preadwrite and tst-preadwrite64.
6725
6726         * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
6727         * posix/tst-truncate.c: New file.
6728         * posix/tst-truncate64.c: New file.
6729
6730         * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
6731         was switched.
6732
6733         * posix/Makefile (tests): Add tst-preadwrite64.
6734         * posix/tst-preadwrite.c: Alloc file being used also for testing
6735         pread64 and pwrite64.
6736         * posix/tst-preadwrite64.c: New file.
6737
6738 2000-05-26  Andreas Jaeger  <aj@suse.de>
6739
6740         * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
6741         of arguments dependend on endianness.
6742         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
6743
6744         * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
6745         normal version now.
6746         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6747         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6748         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6749         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6750
6751         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
6752         endianness to check how to pass argument.
6753         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6754
6755         * elf/ldconfig.h: Update parameter list for process_elf_file.
6756
6757         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
6758         Add parameter file_length and pass it ot process_elf*file.
6759
6760         * sysdeps/generic/readelflib.c (check_ptr): New.
6761         (process_elf_file): Use check_ptr to check all accesses to the
6762         mmapped file. Add parameter file_length.
6763
6764         * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
6765         library names.
6766
6767         * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
6768         Closes PR libc/1573, reported by Bradley White
6769         <bww@laurelnetworks.com>.
6770
6771 2000-05-25  Ulrich Drepper  <drepper@redhat.com>
6772
6773         * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
6774         __FAST_MATH__ is defined.
6775
6776 2000-05-22  Andreas Jaeger  <aj@suse.de>
6777
6778         * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
6779         CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
6780
6781         * manual/math.texi (FP Function Optimizations): Document gcc
6782         -ffast-math behaviour with mathinlines.
6783
6784         * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
6785         functions unless -ffast-math is given to gcc.
6786
6787 2000-05-23  Jakub Jelinek  <jakub@redhat.com>
6788
6789         * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
6790         __sincosl): Guard with __USE_GNU.
6791
6792 2000-05-24  Ulrich Drepper  <drepper@redhat.com>
6793
6794         * csu/Makefile (routines): Add check_fds.
6795         * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
6796         binaries.  Add various __builtin_expect.
6797         * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
6798         * sysdeps/generic/check_fds.c: ...here.  New file.
6799
6800         * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
6801         binaries if file /etc/suid-debug is available.
6802
6803         * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
6804         and wcseqorder members.
6805         (struct locale_collate_t): Likewise.
6806         (collate_finish): Assign collation sequence value to each character.
6807         Create tables for output.
6808         (collate_output): Write out tables with collation sequence information.
6809         * locale/C-collate.c: Provide C locale data for collation sequence
6810         table.
6811         * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
6812         _NL_COLLATE_COLLSEQWC.
6813         * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
6814         _NL_COLLATE_COLLSEQWC.
6815         * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
6816         include fnmatch_loop.c.
6817         * posix/fnmatch_loop.c: Don't use strcoll while determining whether
6818         character is matched by range expression.  Use collation sequence
6819         table.  Outside glibc fall back on simple character value comparison.
6820
6821 2000-05-24  Andreas Jaeger  <aj@suse.de>
6822
6823         * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
6824         words.
6825
6826         * intl/Makefile: Run gettext-test only if msgfmt is available.
6827
6828         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
6829         Define it for newer kernels.
6830
6831 2000-05-23  Ulrich Drepper  <drepper@redhat.com>
6832
6833         * elf/dl-sym.c: Minor cleanups.
6834
6835         * configure.in: Add test for .protected.
6836         * config.make.in: Add have-protected variable.
6837         * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
6838         (tests-vis-yes): Add vismain.
6839         (modules-names): Add $(modules-vis-$(have-protected)).
6840         (modules-vis-yes): Add vismod1, vismod2, and vismod3.
6841         Add rules to generate and run vismain.
6842         * elf/vismain.c: New file.
6843         * elf/vismod1.c: New file.
6844         * elf/vismod2.c: New file.
6845         * elf/vismod3.c: New file.
6846
6847 2000-05-23  Andreas Jaeger  <aj@suse.de>
6848
6849         * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
6850
6851         * manual/search.texi (Array Sort Function): Document that qsort is
6852         not necessarily in-place.
6853
6854         * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
6855         Closes PR libc/1731.
6856
6857         * csu/munch-tmpl.c (__libc_init): Remove K&R support.
6858         * dirent/scandir64.c: Likewise.
6859         * pwd/getpw.c: Likewise.
6860         * stdlib/bsearch.c (bsearch): Likewise.
6861         * stdlib/tst-strtoll.c: Likewise.
6862         * localedata/collate-test.c: Likewise.
6863         * localedata/xfrm-test.c: Likewise.
6864         * posix/bsd-getpgrp.c: Likewise.
6865         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
6866         * sysdeps/generic/bits/siginfo.h: Likewise.
6867         * sysdeps/generic/bits/sockaddr.h: Likewise.
6868         * sysdeps/generic/sys/swap.h: Likewise.
6869         * sysdeps/generic/sys/sysinfo.h: Likewise.
6870         * sysdeps/generic/vfork.c: Likewise.
6871         * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
6872         * sysdeps/mach/hurd/fdopen.c: Likewise.
6873         * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
6874         * sysdeps/unix/sysv/linux/poll.c: Likewise.
6875         * sysdeps/unix/sysv/linux/readv.c: Likewise.
6876         * sysdeps/unix/sysv/linux/writev.c: Likewise.
6877         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6878         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6879         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
6880
6881         * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
6882         * shadow/lckpwdf.c: Likewise.
6883         * stdlib/tst-strtol.c: Likewise.
6884         * sysdeps/generic/tcsetattr.c: Likewise.
6885         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6886         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6887
6888 2000-05-22  Jakub Jelinek  <jakub@redhat.com>
6889
6890         * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
6891         free it and set to (void *) -1.
6892
6893 2000-05-22  Jakub Jelinek <jakub@redhat.com>
6894
6895         * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
6896         not the second character in the range.
6897         * stdio-common/tstscanf.c (main): Add testcase for the above.
6898         Reported by jik@kamens.brookline.ma.us.
6899
6900 2000-05-21  H.J. Lu  <hjl@gnu.org>
6901
6902         * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
6903         with noexec and noplt parameter.
6904         (do_lookup): Likewise.
6905
6906         * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
6907         do_lookup.  Support STV_PROTECTED.
6908         (_dl_lookup_symbol_skip): Likewise.
6909         (_dl_lookup_versioned_symbol): Likewise.
6910         (_dl_lookup_versioned_symbol_skip): Likewise.
6911
6912         * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
6913
6914         * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
6915
6916 2000-05-21  Jakub Jelinek  <jakub@redhat.com>
6917
6918         * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
6919         * sysdeps/i386/bits/huge_val.h: Likewise.
6920         * sysdeps/ieee754/bits/huge_val.h: Likewise.
6921         * sysdeps/m68k/bits/huge_val.h: Likewise.
6922         * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
6923         * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
6924
6925 2000-05-22  Andreas Jaeger  <aj@suse.de>
6926
6927         * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
6928         change in iconv.h.
6929
6930 2000-05-19  Andreas Jaeger  <aj@suse.de>
6931
6932         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
6933         (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
6934         breaks compilation without linuxthreads.
6935
6936 2000-05-21  Ulrich Drepper  <drepper@redhat.com>
6937
6938         * sysdeps/ia64/memccpy.S: New file.
6939         * sysdeps/ia64/memchr.S: New file.
6940         * sysdeps/ia64/memcmp.S: New file.
6941         * sysdeps/ia64/memcpy.S: New file.
6942         * sysdeps/ia64/memmove.S: New file.
6943         * sysdeps/ia64/memset.S: New file.
6944         * sysdeps/ia64/strcat.S: New file.
6945         * sysdeps/ia64/strchr.S: New file.
6946         * sysdeps/ia64/strcmp.S: New file.
6947         * sysdeps/ia64/strcpy.S: New file.
6948         * sysdeps/ia64/strlen.S: New file.
6949         * sysdeps/ia64/strncmp.S: New file.
6950         * sysdeps/ia64/strncpy.S: New file.
6951         * sysdeps/ia64/softpipe.h: New file.
6952         Patches by Dan Pop <Dan.Pop@cern.ch>.
6953
6954         * manual/memory.texi: Document memory handling functions (mlock,
6955         munlock, mlockall, munlockall, brk, and sbrk)
6956         * manual/time.texi: Document timespec and friends.
6957         * manual/conf.texi: Fix references.
6958         * manual/ctype.texi: Likewise.
6959         * manual/errno.texi: Likewise.
6960         * manual/intro.texi: Likewise.
6961         * manual/locale.texi: Likewise.
6962         * manual/sysinfo.texi: Likewise.
6963         Patches by Bryan Henderson <bryanh@giraffe-data.com>.
6964
6965 2000-05-09  Jes Sorensen  <jes@linuxcare.com>
6966
6967         * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
6968         * sysdeps/ia64/dl-lookupcfg.h: ...here.
6969
6970 2000-05-21  Jakub Jelinek  <jakub@redhat.com>
6971
6972         * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
6973         dxfer_direction.
6974
6975 2000-05-21  Ulrich Drepper  <drepper@redhat.com>
6976
6977         * locale/locale.h (struct lconv): Add new elements from ISO C99.
6978         * locale/localeconv.c: Initialize new elements from ISO C99.
6979         * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
6980         new standard elements.
6981         * locale/categories.def: Adjust accordingly.
6982
6983         * iconv/iconv.h (iconv): Remove const from inbuf parameter.
6984         * iconv/iconv.c: Likewise.
6985         * conform/data/iconv.h-data: Likewise.
6986         * iconv/iconv_prog.c (process_block): Remove const from second
6987         parameter.
6988         (main): Remove const from addr definition.
6989         * manual/charset.texi (Generic Conversion Interface): Remove from
6990         inbuf parameter of iconv.
6991
6992         * intl/dcigettext.c: Fix typo in comment.
6993
6994 2000-05-20 2000  H.J. Lu  <hjl@gnu.org>
6995
6996         * resolv/res_libc.c (_res): Initialize _sock to -1.
6997
6998 2000-05-18  Jakub Jelinek  <jakub@redhat.com>
6999
7000         * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
7001         (fopencookie@@GLIBC_2.2): New.
7002         (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
7003         (fopencookie@GLIBC_2.0): New.
7004         * libio/Versions: Add fopencookie to GLIBC_2.2.
7005
7006 2000-05-18  Andreas Jaeger  <aj@suse.de>
7007
7008         * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7009         Closes PR libc/1731.
7010
7011         * manual/arith.texi (Parsing of Integers): Fix typo.
7012         Closes PR libc/1744, reported by blp@gnu.org.
7013
7014 2000-05-17  Jakub Jelinek  <jakub@redhat.com>
7015
7016         * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
7017         __extension__ to hexadecimal floating constant notation.
7018         * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7019         Likewise.
7020         * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
7021         * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7022         Likewise.
7023         * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7024         HUGE_VALL): Likewise.
7025         * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7026         HUGE_VALL): Likewise.
7027         (HUGE_VALL): Set to HUGE_VAL on sparc32.
7028
7029 2000-05-17  Andreas Jaeger  <aj@suse.de>
7030
7031         * string/envz.h: Add pure attributes if possible.
7032
7033         * string/argz.h: argz_count is a pure function.
7034
7035         * string/strings.h: Add pure and const attributes if possible.
7036
7037         * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
7038         possibly searching through the whole memory.
7039         Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
7040
7041 2000-05-17  Jakub Jelinek  <jakub@redhat.com>
7042
7043         * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
7044         not yet defined.
7045         (_dl_cache_check_flags): Likewise.
7046         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
7047         dl-cache.h.
7048
7049 2000-05-17  Andreas Jaeger  <aj@suse.de>
7050
7051         * manual/creature.texi (Feature Test Macros): Remove paragraph
7052         since the description is wrong.
7053         Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
7054
7055         * scripts/config.sub: New version.
7056         * scripts/config.guess: Likewise.
7057         * manual/texinfo.tex: Likewise.
7058
7059         * time/test_time.args: Removed.
7060         * time/Makefile (test_time-ARGS): Added contents here instead.
7061
7062         * posix/tstgetopt.args: Removed.
7063         * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
7064
7065         * Rules: Allow arguments for test files to be specified in
7066         Makefile with testname-ARGS; remove rules with .args in it.
7067
7068         * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
7069         remove old bogus rule for opendir-tst1.args.
7070
7071         * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
7072
7073         * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
7074         into objdir.  This allows a readonly sourcetree.
7075         Reported by lrgallardo@yahoo.com, closes PR libc/1421.
7076
7077 2000-05-16  Andreas Jaeger  <aj@suse.de>,
7078             David Huggins-Daines <dhd@linuxcare.com>
7079
7080         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
7081         cache_data in case of only new cache format correctly.
7082
7083         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
7084         cache_file_new.
7085
7086         * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
7087         struct cache_file_new.
7088
7089         * elf/cache.c (save_cache): Fix str_offset if only new cache is
7090         present.
7091
7092         * elf/cache.c (save_cache): Align struct new_file_cache.
7093         (print_cache): Likewise.
7094
7095 2000-05-13  Jakub Jelinek  <jakub@redhat.com>
7096
7097         * elf/soinit.c (__libc_global_ctors): Move
7098         __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
7099         * resolv/resolv.h (__res_state): Added __attribute__((const)).
7100         (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
7101         variable, don't define it to __res_state call.
7102
7103 2000-05-13  Andreas Jaeger  <aj@suse.de>
7104
7105         * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
7106         Linux 2.3.99pre7.
7107         (AF_PPPOX): Likewise.
7108         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
7109         (AF_PPPOX): Likewise.
7110
7111 2000-05-12  Andreas Jaeger  <aj@suse.de>
7112
7113         * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
7114         Reported by tmoestl@gmx.net, closes PR libc/1732.
7115
7116 2000-05-11  Jan Hubicka  <jh@suse.cz>
7117
7118         * misc/sys/cdefs.h: Add support for pure attribute.
7119
7120         * include/string.h: Add __attribute_pure__ to various functions.
7121         * string/string.h: Likewise.
7122
7123 2000-05-10  Jakub Jelinek  <jakub@redhat.com>
7124
7125         * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
7126         argument.
7127         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7128         R_SPARC_UA64.
7129         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
7130
7131 2000-05-10  Jakub Jelinek  <jakub@redhat.com>
7132
7133         * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
7134         at proper place.  Compute the high nibble correctly.
7135
7136 2000-05-09  Jakub Jelinek  <jakub@redhat.com>
7137
7138         * elf/ldconfig.c: Include elf.h.
7139
7140         * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
7141         (_dl_vsym): Likewise.
7142         Reported by Owen Taylor <otaylor@redhat.com>.
7143
7144         * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
7145         always.
7146
7147 2000-05-08  Andreas Jaeger  <aj@suse.de>
7148
7149         * include/libintl.h: Add prototype for __bind_textdomain_codeset.
7150
7151         * intl/bindtextdom.c (set_binding_values): Add prototype.
7152
7153 2000-05-08  Jakub Jelinek  <jakub@redhat.com>
7154
7155         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
7156         call to elf_machine_fixup_plt.
7157         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7158         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7159
7160 2000-05-08  Jakub Jelinek  <jakub@redhat.com>
7161
7162         * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
7163         they are not dlclose'd from underneath us.
7164
7165 2000-05-08  Andreas Schwab  <schwab@suse.de>
7166
7167         * posix/execle.c: Fix size parameter of memcpy.
7168
7169 2000-05-08  Andreas Schwab  <schwab@suse.de>
7170
7171         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file.  Use
7172         getpagesize syscall if available.
7173
7174 2000-05-08  Andreas Jaeger  <aj@suse.de>
7175
7176         * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
7177         set errno.
7178
7179 2000-05-08  Jakub Jelinek  <jakub@redhat.com>
7180
7181         * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
7182         sizeof(struct link_map *) chunks, not in bytes.
7183
7184 2000-05-07  Ulrich Drepper  <drepper@redhat.com>
7185
7186         * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS.  It's
7187         only needed for locale.
7188         * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
7189         It's only needed for catgets.
7190         Patches by Greg McGary <gkm@eng.ascend.com>.
7191
7192 2000-05-07  Mark Kettenis  <kettenis@gnu.org>
7193
7194         * nss/nss_db/db-open.c: Cleanup and add comments.  Pretty print.
7195         Remove duplicate <errno.h> include.  Remove inclusion of
7196         <libintl.h> and "nsswitch.h".
7197         (set_cloexec_flag): New function, broken out of dbopen.
7198         (dbopen): Changed return type to `enum
7199         nss_status'.  Mostly rewritten to make sure that we do not report
7200         NSS_STATUS_SUCCESS if something went wrong.  Remove unnecessary casts.
7201         (internal_setent): Change return type to nss_status.
7202         Document, and make sure that the function
7203         behaves accordingly.  Make dynamically loading the database
7204         library really thread-safe and return NSS_STATUS_UNAVAIL if it
7205         failed.
7206         (db_cursor): Return ENOMEM is memory allocation failed.  Remove
7207         unecessary casts.
7208         * nss/nss_db/dummy-db.h: Add copyright notice.  Improve
7209         documentation.
7210         (struct dbc24, struct dbc27): Use DBT type in parameter lists for
7211         c_get function member.
7212         * nss/nss_db/nss_db.h: Add and tweak some comments.
7213         (DBT): Move typedef before NSS_DBC typedef.
7214         (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
7215
7216 2000-05-07  H.J. Lu  <hjl@gnu.org>
7217
7218         * csu/initfini.c: Moved to ....
7219         * sysdeps/generic/initfini.c: ...here.
7220
7221         * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
7222
7223 2000-05-07  Ulrich Drepper  <drepper@redhat.com>
7224
7225         * manual/resource.texi: Document POSIX scheduling functions.
7226         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7227
7228         * inet/rcmd.c (rcmd_af): errno is not set if read returns without
7229         reading anything.  Reported by Andries.Brouwer@cwi.nl.
7230
7231         * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
7232         for x since promotion in comparison might leads to unexpected
7233         results.  Reported by Dan Pop <Dan.Pop@cern.ch>.
7234
7235         * iconv/Makefile (tests): Add tst-iconv1.
7236         * iconv/tst-iconv1.c: New file.
7237         * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
7238         empty input buffer over full output buffer.
7239         (ucs4_internal_loop): Likewise.
7240         (ucs4_internal_loop_unaligned): Likewise.
7241         (internal_ucs4le_loop): Likewise.
7242         (internal_ucs4le_loop_unaligned): Likewise.
7243         (ucs4le_internal_loop): Likewise.
7244         (ucs4le_internal_loop_unaligned): Likewise.
7245         Reported by yaoz@nih.gov.
7246
7247 2000-05-06  Bruno Haible  <haible@clisp.cons.org>
7248
7249         * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
7250         returned != __GCONV_OK, there is nothing to clean up.
7251
7252 2000-05-06  Bruno Haible  <haible@clisp.cons.org>
7253
7254         * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
7255         OUTPUT_CHARSET environment variables.
7256
7257 2000-05-06  Andreas Jaeger  <aj@suse.de>
7258
7259         * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
7260         (struct cache_file_new): New.
7261         (struct file_entry): New (moved from cache.c).
7262         (struct cache_file): New (moved from cache.c).
7263
7264         * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
7265         from _dl_load_cache_lookup.
7266         (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
7267         the different cache formats.
7268         New variable cache_new for new format.
7269
7270         * elf/ldconfig.h: Change according to changes in cache.c and
7271         ldconfig.c; remove cache_libcmp; add opt_format.
7272
7273         * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
7274         stuff that's defined in those headers.
7275         Add hwcap to struct lib_entry.
7276         (opt_format): New variable to select cache format.
7277         (options): Add format parameter.
7278         (is_hwcap): New function.
7279         (path_hwcap): New function.
7280         (parse_opt): Handle new format parameter.
7281         (search_dir): Handle hwcap, search also subdirectories with hwcap.
7282
7283         * elf/cache.c (_GNU_SOURCE): Removed.  Not needed anymore since
7284         ldconfig is part of glibc.
7285         Include dl-cache.h and remove stuff that's defined there.
7286         (struct cache_entry): Add new member hwcap.
7287         (print_entry): Print hwcap, cleanup a bit.
7288         (print_cache): Print new and old formats.
7289         (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
7290         (save_cache): Save new and old formats.
7291         (add_to_cache): Handle hwcap.
7292
7293         * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
7294         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
7295         * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
7296         * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
7297         * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
7298         * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
7299
7300 2000-05-05  Bruno Haible  <haible@clisp.cons.org>
7301
7302         * intl/dcigettext.c (alignof): New macro.
7303         (_nl_find_msg): Use it instead of __alignof__. Pass correct output
7304         buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
7305         freemem_size to 0.
7306
7307 2000-05-05  Bruno Haible  <haible@clisp.cons.org>
7308
7309         * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
7310         return value.
7311
7312 2000-05-06  Ulrich Drepper  <drepper@redhat.com>
7313
7314         * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
7315         (mempcpy): Correct typo is parameter list.
7316
7317 2000-05-06  Andreas Jaeger  <aj@suse.de>
7318
7319         * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
7320         functions unless -ffast-math is given to gcc.
7321
7322 2000-05-06  Ulrich Drepper  <drepper@redhat.com>
7323
7324         * po/ko.po: Update from translation team.
7325
7326 2000-05-05  Ulrich Drepper  <drepper@redhat.com>
7327
7328         * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
7329         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
7330         * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
7331         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
7332         * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
7333         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
7334
7335         * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
7336         * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
7337         * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
7338
7339         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
7340         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
7341         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
7342         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
7343
7344         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
7345         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
7346
7347 2000-05-05  Jes Sorensen  <jes@linuxcare.com>
7348
7349         * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
7350         * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
7351
7352         * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
7353         * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
7354
7355         * sysdeps/ia64/Implies: New file.
7356         * sysdeps/ia64/Versions: New file.  Declare _dl_symbol_address.
7357         * sysdeps/ia64/Makefile: New file.
7358         * sysdeps/ia64/gmp-mparam.h: New file,
7359
7360         * sysdeps/ia64/elf/start.S: New file.
7361
7362         * sysdeps/ia64/bits/fenv.h: New file.
7363
7364 2000-05-05  David Mosberger-Tang  <davidm@hpl.hp.com>
7365
7366         * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
7367
7368 2000-04-26  Jes Sorensen  <Jes.Sorensen@cern.ch>
7369
7370         * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file.  The
7371         ia64 has 64 bit .hash entries just as the Alpha.
7372
7373 2000-04-25  Jes Sorensen  <Jes.Sorensen@cern.ch>
7374
7375         * sysdeps/ia64/memprof.h: New file.  Provide GETSP() macro.
7376
7377 2000-04-17  Jes Sorensen  <Jes.Sorensen@cern.ch>
7378
7379         * sysdeps/ia64/fpu/fclrexcpt.c: New file.
7380         * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
7381         * sysdeps/ia64/fpu/feenablxcpt.c: New file.
7382         * sysdeps/ia64/fpu/fegetenv.c: New file.
7383         * sysdeps/ia64/fpu/fegetexcept.c: New file.
7384         * sysdeps/ia64/fpu/fegetround.c: New file.
7385         * sysdeps/ia64/fpu/feholdexcpt.c: New file.
7386         * sysdeps/ia64/fpu/fesetenv.c: New file.
7387         * sysdeps/ia64/fpu/fesetround.c: New file.
7388         * sysdeps/ia64/fpu/feupdateenv.c: New file.
7389         * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
7390         * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
7391         * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
7392         * sysdeps/ia64/fpu/ftestexcept.c: New file.
7393
7394 2000-05-05  Andreas Jaeger  <aj@suse.de>
7395
7396         * misc/tst-tsearch.c (main): Correct type for initstate argument.
7397
7398         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7399         (_dl_string_hwcap): New, does nothing.
7400
7401         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7402         (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7403         (_dl_string_hwcap): New function, converts from string to hwcap
7404         encoding.
7405         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
7406         (_DL_HWCAP_COUNT): New.
7407         (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7408         (_dl_string_hwcap): New function, converts from string to hwcap
7409         encoding.
7410         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
7411         (_DL_HWCAP_COUNT): New.
7412         (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7413         (_dl_string_hwcap): New function, converts from string to hwcap
7414         encoding.
7415
7416 2000-05-05  Ulrich Drepper  <drepper@redhat.com>
7417
7418         * elf/Makefile (distribute): Add dl-lookupcfg.h.
7419         * sysdeps/ia64/Dist: New file.
7420
7421         * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
7422         parameter to mprotect and for variable assignments.
7423
7424 2000-05-03  Jes Sorensen  <jes@linuxcare.com>
7425
7426         * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
7427         validity of map before dereferencing it.
7428
7429         * elf/dl-reloc.c (RESOLVE_MAP): Define.
7430
7431 2000-05-02  Jes Sorensen  <jes@linuxcare.com>
7432
7433         * elf/dl-runtime.c (fixup): Add the value returned in the symbol
7434         lookup to the arguments to elf_machine_fixup_plt().
7435
7436         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
7437         of the symbol being resolved to input argument list and make the
7438         function return the pointer to the reloc.
7439
7440         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
7441         return valuie to lookup_t and return the value.
7442         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
7443         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
7444         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
7445         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
7446         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
7447         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
7448
7449         * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
7450         Make it an inline function returning value after calling
7451         __elf_machine_fixup_plt().
7452
7453         * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
7454         symbol address.
7455
7456         * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
7457         obtain the symbol address.
7458
7459         * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
7460         depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
7461
7462         * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
7463         _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
7464         inline on non ia64.
7465
7466 2000-04-28  Jes Sorensen  <jes@linuxcare.com>
7467
7468         * elf/dl-runtime.c (fixup): Use the portable macros to get the
7469         symbol address of an object.
7470
7471         * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
7472         the symbol address of an object.
7473
7474         * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
7475         * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
7476         (_dl_lookup_symbol_skip): Likewise.
7477         (_dl_lookup_versioned_symbol): Likewise.
7478         (_dl_lookup_versioned_symbol_skip): Likewise.
7479
7480 2000-04-27  Jes Sorensen  <jes@linuxcare.com>
7481
7482         * elf/rtld.c (_dl_start): Get the function pointer return address
7483         via _dl_start_address for architectures that need a function
7484         pointer descriptor rather than just a pointer (ia64).
7485
7486         * sysdeps/generic/dl-lookupcfg.h: New file.
7487         * sysdeps/ia64/dl-lookupcfg.h: New file.
7488         * sysdeps/ia64/dl-machine.h: New file.
7489         * sysdeps/ia64/dl-symaddr.c: New file.
7490         * sysdeps/ia64/dl-fptr.c: New file.
7491
7492         * elf/elf.h: Add IA-64 specific definitions.
7493
7494 2000-05-04  Jakub Jelinek  <jakub@redhat.com>
7495
7496         * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
7497         end of enum.
7498
7499 2000-05-04  Jakub Jelinek  <jakub@redhat.com>
7500
7501         * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
7502         happy.
7503
7504 2000-04-11  Geoff Keating  <geoffk@cygnus.com>
7505
7506         * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
7507         symbol.  Call _dl_init rather than the old way.
7508
7509 2000-05-04  Ulrich Drepper  <drepper@redhat.com>
7510
7511         * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
7512         test for pointer in range of DSO address space.
7513
7514 2000-05-04  Andreas Jaeger  <aj@suse.de>
7515
7516         * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
7517
7518 2000-05-03  Ulrich Drepper  <drepper@redhat.com>
7519
7520         * locale/findlocale.c (_nl_find_locale): Add new parameter to
7521         calls of _nl_make_l10nflist.
7522
7523         * libio/stdio.h: Make fseeko and ftello prototypes available is
7524         __USE_LARGEFILE.  Patch by Paul Eggert <eggert@twinsun.com>.
7525
7526         * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
7527         real unsetenv implementation from 1999-07-29 [PR libc/1714].
7528
7529 2000-05-03  Bruno Haible  <haible@clisp.cons.org>
7530
7531         * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
7532         before calling tfind.
7533
7534 2000-03-05  Jakub Jelinek  <jakub@redhat.com>
7535
7536         * resolv/resolv.h (res_querydomain): Remove redefinition to
7537         __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
7538
7539 2000-05-03  Ulrich Drepper  <drepper@redhat.com>
7540
7541         * po/gl.po: Update from translation team.
7542
7543         * manual/intro.texi (Program Basics): Change section title.
7544         * manual/process.texi: Fix reference.
7545         (Executing a File): Add reference exec in other section.
7546         * manual/signal.texi: Fix reference.
7547         * manual/startup.texi: Document syscall function.
7548         Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7549
7550 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
7551
7552         * intl/libintl.h (bind_textdomain_codeset): New declaration.
7553         * intl/bindtextdom.c (set_binding_values): New function.
7554         (bindtextdomain): Call it.
7555         (bind_textdomain_codeset): New function.
7556         * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
7557         (free_mem): Free each binding's codeset.
7558         * intl/gettextP.h (struct binding): Add codeset field.
7559         (_nl_find_domain): Add domainbinding argument.
7560         * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
7561         Pass it to _nl_make_l10nflist.
7562         * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
7563         (_nl_make_l10nflist): Add domainbinding argument.
7564         * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
7565         * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
7566         codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
7567         locale_charset().
7568         * manual/message.texi: New node "Charset conversion in gettext".
7569
7570 2000-04-30  Bruno Haible  <haible@clisp.cons.org>
7571
7572         * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
7573         appropriate.  Handle possible __read error.
7574
7575 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
7576
7577         * intl/gettextP.h (__builtin_expect): Define as empty if not a
7578         compiler builtin.
7579         * intl/loadinfo.h (__builtin_expect): Likewise.
7580         * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
7581         __builtin_expect where appropriate.
7582         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7583         * intl/localealias.c (extend_alias_table): Return an error indicator.
7584         (read_alias_file): Bail out if extend_alias_table fails.
7585
7586 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
7587
7588         * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
7589         * intl/localealias.c: Likewise.
7590
7591 2000-05-01  Bruno Haible  <haible@clisp.cons.org>
7592
7593         * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
7594         Initialize domain->plural and domain->nplurals even if there is no
7595         nullentry.
7596
7597 2000-05-01  Bruno Haible  <haible@clisp.cons.org>
7598
7599         * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
7600         value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
7601         In case of failure, goto converted.
7602
7603 2000-05-01  Bruno Haible  <haible@clisp.cons.org>
7604
7605         * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
7606         * iconv/gconv_int.h (norm_add_slashes): Move to here.
7607         * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
7608         __gconv_open.
7609
7610 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
7611
7612         * intl/dcigettext.c (transcmp): Compare the domains as well.
7613         (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
7614         not before.
7615         * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
7616         <errno.h>.
7617
7618 2000-05-03  Ulrich Drepper  <drepper@redhat.com>
7619
7620         * string/bits/string2.h: Declare __strdup and __strndup if necessary.
7621         Reported by Bruno Haible.
7622
7623 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
7624
7625         * manual/arith.texi: Remove @w from @itemize.
7626
7627 2000-05-02  Andreas Jaeger  <aj@suse.de>
7628
7629         * conform/data/tar.h-data: Add some checks for specific values.
7630
7631         * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
7632         and RAND_MAX.
7633
7634         * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
7635         FOPEN_MAX.
7636
7637         * conform/data/netinet/in.h-data: Add exact checks for the values
7638         fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
7639
7640         * conform/data/float.h-data: Add some minimal values.
7641
7642         * conform/conformtest.pl: Test for macros with string constants,
7643         check for minimum and maximum values.
7644         Add limits.h to headers.
7645
7646         * conform/data/cpio.h-data: Test for value of MAGIC.
7647
7648         * conform/data/limits.h-data: New file.
7649
7650 2000-04-30  Bruno Haible  <haible@clisp.cons.org>
7651
7652         * math/Makefile (headers): Add bits/fenvinline.h.
7653
7654 2000-05-01  Ulrich Drepper  <drepper@redhat.com>
7655
7656         * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
7657         * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
7658
7659         * posix/Versions: Change posix_spawnattr_getdefault and
7660         posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
7661         and posix_spawnattr_setsigdefault respectively.
7662         * posix/spawn.h: Likewise.
7663         * posix/spawnattr_getdefault.h: Likewise.
7664         * posix/spawnattr_setdefault.h: Likewise.
7665         * conform/data/spawn.h-data: Likewise.
7666
7667 2000-05-01  Andreas Jaeger  <aj@suse.de>
7668
7669         * nscd/nscd.c: Include <grp.h> for setgroups prototype.
7670
7671 2000-04-30  Ulrich Drepper  <drepper@redhat.com>
7672
7673         * manual/sysinfo.texi: Document getdomainname, setdomainname
7674         and sysctl.
7675         * manual/string.texi: Fix typo.
7676         * manual/terminal.texi: Document gtty and stty.
7677         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7678
7679 2000-04-30  Andreas Jaeger  <aj@suse.de>
7680
7681         * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
7682         accordance with Austin Draft.
7683
7684 2000-04-30  Ulrich Drepper  <drepper@redhat.com>
7685
7686         * catgets/gencat.c (read_input_file): Use isblank and not isspace
7687         to recognize second character in comment line.
7688
7689         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
7690         ENOBUFS if we are out of memory.
7691
7692         * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
7693         available if __USE_XOPEN2K.
7694         * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
7695         * sysdeps/unix/common/bits/fcntl.h: Likewise.
7696         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
7697         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7698         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
7699         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7700         * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
7701         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
7702
7703 2000-04-29  Ulrich Drepper  <drepper@redhat.com>
7704
7705         * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
7706         Recognize option -s, -c, and -l.
7707
7708 2000-04-20  Thorsten Kukuk  <kukuk@suse.de>
7709
7710         * nscd/nscd.c: Start new session for nscd, drop privilegs
7711         to configured user if requested and no -S parameter are used.
7712         * nscd/nscd.conf: Add new option "server-user".
7713         * nscd/nscd_conf.c: Add support for new "server-user" option.
7714         * nscd/nscd.h: Add declaration for server_user variable.
7715         Based on patch by Chris Wing <wingc@engin.umich.edu>
7716
7717 2000-04-29  Mark Kettenis  <kettenis@gnu.org>
7718
7719         * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
7720         that changing the __restore and __restore_rt signal return code
7721         will break GDB.
7722
7723 2000-04-29  Mark Kettenis  <kettenis@gnu.org>
7724
7725         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
7726         <sys/user.h>.
7727
7728 2000-04-29  Mark Kettenis  <kettenis@gnu.org>
7729
7730         * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
7731
7732 2000-04-29  Ulrich Drepper  <drepper@redhat.com>
7733
7734         * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
7735         sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
7736         arpa/inet.h.
7737         * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
7738         SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
7739         S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
7740         S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
7741         S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
7742         POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
7743         POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
7744         posix_fallocate, and posix_madvise.
7745         * conform/data/netdb.h-data: New file.
7746         * conform/data/pthread.h-data: Add pthread_barrier_t,
7747         pthread_barrierattr_t, pthread_barrier_destroy,
7748         pthread_barrier_init, pthread_barrier_wait,
7749         pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
7750         pthread_barrierattr_init, pthread_barrierattr_setpshared,
7751         pthread_condattr_getclock, pthread_condattr_setclock,
7752         pthread_getcpuclockid, pthread_mutex_timedlock,
7753         pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
7754         pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
7755         pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
7756         * conform/data/sched.h-data: Add sched_ss_low_priority,
7757         sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
7758         SCHED_SPORADIC.
7759         * conform/data/semaphore.h-data: Add sem_timedwait.
7760         * conform/data/signal.h-data: Add SIGIO.
7761         * conform/data/spawn.h-data: New file.
7762         * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
7763         * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
7764         CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
7765         Fix typo in gmtime_r definition.
7766         * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
7767         _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
7768         _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
7769         _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
7770         _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
7771         _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
7772         _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
7773         _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
7774         _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
7775         _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
7776         _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
7777         _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
7778         _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
7779         _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
7780         _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
7781         _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
7782         _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
7783         _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
7784         _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
7785         _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid.  Fix
7786         typo in off_t definition.
7787         * conform/data/net/if.h-data: New file.
7788         * conform/data/netinet/in.h-data: New file.
7789         * conform/data/netinet/tcp.h-data: New file.
7790         * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
7791         POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
7792         POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
7793         POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
7794         posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
7795         and posix_typed_mem_open.
7796         * conform/data/sys/socket.h-data: New file.
7797         * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
7798         * conform/data/sys/types.h-data: Add pthread_barrier_t,
7799         pthread_barrierattr_t, and pthread_spinlock_t.
7800         * conform/data/sys/un.h-data: New file.
7801         * conform/data/sys/utsname.h-data: New file.
7802
7803         * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
7804         parameter.
7805         * inet/gethstbyad.c (gethostbyname): Likewise.
7806         * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
7807         * inet/getipnodebyad.c (getipnodebyad): Likewise.
7808         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
7809         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
7810         Likewise.
7811         * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
7812         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
7813         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
7814         * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
7815         * resolv/gethnamaddr.c (gethostbyname): Likewise.
7816         * resolv/netdb.h (struct hostent): Fix type of h_length member.
7817         (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
7818         and second parameter.
7819
7820         * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
7821         == NULL.
7822
7823 2000-04-29  Andreas Jaeger  <aj@suse.de>
7824
7825         * conform/data/arpa/inet.h-data: New file.
7826
7827 2000-04-28  Geoff Clare <gwc@unisoft.com>
7828
7829         * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
7830         path passed to ftw() or nftw() is an empty string.
7831         Closes PR libc/1710.
7832
7833 2000-04-27  Ulrich Drepper  <drepper@redhat.com>
7834
7835         * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
7836         (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
7837         * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
7838         * localedata/tst-mbswcs4.c: New file.
7839         * localedata/tst-mbswcs5.c: New file.
7840
7841         * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
7842         == NULL.  Little optimization.
7843
7844         * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
7845         DT_PREINIT_ARRAYSZ).
7846         Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
7847
7848         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
7849         overflows in conversion from ASCII.
7850
7851 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
7852
7853         * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
7854         * Makerules (full_config_sysdirs): Likewise.
7855         * MakeTAGS (full_config_sysdirs): Likewise.
7856
7857 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
7858
7859         * .cvsignore: Remove linuxthreads.
7860         * po/.cvsignore: Remove *.pot.
7861         * posix/glob/.cvsignore: Removed.
7862         * sysdeps/unix/bsd/osf/.cvsignore: Removed.
7863
7864 2000-04-25  Andreas Jaeger  <aj@suse.de>
7865
7866         * conform/Makefile (distribute): Also distribute contents of
7867         subdirectories.
7868
7869         * Makerules (no_deps): Remove abi-versions.h.
7870
7871         * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
7872
7873 2000-04-25  Jakub Jelinek  <jakub@redhat.com>
7874
7875         * sysdeps/sparc/sparc64/elf/Dist: Remove.
7876         * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
7877         * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
7878         * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
7879         * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
7880         * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
7881         objects.
7882
7883 2000-04-25  Thorsten Kukuk  <kukuk@suse.de>
7884
7885         * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
7886
7887 2000-04-23  Bruno Haible  <haible@clisp.cons.org>
7888
7889         * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
7890         * intl/l10nflist.c: Likewise.
7891
7892 2000-04-23  Bruno Haible  <haible@clisp.cons.org>
7893
7894         * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
7895         __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
7896         * intl/textdomain.c [!_LIBC]: Likewise.
7897         * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
7898         __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
7899         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
7900         syntax error.
7901
7902 2000-04-23  Bruno Haible  <haible@clisp.cons.org>
7903
7904         * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
7905         character set conversion also in the case the translation was found
7906         after a hash collision or through binary search.  Store the maximum
7907         index together with the converted message.  Use iconv() when available.
7908         In case of out of memory during conversion, return the unconverted
7909         translated string, not NULL.
7910
7911 2000-04-25  Jes Sorensen  <Jes.Sorensen@cern.ch>
7912
7913         * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
7914         to avoid name clashes with the ia32 linker.
7915
7916 2000-04-25  Jakub Jelinek  <jakub@redhat.com>
7917
7918         * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
7919         handling.
7920
7921 2000-04-27  Ulrich Drepper  <drepper@redhat.com>
7922
7923         * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
7924         strtoumax, strfry, and memfrob.
7925         * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
7926         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7927
7928         * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
7929         if this function is available.
7930
7931         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
7932         all values.
7933
7934 2000-04-27  Jakub Jelinek  <jakub@redhat.com>
7935
7936         * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
7937
7938 2000-04-27  Ulrich Drepper  <drepper@redhat.com>
7939
7940         * localedata/Makefile (test-srcs); Add tst-mbswcs3.
7941         Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
7942         * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
7943         * localedata/tst-mbswcs3.c: New file.
7944
7945 2000-04-26  Ulrich Drepper  <drepper@redhat.com>
7946
7947         * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
7948         characters.  Don't handle incomplete characters as errors.
7949         * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
7950         * localedata/Makefile (test-srcs): Add tst-mbswcs2.
7951         Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
7952         * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
7953         * localedata/tst-mbswcs2.c: New file.
7954
7955         * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
7956         stored character in state in UNPACK_BYTES macro.
7957         * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work.  Correct
7958         test for available characters, handle result of BODY code correctly.
7959         * localedata/Makefile (test-srcs): Add tst-mbswcs1.
7960         (distribute): Add tst-mbswcs.sh.
7961         Add rule to run tst-mbswcs.sh.
7962         * localedata/tst-mbswcs.sh: New file.
7963         * localedata/tst-mbswcs1.c: New file.
7964
7965 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
7966
7967         * nis/nis_callback.c (__nis_create_callback): Do failed memory
7968         allocation fixups centrally, fix __builtin_expect call, return NULL
7969         on failure, not NIS_NOMEMORY.
7970
7971 2000-04-27  Bruno Haible  <haible@clisp.cons.org>
7972
7973         * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
7974
7975         * intl/loadinfo.h (internal_function): Define if not already defined.
7976
7977 2000-04-27  Andreas Jaeger  <aj@suse.de>
7978
7979         * intl/libintl.h: Fix typo, reported by Bruno Haible
7980         <haible@clisp.cons.org>.
7981
7982 2000-04-25  Ulrich Drepper  <drepper@redhat.com>
7983
7984         * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
7985         setting the state to GMON_PROF_BUSY.
7986
7987 2000-04-24  Ulrich Drepper  <drepper@redhat.com>
7988
7989         * elf/dl-profile.c (_dl_start_profile): define all variables which
7990         do not have to be global as local variables.
7991
7992         * nis/nis_callback.c (__nis_create_callback): Partially undo last
7993         patch.  Keep needed tests for failed memory allocation.
7994
7995         * elf/dl-reloc.c (_dl_relocate_object): Add one more
7996         __builtin_expect saying that we don't normally expect to profile.
7997
7998         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
7999         __builtin_expect where desirable.
8000
8001 2000-04-23  Ulrich Drepper  <drepper@redhat.com>
8002
8003         * manual/Makefile (chapters): Add syslog.
8004         * manual/syslog.texi: New file.
8005         * manual/math.texi: Fix references.
8006         * manual/terminal.texi: Likewise.
8007         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8008
8009 2000-04-18  Jakub Jelinek  <jakub@redhat.com>
8010
8011         * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
8012         stdlib.h was not included or __USE_XOPEN not defined.
8013
8014 2000-04-23  Ulrich Drepper  <drepper@redhat.com>
8015
8016         * nss/Makefile (libnss_db-dbs): Remove stray backslash.
8017         Patch by Zack Weinberg <zack@wolery.cumb.org>.
8018
8019 2000-04-22  Ulrich Drepper  <drepper@redhat.com>
8020
8021         * manual/examples/subopt.c (mount_opts): Add missing terminating
8022         entry.
8023         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8024
8025         * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
8026         * libio/ftello.c: Likewise.
8027         * libio/ftello64.c: Likewise.
8028         * libio/ioftell.c: Likewise.
8029         * sysdeps/generic/memrchr.c: Likewise.
8030         * sysdeps/posix/libc_fatal.c: Likewise.
8031         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8032         * misc/fstab.c: Include <string.h> for strcmp prototype.
8033         * sysdeps/generic/ldsodefs.h: Likewise.
8034         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8035         Patch by Kurt Roeckx <Q@ping.be>.
8036
8037         * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
8038         Remove db-open.  Change all uses.
8039         (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
8040
8041 2000-04-21  Jakub Jelinek  <jakub@redhat.com>
8042
8043         * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
8044         * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
8045         * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
8046         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
8047         with .set noat/at to shut up warnings.
8048         * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
8049         * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
8050         compilation if __NR_pciconfig_iobase is not defined.
8051         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
8052         Add alias.
8053
8054 2000-04-21  Ulrich Drepper  <drepper@redhat.com>
8055
8056         * manual/sysinfo.texi: Fix typo.
8057         * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
8058         Replace "high precision time" with "high accuracy clock".
8059         Fix language.
8060         Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8061
8062         * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
8063         * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
8064         instead of malloc.
8065         * nis/nis_subr.c: Use __builtin_expect.
8066         * nis/ypclnt.c: Likewise.
8067         * nis/nis_getservlist.c: Likewise.
8068         * nis/nis_creategroup.c: Likewise.
8069
8070         * nis/nis_callback.c (__nis_create_callback): Check result of
8071         memory allocation.  Fix memory leaks.  Use __builtin_expect.
8072         (__nis_destroy_callback): Fix memory leaks.
8073
8074 2000-04-21  Andreas Jaeger  <aj@suse.de>
8075
8076         * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
8077         * sysdeps/mips/mips64/add_n.S: Likewise.
8078         * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
8079         * sysdeps/mips/mips64/lshift.S: Likewise.
8080         * sysdeps/mips/mips64/mul_1.S: Likewise.
8081         * sysdeps/mips/mips64/rshift.S: Likewise.
8082         * sysdeps/mips/mips64/setjmp.S: Likewise.
8083         * sysdeps/mips/mips64/sub_n.S: Likewise.
8084         * sysdeps/mips/mips64/submul_1.S: Likewise
8085         * sysdeps/unix/mips/sysdep.S: Likewise.
8086
8087         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
8088         and update comment.  The strtab from _dl_relocate_object can be
8089         used.
8090
8091 2000-04-21  Ulrich Drepper  <drepper@redhat.com>
8092
8093         * iconv/iconv.c (iconv): Add __builtin_expect where useful.
8094         * iconv/iconv_close.c (iconv_close): Likewise.
8095         * iconv/iconv_open.c (iconv_open): Likewise.
8096
8097         * grp/putgrent.c (putgrent): Unlock steam if fprintf failed.  Add
8098         __builtin_expect where useful.
8099
8100         * grp/initgroups.c (initgroups): Test for result of memory
8101         allocation and punt if it fails.
8102
8103         * dirent/scandir.c (scandir): Add __builtin_expect where useful.
8104         * grp/fgetgrent.c (fgetfrent): Likewise.
8105         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8106
8107 2000-04-21  Jakub Jelinek  <jakub@redhat.com>
8108
8109         * libio/vasprintf.c: Include string.h to get memcpy prototype.
8110
8111 2000-04-20  Ulrich Drepper  <drepper@redhat.com>
8112
8113         * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
8114         don't search for NUL byte to decrement counter.
8115         Reported by Ulrich.Brink@sap.com.
8116
8117         * iconv/gconv_simple.c: Define separate functions to convert from
8118         UCS4/UCS4-LE to the internal encoding.
8119         * iconv/gconv_builtin.h: Use separate functions to convert from
8120         UCS4/UCS4-LE to the internal encoding.
8121         * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
8122         __gconv_transform_ucs4le_internal.
8123
8124         * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
8125         output buffer overflow.  Reported by Ulrich.Brink@sap.com.
8126
8127         * iconv/skeleton.c: Add some more __builtin_expect.
8128         * iconv/loop.c: Likewise.
8129
8130 2000-03-08  H.J. Lu  <hjl@gnu.org>
8131
8132         * posix/regex.c (regex_compile): Correctly handle "\{" when
8133         the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
8134
8135 2000-04-20  Ulrich Drepper  <drepper@redhat.com>
8136
8137         * manual/stdio.texi: Give advise about handling error when using
8138         stream functions.
8139         Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
8140
8141 2000-04-19  Jakub Jelinek  <jakub@redhat.com>
8142
8143         * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
8144         field to nelems * sizeof (uint32_t).
8145         * locale/programs/ld-address.c (address_output): Align word fields
8146         properly.
8147         * locale/programs/ld-monetary.c (monetary_output): Likewise.
8148         Don't restart idx pointers to idx end at the duo_int_curr_symbol
8149         field.
8150         Avoid giving arbitrary garbage in the crncystr field.
8151         Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
8152         uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
8153         fields.
8154         * locale/programs/ld-numeric.c (numeric_output): Likewise.
8155         Don't restart idx pointers to idx end at the decimal_point_wc field.
8156         * locale/programs/ld-time.c (time_output): week_1stday should be
8157         word, not byte.  Align it properly.
8158
8159 2000-04-19  H.J. Lu  <hjl@gnu.org>
8160
8161         * csu/gmon-start.c (_start): Declared as "extern void".
8162         (etext): Likewise.
8163
8164 2000-04-18  Andreas Jaeger  <aj@suse.de>
8165
8166         * manual/install.texi (Running make install): Don't mention utmpd
8167         anymore.
8168
8169 2000-04-18  Andreas Jaeger  <aj@suse.de>
8170
8171         * linuxthreads/Versions: Use ld instead of ld.so.
8172
8173         * elf/Makefile (ld-map): Use ld.map.
8174
8175         * Versions.def: Use ld instead of ld.so.
8176         * elf/Versions: Likewise.
8177         * sysdeps/mach/hurd/Versions: Likewise.
8178
8179 2000-04-20  Andreas Jaeger  <aj@suse.de>
8180
8181         * elf/rtld.c (print_statistics): Move ifndef further up.
8182         (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
8183         (dl_main): Likewise.
8184
8185 2000-04-18  Ulrich Drepper  <drepper@redhat.com>
8186
8187         * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
8188         * gmon/Versions: Move moncontrol to GLIBC_2.2.
8189
8190         * po/cs.po: Update from translation team.
8191
8192         * sysdeps/generic/updwtmp.c: Remove daemon support.
8193
8194         * login/Makefile (routines): Remove utmp_daemon.
8195
8196         * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
8197         * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
8198         * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
8199         * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
8200
8201         * elf/rtld.c: Display statitics option also if hp timing is not
8202         available.
8203
8204         * login/programs/connection.c: Removed.
8205         * login/programs/database.c Removed.
8206         * login/programs/error.c: Removed.
8207         * login/programs/request.c: Removed.
8208         * login/programs/xtmp.c: Removed.
8209         * login/programs/xtmp.h: Removed.
8210         * login/Makefile: Remove rules for utmpd.
8211         * login/README.utmpd: Removed.
8212         * login/utmp_daemon.c: Removed.
8213         * login/getutent_r.c: Remove references to daemon functions.
8214         * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
8215         declaration.
8216
8217 2000-04-18  Andreas Jaeger  <aj@suse.de>
8218
8219         * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8220         2.2 for libnsl, libresolv, librt, libnss_*.
8221
8222         * elf/rtld.c (process_dl_debug): Remove obsolete comment.
8223
8224         * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
8225
8226 2000-04-18  Ulrich Drepper  <drepper@redhat.com>
8227
8228         * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
8229         * sysdeps/unix/sysv/aix/getegid.c: Likewise.
8230         * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
8231         * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
8232         * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
8233         * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
8234         * sysdeps/unix/sysv/aix/setregid.c: Likewise.
8235         * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
8236         * sysdeps/unix/sysv/aix/setgid.c: Likewise.
8237         * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
8238         * sysdeps/unix/sysv/aix/setegid.c: Likewise.
8239         * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
8240         * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
8241         it here.
8242         * sysdeps/unix/sysv/aix/msync.c: New file.
8243         * sysdeps/unix/sysv/aix/msgsnd.c: New file.
8244         * sysdeps/unix/sysv/aix/net/if.h: New file.
8245         * sysdeps/unix/sysv/aix/pipe.c: New file.
8246         * sysdeps/unix/sysv/aix/poll.c: New file.
8247         * sysdeps/unix/sysv/aix/rename.c: New file.
8248         * sysdeps/unix/sysv/aix/rmdir.c: New file.
8249         * sysdeps/unix/sysv/aix/select.c: New file.
8250         * sysdeps/unix/sysv/aix/semctl.c: New file.
8251         * sysdeps/unix/sysv/aix/semget.c: New file.
8252         * sysdeps/unix/sysv/aix/semop.c: New file.
8253         * sysdeps/unix/sysv/aix/sendto.c: New file.
8254         * sysdeps/unix/sysv/aix/setgroups.c: New file.
8255         * sysdeps/unix/sysv/aix/setpgid.c: New file.
8256         * sysdeps/unix/sysv/aix/setpgrp.c: New file.
8257         * sysdeps/unix/sysv/aix/setpriority.c: New file.
8258         * sysdeps/unix/sysv/aix/setrlimit.c: New file.
8259         * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
8260         * sysdeps/unix/sysv/aix/setsid.c: New file.
8261         * sysdeps/unix/sysv/aix/setsockopt.c: New file.
8262         * sysdeps/unix/sysv/aix/shmat.c: New file.
8263         * sysdeps/unix/sysv/aix/shmctl.c: New file.
8264         * sysdeps/unix/sysv/aix/shmdt.c: New file.
8265         * sysdeps/unix/sysv/aix/shmget.c: New file.
8266         * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
8267         * sysdeps/unix/sysv/aix/sigstack.c: New file.
8268         * sysdeps/unix/sysv/aix/socket.c: New file.
8269         * sysdeps/unix/sysv/aix/socketpair.c: New file.
8270         * sysdeps/unix/sysv/aix/speed.c: New file.
8271         * sysdeps/unix/sysv/aix/symlink.c: New file.
8272         * sysdeps/unix/sysv/aix/sync.c: New file.
8273         * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
8274         * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
8275         * sysdeps/unix/sysv/aix/times.c: New file.
8276         * sysdeps/unix/sysv/aix/ulimit.c: New file.
8277         * sysdeps/unix/sysv/aix/umask.c: New file.
8278         * sysdeps/unix/sysv/aix/unlink.c: New file.
8279         * sysdeps/unix/sysv/aix/ustat.c: New file.
8280         * sysdeps/unix/sysv/aix/utimes.c: New file.
8281
8282 2000-04-18  Andreas Jaeger  <aj@suse.de>
8283
8284         * manual/startup.texi (Environment Access): Fix putenv prototype
8285         according to recent changes.
8286         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
8287         PR libc/1692.
8288
8289         * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
8290         needed.
8291
8292 2000-04-18  Ulrich Drepper  <drepper@redhat.com>
8293
8294         * posix/Makefile (tests): Add tst-getaddrinfo.
8295         * posix/tst-getaddrinfo.c: New file.
8296
8297 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
8298
8299         * manual/sysinfo.texi: Document that umount2 is not widely available.
8300
8301         * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
8302         signal timing is not really implemented.
8303
8304 2000-04-17  Andreas Jaeger  <aj@suse.de>
8305
8306         * elf/rtld.c (process_dl_debug): Mention statistics in help message.
8307
8308 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
8309
8310         * Makefile (install): Use slibdir and libdir instead of inst_slibdir
8311         and inst_libdir.
8312
8313 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
8314
8315         * manual/intro.texi: Change reference from System Information to
8316         System Management.
8317         * manual/users.texi: Likewise.
8318         * manual/conf.texi: Likewise.
8319         * manual/sysinfo.texi: Document mount, umount, and umount2.
8320         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8321
8322 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
8323
8324         * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
8325         Create wnumstr as well as numstr to support wide character output
8326         correctly.
8327
8328 2000-04-15  Jakub Jelinek  <jakub@redhat.com>
8329
8330         * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
8331         modification and move it...
8332         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
8333         Add -melf64_sparc switch to $(LD) on sparc64-linux.
8334         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
8335         switch to $(LD) on sparc-linux.
8336
8337 2000-04-17  Thorsten Kukuk  <kukuk@suse.de>
8338
8339         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
8340         and setresuid from sysdep_routines.
8341
8342 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
8343
8344         * manual/Makefile (chapters): Add resource.
8345
8346         * manual/time.texi: Move section on resources to...
8347         * manual/resource.texi: ...here.  New file.  Document ulimit, vlimit,
8348         and vtimes.
8349         * manual/setjmp.texi: Adjust back reference.
8350         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8351
8352         * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
8353         definition.
8354         * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
8355         * sysdeps/unix/sysv/aix/kill.c: Add copyright.
8356         * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
8357         * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
8358         * sysdeps/unix/sysv/aix/execve.c: Add copyright.
8359         * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
8360         * sysdeps/unix/sysv/aix/close.c: Add copyright.
8361         * sysdeps/unix/sysv/aix/brk.c: Add copyright.
8362         * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
8363         * sysdeps/unix/sysv/aix/access.c: Add copyright.
8364         * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
8365         * sysdeps/unix/sysv/aix/Implies: New file.
8366         * sysdeps/unix/sysv/aix/Versions: New file.
8367         * sysdeps/unix/sysv/aix/bind.c: New file.
8368         * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
8369         * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
8370         * sysdeps/unix/sysv/aix/bits/poll.h: New file.
8371         * sysdeps/unix/sysv/aix/bits/termios.h: New file.
8372         * sysdeps/unix/sysv/aix/chdir.c: New file.
8373         * sysdeps/unix/sysv/aix/chmod.c: New file.
8374         * sysdeps/unix/sysv/aix/chroot.c: New file.
8375         * sysdeps/unix/sysv/aix/creat.c: New file.
8376         * sysdeps/unix/sysv/aix/dl-close.c: New file.
8377         * sysdeps/unix/sysv/aix/dl-open.c: New file.
8378         * sysdeps/unix/sysv/aix/dl-sym.c: New file.
8379         * sysdeps/unix/sysv/aix/fchdir.c: New file.
8380         * sysdeps/unix/sysv/aix/fchmod.c: New file.
8381         * sysdeps/unix/sysv/aix/getgroups.c: New file.
8382         * sysdeps/unix/sysv/aix/gethostname.c: New file.
8383         * sysdeps/unix/sysv/aix/getpriority.c: New file.
8384         * sysdeps/unix/sysv/aix/getrlimit.c: New file.
8385         * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
8386         * sysdeps/unix/sysv/aix/getrusage.c: New file.
8387         * sysdeps/unix/sysv/aix/link.c: New file.
8388         * sysdeps/unix/sysv/aix/madvise.c: New file.
8389         * sysdeps/unix/sysv/aix/mkdir.c: New file.
8390         * sysdeps/unix/sysv/aix/mknod.c: New file.
8391         * sysdeps/unix/sysv/aix/mprotect.c: New file.
8392         * sysdeps/unix/sysv/aix/msgctl.c: New file.
8393         * sysdeps/unix/sysv/aix/msgget.c: New file.
8394         * sysdeps/unix/sysv/aix/msgrcv.c: New file.
8395
8396 2000-04-17  Andreas Jaeger  <aj@suse.de>
8397
8398         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
8399         as suggested by Ulrich Drepper.
8400         (__dl_runtime_resolve): Remove unused variable, initialize sym
8401         directly.
8402         (RTLD_START): Document OFFSET_GP_GOT.
8403         (OFFSET_GP_GOT): New magic value.
8404         (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
8405         (elf_machine_got_rel): Only declare strtab if needed.
8406         (elf_machine_relplt): Removed, it's not needed.
8407         (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
8408
8409         * sysdeps/mips/add_n.S: Add newline at EOF.
8410         * sysdeps/mips/rshift.S: Likewise.
8411         * sysdeps/mips/mul_1.S: Likewise.
8412         * sysdeps/mips/lshift.S: Likewise.
8413         * sysdeps/mips/addmul_1.S: Likewise.
8414
8415 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
8416
8417         * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
8418
8419         * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
8420         * elf/dl-lookup.c: Likewise.
8421         * elf/dl-init.c (_dl_init): Likewise.
8422         * elf/dl-fini.c (_dl_fini): Likewise.
8423         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8424         * elf/dl-close.c (_dl_close): Likewise.
8425         * elf/rtld.c (_dl_start_final): Likewise.
8426
8427         * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
8428
8429 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
8430
8431         * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
8432         only fall back on using Linux.
8433
8434         * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
8435         Before testing versions check that we actually loaded the object
8436         and whether we are in trace mode.  If not loaded during tracing don't
8437         test versions in this object.
8438         (_dl_check_all_versions): Take new parameter and pass to
8439         _dl_check_map_versions.
8440         * sysdeps/generic/ldsodefs.h: Update prototypes for
8441         _dl_check_all_versions and _dl_check_map_versions.
8442         * elf/rtld.c (struct version_check_args): Add dotrace.
8443         (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
8444         (dl_main): Pass info about trace mode to version_check_doit.
8445         * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
8446         _dl_check_all_versions.
8447
8448         * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
8449         and getutmpx.
8450         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8451
8452         * manual/argp.texi: Document index parameter of argp_parse.
8453         Fix typo.
8454         Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
8455
8456 2000-04-14  Andreas Jaeger  <aj@suse.de>
8457
8458         * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
8459         SHMFS_SUPER_MAGIC.  Remove definition of SHMFS_SUPER_MAGIC.
8460
8461         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
8462
8463 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
8464
8465         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
8466         compat_symbol call for old adjtime.
8467
8468         * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
8469         function interface.  Patch by Richard Henderson <rth@cygnus.com>.
8470
8471         * posix/Makefile (headers): Add spawn.h.
8472         (distribute): Add spawn_int.h.
8473         (routines): Add spawn_faction_init, spawn_faction_destroy,
8474         spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
8475         spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
8476         spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
8477         spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
8478         * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
8479         posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
8480         posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
8481         posix_spawnattr_init, posix_spawnattr_destroy,
8482         posix_spawnattr_getdefault, posix_spawnattr_setdefault,
8483         posix_spawnattr_getflags, posix_spawnattr_setflags,
8484         posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
8485         and posix_spawnp.
8486         * posix/spawn.c: New file.
8487         * posix/spawn.h: New file.
8488         * posix/spawn_faction_addclose.c: New file.
8489         * posix/spawn_faction_adddup2.c: New file.
8490         * posix/spawn_faction_addopen.c: New file.
8491         * posix/spawn_faction_destroy.c: New file.
8492         * posix/spawn_faction_init.c: New file.
8493         * posix/spawn_int.h: New file.
8494         * posix/spawnattr_destroy.c: New file.
8495         * posix/spawnattr_getdefault.c: New file.
8496         * posix/spawnattr_getflags.c: New file.
8497         * posix/spawnattr_getpgroup.c: New file.
8498         * posix/spawnattr_getschedparam.c: New file.
8499         * posix/spawnattr_getschedpolicy.c: New file.
8500         * posix/spawnattr_getsigmask.c: New file.
8501         * posix/spawnattr_init.c: New file.
8502         * posix/spawnattr_setdefault.c: New file.
8503         * posix/spawnattr_setflags.c: New file.
8504         * posix/spawnattr_setpgroup.c: New file.
8505         * posix/spawnattr_setschedparam.c: New file.
8506         * posix/spawnattr_setschedpolicy.c: New file.
8507         * posix/spawnattr_setsigmask.c: New file.
8508         * posix/spawni.c: New file.
8509         * posix/spawnp.c: New file.
8510
8511         * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
8512         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
8513
8514 2000-04-14  Ulrich Drepper  <drepper@redhat.com>
8515
8516         * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
8517         * malloc/malloc.c: Implement posix_memalign for glibc.
8518         * include/stdlib.h: Add prototype for __posix_memalign.
8519         * stdlib/stdlib.h: Add prototype for posix_memalign.
8520
8521 2000-04-14  Andreas Jaeger  <aj@suse.de>
8522
8523         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
8524         symidx correctly.
8525         (elf_machine_got_rel): Cast sym correctly.
8526
8527         * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
8528         * sysdeps/mips/addmul_1.S: Likewise.
8529         * sysdeps/mips/lshift.S: Likewise.
8530         * sysdeps/mips/mul_1.S: Likewise.
8531         * sysdeps/mips/rshift.S: Likewise.
8532         * sysdeps/mips/sub_n.S: Likewise.
8533         * sysdeps/mips/submul_1.S: Likewise.
8534
8535         * stdlib/stdlib.h: Fix typo in comment.
8536
8537         * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8538         2.2 for libdl, ld and libm.
8539
8540         * sysdeps/generic/madvise.c: Fix typos.
8541
8542         * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
8543
8544         * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
8545
8546         * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
8547         warnings.
8548
8549 2000-04-14  Ulrich Drepper  <drepper@redhat.com>
8550
8551         * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
8552         * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
8553         Make old name weak alias.
8554         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
8555         * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
8556         Make old name weak alias.
8557         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
8558
8559         * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
8560         posix_fallocate, and posix_fallocate64.
8561         * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
8562         posix_fallocate, and posix_fallocate64.
8563         * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
8564         posix_fallocate, and posix_fallocate64.
8565         * sysdeps/generic/fadvise.c: New file.
8566         * sysdeps/generic/fadvise64.c: New file.
8567         * sysdeps/generic/fallocate.c: New file.
8568         * sysdeps/generic/fallocate64.c: New file.
8569         * sysdeps/posix/fallocate.c: New file.
8570         * sysdeps/posix/fallocate64.c: New file.
8571         * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
8572         POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
8573         POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
8574         * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8575         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8576         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8577         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8578         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8579         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8580
8581         * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
8582         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8583
8584 2000-04-13  Ulrich Drepper  <drepper@redhat.com>
8585
8586         * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
8587         * misc/sys/mman.h (posix_madvise): Add prototype.
8588         * sysdeps/generic/madvise.c (madvise): Renamed to __madvise.  Make
8589         old name and posix_madvise weak aliases.
8590         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8591         * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
8592         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
8593         * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8594         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
8595         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8596         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8597
8598 2000-04-13  Andreas Jaeger  <aj@suse.de>
8599
8600         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
8601         versioning.
8602         (elf_machine_got_rel): Only add runtime display if needed.
8603         (elf_machine_got_rel): Handle symbol versioning.
8604
8605 2000-04-13  Andreas Jaeger  <aj@suse.de>
8606
8607         * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
8608
8609         * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
8610         default.
8611
8612         * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
8613         with some applications.
8614         Patches by Ralf Baechle <ralf@uni-koblenz.de>.
8615
8616         * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
8617         * sysdeps/mips/bsd-_setjmp.S: Likewise.
8618         * sysdeps/mips/setjmp.S: Likewise.
8619
8620         * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
8621
8622 2000-04-13  Ulrich Drepper  <drepper@redhat.com>
8623
8624         * posix/globtest.sh: Work around inconsistency with expanding ~/
8625         in shell (PR libc/1690).  Reported by patsmith@pobox.com.
8626
8627 2000-04-12  Ulrich Drepper  <drepper@redhat.com>
8628
8629         * posix/getconf.c: Add support for many more POSIX options.
8630         * sysdeps/posix/sysconf.c: Likewise.
8631         * sysdeps/generic/bits/confname.h: Add many more POSIX options.
8632         * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
8633         _POSIX_SHELL.
8634         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
8635         * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
8636         CLOCK_PROCESS_CPUTIME_ID.  Add define CLOCK_MONOTONIC and
8637         CLOCK_THREAD_CPUTIME_ID.
8638         * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
8639         CLOCK_PROCESS_CPUTIME_ID.
8640         * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
8641         __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID.  Handle
8642         CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
8643         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
8644
8645         * malloc/Makefile (tests): Add tst-calloc.
8646         * malloc/tst-calloc.c: New file.
8647
8648         * sysdeps/arm/libm-test-ulps: New file.
8649
8650         * malloc/malloc.c: Undo all of today's changes.
8651
8652         * locale/programs/locale.c (show_info): Don't try to look into
8653         data for LC_ALL (there is none).
8654
8655         * malloc/malloc.c (cALLOc): Clear only what the user asked for and
8656         avoid writing over boundary.
8657         Patch by Greg McGary <gkm@eng.ascend.com>.
8658
8659         * sysdeps/arm/memprof.h: New file.
8660
8661 2000-04-12  Andreas Jaeger  <aj@suse.de>
8662
8663         * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
8664
8665         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
8666         for memmem declaration.
8667
8668 2000-04-12  Ulrich Drepper  <drepper@redhat.com>
8669
8670         * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
8671         to -1.
8672         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8673
8674         * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
8675         mode is invalid.
8676         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
8677         Patch by Bart Veer <bartv@redhat.com>.
8678
8679         * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
8680         function interface.
8681
8682 2000-04-11  Andreas Jaeger  <aj@suse.de>
8683
8684         * sysdeps/mips/dl-machine.h: Update some comments.
8685         (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
8686
8687 2000-04-11  Ulrich Drepper  <drepper@redhat.com>
8688
8689         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
8690         _POSIX_SHARED_MEMORY_OBJECTS.
8691
8692         * rt/Makefile (tests): Add tst-shm.
8693         Add rules to generate tst-shm.
8694         * rt/tst-shm.c: New file.
8695
8696         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
8697         for descriptor.
8698
8699         * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
8700         * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
8701         * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
8702         * sysdeps/generic/shm_open.c: New file.
8703         * sysdeps/generic/shm_unlink.c: New file.
8704         * sysdeps/unix/sysv/linux/shm_open.c: New file.
8705         * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
8706         * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
8707          __endmntent, __getmntent_r, __setmntent, and __statfs.
8708
8709         * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
8710         fragmentation by allocating new memory at the end instead of
8711         reallocating.
8712
8713         * posix/globtest.sh: Fix last change.
8714
8715 2000-04-10  Philip Blundell  <philb@gnu.org>
8716
8717         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
8718         IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
8719         IPV6_DROP_MEMBERSHIP.
8720         * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
8721         Likewise.
8722
8723 2000-04-11  Ulrich Drepper  <drepper@redhat.com>
8724
8725         * elf/readlib (process_file): Close streams in case of an error.
8726
8727 2000-04-09  Andreas Jaeger  <aj@suse.de>
8728
8729         * elf/readlib.c (process_file): Check if file is big enough to
8730         contain aout and ELF headers.
8731         Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
8732
8733 2000-04-10  Jes Sorensen  <Jes.Sorensen@cern.ch>
8734
8735         * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
8736
8737 2000-04-11  Ulrich Drepper  <drepper@redhat.com>
8738
8739         * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
8740         stream unbuffered.
8741         * rt/Makefile (tests): Add tst-clock.
8742         Add rules to build tst-clock.
8743         * rt/tst-clock.c: New file.
8744         * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
8745         about initialization of nsec.
8746         * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
8747         about initialization of freq.  Set retval to zero if successful.
8748         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
8749
8750 2000-04-10  Ulrich Drepper  <drepper@redhat.com>
8751
8752         * Versions.def (librt): Add GLIBC_2.2.
8753         * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
8754         clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
8755         timer_getoverr, timer_gettime, and timer_settime.
8756         * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
8757         clock_settime, timer_create, timer_delete, timer_getoverrun,
8758         timer_gettime, and timer_settime.
8759         * sysdeps/generic/clock_getcpuclockid.c: New file.
8760         * sysdeps/generic/get_clockfreq.c: New file.
8761         * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
8762         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
8763         * sysdeps/mach/hurd/i386/bits/time.h: New file.
8764         * sysdeps/unix/i386/i586/clock_getres.c: New file.
8765         * sysdeps/unix/i386/i586/clock_gettime.c: New file.
8766         * sysdeps/unix/i386/i686/Implies: New file.
8767         * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
8768         * time/Makefile (routines): Move clock_getres, clock_gettime,
8769         clock_settime, timer_create, timer_delete, timer_getoverr,
8770         timer_gettime, and timer_settime to rt/Makefile.
8771         * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
8772         clock_settime, timer_create, timer_delete, timer_getoverrun,
8773         timer_gettime, and timer_settime.
8774         * time/time.h: Define pid_t.  Add prototype for clock_getcpuclockid.
8775
8776         * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility.  Use __const__
8777         and not const as attribute name.
8778
8779 2000-04-10  Thorsten Kukuk  <kukuk@suse.de>
8780
8781         * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
8782
8783 2000-04-10  Andreas Schwab  <schwab@suse.de>
8784
8785         * posix/globtest.sh: Skip tests that depend on unreadable
8786         directories if run as root.
8787
8788 2000-04-10  Ulrich Drepper  <drepper@redhat.com>
8789
8790         * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
8791         for correct range.  From code by Kaz Kylheku <kaz@ashi.footprints.net>.
8792
8793 2000-04-09  Ulrich Drepper  <drepper@redhat.com>
8794
8795         * sysdeps/unix/clock_gettime.c: New file.
8796         * sysdeps/unix/clock_settime.c: New file.
8797         * sysdeps/posix/clock_getres.c: New file.
8798
8799         * conform/data/ftw.h-data: Add allow-header sys/stat.h.
8800
8801         * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
8802         lseek call be passing in a buffer which never allow a successful
8803         first getdents syscall if not at leas the initial entry can be
8804         stored in the user buffer.
8805
8806         * localedata/Makefile: Add rules to clean up directories created by
8807         new strfmon tests.
8808
8809 2000-04-09  Geoff Clare  <gwc@unisoft.com>
8810
8811         * localedata/tst-fmon.data: Added new tests for strfmon()
8812         using test locales with all combinations of cs_precedes,
8813         sign_posn and sep_by_space.
8814         * localedata/tst-fmon.sh: Updated to support the new tests.
8815         * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
8816         the localedef source for the new strfmon() test locale.
8817         * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
8818         * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
8819         * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
8820         * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
8821         * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
8822         * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
8823         * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
8824         * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
8825         * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
8826         * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
8827         * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
8828         * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
8829         * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
8830         * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
8831
8832         * stdlib/strfmon.c: Correct problems with missing or extra
8833         spaces for unusual combinations of sign_posn and sep_by_space.
8834         Improved left-precision alignment code.
8835
8836 2000-04-07  Andreas Jaeger  <aj@suse.de>
8837
8838         * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
8839
8840 2000-04-10  Andreas Jaeger  <aj@suse.de>
8841
8842         * intl/Makefile: Don't run do-gettext-test when cross-compiling.
8843
8844 2000-04-09  Ulrich Drepper  <drepper@redhat.com>
8845
8846         Implement handling of restartable conversion functions according to
8847         ISO C.
8848         * iconv/gconv.h (__gconv_fct): Add additional parameter.
8849         * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
8850         * iconv/gconv.c: Pass additional parameter to conversion function.
8851         * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
8852         (internal_ucs4le_loop_single): New function.
8853         (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
8854         (__gconv_transform_internal_ascii): Likewise.
8855         (__gconv_transform_internal_utf8): Likewise.
8856         (__gconv_transform_utf8_internal): Likewise.
8857         (__gconv_transform_ucs2_internal): Likewise.
8858         (__gconv_transform_internal_ucs2): Likewise.
8859         (__gconv_transform_ucs2reverse_internal): Likewise.
8860         (__gconv_transform_internal_ucs2reverse): Likewise.
8861         (internal_ucs4le_loop_unaligned): Before return
8862         __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
8863         a valid character.  Otherwise return __GCONV_ILLEGAL_INPUT.
8864         (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
8865         * iconv/loop.c: Fit in definition of function to convert one character
8866         for processing of left-over bytes from the state object.
8867         * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
8868         inend to match names in loop functions.
8869         (RESET_INPUT_BUFFER): Change apprpriately.
8870         (gconv): If needed, call function to process bytes from the state
8871         object.  Similar at the end: store left over bytes if input is
8872         incomplete.
8873         Take extra argument and add new argument to all calls of the
8874         conversion function.
8875         * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
8876         information in the state object to not conflict with length count.
8877         * iconvdata/iso-2022-jp.c: Likewise.
8878         * iconvdata/iso-2022-kr.c: Likewise.
8879         * iconvdata/unicode.c: Adjust for change change in parameters of
8880         skeleton function.
8881         * iconvdata/utf-16.c: Likewise.
8882         * libio/iofwide.c: Add new parameter to all calls of conversion
8883         function.
8884         * wcsmbs/btowc.c: Likewise.
8885         * wcsmbs/mbrtowc.c: Likewise.
8886         * wcsmbs/mbsnrtowcs.c: Likewise.
8887         * wcsmbs/mbsrtowcs.c: Likewise.
8888         * wcsmbs/wcrtomb.c: Likewise.
8889         * wcsmbs/wcsnrtombs.c: Likewise.
8890         * wcsmbs/wcsrtombs.c: Likewise.
8891         * wcsmbs/wctob.c: Likewise.
8892
8893         * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
8894         MAX_NEEDED_INPUT.
8895
8896 2000-04-07  Andreas Jaeger  <aj@suse.de>
8897
8898         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
8899         newer kernels.
8900
8901 2000-04-07  Ulrich Drepper  <drepper@redhat.com>
8902
8903         * wcsmbs/wchar.h (__mbstate_t): Rename elements.  Make __value
8904         element a union to allow byte access.
8905         * iconvdata/iso-2022-cn.c: Adjust for change of element name in
8906         mbstate_t.
8907         * iconvdata/iso-2022-jp.c: Likewise.
8908         * iconvdata/iso-2022-kr.c: Likewise.
8909         * wcsmbs/mbsinit.c: Likewise.
8910         * stdlib/mblen.c: Likewise.
8911         * stdio-common/printf-parse.h: Likewise.
8912
8913 2000-04-06  Ulrich Drepper  <drepper@redhat.com>
8914
8915         * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
8916         kernel does not allow relative seeks on descriptors associated
8917         with directories.  Go back to get the position in the directory
8918         every time we enter the function.  Return -1 and set errno if one
8919         entry could be read from the kernel but does not fit into the
8920         buffer passed in by the user.
8921
8922         * locale/programs/charmap.c (charmap_new_char): Add parameter step.
8923         Support ..(2).. ellipsis.
8924         (parse_charmap): Recognize ..(2).. etc and pass step down.
8925         Correctly generate names for UCS4 characters.
8926
8927         * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
8928         (ctype_finish): We know the wide character value for <SP>,
8929         don't search.
8930         (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
8931         (charclass_ucs4_ellipsis): Likewise.
8932         (read_translit_ignore_entry): Store ellipsis step.
8933         (ctype_read): Recognize ..(2).. etc and pass step down.
8934
8935         * locale/programs/linereader.c (lr_token): When seeing comment
8936         character ignore only rest of line in sources but stop at escaped
8937         newline.
8938         Recognize ..(2).. and ....(2).....
8939
8940         * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
8941         and tok_ellipsis4_2.
8942
8943 2000-04-06  Andreas Jaeger  <aj@suse.de>
8944
8945         * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
8946         removed, remove it here also.
8947         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
8948         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
8949         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
8950         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
8951
8952 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
8953
8954         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
8955         include bits/sigcontext.h.
8956         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8957
8958 2000-04-06  Ulrich Drepper  <drepper@redhat.com>
8959
8960         * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
8961         collation symbol definition.  Value in quivalence definition must
8962         be defined, don't check that it is not.
8963
8964         * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
8965         values as character names.
8966
8967         * locale/programs/ld-ctype.c (get_character): Handle missing
8968         repertoire map correctly.
8969
8970 2000-04-05  Cristian Gafton  <gafton@redhat.com>
8971
8972         * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
8973         because it is used in generic code.
8974         * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
8975         * wcsmbs/wcwidth.h: Declare __ctype32_b.
8976         * intl/gettext.c: Include <locale.h>.
8977         * intl/ngettext.c: Likewise.
8978
8979 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
8980
8981         * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
8982         socklen_t type for size.
8983         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
8984         init function interface.
8985         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8986         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
8987         sys/ucontext.h.
8988         (__jmp_buf): Declare the whole type structure here, don't use
8989         ucontext.
8990
8991 2000-04-05  Ulrich Drepper  <drepper@redhat.com>
8992
8993         * iconv/skeleton.c (put16u): Fix typo.
8994         Reported by Bruno Haible <haible@ilog.fr>.
8995
8996         * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
8997         * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
8998         * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
8999         * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
9000         * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
9001         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
9002
9003         * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
9004         * Makefile (distribute): Add abi-versions.awk and
9005         firstversions.awk.
9006         Patches by Torsten Duwe <duwe@caldera.de>.
9007
9008 2000-04-05  Andreas Schwab  <schwab@suse.de>
9009
9010         * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
9011
9012 2000-04-05  Andreas Schwab  <schwab@suse.de>
9013
9014         * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
9015         entry point, used on Hurd.
9016
9017 2000-04-04  Andreas Jaeger  <aj@suse.de>
9018
9019         * intl/Makefile: Only run the gettext test with shared libraries.
9020
9021 2000-03-16  Mark Kettenis  <kettenis@gnu.org>
9022
9023         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
9024         Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
9025
9026 2000-04-05  Roland McGrath  <roland@baalperazim.frob.com>
9027
9028         * Makeconfig: Undo last change.
9029         * configure.in: If --disable-shared was given, don't set VERSIONING,
9030         don't define DO_VERSIONING, and don't give scare warning for no
9031         versioning.
9032         * configure: Regenerated.
9033
9034 2000-04-04  Roland McGrath  <roland@baalperazim.frob.com>
9035
9036         * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
9037
9038 2000-04-04  Andreas Jaeger  <aj@suse.de>
9039
9040         * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
9041
9042 2000-04-04  Ulrich Drepper  <drepper@redhat.com>
9043
9044         * elf/dl-runtime.c (fixup): Correct handling of symbols marked
9045         STV_HIDDEN and STV_INTERNAL during lookup.
9046         (profile_fixup): Likewise.
9047         * elf/dl-reloc.c (RESOLVE): Likewise.
9048
9049         * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
9050         unaligned so that it compiles for system which need unaligned
9051         access handling.
9052
9053 2000-04-04  Andreas Schwab  <schwab@suse.de>
9054
9055         * elf/cache.c (print_entry): Only look at the type field when
9056         printing the type.
9057
9058 2000-04-04  Andreas Schwab  <schwab@suse.de>
9059
9060         * iconvdata/big5.c (BODY): Fix typo.
9061
9062 2000-04-04  Andreas Schwab  <schwab@suse.de>
9063
9064         * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
9065         function interface.  Remove unused _dl_start_user entry point.
9066
9067 2000-04-03  Andreas Jaeger  <aj@suse.de>
9068
9069         * include/arpa/inet.h (__inet_aton): Add protoype.
9070
9071 2000-04-01  Andreas Jaeger  <aj@suse.de>
9072
9073         * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
9074
9075         * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
9076         * sysdeps/mach/mips/thread_state.h: Likewise.
9077
9078         * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
9079         * sysdeps/generic/fegetenv.c: Likewise.
9080         * sysdeps/generic/fesetenv.c: Likewise.
9081         * sysdeps/generic/feupdateenv.c: Likewise.
9082         * sysdeps/generic/fraiseexcpt.c: Likewise.
9083         * sysdeps/generic/fsetexcptflg.c: Likewise.
9084         * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
9085         * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9086         * sysdeps/unix/sysv/linux/errlist.c: Likewise.
9087         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9088
9089 2000-04-02  H.J. Lu  <hjl@gnu.org>
9090
9091         * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
9092
9093 2000-04-03  Ulrich Drepper  <drepper@redhat.com>
9094
9095         * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
9096         (add_name_to_object): Add cast in malloc call.
9097         (fillin_rpath): Optimize loop to initialize ->status a bit.
9098
9099         * sysdeps/i386/dl-machine.h: Undo last change.
9100         * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
9101         Restore %edx register after call here.
9102
9103         * sysdeps/arm/atomicity.h: New file.
9104         Contributed by Jesper Skov <jskov@redhat.com>.
9105
9106 2000-04-03  Roland McGrath  <roland@baalperazim.frob.com>
9107
9108         * Makeconfig (preprocess-versions): Undo last change.
9109         Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
9110
9111         * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
9112         here, before we might move the stack.
9113         (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
9114         (init1): And not here.
9115
9116         * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
9117         change, to restore argc value in call-clobbered register after
9118         RTLD_START_SPECIAL_INIT, which will contain a call.
9119
9120         * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
9121         allocating and initializing L->l_initfini.
9122
9123         * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
9124
9125 2000-04-03  Ulrich Drepper  <drepper@redhat.com>
9126
9127         * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
9128         RUNPATH, RPATH, and LD_LIBRARY_PATH.
9129         (open_path): Change type of fourth parameter.  Make pointer to array
9130         of pointers.  Create variable dirs with original type.
9131         Track whether any directory for the object exists and if not,
9132         change *DIRSP to (void*) -1 to signal there is no such search path.
9133         (_dl_map_object): Change all calls of open_path.
9134         Rewrite decompose_rpath calls.
9135
9136 2000-03-31  Andreas Schwab  <schwab@suse.de>
9137
9138         * string/strfry.c: Declare STATE as array of char instead of int
9139         and do not initialize it (done by initstate_r).  Pass correct
9140         size.
9141
9142 2000-04-03  Ulrich Drepper  <drepper@redhat.com>
9143
9144         * sysdeps/generic/ldsodefs.h: Fix typo in comment.
9145
9146         * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
9147         instruction out of the code.
9148
9149 2000-04-02  Ulrich Drepper  <drepper@redhat.com>
9150
9151         * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
9152         element at this position.
9153
9154         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
9155         * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
9156         l_reldeps elements.
9157         * elf/dl-lookup.c (add_dependency): New function.
9158         (_dl_lookup_symbol): Use it whenever symbol was found in a global,
9159         dynamically loaded object.
9160         (_dl_lookup_symbol_skip): Likewise.
9161         (_dl_lookup_versioned_symbol): Likewise.
9162         (_dl_lookup_versioned_symbol_skip): Likewise.
9163         * elf/dl-open.c: Don't define _dl_load_lock here...
9164         * elf/rtld.c: ...but here...
9165         * elf/dl-support.c: ...and here.
9166         * elf/dl-close.c (_dl_close): Close also dependent objects introduce
9167         through relocation.
9168         * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
9169         relocations.
9170         * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
9171         anymore.
9172         * dlfcn/glrefmain.c: Add one more debug message.
9173
9174         * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
9175         command line.
9176         * Makerules (sysd-versions): Use ( ) instead of { }.
9177
9178         * elf/dl-load.c: Use __builtin_expect to signal that compiler should
9179         optimize for the non-debugging case.
9180         * elf/dl-lookup.c: Likewise.
9181         * sysdeps/generic/libc-start.c: Likewise.
9182
9183 2000-04-02  Roland McGrath  <roland@baalperazim.frob.com>
9184
9185         * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
9186         (init1): Don't initialize __environ here, since init already does it.
9187         (first_init): New function, broken out of _init.
9188         (_hurd_stack_setup): Use it.
9189         [SHARED] (_dl_init_first): New function, renamed from old _init.
9190         (init1) [SHARED]: Don't call posixland_init here.
9191         (posixland_init): Take ENVP arg, so signature is usual for initializer.
9192         [SHARED] (_init): Define as alias for posixland_init.
9193         [! SHARED] (__libc_first_init): Define as alias for posixland_init.
9194         * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
9195         RTLD_START_SPECIAL_INIT before calling initializers.
9196         (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
9197         * sysdeps/mach/hurd/i386/dl-machine.h: New file.
9198         * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
9199         * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
9200
9201         * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
9202         since we define the function with the name `tmpfile'.
9203
9204         * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
9205         * hurd/Versions: Likewise.
9206
9207 2000-04-02  Ulrich Drepper  <drepper@redhat.com>
9208
9209         * elf/dl-runtime.c (fixup): Fix typo in comment.
9210
9211         * resolv/netdb.h (getnameinfo): All length parameters are of type
9212         socklen_t.
9213         * inet/getnameinfo.c: Likewise.
9214
9215 2000-04-01  Ulrich Drepper  <drepper@redhat.com>
9216
9217         * posix/unistd.h (socklen_t): Define if it has not yet happened.
9218         (gethostname): Change type of second parameter to socklen_t.
9219         * include/unistd.h (__gethostname): Change type of second
9220         parameter to socklen_t.
9221         * sysdeps/generic/gethostname.c (__gethostname): Likewise.
9222         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9223         * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
9224         * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
9225         Likewise.
9226         * sysdeps/unix/sysv/linux/gethostname.c: Removed.
9227         * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
9228         Allow definition elsewhere.
9229         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
9230         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9231         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
9232         * sysdeps/generic/bits/types.h: Define __socklen_t.
9233         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
9234         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
9235         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9236         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9237         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9238         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
9239         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
9240
9241         * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
9242         (inet_lnaof): Likewise.
9243         (inet_netof): Likewise.
9244         (inet_network): Likewise.
9245         (inet_aton): Likewise.
9246         (inet_makeaddr): Change parameter types to in_addr_t.
9247         (inet_neta): Likewise.
9248         (inet_ntop): Change type of last parameter to socklen_t.
9249         (inet_aton): Only make available if __USE_MISC.
9250         (inet_neta): Likewise.
9251         (inet_net_ntop): Likewise.
9252         (inet_net_pton): Likewise.
9253         (inet_nsap_ntoa): Likewise.
9254
9255         * inet/in.h: Define in_port_t type.
9256         Define in_addr_t type.
9257         (struct in_addr): Use in_addr_t in definition.
9258         (IN_CLASSA): Use cast to in_addr_t.
9259         (IN_CLASSB): Likewise.
9260         (IN_CLASSC): Likewise.
9261         (IN_CLASSD): Likewise.
9262         (IN_EXPERIMENTAL): Likewise.
9263         (IN_BADCLASS): Likewise.
9264         (INADDR_ANY): Likewise.
9265         (INADDR_BROADCAST): Likewise.
9266         (INADDR_NONE): Likewise.
9267         (INADDR_LOOPBACK): Likewise.
9268         (INADDR_UNSPEC_GROUP): Likewise.
9269         (INADDR_ALLHOSTS_GROUP): Likewise.
9270         (INADDR_ALLRTRS_GROUP): Likewise.
9271         (INADDR_MAX_LOCAL_GROUP): Likewise.
9272         (struct sockaddr_in): Use in_port_t for sin_port element.
9273         (struct sockaddr_in6): Use in_port_t for sin6_port element.
9274         Use uint8_t instead of u_int8_t.
9275
9276         * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
9277         Call __inet_aton instead of inet_aton.
9278         (__inet_aton): Renamed from inet_aton.  Add weak alias under old name.
9279
9280         * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
9281         (innetgr): Likewise.
9282         (struct addrinfo): Use socklen_t for ai_addrlen element.
9283
9284         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
9285         IPV6_RECVERR): New defines.
9286
9287         * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
9288         * inet/getnetbyad.c: Likewise.
9289         * inet/getnetbyad_r.c: Likewise.
9290         * nis/nss_nis/nis-network.c: Likewise.
9291         * nis/nssplus_nis/nisplus-network.c: Likewise.
9292         * nss/nss_files/files-network.c: Likewise.
9293         * resolv/netdb.h: Define uint32_t if not already happened.
9294         Include bits/netdb.h.  Remove definition of struct netent.
9295         Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
9296         * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
9297         * sysdeps/generic/bits/netdb.h: New file.
9298         * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
9299
9300         * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
9301         (tests): Add glrefmain.
9302         Add rules to build modules and run tests.  Ignore result of glrefmain
9303         for now since it fails.
9304         * dlfcn/glrefmain.c: New file.
9305         * dlfcn/glreflib1.c: New file.
9306         * dlfcn/glreflib2.c: New file.
9307
9308         * test-skeleton.c: Include <string.h> for strsignal prototype.
9309
9310         * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
9311         to be missing.
9312
9313         * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
9314         former init-first.h.  Initialize __libc_multiple_libcs.
9315
9316 2000-03-31  Ulrich Drepper  <drepper@redhat.com>
9317
9318         * iconv/skeleton.c: Define access macros with u suffix.  Adjust
9319         #if expression for use of unaligned function to the one used in
9320         the definition of these functions.
9321         * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
9322         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
9323         (internal_ucs4le_loop_unaligned): New function.
9324
9325         * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
9326         (tests): Add order.
9327         (module-names): Add dep1, dep2, dep3, and dep4.
9328         Add dependencies for dep* modules and order.
9329         Define rule for order.out which checks the result.
9330         * elf/dep1.c: New file.
9331         * elf/dep2.c: New file.
9332         * elf/dep3.c: New file.
9333         * elf/dep4.c: New file.
9334         * elf/order.c: New file.
9335
9336         * elf/dl-init.c: Fix typo in comment.
9337
9338 2000-03-31  Andreas Jaeger  <aj@suse.de>
9339
9340         * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
9341         init function interface.
9342         * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
9343
9344 2000-03-31  Andreas Jaeger  <aj@suse.de>
9345
9346         * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
9347         * sysdeps/mips/fpu/fegetenv.c: Likewise.
9348         * sysdeps/mips/fpu/feupdateenv.c: Likewise.
9349         * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
9350         * sysdeps/mips/fpu/fesetenv.c: Likewise.
9351
9352         * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
9353         anymore, update comment.
9354
9355         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9356
9357         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
9358         SHLIB_COMPAT - the struct is always needed.
9359
9360 2000-03-31  Ulrich Drepper  <drepper@redhat.com>
9361
9362         * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
9363         * elf/dl-support.c: Define _dl_starting_up.
9364
9365 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
9366
9367         * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
9368         * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
9369
9370         * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
9371
9372         * elf/Makefile (dl-routines): Remove preinit.
9373         * elf/Versions: Remove _dl_preinit.
9374         * elf/dl-preinit.c: Removed.  Move content into...
9375         * elf/dl-init.c: ...here.
9376         * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
9377
9378         * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
9379         elements.
9380
9381 2000-03-29  Geoff Clare  <gwc@unisoft.com>
9382
9383         * stdlib/strfmon.c: Corrected problems with the code that
9384         sets default values for [np]_sep_by_space and
9385         [np]_sign_posn; also the new positive/negative alignment
9386         code from the previous patch was not quite right for
9387         [np]_sign_posn = 0.
9388
9389         * localedata/tst-fmon.data: Changes corresponding to the
9390         two sets of fixes made to stdlib/strfmon.c.
9391
9392 2000-03-29  Jes Sorensen  <jes@pcatls01.cern.ch>
9393
9394         * malloc/malloc.c: Declare bit flags UL so that they will not
9395         default to int size when being inverted.
9396
9397 2000-03-29  Andreas Jaeger  <aj@suse.de>
9398
9399         * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
9400         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9401
9402 2000-03-29  Andreas Jaeger  <aj@suse.de>,
9403             Ralf Baechle <ralf@uni-koblenz.de>
9404
9405         * Makeconfig: Introduce new variable SHARED to mark code used in
9406         the shared library.
9407         * elf/dl-close.c: Use it instead of PIC.
9408         * elf/dl-load.c: Likewise.
9409         * elf/dl-open.c: Likewise.
9410         * hurd/geteuids.c: Likewise.
9411         * include/libc-symbols.h: Likewise.
9412         * include/shlib-compat.h: Likewise.
9413         * libio/freopen.c: Likewise.
9414         * linuxthreads/cancel.c: Likewise.
9415         * linuxthreads/pthread.c: Likewise.
9416         * linuxthreads/wrapsyscall.c: Likewise.
9417         * nss/nsswitch.c: Likewise.
9418         * stdio-common/vfprintf.c: Likewise.
9419         * sysdeps/arm/init-first.c: Likewise.
9420         * sysdeps/i386/init-first.c: Likewise
9421         * sysdeps/generic/init-first.c: Likewise.
9422         * sysdeps/generic/libc-start.c: Likewise.
9423         * sysdeps/mips/init-first.c: Likewise.
9424         * sysdeps/powerpc/elf/libc-start.c: Likewise.
9425         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9426         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9427         * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9428         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9429
9430         * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
9431
9432 2000-03-29  Andreas Jaeger  <aj@suse.de>
9433
9434         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
9435         Use D_PTR to access relocated entries in l_info.
9436         (elf_machine_rela): Likewise.
9437
9438         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
9439         Likewise.
9440         (elf_machine_rela): Likewise.
9441
9442         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
9443         Likewise.
9444         (__elf_machine_fixup_plt): Likewise.
9445         (__process_machine_rela): Likewise.
9446
9447         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
9448         (elf_machine_rela): Likewise.
9449
9450         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
9451         (elf_machine_rel): Likewise.
9452
9453         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
9454         (elf_machine_fixup_plt): Likewise.
9455         (elf_machine_rela): Likewise.
9456
9457 2000-03-29  Andreas Jaeger  <aj@suse.de>
9458
9459         * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
9460         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9461         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9462         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
9463         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9464         * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
9465         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
9466         * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
9467         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9468         * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
9469         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
9470         * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
9471         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
9472         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
9473         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9474
9475         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
9476         macros, remove K&R prototypes.
9477
9478 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
9479
9480         * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
9481         Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
9482         (PR libc/1677).
9483
9484 2000-03-30  Andreas Jaeger  <aj@suse.de>
9485
9486         * misc/sys/cdefs.h: Remove K&R support.
9487
9488 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
9489
9490         * iconv/skeleton.c: Avoid compiling unaligned versions in some
9491         more cases.
9492         * iconv/loop.c: Likewise.
9493
9494 2000-03-29  Bruno Haible  <haible@clisp.cons.org>
9495
9496         * iconv/loop.c (put16): Remove __const. Fix access index.
9497         (put32): Remove __const. Use uint32_t instead of uint16_t.
9498         * iconv/skeleton.c: Likewise.
9499
9500 2000-03-30  Roland McGrath  <roland@baalperazim.frob.com>
9501
9502         * mach/Versions (libc: GLIBC_2.0)
9503         [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
9504         __vm_allocate on this.
9505         [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
9506         mutex- and spinlock-related symbols on this.
9507         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9508         New version set.  Lock-related symbols go here instead in this case.
9509         * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
9510         _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
9511         cthread_getspecific, cthread_setspecific, __libc_getspecific.
9512         * hurd/Versions
9513         [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
9514         Put them here instead.
9515         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9516         New version set.  Those cthreads symbols go here instead in this case.
9517         * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
9518
9519 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
9520
9521         * elf/dl-init.c (_dl_init): We don't need to call constructors
9522         recursively.  Fold _dl_init_rec in _dl_init and optimize a bit more.
9523
9524         Implement dynamic determination of constructor/destructor order in
9525         the dynamic linker.
9526         * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
9527         (GLIBC_2.2): Add _dl_init.
9528         * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
9529         r_duplist is not anymore allocated separately.  l_initfini is and
9530         therefore free it if necessary.
9531         * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
9532         malloc block.  Otherwise allocate l_initfini list only.
9533         Put dependencies for the object in l_initfini list.
9534         Sort dependencies for the object to be loaded topologically.
9535         * elf/dl-fini.c: Before running the destructors sort the topologically.
9536         * elf/dl-init.c (_dl_init): Renamed from _dl_init_next.  Rewrite to
9537         call constructors instead of iterating over the pointers.  Get list of
9538         objects for which to run constructors from l_initfini element. Accept
9539         argc, argv, and env as parameters and pass them to the constructors.
9540         * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
9541         with size of dynamic section.
9542         * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
9543         _dl_init_next and calling constructors ourself.
9544         * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
9545         Take argc, argv, and env as parameters and pass them to the
9546         constructors.  Rewrite to call all constructors and not iterate over
9547         the pointers.
9548         * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry.  Don't
9549         precompute l_initcount and l_preinitcount.
9550         * elf/link.h (struct link_map): Add l_ldnum member.
9551         Make l_phdr_allocated part of the bitfield.  Remove l_runcount,
9552         l_initcount, and l_preinitcount.  Add l_initfini.
9553         * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
9554         one for _dl_init.
9555         * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
9556         function interface.
9557         * sysdeps/unix/sysv/linux/init-first.h: Removed.
9558         * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
9559         * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
9560         SYSDEP_CALL_INIT.  Make _init a strong alias of init.  The calling
9561         conventions now match.
9562
9563         * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
9564         effect for shared objects.  Don't emit message and call only for
9565         static library.
9566
9567 2000-03-29  Ulrich Drepper  <drepper@redhat.com>
9568
9569         * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
9570         CSA_Z243.4-1985-1..UCS2.
9571         * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
9572         ISO-8859-10..UCS2.
9573
9574 2000-03-29  Andreas Jaeger  <aj@suse.de>
9575
9576         * include/unistd.h: Remove duplicate entry for __rmdir.
9577         Remove declaration of __mkdir since __mkdir is declared in
9578         sys/stat.h.
9579
9580         * manual/creature.texi (Feature Test Macros): Fix typo, reported
9581         by Michael Deutschmann <michael@talamasca.ocis.net>.
9582
9583         * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
9584         * sysdeps/mips/fpu/fegetenv.c: Likewise.
9585         * sysdeps/mips/fpu/fesetenv.c: Likewise.
9586         * sysdeps/mips/fpu/feupdateenv.c: Likewise.
9587         * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
9588
9589 2000-03-28  Andreas Jaeger  <aj@suse.de>
9590
9591         * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
9592         declaration, the prototype is defined via bits/mathcalls.h.
9593         (__sincosf): Likewise.
9594         (__sincosl): Likewise.
9595         (ldexp): Likewise.
9596         (ldexpf): Likewise.
9597         (ldexpl): Likewise.
9598         (__finite): Likewise.
9599         (__inline_mathcodeNP): New macro without prototype
9600         declarations.
9601         (__inline_mathcodeNP2): Likewise.
9602         (__inline_mathcodeNP3): Likewise.
9603         (__inline_mathcodeNP_): Likewise.
9604         (__inline_mathcodeNP2_): Likewise.
9605         (__inline_mathcodeNP3_): Likewise.
9606         (__inline_mathopNP): Likewise.
9607         (__inline_mathop_declNP): Likewise.
9608         (__inline_mathop_declNP_): Likewise.
9609         (__inline_mathcode_): Use __inline_mathcodeNP_.
9610         (__inline_mathcode2_): Use __inline_mathcodeNP2_.
9611         (__inline_mathcode3_): Use __inline_mathcodeNP3_.
9612         (__inline_mathop_decl_): Use __inline_mathop_declNP__.
9613         (__expm1l): Don't define prototype, the prototype is defined via
9614         bits/mathcalls.h.
9615         (exp): Likewise.
9616         (__expl): Likewise.
9617         (tan): Likewise.
9618         (atan2): Likewise.
9619         (__atan2l): Likewise.
9620         (fmod): Likewise.
9621         (pow): Likewise.
9622         (fabsf): Likewise.
9623         (fabsl): Likewise.
9624         (__fabsl): Likewise.
9625         (asin): Likewise.
9626         (acos): Likewise.
9627         (sinh): Likewise.
9628         (cosh): Likewise.
9629         (tanh): Likewise.
9630         (floor): Likewise.
9631         (ceil): Likewise.
9632         (expm1): Likewise.
9633         (log1p): Likewise.
9634         (asinh): Likewise.
9635         (acosh): Likewise.
9636         (atanh): Likewise.
9637         (hypot): Likewise.
9638         (logb): Likewise.
9639         (fma): Likewise.
9640         (drem): Likewise.
9641         (sqrt): Likewise.
9642         (__sqrtl): Likewise.
9643         (sin): Likewise.
9644         (cos): Likewise.
9645         (atan): Likewise.
9646         (log): Likewise.
9647         (log10): Likewise.
9648         (asinh): Likewise.
9649         (log2): Likewise.
9650         (rint): Likewise.
9651
9652 2000-03-28  Ulrich Drepper  <drepper@redhat.com>
9653
9654         * Makerules: If make variable md5 is defined to yes after
9655         generating dependencies generate MD5 sum for the object.
9656
9657         * iconv/gconv_builtin.h: Fix length in transformation definition
9658         for UNICODEBIG.
9659
9660         * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
9661
9662         * iconv/loop.c: Define get16, get32, put16, and put32 macros to
9663         allow as well reading from/writing to unaligned addresses on machines
9664         which don't support this in hardware.  Use FCTNAME macro to define
9665         function name.  Include the file a second time for platforms which
9666         need special unaligned handling.
9667         * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
9668         to access potentially unaligned addresses.  These macros are intended
9669         to be used only outside the loops.
9670         (unaligned): New definition.  In case the machine can handle unaligned
9671         access define as zero.  Otherwise as a variable which is initialized
9672         as nonzero in case the buffer passed in at runtime is unaligned with
9673         respect to the character set encoding involved.
9674         Call aligned or unaligned looop functions according to unaligned
9675         variable.
9676         * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
9677         of direct casting pointer to potentially handle unaligned memory
9678         accesses.
9679         * iconvdata/8bit-generic.c: Likewise.
9680         * iconvdata/ansi_x3.110.c: Likewise.
9681         * iconvdata/big5.c: Likewise.
9682         * iconvdata/euc-cn.c: Likewise.
9683         * iconvdata/euc-jp.c: Likewise.
9684         * iconvdata/euc-kr.c: Likewise.
9685         * iconvdata/euc-tw.c: Likewise.
9686         * iconvdata/gbk.c: Likewise.
9687         * iconvdata/iso-2022-cn.c: Likewise.
9688         * iconvdata/iso-2022-jp.c: Likewise.
9689         * iconvdata/iso-2022-kr.c: Likewise.
9690         * iconvdata/iso646.c: Likewise.
9691         * iconvdata/iso_6937-2.c: Likewise.
9692         * iconvdata/iso_6937.c: Likewise.
9693         * iconvdata/johab.c: Likewise.
9694         * iconvdata/sjis.c: Likewise.
9695         * iconvdata/t.61.c: Likewise.
9696         * iconvdata/uhc.c: Likewise.
9697         * iconvdata/unicode.c: Likewise.
9698         * iconvdata/utf-16.c: Likewise.
9699
9700         * locale/programs/simple-hash.c: Little optimizations.  Remove K&R
9701         prototypes.
9702
9703         * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
9704         * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
9705         public.
9706         * malloc/mcheck.h (mcheck_check_all): Declare.
9707
9708         * stdio-common/Makefile (tests): Add tst-obprintf.
9709
9710 2000-03-28  Roland McGrath  <roland@baalperazim.frob.com>
9711
9712         * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
9713         Declare pthread_sigmask.
9714
9715         * csu/version.c: Add 2000 to copyright years.
9716         Remove Emacs local variables section.
9717
9718 2000-03-23  Bruno Haible  <haible@clisp.cons.org>
9719
9720         * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
9721         __gconv_transform_internal_ucs2little): Remove declarations.
9722         * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
9723         __gconv_transform_internal_ucs2): Never need to bswap_16.
9724         (__gconv_transform_ucs2reverse_internal,
9725         __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
9726
9727 2000-03-27  Roland McGrath  <roland@baalperazim.frob.com>
9728
9729         * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
9730         obsoleting version not being defined at all, in which case the
9731         result is always true.
9732
9733         * Makeconfig (preprocess-versions): New canned sequence for running
9734         cpp on shlib-versions and the like.
9735         (soversions.i): Use it.
9736         * Makerules (Versions.all, sysd-versions): Use it to preprocess the
9737         Versions.def and Versions files.
9738
9739 2000-03-27  Ulrich Drepper  <drepper@redhat.com>
9740
9741         * stdio-common/tst-obprintf.c (main): Add another check to see
9742         obstack_printf handling all possible beginnings of the block
9743         inside an obstack chunk.
9744
9745         * locale/programs/localedef.c: Use __malloc_initialize_hook to
9746         install mcheck handler.
9747
9748         * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
9749         handling problem.
9750
9751 2000-03-27  Roland McGrath  <roland@baalperazim.frob.com>
9752
9753         * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
9754
9755         * include/shlib-compat.h: Conditionalize <abi-versions.h> include
9756         on [HAVE_ELF && DO_VERSIONING].
9757
9758 2000-03-27  Ulrich Drepper  <drepper@redhat.com>
9759
9760         * stdio-common/tst-obprintf.c: New file.
9761
9762 2000-03-26  Ulrich Drepper  <drepper@redhat.com>
9763
9764         * libio/genops.c (_IO_default_xsputn): Little optimization.  Call
9765         _IO_OVERFLOW directly instead through __overflow.
9766
9767         * locale/programs/localedef.c (construct_output_path): If path
9768         contains a / compute the end of the directory name correctly.
9769
9770         * include/features.h: Undef and document __USE_XOPEN2K.
9771
9772         * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
9773         whenever a function is called.  Initiated by calling mcheck_pedantic
9774         instead of mcheck.
9775         * malloc/mcheck.h: Declare mcheck_pedantic.
9776         * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
9777         * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
9778         for now.
9779
9780 2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>
9781
9782         * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
9783         * dlfcn/dlopenold.c: Likewise.
9784         * nss/getXXbyYY_r.c: Likewise.
9785         * nss/getXXent_r.c: Likewise.
9786         * hurd/hurdinit.c: Likewise.
9787         * hurd/compat-20.c: Likewise.
9788         * libio/oldiofopen.c: Likewise.
9789         * libio/oldiofclose.c: Likewise.
9790         * libio/oldiofdopen.c: Likewise.
9791         * libio/oldfileops.c: Likewise.
9792         * libio/oldstdfiles.c: Likewise.
9793         * libio/oldiofsetpos.c: Likewise.
9794         * libio/oldiofgetpos.c: Likewise.
9795         * libio/oldiofgetpos64.c: Likewise.
9796         * libio/oldiofsetpos64.c: Likewise.
9797         * libio/oldiopopen.c: Likewise.
9798         * libio/oldpclose.c: Likewise.
9799         * libio/oldtmpfile.c: Likewise.
9800         * libio/freopen.c (freopen): Likewise.
9801         * libio/iofclose.c (_IO_new_fclose): Likewise.
9802
9803         * sysdeps/mach/sys/reboot.h: Include <features.h>.
9804         (reboot): Declare it.
9805
9806         * libio/Makefile (headers): Add bits/stdio-lock.h here.
9807
9808         * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
9809
9810         * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
9811
9812         * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
9813         __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
9814         We need this for the sbrk decl, which can be included without Unix98.
9815
9816 2000-03-20  Richard Henderson  <rth@cygnus.com>
9817
9818         * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
9819         argument to yperr2nss is an int, not size_t.
9820         * posix/regex.c (print_partial_compiled_pattern): Cast all
9821         ptrdiff_t to long for printing.
9822         (print_compiled_pattern): Use Z for printing size_t.
9823         * posix/testfnm.c (tests): Avoid trigraphs.
9824         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9825         Use a C comment, not an assembly comment.
9826
9827         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
9828         of __ASSUME_32BITUIDS.
9829
9830 2000-03-26  Ulrich Drepper  <drepper@redhat.com>
9831
9832         * libio/iofopncook.c: Remove K&R prototypes.
9833
9834 2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>
9835
9836         * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
9837         an initial value of 1024 instead of RLIM_INFINITY.
9838
9839         * Versions.def (libmachuser, libhurduser): Remove these sections,
9840         since these libraries do not presently use symbol versions.
9841
9842         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
9843         is RLIM_INFINITY, return -1 instead.
9844
9845 2000-03-24  Andreas Jaeger  <aj@suse.de>
9846
9847         * Makefile (postclean): Added soversions.i.
9848
9849 2000-03-24  Scott Bambrough  <scottb@netwinder.org>
9850
9851         * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
9852         _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
9853         and _FPU_IEEE.  Change _FPU_RESERVED.
9854
9855 2000-03-24  Scott Bambrough  <scottb@netwinder.org>
9856
9857         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
9858
9859 2000-03-24  Roland McGrath  <roland@baalperazim.frob.com>
9860
9861         * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
9862         (gaih_inet): Remove unused duplicate variable.
9863
9864         * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
9865         Don't use __libc_sa_len, which only exists for Linux.  Just handle
9866         AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
9867         only flavors supported by this function anyway.
9868
9869 2000-03-24  Geoff Clare  <gwc@unisoft.com>
9870
9871         * stdlib/strfmon.c: Corrected problems with missing signs and
9872         missing or extra spaces; allow for sign strings longer than
9873         one character; add padding to ensure positive and negative
9874         formats are aligned when a left precision is used.
9875
9876 2000-03-26  Ulrich Drepper  <drepper@redhat.com>
9877
9878         * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
9879         Patch by John Mizel <John.Mizel@msdw.com>.
9880
9881 2000-03-25  Ulrich Drepper  <drepper@redhat.com>
9882
9883         * manual/install.texi: Remove references to crypt add-on.
9884
9885 2000-03-25  Roland McGrath  <roland@baalperazim.frob.com>
9886
9887         * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
9888         section while taking the _hurd_rlimit_lock.
9889         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9890
9891 2000-03-24  Roland McGrath  <roland@baalperazim.frob.com>
9892
9893         * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
9894         using $(LN_S).
9895
9896         * sysdeps/mach/hurd/if_index.c: New file.
9897
9898         * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
9899         * sysdeps/gnu/net/if.h: here.
9900         (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
9901         * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
9902         * sysdeps/generic/net/if.h: New file.  Declares just the standard
9903         functions and `struct if_nameindex' type.
9904         * socket/Makefile (headers): Add net/if.h here.
9905         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
9906         * sysdeps/mach/hurd/Dist: Remove it here.
9907         * sysdeps/unix/sysv/linux/Dist: And here.
9908         * sysdeps/generic/if_index.c: Include <net/if.h>.
9909
9910 2000-03-24  Andreas Jaeger  <aj@suse.de>
9911
9912         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
9913         access relocated entries in l_info.
9914         (elf_machine_got_rel): Likewise.
9915         (elf_machine_runtime_setup): Likewise.
9916         * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
9917         (elf_machine_runtime_setup): Likewise.
9918         (__dl_runtime_resolve): Likewise.
9919
9920 2000-03-23  Ulrich Drepper  <drepper@redhat.com>
9921
9922         * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
9923         * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
9924         according to RFC 2553.
9925         * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
9926         * inet/getnameinfo.c: Likewise.
9927         Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
9928
9929 2000-03-23  Bruno Haible  <haible@clisp.cons.org>
9930
9931         * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
9932         Remove no-op pointer increment.
9933
9934 2000-03-23  Andreas Jaeger  <aj@suse.de>
9935
9936         * stdio-common/tst-cookie.c (cookieseek): Change prototype to
9937         follow change for libio.h from 2000-03-10.
9938
9939 2000-03-23  Andreas Jaeger  <aj@suse.de>
9940
9941         * elf/dl-addr.c: Adjust include paths for ldsodefs location
9942         change.
9943         * elf/dl-debug.c: Likewise.
9944         * elf/dl-deps.c: Likewise.
9945         * elf/dl-error.c: Likewise.
9946         * elf/dl-fini.c: Likewise.
9947         * elf/dl-init.c: Likewise.
9948         * elf/dl-load.c: Likewise.
9949         * elf/dl-lookup.c: Likewise.
9950         * elf/dl-minimal.c: Likewise.
9951         * elf/dl-object.c: Likewise.
9952         * elf/dl-open.c: Likewise.
9953         * elf/dl-preinit.c: Likewise.
9954         * elf/dl-profile.c: Likewise.
9955         * elf/dl-profstub.c: Likewise.
9956         * elf/dl-reloc.c: Likewise.
9957         * elf/dl-runtime.c: Likewise.
9958         * elf/dl-support.c: Likewise.
9959         * elf/dl-symbol.c: Likewise.
9960         * elf/dl-version.c: Likewise.
9961         * elf/rtld.c: Likewise.
9962         * elf/sprof.c: Likewise.
9963         * sysdeps/generic/dl-cache.c: Likewise.
9964         * sysdeps/generic/dl-origin.c: Likewise.
9965         * sysdeps/generic/dl-sysdep.c: Likewise.
9966         * sysdeps/generic/elf/backtracesyms.c: Likewise.
9967         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9968         * sysdeps/generic/libc-start.c: Likewise.
9969         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9970         * sysdeps/powerpc/dl-machine.c: Likewise.
9971         * sysdeps/powerpc/elf/libc-start.c: Likewise.
9972         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9973         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9974         * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
9975
9976         * elf/ldsodefs.h: Move file to ...
9977         * sysdeps/generic/ldsodefs.h: ... here.
9978
9979         * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
9980
9981         * sysdeps/mips/elf/ldsodefs.h: New file.
9982
9983         * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
9984         entries in l_info.
9985         (_dl_check_map_versions): Likewise.
9986         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9987         * elf/dl-load.c (_dl_init_paths): Likewise.
9988         (_dl_map_object): Likewise.
9989         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
9990         (elf_get_dynamic_info): Likewise.
9991         * elf/do-lookup.h (FCT): Likewise.
9992         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
9993         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9994         * elf/dl-addr.c (_dl_addr): Likewise.
9995         * elf/dl-runtime.c (profile_fixup): Likewise.
9996         (fixup): Likewise.
9997         * elf/dl-init.c (_dl_init_next): Likewise.
9998         * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
9999         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
10000         (DISTINGUISH_LIB_VERSIONS): Likewise.
10001         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
10002         (elf_machine_rel): Likewise.
10003
10004         * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
10005         for writable dynamic section.
10006
10007 2000-03-22  Ulrich Drepper  <drepper@redhat.com>
10008
10009         * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
10010         large enough.  Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10011
10012 2000-03-22  Andreas Jaeger  <aj@suse.de>
10013
10014         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
10015         from latest Linux kernel.
10016
10017 2000-03-21  Andreas Jaeger  <aj@suse.de>
10018
10019         * Versions.def: Add version 2.1.4.
10020
10021 2000-03-21  Ulrich Drepper  <drepper@redhat.com>
10022
10023         * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
10024         * libio/oldiofopen.c: Likewise.
10025         * libio/oldiofclose.c: Likewise.
10026         * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10027
10028 2000-03-22  Roland McGrath  <roland@baalperazim.frob.com>
10029
10030         * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
10031         indicating the first version set to obsolete the conditionalized code.
10032         (compat_symbol): New macro.
10033         * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
10034         rhs be the ABI_* macro for the subsuming version.  Assign increasing
10035         integer values to the ABI_* macros for supported versions.
10036         * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
10037         compat_symbol macro.
10038
10039 2000-03-21  Ulrich Drepper  <drepper@redhat.com>
10040
10041         * nscd/connections.c (nscd_run): Pretty print.
10042         * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
10043
10044         * manual/charset.texi: Fix typos.  Rephrase.
10045         * manual/process.texi: Likewise.
10046         * manual/signal.texi: Likewise.
10047         Patches by Mike Coleman <mkc@kc.net>.
10048
10049         * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
10050         versions.
10051         * libio/iofdopen.c: Likewise.
10052         * libio/iofgetpos.c: Likewise.
10053         * libio/iofgetpos64.c: Likewise.
10054         * libio/iofopen.c: Likewise.
10055         * libio/iofsetpos.c: Likewise.
10056         * libio/iofsetpos64.c: Likewise.
10057         * libio/iopopen.c: Likewise.
10058         * libio/oldiofopen.c: Likewise.
10059         * libio/pclose.c: Likewise.
10060         * sysdeps/gnu/siglist.c: Likewise.
10061         * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10062
10063         * include/shlib-compat.h (versioned_symbol): Give preprocessor the
10064         chance to expand VERSION_##lib##_##version.
10065
10066         * libio/fileops.c: Use new macros from shlib-compat.h to define
10067         versions.
10068         * libio/iofclose.c: Likewise.
10069         * libio/oldiofclose.c: Likewise.
10070         Patch by Roland McGrath <roland@frob.com>.
10071
10072 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
10073
10074         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
10075         Lay out struct sigcontext according to what really gets passed on
10076         the stack.
10077         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
10078         (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
10079         (prgregset_t, prfpregset_t): Define to elf_* types.
10080         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
10081         Define to correct value.
10082         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
10083         sigcontext.
10084         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
10085
10086 2000-03-21  Roland McGrath  <roland@baalperazim.frob.com>
10087
10088         * scripts/firstversions.awk: Allow multiple version sets in the
10089         "earliest version" specification, meaning that version sets in the
10090         gaps between listed versions should be folded into the earliest later
10091         version that is explicitly listed.
10092         * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
10093         we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
10094
10095 2000-03-21  Ulrich Drepper  <drepper@redhat.com>
10096
10097         * iconv/gconv_builtin.c: Include <endian.h>.
10098         * iconv/gconv_builtin.h: Add UCS-BE aliases.
10099         Add UCS-4LE transformation.  Define UNICODEBIG and UNICODELITTLE
10100         according to current platform.
10101         * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
10102         __gconv_transform_internal_ucs2reverse, and
10103         __gconv_transform_internal_ucs4le.
10104         * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
10105         __gconv_transform_ucs2reverse_internal and
10106         __gconv_transform_internal_ucs2reverse.
10107         * iconvdata/Makefile (modules): Add UNICODE.
10108         (distribute): Add unicode.c.
10109         * iconvdata/gconv-modules: Add definitions for UNICODE module.
10110         * iconvdata/unicode.c: New file.
10111
10112         * iconvdata/utf-16.c: Rewrite code to emit BOM.  Correct code to
10113         determine byte order of input and convert accordingly.
10114
10115         * iconvdata/utf-16.c (gconv_init): Fix typo.
10116
10117 2000-03-20  Ulrich Drepper  <drepper@redhat.com>
10118
10119         * iconvdata/gconv-modules: Fix typo.
10120
10121         * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
10122         more messages.
10123
10124         * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
10125
10126 2000-03-16  Thorsten Kukuk  <kukuk@suse.de>
10127
10128         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
10129
10130 2000-03-20  Ulrich Drepper  <drepper@redhat.com>
10131
10132         * misc/Makefile (routines): Add mincore.
10133
10134 2000-03-20  Andreas Jaeger  <aj@suse.de>
10135
10136         * sysdeps/generic/mincore.c: New stub file.
10137
10138         * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
10139         from latest Linux kernel.
10140
10141 2000-03-20  Ulrich Drepper  <drepper@redhat.com>
10142
10143         * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
10144         _SC_GETPW_R_SIZE_MAX.
10145
10146 2000-03-20  Richard Henderson  <rth@cygnus.com>
10147
10148         * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
10149         in GLIBC_2.1.4.
10150
10151 2000-03-20  Richard Henderson  <rth@cygnus.com>
10152
10153         * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
10154         of arithmetic instructions.
10155
10156         * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
10157         with the fpcr.  Protect from INV exception.
10158         * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
10159         * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
10160         * sysdeps/alpha/fpu/s_floorf.c: Likewise.
10161
10162         * sysdeps/alpha/fpu/s_copysign.c: New.
10163         * sysdeps/alpha/fpu/s_copysignf.c: New.
10164         * sysdeps/alpha/fpu/s_fabs.c: New.
10165         * sysdeps/alpha/fpu/s_fabsf.c: New.
10166         * sysdeps/alpha/fpu/s_rint.c: New.
10167         * sysdeps/alpha/fpu/s_rintf.c: New.
10168
10169         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
10170
10171         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
10172         Kill sethae.
10173         * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
10174         * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
10175         Use physical addresses not KSEG addresses.
10176         (io_system): Add PYXIS.
10177         (io): Remove hae.reg, sys, hae_shift.
10178         (stb_mb, stw_mb, stl_mb, __sethae): New.
10179         (inline_outb, inline_outw, inline_outl): Don't set hae.
10180         (inline_inb, inline_inw, inline_inl): Likewise.
10181         (dense_sethae): New null function.
10182         (struct cpuinfo_data): New.
10183         (process_cpuinfo): Use local and stack variables, not static.
10184         Move readlink check here from init_iosys.
10185         (init_iosys): Use __pciconfig_iobase first.  Know SX and LX as PYXIS.
10186         (_iopl): Simplify.
10187         (_hae_shift): Calculate it here.
10188         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
10189         add pciconfig_iobase.
10190
10191 2000-03-20  Roland McGrath  <roland@baalperazim.frob.com>
10192
10193         * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
10194         * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
10195
10196         * scripts/versions.awk: Fixed version renaming code to distinguish
10197         libraries properly.
10198
10199 2000-03-19  Ulrich Drepper  <drepper@redhat.com>
10200
10201         * include/stdlib.h: Add prototype for __cxa_atexit.
10202
10203         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
10204         _SLOWDOWN flags.  Patch by Jim Blandy <jimb@cygnus.com>.
10205
10206 2000-03-17  Cristian Gafton  <gafton@redhat.com>
10207
10208         * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
10209         existing rtld-installed-name.
10210         ($(rtld-installed-name)): Request libc-$(version) be installed too.
10211         replace existing rtld-installed-name using $(symbolic-link-prog).
10212
10213 2000-03-17  Roland McGrath  <roland@baalperazim.frob.com>
10214
10215         * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
10216         (insert_value, handle_ellipsis, collate_read): Replace %zu in format
10217         strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
10218         but not the former.
10219
10220 2000-03-19  Ulrich Drepper  <drepper@redhat.com>
10221
10222         * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
10223         glob64.  Since there is no glob64 in the LFS proposal applications
10224         can assume that glob handles LFS situations.  glob64 is only needed
10225         if alternative filesystem functions are used.
10226
10227 2000-03-19  Geoff Clare  <gwc@unisoft.com>
10228
10229         * sysdeps/generic/glob.c: Correct gl_pathc value returned
10230         when GLOB_DOOFFS is set; correct handling of patterns
10231         containing escaped wildcards (and no unescaped ones);
10232         GLOB_ERR flag was being ignored in some situations.
10233
10234         * posix/globtest.c, posix/globtest.sh: Updated to include
10235         tests for the problems fixed by the above changes to glob.c.
10236
10237         * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
10238
10239 2000-03-19  Roland McGrath  <roland@baalperazim.frob.com>
10240
10241         * Makeconfig (soversion.i): Use only first match for each lib.
10242
10243         * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
10244
10245         * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
10246         rather than $(sysd-dirs-done) to protect these rules.
10247
10248         * Makerules (version-renames.def): Target removed.
10249         (Versions.all): Depend on soversions.i directly and parse it.
10250
10251         * Makeconfig (soversions.i): New target, input-reading parts of
10252         soversions.mk generation moved here; result is a canonicalized
10253         list "LIB VERSION [SET]" for this configuration.
10254         (soversions.mk): Use that as input.  Don't emit map-firstversions.
10255         * Makerules (version-renames.def): New target, generated from
10256         soversions.i with contents that was in $(map-firstversions).
10257         (Versions.all): Don't depend on soversions.mk, depend on
10258         version-renames.def instead; just cat it into the input.
10259
10260         * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
10261         for $(map-firstversions), which better handles it being empty.
10262
10263         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
10264         supported version for libc 0.2.90.libio to GLIBC_2.2.
10265
10266         * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
10267         and use it to emit new variable `map-firstversions'.
10268         * scripts/firstversions.awk: New file.
10269         * Makerules (Versions.all): Use scripts/firstversions.awk and
10270         the $(map-firstversions) value to generate a modified versions list
10271         that includes renames in "A = B" syntax for each version set earlier
10272         than the "earliest symbol version" named in shlib-versions.
10273         * scripts/versions.awk: Recognize "A = B" lines in the input to mean
10274         rename version set A to B in the output to the intermediate file.
10275         * scripts/abi-versions.awk: New file.
10276         * Makerules (abi-versions.h): New target, generated by that script.
10277         [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
10278         * include/shlib-compat.h: New file, uses that generated header.
10279
10280 2000-03-18  Roland McGrath  <roland@baalperazim.frob.com>
10281
10282         * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
10283         after stripping # comments, and then run it through cpp.
10284         This allows things like "%ifdef FOO" based on config.h settings.
10285         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
10286
10287         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
10288         and other errors that indicate a pseudo-receive happened, grok through
10289         the message buffer for port rights that need references fixed up.
10290
10291 2000-03-16  Andreas Jaeger  <aj@suse.de>
10292
10293         * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
10294
10295         * sysdeps/unix/sysv/linux/madvise.c: Remove.
10296
10297         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
10298         from latest Linux kernel.
10299         * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
10300
10301         * misc/sys/mman.h: Add prototype for mincore.
10302
10303 2000-03-17  Ulrich Drepper  <drepper@redhat.com>
10304
10305         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
10306         entry for GLIBC_2.0 version of setrlimit.
10307         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10308
10309 2000-03-16  Thorsten Kukuk  <kukuk@suse.de>
10310
10311         * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
10312         * nis/nss_compat/compat-initgroups.c: Likewise.
10313         * nis/nss_nis/nis-initgroups.c: Likewise.
10314         * nis/nss_nis/nis-netgrp.c: Likewise.
10315         * nis/nss_nis/nis-proto.c: Likewise.
10316         * nis/nss_nis/nis-rpc.c: Likewise.
10317         * nis/nss_nis/nis-service.c: Likewise.
10318         * nis/ypclnt.c: Likewise.
10319
10320 2000-03-16  Andreas Jaeger  <aj@suse.de>
10321
10322         * manual/Makefile: MAKEINFO is set to `:' from configure if it
10323         doesn't exist, correct checks.  Fixes PR libc/1649.
10324
10325 2000-03-16  Thorsten Kukuk  <kukuk@suse.de>
10326
10327         * nscd/hstcache.c: Restore correct UID.
10328         * nscd/pwdcache.c: Likewise.
10329         Patch from Gabor Gombas <gombasg@inf.elte.hu>.
10330
10331 2000-03-17  Roland McGrath  <roland@baalperazim.frob.com>
10332
10333         * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
10334         macros for register names, in line with 2000-03-14 linux change.
10335
10336         * sysdeps/mach/sched_yield.c: New file.
10337
10338 2000-03-13  Roland McGrath  <roland@baalperazim.frob.com>
10339
10340         * sysdeps/generic/lockfile.c: Include <stdio.h>
10341         (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
10342         case <libio.h> defined them.
10343         (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
10344         from __internal_*.
10345         (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
10346         ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
10347
10348         * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
10349         for more pleasing parse error.
10350
10351 2000-03-16  Ulrich Drepper  <drepper@redhat.com>
10352
10353         * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
10354         memory for eras.
10355         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10356
10357         * elf/Makefile: Add rules to compile and run constload1 test.
10358         * elf/constload1.c: New file.
10359         * elf/constload2.c: New file.
10360         * elf/constload3.c: New file.
10361
10362 2000-03-15  Ulrich Drepper  <drepper@redhat.com>
10363
10364         * sysdeps/posix/open64.c: Make __open64 weak alias.
10365         * sysdeps/posix/pread64.c: Make __pread64 weak alias.
10366         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10367         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10368         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10369         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
10370         * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
10371         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10372         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10373         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10374         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
10375
10376 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
10377
10378         * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
10379         Nautilus.  Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
10380
10381 2000-03-16  Mark Kettenis  <kettenis@gnu.org>
10382
10383         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10384         Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10385
10386 2000-03-08  Andreas Jaeger  <aj@suse.de>
10387
10388         * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
10389
10390 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
10391
10392         * timezone/africa: Update from tzdata2000d.
10393         * timezone/asia: Likewise.
10394         * timezone/australasia: Likewise.
10395         * timezone/europe: Likewise.
10396         * timezone/northamerica: Likewise.
10397         * timezone/southamerica: Likewise.
10398
10399         * po/fr.po: Update from translation team.
10400         * po/de.po: Likewise.
10401
10402         * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
10403         last parameter.  Move code to add map to global scope from here...
10404         * elf/dl-open.c (dl_open_worker): ...here.
10405         * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
10406         * elf/rtld.c: Adjust call to _dl_map_object_deps.
10407
10408         * locale/programs/ld-collate.c (collate_read): Fix warning.
10409
10410         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
10411         values and macros for register names.
10412
10413         * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
10414         returned by seek cookie function is -1.
10415
10416 2000-03-14  Andreas Jaeger  <aj@suse.de>
10417
10418         * locale/localeconv.c (localeconv): Fix typo.
10419         Reported by Andre Charbonneau <andrec@corel.com>.
10420
10421 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
10422
10423         * iconv/skeleton.c: Increment __invocation_counter in inner loop
10424         since modules depend on it counting the number of times the conversion
10425         function got called.
10426
10427         * iconv/gconv_open.c: Optimize loop to setup step data structure.
10428
10429         * iconv/gconv.h: Pretty print.
10430
10431 2000-03-04  Ulrich Drepper  <drepper@redhat.com>
10432
10433         * posix/wordexp-test.c: Correct one of the tests added in the last
10434         change.  Really get the root passwd entry to check again ~root.
10435
10436 2000-03-10  Andreas Jaeger  <aj@suse.de>
10437
10438         * manual/filesys.texi (Working Directory): Fix last patch.
10439         Patch by Martin Buchholz  <martin@xemacs.org>.
10440
10441 2000-03-10  Andreas Jaeger  <aj@suse.de>
10442
10443         * manual/creature.texi (Feature Test Macros): Fix language.
10444
10445 2000-03-10  Roland McGrath  <roland@baalperazim.frob.com>
10446
10447         * mach/devstream.c (devstream_write, devstream_read): New functions.
10448         (input, output): Functions removed.
10449         (mach_open_devstream): Use devstream_{read,write} as cookie functions,
10450         using only the vanilla fopencookie interface.
10451
10452         * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
10453         as macro for __io_functions.
10454         (funcsio): Use cookie_io_functions_t type name.
10455         (fopenport): Renamed from __fopenport.  Rewrite to call fopencookie.
10456
10457         * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
10458         fopencookie.
10459         (fopencookie): Use it.
10460         * libio/libio.h: Declare _IO_cookie_init.
10461         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
10462         _IO_cookie_init.
10463
10464         * libio/libio.h (__io_seek_fn): Fix second argument type
10465         to be a pointer, in line with the manual and the old stdio.
10466         * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
10467
10468         * sysdeps/generic/bits/stdio-lock.h: New file.
10469         This is a stub with #error, but that's better than no file at all.
10470
10471 2000-03-09  Martin Buchholz  <martin@xemacs.org>
10472
10473         * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
10474         * manual/message.texi (Using gettextized software): Doc Fixes.
10475         * manual/message.texi (Message Translation): Doc Fixes.
10476         * manual/filesys.texi (File Size): Doc Fixes.
10477         * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
10478         * locale/programs/ld-collate.c (collate_output): Doc Fixes.
10479         * iconv/gconv_db.c (find_derivation): Doc Fixes.
10480         * manual/install.texi: Doc Fixes.
10481         * manual/search.texi (Hash Search Function): Doc Fixes.
10482         * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
10483         * FAQ.in: Doc Fixes.
10484         * config.h.in: Doc Fixes.
10485         * sysdeps/generic/dl-sysdep.c: Doc Fixes.
10486         Doc Fixes.  `allows to' is not correct English.
10487
10488         * elf/rtld.c: Doc fixes.
10489         * manual/creature.texi (Feature Test Macros): Doc fixes.
10490         * manual/memory.texi (Hooks for Malloc): Doc Fixes.
10491
10492         * manual/filesys.texi (Working Directory): Check for ERANGE to
10493         avoid infloop.
10494
10495 2000-02-23  Roland McGrath  <roland@baalperazim.frob.com>
10496
10497         * string/argz-stringify.c (__argz_stringify): Fix loop termination
10498         conditions so as not to clobber the final '\0' when there is only one
10499         element in the vector.
10500
10501 2000-03-09  Roland McGrath  <roland@baalperazim.frob.com>
10502
10503         * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
10504         broken by 2000-02-27 change.
10505
10506         * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
10507
10508 2000-02-23  Roland McGrath  <roland@baalperazim.frob.com>
10509
10510         * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
10511         argument type, for 2000-02-22 change in signal/signal.h declaration.
10512
10513 2000-03-09  Roland McGrath  <roland@baalperazim.frob.com>
10514
10515         * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
10516         to getdirentries64 (no __), since the Linux implementation
10517         has no __ name, and there is no declaration for the __ name.
10518
10519         * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
10520
10521         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
10522         sed regexp so as not to break directory names including /../ within.
10523
10524         * sysdeps/unix/bsd/bits/waitflags.h: File removed.
10525         The sysdeps/generic file is right for BSD.  This file was in fact the
10526         Hurd file, but the only difference was the WNOREAP flag that was never
10527         actually implemented or used anywhere.
10528
10529         * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
10530         since AC_PATH_PROG already does it for us.
10531         (PERL): Rewrite check added in 2000-02-29 change for syntactic
10532         correctness and sh portability.  I replaced the broken check
10533         with a more sensible implementation of the apparently intended
10534         semantics, which might still be questionable.  Using expr causes
10535         a non-numeric value for `perl -V:apiversion` to be accepted,
10536         refusing to use only a perl that reports a number less than 5;
10537         on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
10538         * configure: Regenerated.
10539
10540 2000-03-08  Andreas Jaeger  <aj@suse.de>
10541
10542         * manual/crypt.texi: Fix paths.
10543
10544 2000-03-07  Andreas Jaeger  <aj@suse.de>
10545
10546         * resolv/netdb.h: The descriptions of rresvport and rresvport_af
10547         were swapped.
10548         Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
10549         libc/1636.
10550
10551 2000-03-06  Andreas Jaeger  <aj@suse.de>
10552
10553         * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
10554         in __sgn1l, otherwise g++ fails to parse this.
10555         Reported by Sean Chen <sean.chen@turbolinux.com>.
10556
10557 2000-03-03  Geoff Keating  <geoffk@cygnus.com>
10558
10559         * configure.in: Compute sizeof-long-double.
10560         * configure: Regenerated.
10561         * config.make.in: Make sizeof-long-double available to sub-makes.
10562
10563 2000-03-03  Ulrich Drepper  <drepper@cygnus.com>
10564
10565         * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
10566         call.
10567
10568 2000-03-03  Geoff Keating  <geoffk@cygnus.com>
10569
10570         * Makeconfig (rpath-dirs): Add crypt.
10571         (all-subdirs): Remove md5crypt.
10572         * crypt/sysdeps/unix/crypt.c: Move to crypt/.
10573         * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
10574         * sysdeps/generic/crypt-entry.c: Delete.
10575         * crypt/sysdeps/unix/crypt.h: Move to crypt/.
10576         * sysdeps/generic/crypt.h: Delete.
10577         * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
10578         * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
10579         * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
10580         * sysdeps/generic/des_impl.c: Delete.
10581         * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
10582         * crypt/sysdeps: Delete.
10583         * crypt/crypt_util.c: Don't use `patchlevel.h'.
10584         * md5-crypt/Versions: Move to crypt/.
10585         * md5-crypt/md5-crypt.c: Move to crypt/.
10586         * md5-crypt/md5.c: Move to crypt/.
10587         * md5-crypt/md5c-test.c: Move to crypt/.
10588         * md5-crypt/md5test.c: Move to crypt/.
10589         * md5-crypt: Delete.
10590         * crypt/Makefile: Adjust for new structure.
10591
10592 2000-03-03  Paul Eggert  <eggert@twinsun.com>
10593
10594         * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
10595         define to 1 if not defined.
10596
10597 2000-03-03  Andreas Jaeger  <aj@suse.de>
10598
10599         * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
10600
10601 2000-03-03  Andreas Jaeger  <aj@suse.de>
10602
10603         * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
10604         cases.
10605         (xdr_int64_t): Correctly handle lower half.
10606         Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
10607
10608 2000-03-03  Ulrich Drepper  <drepper@cygnus.com>
10609
10610         * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
10611         call.
10612
10613 2000-03-02  Andreas Jaeger  <aj@suse.de>
10614
10615         * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
10616         2.3.43.
10617
10618 2000-03-02  Andreas Jaeger  <aj@suse.de>
10619
10620         * resolv/Makefile (headers): Add arpa/nameser_compat.h.
10621
10622 2000-03-01  Andreas Jaeger  <aj@suse.de>
10623
10624         * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
10625         (tests): Added tst-getdate.
10626
10627         * time/tst-getdate.c: New file.
10628
10629         * time/datemsk: New file, needed for tst-getdate.
10630
10631 2000-02-29  Cristian Gafton  <gafton@redhat.com>
10632
10633         * configure.in (CCVERSION): Require at least veersion 5 of perl API.
10634
10635 2000-02-17  H.J. Lu  <hjl@gnu.org>
10636
10637         * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
10638
10639         * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
10640         available.
10641         (svcudp_recv): Set up message with the new "xp_pad" field for
10642         IP_PKTINFO.
10643         (svcudp_reply): Support IP_PKTINFO if available.
10644
10645 2000-03-01  Andreas Jaeger  <aj@suse.de>
10646
10647         * time/getdate.c (check_mday): Fix check for february.
10648         Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
10649         <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
10650
10651 2000-03-02  Andreas Jaeger  <aj@suse.de>
10652
10653         * posix/unistd.h: __THROW has to precede __attribute__, otherwise
10654         g++ fails to parse this.
10655         Reported by Sean Chen <sean.chen@turbolinux.com>.
10656
10657 2000-02-28  Ulrich Drepper  <drepper@redhat.com>
10658
10659         * io/creat.c: Moved to...
10660         * sysdeps/generic/creat.c: ...here.
10661         * io/creat64.c: Moved to...
10662         * sysdeps/generic/creat64.c: ...here.
10663         * io/lockf.c: Moved to...
10664         * sysdeps/generic/lockf.c: ...here.
10665
10666         * crypt/crypt.texi: Moved to...
10667         * manual/crypt.texi: ...here.
10668         * crypt/examples/genpass.c: Moved to...
10669         * manual/examples/genpass.c: ...here.
10670         * crypt/examples/mygenpass.c: Moved to...
10671         * manual/examples/mygenpass.c: ...here.
10672         * crypt/examples/testpass.c: Moved to...
10673         * manual/examples/testpass.c: ...here.
10674
10675         * manual/Makefile (chapters): Add crypt.
10676         * manual/conf.texi: Add usual header for not-last chapter.
10677         * manual/crypt.texi: Add special header for last chapter.
10678
10679 2000-02-28  Geoff Keating  <geoffk@cygnus.com>
10680
10681         * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
10682         * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
10683         complain if there is no crypt add-on.
10684         * crypt/configure: Removed.
10685
10686         * crypt/crypt.texi: Update documentation of US export restrictions
10687         to match the 14 Jan 2000 regulations.
10688
10689 2000-02-28  Geoff Keating  <geoffk@cygnus.com>
10690
10691         * crypt: New subdirectory, merged in from the crypt add-on.
10692
10693 2000-02-28  Ulrich Drepper  <drepper@redhat.com>
10694
10695         * include/unistd.h: Add __rmdir and __mkdir prototypes.
10696
10697
10698 See ChangeLog.10 for earlier changes.