]> sourceware.org Git - glibc.git/blob - ChangeLog
Update.
[glibc.git] / ChangeLog
1 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
2
3 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
4 * sysdeps/s390/bits/huge_val.h: ...here.
5 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
6 * sysdeps/s390/s390-64/ffs.c: Move to...
7 * sysdeps/s390/ffs.c: ...here.
8 * sysdeps/s390/s390-32/ffs.c: Remove.
9
10 2001-03-16 Jakub Jelinek <jakub@redhat.com>
11
12 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
13 update osversion from more recent library.
14
15 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
16
17 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
18 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
19 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
20 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
21 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
22 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
23 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
24 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
25 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
26 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
27 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
28 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
29 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
30 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
31 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
32 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
33 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
34 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
35 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
36 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
37 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
38 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
39 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
40 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
41 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
42 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
43 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
44 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
45 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
46 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
47 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
48 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
49 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
50 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
51 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
52 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
53 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
54 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
55 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
56 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
57 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
58 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
59 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
60 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
61 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
62 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
63 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
64 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
65 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
66 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
67 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
68 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
69 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
70 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
71 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
72 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
73 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
74 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
75 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
76 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
77 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
78 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
79 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
80 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
81 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
82 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
83 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
84 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
85 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
86 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
87 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
88 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
89 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
90 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
91 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
92 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
93 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
94 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
95 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
96 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
97 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
98 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
99 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
100 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
101 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
102 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
103 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
104 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
105 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
106 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
107 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
108 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
109 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
110 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
111 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
112 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
113 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
114 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
115 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
116 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
117 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
118 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
119 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
120 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
121 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
122 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
123 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
124 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
125 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
126 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
127 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
128 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
129 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
130 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
131
132 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
133
134 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
135 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
136 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
137 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
138 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
139 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
140 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
141 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
142 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
143 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
144 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
145 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
146 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
147 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
148 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
149 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
150 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
151 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
152 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
153 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
154 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
155 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
156 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
157 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
158 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
159 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
160 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
161 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
162 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
163 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
164 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
165 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
166 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
167 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
168 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
169 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
170 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
171 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
172 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
173 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
174 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
175 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
176 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
177 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
178 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
179 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
180 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
181 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
182 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
183 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
184 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
185 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
186 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
187
188 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
189
190 * sysdeps/s390/Dist: Move to...
191 * sysdeps/s390/390-32/Dist: ...here.
192 * sysdeps/s390/Implies: Move to...
193 * sysdeps/s390/s390-32/Implies: ...here.
194 * sysdeps/s390/Makefile: Move to...
195 * sysdeps/s390/s390-32/Makefile: ...here.
196 * sysdeps/s390/Versions: Move to...
197 * sysdeps/s390-32/s390/Versions: ...here.
198 * sysdeps/s390/add_n.S: Move to...
199 * sysdeps/s390/s390-32/add_n.S: ...here.
200 * sysdeps/s390/addmul_1.S: Move to...
201 * sysdeps/s390/s390-32/addmul_1.S: ...here.
202 * sysdeps/s390/atomicity.h: Move to...
203 * sysdeps/s390/s390-32/atomicity.h: ...here.
204 * sysdeps/s390/backtrace.c: Move to...
205 * sysdeps/s390/s390-32/backtrace.c: ...here.
206 * sysdeps/s390/bcopy.S: Move to...
207 * sysdeps/s390/s390-32/bcopy.S: ...here.
208 * sysdeps/s390/bits/byteswap.h: Move to...
209 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
210 * sysdeps/s390/bits/huge_val.h: Move to...
211 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
212 * sysdeps/s390/bsd-_setjmp.S: Move to...
213 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
214 * sysdeps/s390/bsd-setjmp.S: Move to...
215 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
216 * sysdeps/s390/bzero.S: Move to...
217 * sysdeps/s390/s390-32/bzero.S: ...here.
218 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
219 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
220 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
221 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
222 * sysdeps/s390/elf/start.S: Move to...
223 * sysdeps/s390/s390-32/elf/start.S: ...here.
224 * sysdeps/s390/ffs.c: Move to...
225 * sysdeps/s390/s390-32/ffs.c: ...here.
226 * sysdeps/s390/memchr.S: Move to...
227 * sysdeps/s390/s390-32/memchr.S: ...here.
228 * sysdeps/s390/memcpy.S: Move to...
229 * sysdeps/s390/s390-32/memcpy.S: ...here.
230 * sysdeps/s390/memset.S: Move to...
231 * sysdeps/s390/s390-32/memset.S: ...here.
232 * sysdeps/s390/mul_1.S: Move to...
233 * sysdeps/s390/s390-32/mul_1.S: ...here.
234 * sysdeps/s390/s390-mcount.S: Move to...
235 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
236 * sysdeps/s390/strcpy.S: Move to...
237 * sysdeps/s390/s390-32/strcpy.S: ...here.
238 * sysdeps/s390/strncpy.S: Move to...
239 * sysdeps/s390/s390-32/strncpy.S: ...here.
240 * sysdeps/s390/sub_n.S: Move to...
241 * sysdeps/s390/s390-32/sub_n.S: ...here.
242
243 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
244
245 * sysdeps/s390/s390-64/Dist: New file.
246 * sysdeps/s390/s390-64/Implies: New file.
247 * sysdeps/s390/s390-64/Makefile: New file.
248 * sysdeps/s390/s390-64/__longjmp.c: New file.
249 * sysdeps/s390/s390-64/add_n.S: New file.
250 * sysdeps/s390/s390-64/atomicity.h: New file.
251 * sysdeps/s390/s390-64/backtrace.c: New file.
252 * sysdeps/s390/s390-64/bcopy.S: New file.
253 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
254 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
255 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
256 * sysdeps/s390/s390-64/bits/string.h: New file.
257 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
258 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
259 * sysdeps/s390/s390-64/bzero.S: New file.
260 * sysdeps/s390/s390-64/dl-machine.h: New file.
261 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
262 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
263 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
264 * sysdeps/s390/s390-64/elf/start.S: New file.
265 * sysdeps/s390/s390-64/ffs.c: New file.
266 * sysdeps/s390/s390-64/initfini.c: New file.
267 * sysdeps/s390/s390-64/memchr.S: New file.
268 * sysdeps/s390/s390-64/memcpy.S: New file.
269 * sysdeps/s390/s390-64/memset.S: New file.
270 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
271 * sysdeps/s390/s390-64/setjmp.S: New file.
272 * sysdeps/s390/s390-64/strcpy.S: New file.
273 * sysdeps/s390/s390-64/strncpy.S: New file.
274 * sysdeps/s390/s390-64/sub_n.S: New file.
275 * sysdeps/s390/s390-64/sysdep.h: New file.
276
277 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
278
279 * scripts/config.guess: Add support for Linux on 64 bit S/390.
280 * scripts/config.sub: Likewise.
281
282 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
283
284 * configure.in: Add support for 64 bit S/390.
285
286 * elf/elf.h: Add new relocations for 64 bit S/390.
287
288 * shlib-versions: Add rules for Linux on 64 bit S/390.
289
290 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
291
292 * sysdeps/s390/__longjmp.c: Move to...
293 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
294 to load the floating point registers that should be saved
295 according to the ABI.
296
297 * sysdeps/s390/bits/setjmp.h: Move to...
298 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
299 the use of long long in the __jmp_buf type definition.
300
301 * sysdeps/s390/bits/string.h: Move to...
302 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
303 #ifndef _FORCE_INLINES.
304
305 * sysdeps/s390/dl-machine.h: Move to...
306 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
307 executables EI_CLASS in elf_machine_matches_host.
308
309 * sysdeps/s390/elf/setjmp.S: Move to...
310 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
311 branches to globally defined symbol __sigsetjmp by branches to
312 a local label (this avoids the generation of a R_390_PC16DBL
313 relocation in -fpic code).
314
315 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
316 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
317
318 * sysdeps/s390/initfini.c: Move to...
319 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
320 ".align 4,0x07".
321
322 * sysdeps/s390/setjmp.S: Move to...
323 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
324 floating point registers that should be saved according to the ABI.
325
326 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
327
328 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
329 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
330 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
331
332 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
333
334 * configure.in: Change machine=s390 to machine=s390/s390-32.
335
336 * elf/elf.h: Correct comment for R_390_PLT16DBL.
337
338 2001-03-12 Jakub Jelinek <jakub@redhat.com>
339
340 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
341 version to be overriden from config.h.
342 * csu/abi-note.S: Use OS and version separately, include config.h.
343 * elf/dl-load.c (_dl_osversion): New.
344 (_dl_map_object_from_fd): Kill some warnings.
345 (open_verify): Check .note.ABI-tag of the library if present.
346 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
347 * elf/cache.c (struct cache_entry): Add osversion.
348 (print_entry): Print osversion.
349 (print_cache): Pass osversion to it.
350 (compare): Sort according to osversion.
351 (save_cache): Set osversion.
352 (add_to_cache): Add osversion argument.
353 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
354 process_elf_file): Add osversion argument.
355 * elf/readlib.c (process_file): Likewise.
356 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
357 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
358 process_elf32_file, process_elf64_file): Likewise.
359 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
360 process_elf32_file, process_elf64_file): Likewise.
361 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
362 process_elf32_file, process_elf64_file): Likewise.
363 * elf/ldconfig.c (manual_link): Pass it.
364 (search_dir): Issue diagnostic if two libs with the same soname in
365 the same directory have different .note.ABI-tag. Record osversion in
366 dlib_entry and use it from there.
367 (struct lib_entry): Remove.
368 (struct dlib_entry): Add osversion.
369 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
370 osversion.
371 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
372 field with osversion.
373 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
374 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
375 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
376 version in _dl_osversion.
377 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
378 * Makerules (build-shlib-helper, build-module-helper): New.
379 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
380 early.
381 * config.h.in (__ABI_TAG_VERSION): Add.
382 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
383 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
384 Handle LD_ASSUME_KERNEL.
385 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
386
387 2001-03-15 Ulrich Drepper <drepper@redhat.com>
388
389 * timezone/antarctica: Update from tzdata2001a.
390 * timezone/asia: Likewise.
391 * timezone/australasia: Likewise.
392 * timezone/backward: Likewise.
393 * timezone/etcetera: Likewise.
394 * timezone/europe: Likewise.
395 * timezone/leapseconds: Likewise.
396 * timezone/northamerica: Likewise.
397 * timezone/southamerica: Likewise.
398 * timezone/systemv: Likewise.
399 * timezone/yearistype: Likewise.
400 * timezone/zone.tab: Likewise.
401 * timezone/tzdump.c: Update from tzcode2001a.
402
403 2001-03-15 H.J. Lu <hjl@gnu.org>
404
405 * intl/Makefile: Fix a typo.
406
407 2001-03-14 David Mosberger <davidm@hpl.hp.com>
408
409 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
410 writing arc structures.
411
412 2001-03-15 H.J. Lu <hjl@gnu.org>
413
414 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
415 cross-compiling.
416
417 2001-03-13 Andreas Schwab <schwab@suse.de>
418
419 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
420
421 2001-03-15 Ulrich Drepper <drepper@redhat.com>
422
423 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
424 for control message fitting into message data.
425 Patch by James Antill <james@and.org>.
426
427 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
428 FNM_EXTMATCH.
429
430 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
431 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
432
433 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
434 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
435 avoid running binaries with libc versions without FNM_EXTMATCH support.
436
437 * include/wchar.h: Add prototype for __wcscat.
438 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
439
440 * posix/fnmatch.h (FNM_EXTMATCH): Define.
441 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
442 (posixly_correct): Move global variable here.
443 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
444 (fnmatch): Pretty printing.
445 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
446 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
447 * posix/tst-fnmatch.input: Add tests for extended matching.
448
449 * posix/testfnm.c: Add test for patterns with multiple ** before /.
450 * posix/fnmatch_loop.c: Fix problem with the test above.
451
452 2001-03-14 Ulrich Drepper <drepper@redhat.com>
453
454 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
455 reference to usqrt.
456
457 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
458
459 2001-03-12 Andreas Jaeger <aj@suse.de>
460
461 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
462 Use EM_X86_64 instead of EM_X8664.
463
464 2001-03-12 Ulrich Drepper <drepper@redhat.com>
465
466 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
467
468 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
469 conditions.
470
471 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
472 conditions.
473
474 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
475 correctly.
476 (__cos): Likewise.
477
478 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
479 correctly.
480 (__ieee754_acos): Likewise.
481
482 2001-03-12 Andreas Jaeger <aj@suse.de>
483
484 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
485 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
486
487 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
488 redefinition.
489
490 2001-03-11 Roland McGrath <roland@frob.com>
491
492 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
493
494 2001-03-11 Ulrich Drepper <drepper@redhat.com>
495
496 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
497 LITTLE_ENDI.
498
499 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
500 parameter list.
501
502 Last-bit accurate math library implementation by IBM Haifa.
503 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
504 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
505 Anna Reitman <reitman@il.ibm.com>.
506 * math/Makefile (dbl-only-routines): New variable.
507 (libm-routines): Add $(dbl-only-routines).
508 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
509 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
510 implementation.
511 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
512 implementation.
513 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
514 implementation.
515 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
516 __kernel_cos.
517 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
518 implementation.
519 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
520 remainder implementation.
521 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
522 implementation.
523 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
524 implementation.
525 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
526 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
527 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
528 implementation.
529 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
530 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
531 implementation.
532 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
533 and __kernel_cos.
534 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
535 implementation.
536 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
537 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
538 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
539 * sysdeps/ieee754/dbl-64/atnat.h: New file.
540 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
541 * sysdeps/ieee754/dbl-64/branred.c: New file.
542 * sysdeps/ieee754/dbl-64/branred.h: New file.
543 * sysdeps/ieee754/dbl-64/dla.h: New file.
544 * sysdeps/ieee754/dbl-64/doasin.c: New file.
545 * sysdeps/ieee754/dbl-64/doasin.h: New file.
546 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
547 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
548 * sysdeps/ieee754/dbl-64/endian.h: New file.
549 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
550 * sysdeps/ieee754/dbl-64/mpa.c: New file.
551 * sysdeps/ieee754/dbl-64/mpa.h: New file.
552 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
553 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
554 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
555 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
556 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
557 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
558 * sysdeps/ieee754/dbl-64/mplog.c: New file.
559 * sysdeps/ieee754/dbl-64/mplog.h: New file.
560 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
561 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
562 * sysdeps/ieee754/dbl-64/mptan.c: New file.
563 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
564 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
565 * sysdeps/ieee754/dbl-64/root.tbl: New file.
566 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
567 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
568 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
569 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
570 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
571 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
572 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
573 * sysdeps/ieee754/dbl-64/uexp.h: New file.
574 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
575 * sysdeps/ieee754/dbl-64/ulog.h: New file.
576 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
577 * sysdeps/ieee754/dbl-64/upow.h: New file.
578 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
579 * sysdeps/ieee754/dbl-64/urem.h: New file.
580 * sysdeps/ieee754/dbl-64/uroot.h: New file.
581 * sysdeps/ieee754/dbl-64/usncs.h: New file.
582 * sysdeps/ieee754/dbl-64/utan.h: New file.
583 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
584 * sysdeps/i386/fpu/branred.c: New file.
585 * sysdeps/i386/fpu/doasin.c: New file.
586 * sysdeps/i386/fpu/dosincos.c: New file.
587 * sysdeps/i386/fpu/halfulp.c: New file.
588 * sysdeps/i386/fpu/mpa.c: New file.
589 * sysdeps/i386/fpu/mpatan.c: New file.
590 * sysdeps/i386/fpu/mpatan2.c: New file.
591 * sysdeps/i386/fpu/mpexp.c: New file.
592 * sysdeps/i386/fpu/mplog.c: New file.
593 * sysdeps/i386/fpu/mpsqrt.c: New file.
594 * sysdeps/i386/fpu/mptan.c: New file.
595 * sysdeps/i386/fpu/sincos32.c: New file.
596 * sysdeps/i386/fpu/slowexp.c: New file.
597 * sysdeps/i386/fpu/slowpow.c: New file.
598 * sysdeps/ia64/fpu/branred.c: New file.
599 * sysdeps/ia64/fpu/doasin.c: New file.
600 * sysdeps/ia64/fpu/dosincos.c: New file.
601 * sysdeps/ia64/fpu/halfulp.c: New file.
602 * sysdeps/ia64/fpu/mpa.c: New file.
603 * sysdeps/ia64/fpu/mpatan.c: New file.
604 * sysdeps/ia64/fpu/mpatan2.c: New file.
605 * sysdeps/ia64/fpu/mpexp.c: New file.
606 * sysdeps/ia64/fpu/mplog.c: New file.
607 * sysdeps/ia64/fpu/mpsqrt.c: New file.
608 * sysdeps/ia64/fpu/mptan.c: New file.
609 * sysdeps/ia64/fpu/sincos32.c: New file.
610 * sysdeps/ia64/fpu/slowexp.c: New file.
611 * sysdeps/ia64/fpu/slowpow.c: New file.
612 * sysdeps/m68k/fpu/branred.c: New file.
613 * sysdeps/m68k/fpu/doasin.c: New file.
614 * sysdeps/m68k/fpu/dosincos.c: New file.
615 * sysdeps/m68k/fpu/halfulp.c: New file.
616 * sysdeps/m68k/fpu/mpa.c: New file.
617 * sysdeps/m68k/fpu/mpatan.c: New file.
618 * sysdeps/m68k/fpu/mpatan2.c: New file.
619 * sysdeps/m68k/fpu/mpexp.c: New file.
620 * sysdeps/m68k/fpu/mplog.c: New file.
621 * sysdeps/m68k/fpu/mpsqrt.c: New file.
622 * sysdeps/m68k/fpu/mptan.c: New file.
623 * sysdeps/m68k/fpu/sincos32.c: New file.
624 * sysdeps/m68k/fpu/slowexp.c: New file.
625 * sysdeps/m68k/fpu/slowpow.c: New file.
626
627 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
628 codepages.
629
630 2001-03-11 Andreas Jaeger <aj@suse.de>
631
632 * elf/elf.h (EM_*): Synch with official list.
633
634 2001-03-07 David Mosberger <davidm@hpl.hp.com>
635
636 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
637
638 2001-03-07 Jes Sorensen <jes@linuxcare.com>
639
640 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
641 variables addr & len.
642
643 2001-02-22 Jes Sorensen <jes@linuxcare.com>
644
645 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
646 punctuation in asm constraint.
647
648 2001-03-07 Mark Kettenis <kettenis@gnu.org>
649
650 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
651 <time.h> to get definition of `struct timespec'.
652
653 2001-03-08 Jakub Jelinek <jakub@redhat.com>
654
655 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
656 LD_WARN=1, not if LD_WARN is unset.
657
658 2001-03-07 Andreas Schwab <schwab@suse.de>
659
660 * elf/ldconfig.h: Moved to ...
661 * sysdeps/generic/ldconfig.h: ... here.
662 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
663 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
664 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
665 * elf/readlib.c (interpreters, known_libs): Use
666 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
667 instead of hard coding old names.
668
669 2001-03-09 Ulrich Drepper <drepper@redhat.com>
670
671 * catgets/Makefile (generated): Add test-gencat.h.
672 (sample.SJIS.cat): Also generate header.
673 * catgets/sample.SJIS: Add new set and message, both with symbolic
674 names.
675 * catgets/test-gencat.sh: Also compare generated header with what
676 we expect.
677
678 2001-03-07 Jakub Jelinek <jakub@redhat.com>
679
680 * catgets/gencat.c (read_input_file): Preserve properly symbolic
681 names.
682
683 2001-03-06 Andreas Jaeger <aj@suse.de>
684
685 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
686 needed.
687 (elf_machine_pltrel_p): Likewise.
688 * sysdeps/powerpc/dl-machine.h: Likewise.
689 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
690
691 2001-03-09 Ulrich Drepper <drepper@redhat.com>
692
693 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
694 dl-procinfo.h.
695
696 2001-03-05 Philip Blundell <philb@gnu.org>
697
698 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
699 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
700 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
701 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
702 dl-procinfo.
703
704 2001-03-09 Ulrich Drepper <drepper@redhat.com>
705
706 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
707 is not available.
708 * dlfcn/tstcxaatexit.c (main): Likewise.
709
710 2001-03-10 Andreas Jaeger <aj@suse.de>
711
712 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
713
714 2001-03-09 Andreas Jaeger <aj@suse.de>
715
716 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
717 both new and old EM_S390 values.
718 (EM_S390_OLD): New constant.
719
720 * elf/elf.h (EM_S390): Use official value.
721
722 2001-03-09 Ulrich Drepper <drepper@redhat.com>
723
724 * conform/data/sys/socket.h-data: Allow SO* symbols.
725
726 2001-03-07 Andreas Schwab <schwab@suse.de>
727
728 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
729 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
730
731 2001-03-07 Andreas Jaeger <aj@suse.de>
732
733 * resolv/Makefile (routines): Only build gai_sigqueue when threads
734 are available.
735
736 2001-03-07 Jakub Jelinek <jakub@redhat.com>
737
738 * elf/ldconfig.c (_dl_sysdep_message): Remove.
739 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
740 ldsodefs.h.
741 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
742
743 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
744 _dl_error_printf instead of _dl_sysdep_error.
745 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
746 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
747 Use _dl_printf instead of _dl_sysdep_message.
748 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
749 Likewise.
750
751 2001-03-06 Ben Collins <bcollins@debian.org>
752
753 * manual/arith.texi (Integers): Fix documentation of fast and
754 least integer typedefs.
755
756 2001-03-06 Jakub Jelinek <jakub@redhat.com>
757
758 * resolv/Depend: New file.
759 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
760 when libpthread is built.
761
762 2001-03-06 Andreas Jaeger <aj@suse.de>
763
764 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
765
766 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
767 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
768
769 2001-03-05 Ulrich Drepper <drepper@redhat.com>
770
771 * stdlib/Versions: Remove __new_exitfn again. Not needed.
772
773 2001-03-05 Andreas Jaeger <aj@suse.de>
774
775 * stdlib/msort.c (qsort): Don't use alloca in a function call.
776
777 2001-03-05 Ulrich Drepper <drepper@redhat.com>
778
779 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
780 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
781 always return zero.
782 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
783 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
784 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
785 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
786 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
787 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
788 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
789
790 2001-03-04 Andreas Jaeger <aj@suse.de>
791
792 * stdlib/longlong.h: Don't use multi-line strings.
793 * iconvdata/tst-loading.c: Likewise.
794
795 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
796 string.
797
798 2001-03-04 Ulrich Drepper <drepper@redhat.com>
799
800 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
801
802 * rt/lio_listio.c: Add a few asserts.
803
804 * elf/global.c: New file.
805 * elf/globalmod1.c: New file.
806 * elf/Makefile: Add rules to build and run global.
807
808 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
809 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
810 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
811 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
812 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
813
814 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
815 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
816
817 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
818
819 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
820 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
821
822 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
823
824 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
825
826 2001-03-04 Andreas Jaeger <aj@suse.de>
827
828 * resolv/tst-aton.c: Add testcase for IP with four periods.
829
830 * resolv/inet_addr.c: Don't recognize an IP with four periods.
831 Patch by Andre' Breiler <A.Breiler@gmx.net>.
832
833 2001-02-27 Philip Blundell <pb@futuretv.com>
834
835 * elf/elf.h: Add new ARM definitions from latest (B-01)
836 specification. Correct naming of EF_ARM_ALIGN8 et al.
837
838 2001-03-04 Ulrich Drepper <drepper@redhat.com>
839
840 * stdio-common/tst-printf.sh: Remove bashisms.
841 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
842
843 2001-03-03 Ulrich Drepper <drepper@redhat.com>
844
845 * Versions.def: Add libanl definition.
846 * shlib-versions: Add entry for libanl.
847 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
848 (routines): Add gai_sigqueue.
849 (extra-libs): Add libanl.
850 (libanl-routines): New variable.
851 Add rules to build libanl and ga_test.
852 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
853 [libanl]: New library.
854 * resolv/netdb.h: Add definitions for libanl.
855 * resolv/getaddrinfo_a.c: New file.
856 * resolv/gai_cancel.c: New file.
857 * resolv/gai_error.c: New file.
858 * resolv/gai_misc.c: New file.
859 * resolv/gai_misc.h: New file.
860 * resolv/gai_notify.c: New file.
861 * resolv/gai_suspend.c: New file.
862 * resolv/ga_test.c: New file.
863 * sysdeps/generic/gai_sigqueue.c: New file.
864 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
865 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
866 and provide only that definition.
867 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
868 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
869 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
870 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
871 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
872 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
873
874 * rt/aio_misc.c: Fix typos in comments.
875 * rt/lio_listio.c: Pretty printing. Little optimization in request
876 list handling.
877
878 * elf/rtld.c: Remove commented out code.
879
880 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
881 Update for real 2.4 kernels.
882
883 2001-03-01 Ulrich Drepper <drepper@redhat.com>
884
885 * elf/dl-load.c: Pretty printing.
886
887 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
888 twice.
889
890 2001-02-28 Ulrich Drepper <drepper@redhat.com>
891
892 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
893 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
894
895 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
896
897 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
898 machines.
899
900 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
901
902 2001-02-27 Ulrich Drepper <drepper@redhat.com>
903
904 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
905 _dl_debug_mask.
906
907 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
908 _dl_debug_printf.
909 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
910 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
911 _dl_debug_printf_c, and _dl_printf.
912 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
913 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
914 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
915 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
916 * elf/dl-close.c: Replace use of old output functions with the new
917 ones.
918 * elf/dl-deps.c: Likewise.
919 * elf/dl-error.c: Likewise.
920 * elf/dl-fini.c: Likewise.
921 * elf/dl-init.c: Likewise.
922 * elf/dl-load.c: Likewise.
923 * elf/dl-lookup.c: Likewise.
924 * elf/dl-minimal.c: Likewise.
925 * elf/dl-open.c: Likewise.
926 * elf/dl-profile.c: Likewise.
927 * elf/dl-reloc.c: Likewise.
928 * elf/dl-version.c: Likewise.
929 * elf/do-lookup.h: Likewise.
930 * elf/rtld.c: Likewise.
931 * sysdeps/generic/dl-cache.c: Likewise.
932 * sysdeps/generic/dl-sysdep.c: Likewise.
933 * sysdeps/generic/libc-start.c: Likewise.
934 * sysdeps/i386/dl-machine.h: Likewise.
935 * sysdeps/arm/dl-machine.h: Likewise.
936 * sysdeps/hppa/dl-machine.h: Likewise.
937 * sysdeps/m68k/dl-machine.h: Likewise.
938 * sysdeps/powerpc/dl-machine.h: Likewise.
939 * sysdeps/s390/dl-machine.h: Likewise.
940 * sysdeps/sh/dl-machine.h: Likewise.
941 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
942 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
943 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
944
945 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
946
947 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
948 supported by assembler.
949
950 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
951 declaractions.
952
953 * elf/rtld.c: Little optimizations in handling _dl_lazy.
954
955 * elf/cache.c (save_cache): Portability changes.
956 * elf/dl-profile.c (_dl_start_profile): Likewise.
957
958 * elf/sln.c: Cleanups. Remove arbitrary limits.
959
960 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
961 * elf/dl-deps.c: Likewise.
962 * elf/dl-fini.c: Likewise.
963 * elf/dl-init.c: Likewise.
964 * elf/dl-load.c: Likewise.
965 * elf/dl-lookup.c: Likewise.
966 * elf/dl-open.c: Likewise.
967 * elf/dl-reloc.c: Likewise.
968 * elf/dl-support.c: Likewise.
969 * elf/dl-version.c: Likewise.
970 * elf/do-lookup.h: Likewise.
971 * elf/rtld.c: Likewise.
972 * sysdeps/generic/dl-cache.c: Likewise.
973 * sysdeps/generic/ldsodefs.h: Likewise.
974 * sysdeps/generic/libc-start.c: Likewise.
975 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
976 Export _dl_debug_mask.
977 * Versions.def: Define GLIBC_2.2.3 for ld.
978
979 2001-02-26 Greg McGary <greg@mcgary.org>
980
981 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
982
983 2001-02-26 Paul Eggert <eggert@twinsun.com>
984
985 Modify mkstemp.c and tempname.c so that they can be used by
986 GNU applications on non-glibc platforms.
987
988 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
989
990 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
991 Include <stddef.h>, <stdint.h>, <string.h> only if
992 STDC_HEADERS || _LIBC.
993 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
994 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
995 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
996 (__set_errno): Define this macro if <errno.h> doesn't.
997 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
998 Define these macros if <stdio.h> doesn't.
999 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
1000 Define these macros if <sys/stat.h> doesn't.
1001 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
1002 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
1003 lxstat64, __xstat64): Define if not _LIBC.
1004 (struct_stat64): New macro.
1005 (direxists, __gen_tempname): Use it, to avoid a
1006 portability problem with Solaris 8.
1007 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
1008 (__gen_tempname): Invoke gettimeofday only if
1009 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
1010 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
1011 octal values like 0600.
1012
1013 2001-02-26 Ulrich Drepper <drepper@redhat.com>
1014
1015 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
1016 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1017
1018 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
1019 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1020
1021 * posix/wordexp-test.c (testit): Remove warnings.
1022
1023 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
1024 (tests): Add tstatexit and tstcxaatexit.
1025 (module-names): Add modatexit and modcxaatexit.
1026 Add rules to build and run tstatexit and tstcxaatexit.
1027 * dlfcn/modatexit.c: New file.
1028 * dlfcn/modcxaatexit.c: New file.
1029 * dlfcn/tstatexit.c: New file.
1030 * dlfcn/tstcxaatexit.c: New file.
1031
1032 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
1033 .hidden is available.
1034 * io/stat.c: If .hidden is available use it to avoid exporting
1035 functions.
1036 * io/fstat.c: Likewise.
1037 * io/lstat.c: Likewise.
1038 * io/stat64.c: Likewise.
1039 * io/fstat64.c: Likewise.
1040 * io/lstat64.c: Likewise.
1041 * sysdeps/generic/mknod.c: Likewise.
1042
1043 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
1044 * sysdeps/generic/bb_init_func.c: Likewise.
1045 * sysdeps/generic/libc-start.c: Likewise.
1046
1047 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
1048 (atexit): Implement using __cxa_atexit.
1049 Use .hidden if availble to avoid exporting atexit.
1050 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
1051 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
1052 * stdlib/Makefile (routines): Add old_atexit.
1053 (static-only-routines): Add atexit.
1054 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
1055 * stdlib/old_atexit.c: New file.
1056
1057 * intl/Makefile: Remove bogus endif.
1058
1059 2001-02-26 Andreas Jaeger <aj@suse.de>
1060
1061 * iconvdata/Makefile (tests): Fix typo in last patch.
1062
1063 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
1064 available.
1065 Reported by Achim Gottinger <achim@gentoo.org>.
1066
1067 2001-02-25 Andreas Jaeger <aj@suse.de>
1068
1069 * intl/Makefile (plural.c): Reorder rules so that they work if
1070 BISON doesn't exist.
1071
1072 2001-02-25 Ulrich Drepper <drepper@redhat.com>
1073
1074 * intl/locale.alias: Don't use nb_NO but define aliases for it.
1075
1076 2001-02-23 Ulrich Drepper <drepper@redhat.com>
1077
1078 * sysdeps/i386/strtok.S: Continue to return NULL after the first
1079 time this happened.
1080
1081 2001-02-23 Andreas Jaeger <aj@suse.de>
1082
1083 * string/tester.c (test_strtok_r): Add testcase.
1084 (test_strtok_r): Always initialize cp for proper checking.
1085
1086 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
1087 returning NULL correctly.
1088 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
1089 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
1090
1091 2001-02-23 Ulrich Drepper <drepper@redhat.com>
1092
1093 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
1094 including <stddef.h>.
1095 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
1096 * include/libc-symbols.h (weak_alias): Don't use .weak if
1097 HAVE_ASM_GLOBAL_DOT_NAME is defined.
1098 Patches by Michael Keezer <mkeezer@redhat.com>.
1099
1100 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
1101 Patch by Michael Keezer <mkeezer@redhat.com>.
1102
1103 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
1104 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
1105 (sysdep_routines): Remove restf.S and savef.S.
1106 * sysdeps/unix/sysv/aix/restf.S. Removed.
1107 * sysdeps/unix/sysv/aix/savef.S. Removed.
1108 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
1109 alternative names used on some platforms.
1110 * sysdeps/powerpc/fprsave.S: Likewise.
1111 * sysdeps/powerpc/gprrest0.S: Likewise.
1112 * sysdeps/powerpc/gprrest1.S: Likewise.
1113 * sysdeps/powerpc/gprsave0.S: Likewise.
1114 * sysdeps/powerpc/gprsave1.S: Likewise.
1115 Patch by Michael Keezer <mkeezer@redhat.com>.
1116
1117 2001-02-22 Ulrich Drepper <drepper@redhat.com>
1118
1119 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
1120
1121 2001-02-22 Andreas Jaeger <aj@suse.de>
1122
1123 * string/tst-strtok.c (main): Fix error messages.
1124
1125 2001-02-22 Andreas Jaeger <aj@suse.de>
1126
1127 * math/Makefile: Remove omit-long-double-fcts.
1128
1129 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1130
1131 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
1132 avoid problems on MIPS I.
1133 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
1134
1135 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
1136 noreorder".
1137
1138 2001-02-21 Ulrich Drepper <drepper@redhat.com>
1139
1140 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
1141
1142 * sysdeps/generic/ftime.c: Include <time.h>.
1143
1144 * configure.in: Don't check for libgd if user passed --without-gd.
1145 Patch by Achim Gottinger <achim@gentoo.org>.
1146
1147 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
1148 first time this happened.
1149 * string/Makefile (tests): Add tst-strtok.
1150
1151 2001-02-21 Andreas Jaeger <aj@suse.de>
1152
1153 * string/tst-strtok.c: New testcase, reported by
1154 Andrew Church <achurch@achurch.org>.
1155
1156 2001-02-20 Ulrich Drepper <drepper@redhat.com>
1157
1158 * libio/iofwide.c: Remove fwide alias.
1159
1160 2001-02-20 Andreas Jaeger <aj@suse.de>
1161
1162 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
1163 is available.
1164 Reported by Achim Gottinger <achim@gentoo.org>.
1165
1166 2001-02-19 Ulrich Drepper <drepper@redhat.com>
1167
1168 * iconv/tst-iconv1.c (main): Remove debugging code.
1169
1170 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
1171 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1172
1173 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
1174 parameters.
1175 * sysdeps/generic/e_scalbf.c: Likewise.
1176 * sysdeps/generic/e_scalbl.c: Likewise.
1177
1178 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
1179 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
1180 in libc.
1181 (routines): Replace libm_error with libc_libm_error.
1182 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
1183 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
1184
1185 2001-02-18 Mark Kettenis <kettenis@gnu.org>
1186
1187 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
1188 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
1189
1190 2001-02-17 H.J. Lu <hjl@gnu.org>
1191
1192 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
1193 scratch registers across the system call.
1194
1195 2001-02-19 Andreas Jaeger <aj@suse.de>
1196
1197 * malloc/Makefile (tests): Run mtrace only when perl is available.
1198 Reported by Achim Gottinger <achim@gentoo.org>.
1199
1200 2001-02-19 Ulrich Drepper <drepper@redhat.com>
1201
1202 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
1203 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1204
1205 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
1206 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
1207 * math/libm-test.inc (j1_test): Mark constants as long double.
1208 (jn_test): Likewise.
1209 (y1_test): Likewise.
1210 (yn_test): Likewise.
1211
1212 * libio/iogetline.c: Move return until after last statement.
1213
1214 * localedata/show-ucs-data.c: Don't show < > for better readability.
1215
1216 * sysdeps/ia64/fpu/Dist: New file.
1217 * sysdeps/ia64/fpu/Makefile: New file.
1218 * sysdeps/ia64/fpu/Versions: New file.
1219 * sysdeps/ia64/fpu/e_acos.S: New file.
1220 * sysdeps/ia64/fpu/e_acosf.S: New file.
1221 * sysdeps/ia64/fpu/e_acosl.S: New file.
1222 * sysdeps/ia64/fpu/e_asin.S: New file.
1223 * sysdeps/ia64/fpu/e_asinf.S: New file.
1224 * sysdeps/ia64/fpu/e_asinl.S: New file.
1225 * sysdeps/ia64/fpu/e_atan2.S: New file.
1226 * sysdeps/ia64/fpu/e_atan2f.S: New file.
1227 * sysdeps/ia64/fpu/e_atan2l.c: New file.
1228 * sysdeps/ia64/fpu/e_cosh.S: New file.
1229 * sysdeps/ia64/fpu/e_coshf.S: New file.
1230 * sysdeps/ia64/fpu/e_coshl.S: New file.
1231 * sysdeps/ia64/fpu/e_exp.S: New file.
1232 * sysdeps/ia64/fpu/e_expf.S: New file.
1233 * sysdeps/ia64/fpu/e_expl.c: New file.
1234 * sysdeps/ia64/fpu/e_fmod.S: New file.
1235 * sysdeps/ia64/fpu/e_fmodf.S: New file.
1236 * sysdeps/ia64/fpu/e_fmodl.S: New file.
1237 * sysdeps/ia64/fpu/e_hypot.S: New file.
1238 * sysdeps/ia64/fpu/e_hypotf.S: New file.
1239 * sysdeps/ia64/fpu/e_hypotl.S: New file.
1240 * sysdeps/ia64/fpu/e_log.S: New file.
1241 * sysdeps/ia64/fpu/e_log10.c: New file.
1242 * sysdeps/ia64/fpu/e_log10f.c: New file.
1243 * sysdeps/ia64/fpu/e_log10l.c: New file.
1244 * sysdeps/ia64/fpu/e_logf.S: New file.
1245 * sysdeps/ia64/fpu/e_logl.c: New file.
1246 * sysdeps/ia64/fpu/e_pow.S: New file.
1247 * sysdeps/ia64/fpu/e_powf.S: New file.
1248 * sysdeps/ia64/fpu/e_powl.S: New file.
1249 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
1250 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
1251 * sysdeps/ia64/fpu/e_remainder.S: New file.
1252 * sysdeps/ia64/fpu/e_remainderf.S: New file.
1253 * sysdeps/ia64/fpu/e_remainderl.S: New file.
1254 * sysdeps/ia64/fpu/e_scalb.S: New file.
1255 * sysdeps/ia64/fpu/e_scalbf.S: New file.
1256 * sysdeps/ia64/fpu/e_scalbl.S: New file.
1257 * sysdeps/ia64/fpu/e_sinh.S: New file.
1258 * sysdeps/ia64/fpu/e_sinhf.S: New file.
1259 * sysdeps/ia64/fpu/e_sinhl.S: New file.
1260 * sysdeps/ia64/fpu/e_sqrt.S: New file.
1261 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
1262 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
1263 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
1264 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
1265 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
1266 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
1267 * sysdeps/ia64/fpu/libm_error.c: New file.
1268 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
1269 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
1270 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
1271 * sysdeps/ia64/fpu/libm_reduce.S: New file.
1272 * sysdeps/ia64/fpu/libm_support.h: New file.
1273 * sysdeps/ia64/fpu/libm_tan.S: New file.
1274 * sysdeps/ia64/fpu/s_atan.S: New file.
1275 * sysdeps/ia64/fpu/s_atanf.S: New file.
1276 * sysdeps/ia64/fpu/s_atanl.S: New file.
1277 * sysdeps/ia64/fpu/s_cbrt.S: New file.
1278 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
1279 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
1280 * sysdeps/ia64/fpu/s_ceil.S: New file.
1281 * sysdeps/ia64/fpu/s_ceilf.S: New file.
1282 * sysdeps/ia64/fpu/s_ceill.S: New file.
1283 * sysdeps/ia64/fpu/s_cos.S: New file.
1284 * sysdeps/ia64/fpu/s_cosf.S: New file.
1285 * sysdeps/ia64/fpu/s_cosl.S: New file.
1286 * sysdeps/ia64/fpu/s_expm1.S: New file.
1287 * sysdeps/ia64/fpu/s_expm1f.S: New file.
1288 * sysdeps/ia64/fpu/s_expm1l.S: New file.
1289 * sysdeps/ia64/fpu/s_floor.S: New file.
1290 * sysdeps/ia64/fpu/s_floorf.S: New file.
1291 * sysdeps/ia64/fpu/s_floorl.S: New file.
1292 * sysdeps/ia64/fpu/s_frexp.c: New file.
1293 * sysdeps/ia64/fpu/s_frexpf.c: New file.
1294 * sysdeps/ia64/fpu/s_frexpl.c: New file.
1295 * sysdeps/ia64/fpu/s_ilogb.S: New file.
1296 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
1297 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
1298 * sysdeps/ia64/fpu/s_ldexp.S: New file.
1299 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
1300 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
1301 * sysdeps/ia64/fpu/s_log1p.S: New file.
1302 * sysdeps/ia64/fpu/s_log1pf.S: New file.
1303 * sysdeps/ia64/fpu/s_log1pl.S: New file.
1304 * sysdeps/ia64/fpu/s_logb.S: New file.
1305 * sysdeps/ia64/fpu/s_logbf.S: New file.
1306 * sysdeps/ia64/fpu/s_logbl.S: New file.
1307 * sysdeps/ia64/fpu/s_matherrf.c: New file.
1308 * sysdeps/ia64/fpu/s_matherrl.c: New file.
1309 * sysdeps/ia64/fpu/s_modf.S: New file.
1310 * sysdeps/ia64/fpu/s_modff.S: New file.
1311 * sysdeps/ia64/fpu/s_modfl.S: New file.
1312 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
1313 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
1314 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
1315 * sysdeps/ia64/fpu/s_rint.S: New file.
1316 * sysdeps/ia64/fpu/s_rintf.S: New file.
1317 * sysdeps/ia64/fpu/s_rintl.S: New file.
1318 * sysdeps/ia64/fpu/s_round.S: New file.
1319 * sysdeps/ia64/fpu/s_roundf.S: New file.
1320 * sysdeps/ia64/fpu/s_roundl.S: New file.
1321 * sysdeps/ia64/fpu/s_scalbn.S: New file.
1322 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
1323 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
1324 * sysdeps/ia64/fpu/s_significand.S: New file.
1325 * sysdeps/ia64/fpu/s_significandf.S: New file.
1326 * sysdeps/ia64/fpu/s_significandl.S: New file.
1327 * sysdeps/ia64/fpu/s_sin.c: New file.
1328 * sysdeps/ia64/fpu/s_sincos.c: New file.
1329 * sysdeps/ia64/fpu/s_sincosf.c: New file.
1330 * sysdeps/ia64/fpu/s_sincosl.c: New file.
1331 * sysdeps/ia64/fpu/s_sinf.c: New file.
1332 * sysdeps/ia64/fpu/s_sinl.c: New file.
1333 * sysdeps/ia64/fpu/s_tan.S: New file.
1334 * sysdeps/ia64/fpu/s_tanf.S: New file.
1335 * sysdeps/ia64/fpu/s_tanl.S: New file.
1336 * sysdeps/ia64/fpu/s_trunc.S: New file.
1337 * sysdeps/ia64/fpu/s_truncf.S: New file.
1338 * sysdeps/ia64/fpu/s_truncl.S: New file.
1339 * sysdeps/ia64/fpu/w_acos.c: New file.
1340 * sysdeps/ia64/fpu/w_acosf.c: New file.
1341 * sysdeps/ia64/fpu/w_acosl.c: New file.
1342 * sysdeps/ia64/fpu/w_asin.c: New file.
1343 * sysdeps/ia64/fpu/w_asinf.c: New file.
1344 * sysdeps/ia64/fpu/w_asinl.c: New file.
1345 * sysdeps/ia64/fpu/w_atan2.c: New file.
1346 * sysdeps/ia64/fpu/w_atan2f.c: New file.
1347 * sysdeps/ia64/fpu/w_atan2l.c: New file.
1348 * sysdeps/ia64/fpu/w_cosh.c: New file.
1349 * sysdeps/ia64/fpu/w_coshf.c: New file.
1350 * sysdeps/ia64/fpu/w_coshl.c: New file.
1351 * sysdeps/ia64/fpu/w_exp.c: New file.
1352 * sysdeps/ia64/fpu/w_expf.c: New file.
1353 * sysdeps/ia64/fpu/w_fmod.c: New file.
1354 * sysdeps/ia64/fpu/w_fmodf.c: New file.
1355 * sysdeps/ia64/fpu/w_fmodl.c: New file.
1356 * sysdeps/ia64/fpu/w_hypot.c: New file.
1357 * sysdeps/ia64/fpu/w_hypotf.c: New file.
1358 * sysdeps/ia64/fpu/w_hypotl.c: New file.
1359 * sysdeps/ia64/fpu/w_log.c: New file.
1360 * sysdeps/ia64/fpu/w_log10.c: New file.
1361 * sysdeps/ia64/fpu/w_log10f.c: New file.
1362 * sysdeps/ia64/fpu/w_log10l.c: New file.
1363 * sysdeps/ia64/fpu/w_logf.c: New file.
1364 * sysdeps/ia64/fpu/w_logl.c: New file.
1365 * sysdeps/ia64/fpu/w_pow.c: New file.
1366 * sysdeps/ia64/fpu/w_powf.c: New file.
1367 * sysdeps/ia64/fpu/w_powl.c: New file.
1368 * sysdeps/ia64/fpu/w_remainder.c: New file.
1369 * sysdeps/ia64/fpu/w_remainderf.c: New file.
1370 * sysdeps/ia64/fpu/w_remainderl.c: New file.
1371 * sysdeps/ia64/fpu/w_scalb.c: New file.
1372 * sysdeps/ia64/fpu/w_scalbf.c: New file.
1373 * sysdeps/ia64/fpu/w_scalbl.c: New file.
1374 * sysdeps/ia64/fpu/w_sqrt.c: New file.
1375 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
1376 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
1377 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
1378 implementation.
1379 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
1380 Change FP_ILOGBNAN for new implementation.
1381 * Verions.def: Add 2.2.3 versions.
1382
1383 2001-02-18 Ulrich Drepper <drepper@redhat.com>
1384
1385 * math/libm-test.inc (scalb_test): Require invalid exception being
1386 raised for invalid parameters.
1387 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
1388 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1389 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1390
1391 2001-02-18 Mark Kettenis <kettenis@gnu.org>
1392
1393 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
1394 value to long int.
1395 (__get_avphys_pages): Likewise.
1396
1397 2001-02-18 Ulrich Drepper <drepper@redhat.com>
1398
1399 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
1400 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
1401 * sysdeps/i386/fpu/e_powf.S: Likewise.
1402 * sysdeps/i386/fpu/e_powl.S: Likewise.
1403
1404 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
1405
1406 2001-02-17 Ulrich Drepper <drepper@redhat.com>
1407
1408 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
1409
1410 * sysdeps/generic/s_exp2l.c: Renamed to...
1411 * sysdeps/generic/e_exp2l.c: ...this. New file.
1412 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
1413 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
1414 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
1415 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
1416 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
1417 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
1418 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
1419 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
1420 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
1421 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
1422 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
1423 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
1424 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
1425 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
1426 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
1427 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
1428
1429 2001-02-17 Andreas Jaeger <aj@suse.de>
1430
1431 * configure.in: Allow gcc 3.
1432
1433 2001-02-16 Ulrich Drepper <drepper@redhat.com>
1434
1435 * math/w_acos.c: Move to ...
1436 * sysdeps/generic/w_acos.c: ...here. New file.
1437 * math/w_acosf.c: Move to ...
1438 * sysdeps/generic/w_acosf.c: ...here. New file.
1439 * math/w_acosh.c: Move to ...
1440 * sysdeps/generic/w_acosh.c: ...here. New file.
1441 * math/w_acoshf.c: Move to ...
1442 * sysdeps/generic/w_acoshf.c: ...here. New file.
1443 * math/w_acoshl.c: Move to ...
1444 * sysdeps/generic/w_acoshl.c: ...here. New file.
1445 * math/w_acosl.c: Move to ...
1446 * sysdeps/generic/w_acosl.c: ...here. New file.
1447 * math/w_asin.c: Move to ...
1448 * sysdeps/generic/w_asin.c: ...here. New file.
1449 * math/w_asinf.c: Move to ...
1450 * sysdeps/generic/w_asinf.c: ...here. New file.
1451 * math/w_asinl.c: Move to ...
1452 * sysdeps/generic/w_asinl.c: ...here. New file.
1453 * math/w_atan2.c: Move to ...
1454 * sysdeps/generic/w_atan2.c: ...here. New file.
1455 * math/w_atan2f.c: Move to ...
1456 * sysdeps/generic/w_atan2f.c: ...here. New file.
1457 * math/w_atan2l.c: Move to ...
1458 * sysdeps/generic/w_atan2l.c: ...here. New file.
1459 * math/w_atanh.c: Move to ...
1460 * sysdeps/generic/w_atanh.c: ...here. New file.
1461 * math/w_atanhf.c: Move to ...
1462 * sysdeps/generic/w_atanhf.c: ...here. New file.
1463 * math/w_atanhl.c: Move to ...
1464 * sysdeps/generic/w_atanhl.c: ...here. New file.
1465 * math/w_cosh.c: Move to ...
1466 * sysdeps/generic/w_cosh.c: ...here. New file.
1467 * math/w_coshf.c: Move to ...
1468 * sysdeps/generic/w_coshf.c: ...here. New file.
1469 * math/w_coshl.c: Move to ...
1470 * sysdeps/generic/w_coshl.c: ...here. New file.
1471 * math/w_drem.c: Move to ...
1472 * sysdeps/generic/w_drem.c: ...here. New file.
1473 * math/w_dremf.c: Move to ...
1474 * sysdeps/generic/w_dremf.c: ...here. New file.
1475 * math/w_dreml.c: Move to ...
1476 * sysdeps/generic/w_dreml.c: ...here. New file.
1477 * math/w_exp10.c: Move to ...
1478 * sysdeps/generic/w_exp10.c: ...here. New file.
1479 * math/w_exp10f.c: Move to ...
1480 * sysdeps/generic/w_exp10f.c: ...here. New file.
1481 * math/w_exp10l.c: Move to ...
1482 * sysdeps/generic/w_exp10l.c: ...here. New file.
1483 * math/w_exp2.c: Move to ...
1484 * sysdeps/generic/w_exp2.c: ...here. New file.
1485 * math/w_exp2f.c: Move to ...
1486 * sysdeps/generic/w_exp2f.c: ...here. New file.
1487 * math/w_exp2l.c: Move to ...
1488 * sysdeps/generic/w_exp2l.c: ...here. New file.
1489 * math/w_fmod.c: Move to ...
1490 * sysdeps/generic/w_fmod.c: ...here. New file.
1491 * math/w_fmodf.c: Move to ...
1492 * sysdeps/generic/w_fmodf.c: ...here. New file.
1493 * math/w_fmodl.c: Move to ...
1494 * sysdeps/generic/w_fmodl.c: ...here. New file.
1495 * math/w_hypot.c: Move to ...
1496 * sysdeps/generic/w_hypot.c: ...here. New file.
1497 * math/w_hypotf.c: Move to ...
1498 * sysdeps/generic/w_hypotf.c: ...here. New file.
1499 * math/w_hypotl.c: Move to ...
1500 * sysdeps/generic/w_hypotl.c: ...here. New file.
1501 * math/w_j0.c: Move to ...
1502 * sysdeps/generic/w_j0.c: ...here. New file.
1503 * math/w_j0f.c: Move to ...
1504 * sysdeps/generic/w_j0f.c: ...here. New file.
1505 * math/w_j0l.c: Move to ...
1506 * sysdeps/generic/w_j0l.c: ...here. New file.
1507 * math/w_j1.c: Move to ...
1508 * sysdeps/generic/w_j1.c: ...here. New file.
1509 * math/w_j1f.c: Move to ...
1510 * sysdeps/generic/w_j1f.c: ...here. New file.
1511 * math/w_j1l.c: Move to ...
1512 * sysdeps/generic/w_j1l.c: ...here. New file.
1513 * math/w_jn.c: Move to ...
1514 * sysdeps/generic/w_jn.c: ...here. New file.
1515 * math/w_jnf.c: Move to ...
1516 * sysdeps/generic/w_jnf.c: ...here. New file.
1517 * math/w_jnl.c: Move to ...
1518 * sysdeps/generic/w_jnl.c: ...here. New file.
1519 * math/w_lgamma.c: Move to ...
1520 * sysdeps/generic/w_lgamma.c: ...here. New file.
1521 * math/w_lgammaf.c: Move to ...
1522 * sysdeps/generic/w_lgammaf.c: ...here. New file.
1523 * math/w_lgammaf_r.c: Move to ...
1524 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
1525 * math/w_lgammal.c: Move to ...
1526 * sysdeps/generic/w_lgammal.c: ...here. New file.
1527 * math/w_lgammal_r.c: Move to ...
1528 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
1529 * math/w_lgamma_r.c: Move to ...
1530 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
1531 * math/w_log10.c: Move to ...
1532 * sysdeps/generic/w_log10.c: ...here. New file.
1533 * math/w_log10f.c: Move to ...
1534 * sysdeps/generic/w_log10f.c: ...here. New file.
1535 * math/w_log10l.c: Move to ...
1536 * sysdeps/generic/w_log10l.c: ...here. New file.
1537 * math/w_log.c: Move to ...
1538 * sysdeps/generic/w_log.c: ...here. New file.
1539 * math/w_logf.c: Move to ...
1540 * sysdeps/generic/w_logf.c: ...here. New file.
1541 * math/w_logl.c: Move to ...
1542 * sysdeps/generic/w_logl.c: ...here. New file.
1543 * math/w_pow.c: Move to ...
1544 * sysdeps/generic/w_pow.c: ...here. New file.
1545 * math/w_powf.c: Move to ...
1546 * sysdeps/generic/w_powf.c: ...here. New file.
1547 * math/w_powl.c: Move to ...
1548 * sysdeps/generic/w_powl.c: ...here. New file.
1549 * math/w_remainder.c: Move to ...
1550 * sysdeps/generic/w_remainder.c: ...here. New file.
1551 * math/w_remainderf.c: Move to ...
1552 * sysdeps/generic/w_remainderf.c: ...here. New file.
1553 * math/w_remainderl.c: Move to ...
1554 * sysdeps/generic/w_remainderl.c: ...here. New file.
1555 * math/w_scalb.c: Move to ...
1556 * sysdeps/generic/w_scalb.c: ...here. New file.
1557 * math/w_scalbf.c: Move to ...
1558 * sysdeps/generic/w_scalbf.c: ...here. New file.
1559 * math/w_scalbl.c: Move to ...
1560 * sysdeps/generic/w_scalbl.c: ...here. New file.
1561 * math/w_sinh.c: Move to ...
1562 * sysdeps/generic/w_sinh.c: ...here. New file.
1563 * math/w_sinhf.c: Move to ...
1564 * sysdeps/generic/w_sinhf.c: ...here. New file.
1565 * math/w_sinhl.c: Move to ...
1566 * sysdeps/generic/w_sinhl.c: ...here. New file.
1567 * math/w_sqrtl.c: Move to ...
1568 * sysdeps/generic/w_sqrtl.c: ...here. New file.
1569 * math/w_tgamma.c: Move to ...
1570 * sysdeps/generic/w_tgamma.c: ...here. New file.
1571 * math/w_tgammaf.c: Move to ...
1572 * sysdeps/generic/w_tgammaf.c: ...here. New file.
1573 * math/w_tgammal.c: Move to ...
1574 * sysdeps/generic/w_tgammal.c: ...here. New file.
1575
1576 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
1577 formats for postal_fmt.
1578
1579 2001-02-16 Jakub Jelinek <jakub@redhat.com>
1580
1581 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
1582 __ftruncate64 alias.
1583 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
1584 Likewise.
1585
1586 2001-02-15 David Mosberger <davidm@hpl.hp.com>
1587
1588 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
1589 do "loadrs". Writing to bspstore already takes care of
1590 invalidating the "clean" partition.
1591
1592 2001-02-16 Andreas Schwab <schwab@suse.de>
1593
1594 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
1595 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
1596
1597 2001-02-15 Jakub Jelinek <jakub@redhat.com>
1598
1599 * posix/regex.c (init_syntax_once): Add prototype.
1600 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
1601 (re_search_2): Avoid warning.
1602 (count_mbs_length): Add prototype.
1603 * posix/tst-regex3.c: New file.
1604 * posix/Makefile (tests): Add bug-regex3.
1605
1606 2001-02-15 Ulrich Drepper <drepper@redhat.com>
1607
1608 * stdio-common/Makefile (tests): Add tst-gets.
1609 * stdio-common/tst-gets.c: New file.
1610 * stdio-common/tst-gets.input: New file.
1611
1612 * elf/elf.h (DT_CHECKSUM): Define.
1613
1614 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
1615 default symbol.
1616 * sysdeps/generic/strtoull.c: Likewise.
1617
1618 2001-02-14 Wolfram Gloger <wg@malloc.de>
1619
1620 * malloc/malloc.c (new_heap): When allocating large chunk aligned
1621 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
1622 between the heaps.
1623
1624 2001-02-14 Ulrich Drepper <drepper@redhat.com>
1625
1626 * math/libm-test.inc (j0_test): Check whether sincos is available.
1627 (j1_test): Likewise.
1628 (jn_test): Likewise.
1629 (y0_test): Likewise.
1630 (y1_test): Likewise.
1631 (yn_test): Likewise.
1632
1633 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
1634 fake filesystem routines to handle this.
1635
1636 * time/sys/time.h: Make settimeofday and adjtime available if
1637 _BSD_SOURCE.
1638
1639 * time/sys/time.h: Make timer* macros available for BSD.
1640
1641 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
1642 Patch by Yong Li <rigel863@yahoo.com>.
1643
1644 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
1645 name.
1646
1647 * posix/Makefile (tests): Add tst-gnuglob.
1648 * posix/tst-gnuglob.c: New file.
1649
1650 2001-02-13 H.J. Lu <hjl@gnu.org>
1651
1652 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
1653
1654 2001-02-13 Ulrich Drepper <drepper@redhat.com>
1655
1656 * locale/programs/ld-paper.c (paper_output): Pretty printing.
1657
1658 * iconvdata/Makefile (modules): Add GBBIG5.
1659 (distribute): Add gbbig5.c.
1660 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
1661
1662 * iconvdata/gbbig5.c: New file.
1663 Contributed by Yong Li <rigel863@yahoo.com>.
1664
1665 2001-02-13 Philip Blundell <pb@futuretv.com>
1666
1667 * manual/crypt.texi: Remove outdated references to crypt add-on.
1668
1669 * manual/creature.texi: Improve wording slightly.
1670
1671 2001-02-13 Ulrich Drepper <drepper@redhat.com>
1672
1673 * io/ftw.c: Always use readdir64.
1674 * io/ftw64.c: Likewise.
1675 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1676 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1677 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
1678 callback to dirent. Still allow compiling outside glibc.
1679 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
1680 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
1681
1682 * malloc/mtrace.c: Use fopen64.
1683 * posix/spawni.c: Use __open64.
1684 * sysdeps/unix/opendir.c: Likewise.
1685 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
1686
1687 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
1688 name a weak alias.
1689 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
1690 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
1691 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
1692 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
1693
1694 * resolv/res_data.c: Add cast to avoid warning.
1695
1696 * include/unistd.h: Declare __ftruncate64.
1697
1698 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
1699
1700 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
1701 instead of __lseek.
1702
1703 2001-02-13 Andreas Jaeger <aj@suse.de>
1704
1705 * login/getutent_r.c: Include <stdlib.h> for NULL.
1706 * login/getutid_r.c: Likewise.
1707
1708 2001-02-12 Ulrich Drepper <drepper@redhat.com>
1709
1710 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
1711 * sysdeps/dbl-64/e_j1.c: Likewise.
1712 * sysdeps/dbl-64/e_jn.c: Likewise.
1713 * sysdeps/flt-32/e_j0f.c: Likewise.
1714 * sysdeps/flt-32/e_j1f.c: Likewise.
1715 * sysdeps/ldbl-96/e_j0l.c: Likewise.
1716
1717 2000-12-02 H.J. Lu <hjl@gnu.org>
1718
1719 * resolv/res_libc.c (res_init): Don't make it default.
1720
1721 2001-02-12 Ulrich Drepper <drepper@redhat.com>
1722
1723 * manual/debug.texi: Improved the wording.
1724 Patch by Philip Blundell <pb@futuretv.com>.
1725
1726 2001-02-12 Andreas Jaeger <aj@suse.de>
1727
1728 * posix/Makefile (tests): Don't run bug-regex2 when
1729 cross-compiling.
1730
1731 * libio/Makefile (tests): Don't run test-freopen when
1732 cross-compiling.
1733
1734 * manual/stdio.texi (Streams and I18N): Fix typos.
1735
1736 2001-02-12 Ulrich Drepper <drepper@redhat.com>
1737
1738 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
1739
1740 * math/libm-test.inc (j0_test): Make expected results long double
1741 constants.
1742 (y0_test): Likewise.
1743
1744 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
1745 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1746
1747 2001-02-11 Jakub Jelinek <jakub@redhat.com>
1748
1749 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
1750 which was exported from libc.
1751 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
1752
1753 2001-02-12 Andreas Jaeger <aj@suse.de>
1754
1755 * manual/arith.texi (Parsing of Integers): Fix some wordings.
1756
1757 2001-02-11 Ulrich Drepper <drepper@redhat.com>
1758
1759 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
1760 and get_avphys_page to long int.
1761 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
1762 * include/sys/sysinfo.h: Likewise.
1763 * sysdeps/generic/sys/sysinfo.h: Likewise.
1764 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
1765
1766 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
1767 cannot return as many values as the user asked for.
1768
1769 2001-02-11 Andreas Jaeger <aj@suse.de>
1770
1771 * manual/resource.texi (Memory Resources): Fix typo.
1772
1773 * libio/Makefile ($(objpfx)test-freopen.out): Pass
1774 run-program-prefix.
1775
1776 * libio/test-freopen.sh: Use run_program_prefix.
1777
1778 2001-02-10 Andreas Jaeger <aj@suse.de>
1779
1780 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
1781 cross-compiling.
1782 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
1783
1784 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
1785 only builds.
1786
1787 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
1788
1789 * posix/Makefile: Fix typo, it's build-static-nss.
1790
1791 * iconv/Makefile (extra-objs): New.
1792
1793 2001-02-10 Mark Kettenis <kettenis@gnu.org>
1794
1795 * sysdeps/unix/stime.c: Include <time.h>.
1796
1797 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
1798
1799 2001-02-10 Andreas Jaeger <aj@suse.de>
1800
1801 * manual/string.texi (Search Functions): Fix typo.
1802
1803 2001-02-10 Mark Kettenis <kettenis@gnu.org>
1804
1805 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
1806 (timeval_to_clock_t): Add clk_tck argument and use that instead of
1807 CLK_TCK.
1808 (__times): Use __getclktck to get the number of clock ticks per
1809 second and use its return value instead of CLK_TCK.
1810
1811 2001-02-10 Mark Kettenis <kettenis@gnu.org>
1812
1813 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
1814
1815 2001-02-10 Mark Kettenis <kettenis@gnu.org>
1816
1817 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
1818
1819 2001-02-10 Andreas Jaeger <aj@suse.de>
1820
1821 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
1822 warning.
1823
1824 2001-02-09 Ulrich Drepper <drepper@redhat.com>
1825
1826 * posix/Makefile: Add rules to build and run bug-regex2.
1827 * posix/bug-regex2.c: New file.
1828
1829 2001-02-10 Jakub Jelinek <jakub@redhat.com>
1830
1831 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
1832 (regex_compile): Likewise.
1833 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
1834 (re_match_2_internal): Use just is_binary instead of two variables.
1835 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
1836
1837 2001-02-09 Ulrich Drepper <drepper@redhat.com>
1838
1839 * version.h (VERSION): Bump to 2.2.2.
1840
1841 * iconv/Makefile (distribute): Add iconv_charmap.c and
1842 dummy-repertoire.c.
1843 * elf/Makefile (distribute): Add firstobj.c.
1844 * Makefile (distribute): Add include/pthread.h.
1845
1846 * configure.in: Require makeinfo version 4.
1847
1848 * libio/tst_wscanf.c (main): Add cast to avoid warning.
1849 * libio/tst_swscanf.c (main): Likewise..
1850
1851 2001-02-09 Jakub Jelinek <jakub@redhat.com>
1852
1853 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
1854 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
1855 __NO_MATH_INLINES.
1856 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
1857 if not RTLD_BOOTSTRAP.
1858 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
1859 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1860
1861 2001-02-09 Ulrich Drepper <drepper@redhat.com>
1862
1863 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
1864 lr_ungetc to push back last read character.
1865 * locale/programs/linereader.h (lr_ungetc): Don't push back is
1866 character is EOF.
1867 (lr_ignore_rest): Don't warn about garbage if it is really the end
1868 of the file.
1869
1870 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
1871 definition.
1872
1873 2001-02-08 Ulrich Drepper <drepper@redhat.com>
1874
1875 * Makerules (build-shlib): Work around different order of
1876 processing of -B option in different gcc versions.
1877
1878 * posix/regex.c: Fix alignment problem.
1879 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1880
1881 * sysdeps/alpha/strrchr.S: Little optimization.
1882 Patch by Richard Henderson <rth@redhat.com>.
1883
1884 * sysdeps/alpha/alphaev67/strrchr.S: New file.
1885 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
1886
1887 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
1888
1889 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
1890 in the assembler end directive.
1891
1892 2001-02-08 Andreas Jaeger <aj@suse.de>
1893
1894 * manual/stdio.texi (Closing Streams): Fix typos.
1895
1896 2001-02-07 Ulrich Drepper <drepper@redhat.com>
1897
1898 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
1899 Patch by Richard Henderson <rth@redhat.com>.
1900 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
1901
1902 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
1903 pointer in FILE structure before calling _IO_init.
1904 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
1905 strfmon_l if necessary.
1906 Reported by Jury Gerold <gjury@grips.com>.
1907
1908 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
1909 Patch by Pekka.Pietikainen@cern.ch.
1910
1911 * posix/regex.c: Correct several problems with 64-bit architectures
1912 introduced in the MBS changes.
1913 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1914
1915 2001-02-07 Jakub Jelinek <jakub@redhat.com>
1916
1917 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
1918 not defined.
1919 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
1920
1921 2001-02-07 Andreas Jaeger <aj@suse.de>
1922
1923 * manual/install.texi (Tools for Compilation): Fix typo.
1924 Reported by Pavel Machek <pavel@bug.ucw.cz>.
1925
1926 2001-02-07 Ulrich Drepper <drepper@redhat.com>
1927
1928 * stdlib/strtod.c: Never stop prematurely reading digits before the
1929 decimal point is found. Compute exponent limit for negative exponents
1930 correctly. For numbers ending in all zeros eat the zeros even before
1931 the decimal point if the exponent is negative [PR libc/2072].
1932 * stdlib/Makefile (tests): Add bug-strtod.
1933 * stdlib/bug-strtod.c: New file.
1934
1935 2001-02-07 Andreas Jaeger <aj@suse.de>
1936
1937 * posix/bug-regex1.c: Include <wchar.h> for fwide.
1938
1939 2001-02-06 Ulrich Drepper <drepper@redhat.com>
1940
1941 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
1942 Store index.
1943 (compile_range): Handle index being passed, not pointer.
1944 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1945
1946 * posix/regex.c: Fix a cast in the code for bracket handling which
1947 caused 8-bit uncleanliness.
1948 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
1949
1950 * posix/Makefile (tests): Add bug-regex1.
1951 * posix/bug-regex1.c: New file.
1952 Contributed by Jim Meyering <jim@meyering.net>.
1953
1954 * posix/regex.c: Many cleanups for incorrect format strings.
1955
1956 2001-02-06 Andreas Jaeger <aj@suse.de>
1957
1958 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
1959
1960 2001-02-06 Ulrich Drepper <drepper@redhat.com>
1961
1962 * locale/programs/locale.c (write_locales): Use scandir to read
1963 directory so that the entries are sorted.
1964
1965 2001-02-06 Andreas Jaeger <aj@suse.de>
1966
1967 * include/pthread.h: New file.
1968
1969 * wctype/wctype.h: Move internal interfaces from here to...
1970 * include/wctype.h: ...here.
1971
1972 * wcsmbs/wchar.h: Move __wcslen from here to...
1973 * include/wchar.h: ...here.
1974
1975 * posix/sys/wait.h: Move __wait from here to...
1976 * include/sys/wait.h: ...here.
1977
1978 * string/string.h: Move __ffs and __strerror_r from here to...
1979 * include/string.h: ...here.
1980
1981 * stdlib/stdlib.h: Move __on_exit from here to...
1982 * include/stdlib.h: ...here.
1983
1984 * libio/stdio.h: Move __vsnprintf from here to...
1985 * include/stdio.h: ...here.
1986
1987 2001-02-06 Andreas Schwab <schwab@suse.de>
1988
1989 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
1990 headers.
1991
1992 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
1993 of $(inst_datadir).
1994
1995 2001-02-06 Ulrich Drepper <drepper@redhat.com>
1996
1997 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
1998
1999 2001-02-06 Andreas Jaeger <aj@suse.de>
2000
2001 * elf/firstobj.c: Add prototype.
2002
2003 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
2004 (truncate_wchar): Likewise.
2005
2006 2001-02-06 Ulrich Drepper <drepper@redhat.com>
2007
2008 * locale/programs/locale.c: Implement --verbose option for -a
2009 which prints detailed information about the locales.
2010
2011 2001-02-05 Ulrich Drepper <drepper@redhat.com>
2012
2013 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
2014 variable to uint32_t.
2015 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
2016
2017 2001-02-04 Bruno Haible <haible@clisp.cons.org>
2018
2019 * locale/C-translit.h.in: Add transliterations for CJK units of
2020 measurement.
2021
2022 2001-02-05 Ulrich Drepper <drepper@redhat.com>
2023
2024 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
2025 string. Include <inttypes.h> instead of <stdint.h>.
2026
2027 * localedata/Makefile (tests): Add bug-iconv-trans.
2028 Define bug-iconv-trans-ENV.
2029 * localedata/bug-iconv-trans.c: New file.
2030
2031 2001-02-04 Bruno Haible <haible@clisp.cons.org>
2032
2033 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
2034 pointer, to avoid accumulating output from incomplete (unsuccessful)
2035 transliteration attempts.
2036
2037 2001-02-05 Ulrich Drepper <drepper@redhat.com>
2038
2039 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
2040 string. Include <inttypes.h> instead of <stdint.h>.
2041
2042 * configure.in: Add check for bison.
2043 * config.make.in: Define BISON variable.
2044 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
2045 Rename YFLAGS to BISONFLAGS.
2046
2047 2001-02-05 Andreas Jaeger <aj@suse.de>
2048
2049 * io/test-lfs.c (do_test): Test lseek64 return value, call
2050 test_ftello.
2051 (test_ftello): New function to test ftello64 and fseeko64.
2052
2053 * signal/signal.h: Move __sigaction from here to...
2054 * include/signal.h: ...here.
2055
2056 * io/fcntl.h: Move __fcntl and __open to...
2057 * include/fcntl.h: ...here.
2058
2059 2001-02-04 Philip Blundell <philb@gnu.org>
2060
2061 * configure.in: Distinguish ARM from Thumb.
2062
2063 2001-02-04 Philip Blundell <philb@gnu.org>
2064
2065 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
2066 PC24 relocs with negative value.
2067
2068 2001-02-04 Ulrich Drepper <drepper@redhat.com>
2069
2070 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
2071 files in locale/programs. Add CFLAGS definition to allow compiling
2072 localedef files.
2073 * iconv/dummy-repertoire.c: New file.
2074 * iconv/iconv_charmap.c: New file.
2075 * iconv/iconv_prog.h: New file.
2076 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
2077 (main): If parameter for -f and -t contain slashes try first to resolve
2078 the strings as filenames of charmap files. Use them for conversion
2079 in this case.
2080 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
2081 iconv getting charmap names as parameters.
2082 * locale/programs/linereader.c (lr_token): Take extra parameters
2083 verbose and pass it to get_string.
2084 (get_string): Take extra parameters verbose.
2085 * locale/programs/charmap.c (parse_charmap): Take extra parameters
2086 verbose and be_quiet. Change all callers of lr_token and
2087 parse_charmap.
2088 * locale/programs/charmap.h: Likewise.
2089 * locale/programs/ld-address.c: Likewise.
2090 * locale/programs/ld-collate.c: Likewise.
2091 * locale/programs/ld-ctype.c: Likewise.
2092 * locale/programs/ld-identification.c: Likewise.
2093 * locale/programs/ld-measurement.c: Likewise.
2094 * locale/programs/ld-messages.c: Likewise.
2095 * locale/programs/ld-monetary.c: Likewise.
2096 * locale/programs/ld-name.c: Likewise.
2097 * locale/programs/ld-numeric.c: Likewise.
2098 * locale/programs/ld-paper.c: Likewise.
2099 * locale/programs/ld-telephone.c: Likewise.
2100 * locale/programs/ld-time.c: Likewise.
2101 * locale/programs/linereader.c: Likewise.
2102 * locale/programs/linereader.h: Likewise.
2103 * locale/programs/localedef.c: Likewise.
2104 * locale/programs/locfile.c: Likewise.
2105 * locale/programs/locfile.h: Likewise.
2106 * locale/programs/repertoire.c: Likewise.
2107
2108 2001-02-03 Ulrich Drepper <drepper@redhat.com>
2109
2110 * iconv/iconv_prog.c (main): If output file name is "-" write to
2111 stdout.
2112 (main): If -f or -t argument is missing use charset of the current
2113 locale.
2114
2115 2001-02-03 Andreas Jaeger <aj@suse.de>
2116
2117 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
2118 boundary for SSE/SSE-2 alignment.
2119
2120 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
2121 annexc.
2122
2123 2001-02-03 Ulrich Drepper <drepper@redhat.com>
2124
2125 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
2126 Remove comma at end of enum.
2127
2128 * elf/dl-init.c: Add a few __builtin_expect.
2129
2130 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
2131
2132 2001-02-02 Ulrich Drepper <drepper@redhat.com>
2133
2134 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
2135 errno is ECONNREFUSED.
2136
2137 * posix/Makefile: Define MBS_SUPPORT for regex.c.
2138 * posix/regex.c: Implement multibyte character handling.
2139 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
2140
2141 * string/tst-svc.input: Add two more test cases.
2142 * string/tst-svc.expect: Modify to reflect new test cases.
2143
2144 2001-02-01 Jakub Jelinek <jakub@redhat.com>
2145
2146 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
2147 tp->name tests with tp->name[0] tests.
2148
2149 2001-01-29 Ben Collins <bcollins@debian.org>
2150
2151 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
2152 Fix check for name == NULL.
2153
2154 2001-02-01 Ulrich Drepper <drepper@redhat.com>
2155
2156 * elf/Makefile: Add rules to build and run initfirst test.
2157 * elf/initfirst.c: New file.
2158 * elf/firstobj.c: New file.
2159
2160 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
2161 * configure.in: Test for -z initfirst linker option.
2162 * config.make.in: Add have-z-initfirst.
2163 * elf/dl-init.c (_dl_init): Split out actual initialization code in
2164 new function call_init. If _dl_initfirst is non-NULL initialize first.
2165 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
2166 remember object in _dl_initfirst.
2167 * elf/soinit.c: Remove special support for calling
2168 __pthread_initialize_minimal.
2169
2170 * conform/conformtest.pl: Add missing $prepend in type test.
2171
2172 2001-01-31 Ulrich Drepper <drepper@redhat.com>
2173
2174 * elf/elf.h (SHT_CHECKSUM): New definition.
2175
2176 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
2177 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2178 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
2179
2180 2001-01-31 Mark Kettenis <kettenis@gnu.org>
2181
2182 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
2183 to get definition of `struct timeval'.
2184
2185 2001-01-31 Ulrich Drepper <drepper@redhat.com>
2186
2187 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
2188 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
2189
2190 2001-01-30 Ulrich Drepper <drepper@redhat.com>
2191
2192 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
2193 seen, not flags.
2194
2195 * nis/nis_findserv.c: Include <time.h>.
2196
2197 2001-01-30 Yong Li <yong.li@asu.edu>
2198
2199 * iconv/iconv_prog.c (main): Correct error handling method name.
2200
2201 2001-01-29 Ben Collins <bcollins@debian.org>
2202
2203 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
2204 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
2205 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
2206 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
2207
2208 2001-01-30 Ulrich Drepper <drepper@redhat.com>
2209
2210 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
2211 Patch by Marko Myllynen <myllynen@lut.fi>.
2212
2213 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
2214 (int instead of char).
2215 (__strpbrk_c3): Likewise.
2216 Reported by GOTO Masanori <gotom@debian.or.jp>.
2217
2218 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
2219 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
2220 * include/sys/socket.h: Add SA_LEN here for internal use.
2221 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
2222
2223 2001-01-29 Ulrich Drepper <drepper@redhat.com>
2224
2225 * malloc/Makefile: Don't build memusagestat if cross-compiling.
2226
2227 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
2228
2229 * math/libm-test.inc (rint_test): Add a few more tests for round
2230 to even rounding.
2231
2232 2001-01-28 Ulrich Drepper <drepper@redhat.com>
2233
2234 * conform/data/pthread.h-data: Correct return type of pthread_exit.
2235
2236 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
2237
2238 * conform/data/stdlib.h-data: Add _Exit.
2239
2240 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
2241 if not already happened.
2242 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
2243 Don't include <limits.h> and <bits/sockaddr.h>.
2244
2245 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
2246
2247 * conform/data/spawn.h-data: Allow all of <sched.h>.
2248
2249 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
2250 unused variable.
2251
2252 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
2253 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
2254
2255 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
2256
2257 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
2258 * libio/stdio.h: Define va_list correctly.
2259
2260 * conform/data/pthread.h-data: Make priority protocol related
2261 functions optional. Fix typos.
2262
2263 * posix/sched.h: Define sched_priority as __sched_priority.
2264 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
2265 to __sched_priority.
2266 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2267
2268 2001-01-27 Ulrich Drepper <drepper@redhat.com>
2269
2270 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
2271 of <sys/time.h>.
2272
2273 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
2274 * sysdeps/unix/time.c: Likewise.
2275
2276 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
2277 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
2278 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
2279 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
2280 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
2281 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
2282 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
2283 * time/time.h: Likewise.
2284
2285 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
2286 * conform/data/complex.h-data: New file.
2287 * conform/data/tgmath.h-data: New file.
2288
2289 * conform/data/wchar.h-data: Add missing functions.
2290
2291 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
2292
2293 * conform/data/termios.h-data: Add missing const in tcsetattr()
2294 prototype.
2295
2296 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
2297 Don't define pid_t here.
2298
2299 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
2300
2301 * conform/data/sys/time.h-data: Allow sys/select.h.
2302 * conform/data/sys/un.h-data: Fix typo.
2303 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
2304 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
2305 <sys/time.h>.
2306 * sysdeps/unix/clock_nanosleep.c: Likewise.
2307 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
2308 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
2309 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
2310 * sysdeps/unix/clock_settime.c: Likewise.
2311
2312 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
2313 * login/getutent.c: Likewise.
2314 * login/getutid.c: Likewise.
2315 * login/getutline.c: Likewise.
2316
2317 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
2318
2319 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
2320 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
2321 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
2322 f_fsid field after change in struct statvfs.
2323 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
2324 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
2325 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
2326
2327 * conform/data/sys/stat.h-data: Remove isfdtype. Use
2328 optional-macro.
2329
2330 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
2331 recvfrom, send, and socketpair prototypes. Add allow lines.
2332 * socket/sys/socket.h: Include <sys/uio.h>.
2333 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
2334 Fix type of second parameter of listen.
2335 Don't declare isfdtype unless __USE_MISC.
2336 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
2337 * sysdeps/mach/hurd/listen.c: Likewise.
2338 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
2339 ss_family and __ss_family.
2340 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
2341 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2342 (struct msghdr): Change type of msg_iovlen to int and type of
2343 msg_controllen to socklen_t.
2344 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
2345 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
2346 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
2347 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
2348 (rresvport_af): Likewise.
2349
2350 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
2351 * conform/conformtest.pl: Implement handling of symbol.
2352
2353 * signal/signal.h: Fix handling of __need_* symbols.
2354 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
2355 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
2356 * include/sys/select.h: Use fd_set not __fd_set.
2357 * sysdeps/generic/bits/select.h: Likewise.
2358 * sysdeps/i386/bits/select.h: Likewise.
2359 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
2360 __FDELT, __FDMASK, and __fd_set here.
2361 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
2362 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
2363 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2364 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2365 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
2366 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2367 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2368 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2369 * time/sys/time.h: Define struct timeval before including <time.h>
2370 and <sys/select.h>.
2371
2372 * conform/data/sys/time.h-data: fd_set is a typedef.
2373 * conform/data/sys/select.h-data: New file.
2374 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
2375 * conform/conformtest.pl (@headers): Add sys/select.h.
2376 (type, optional-type): Unless testing a typedef instantiate object.
2377 Implement optional-function.
2378
2379 * math/test-misc.c: Include <float.h>.
2380
2381 2001-01-27 Andreas Jaeger <aj@suse.de>
2382
2383 * misc/efgcvt_r.c: Include <float.h>.
2384
2385 2001-01-26 Ulrich Drepper <drepper@redhat.com>
2386
2387 * conform/data/stdlib.h-data: Account for XPG6 changes.
2388 * stdlib/stdlib.h (__random): Change return value type to long.
2389 (posix_memalign): Cleanup parameter names.
2390 (setenv, unsetenv): Make available for __USE_XOPEN2K.
2391 Change return type of unsetenv to int.
2392 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
2393 * include/stdlib.h: Change return type of unsetenv to int.
2394 Change return type of random to long int.
2395 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
2396 Return -1 and set errno if parameter is invalid.
2397 * stdlib/random.c (__random): Change return value type to long.
2398
2399 * conform/data/stdio.h-data: Account for changes in XPG6.
2400
2401 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
2402 prototype.
2403
2404 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
2405 * conform/data/signal.h-data: Fix sigev_notify_function entry.
2406 Fix typo (SIGVALRM -> SIGVTALRM).
2407 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
2408 with real type.
2409 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
2410 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2411 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2412 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2413 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2414
2415 * conform/conformtest.pl: Implement optional-element. Define
2416 $mustprepend{"sched.h"}.
2417 * conform/data/sched.h-data: Make sporadic scheduler definitions
2418 optional.
2419
2420 * pwd/pwd.h: Don't define getpwent_r for XPG.
2421
2422 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
2423 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
2424 * sysdeps/mach/hurd/poll.c: Likewise.
2425 * sysdeps/unix/bsd/poll.c: Likewise.
2426 * sysdeps/unix/sysv/linux/poll.c: Likewise.
2427 * sysdeps/unix/sysv/aix/poll.c: Likewise.
2428 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
2429 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
2430 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
2431 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
2432 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
2433 * conform/data/poll.h-data: Fix typo in poll prototype.
2434
2435 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
2436 only if __USE_MISC.
2437 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
2438
2439 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
2440
2441 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
2442
2443 * conform/conformtest.pl: Implement optional-type.
2444
2445 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
2446 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
2447 defining uint32_t here. Define IPPORT_RESERVED.
2448 (struct hostent): Type of h_length element is int.
2449 (getnameinfo): Type of flags parameter is unsigned int.
2450 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
2451 * conform/data/netdb.h-data: Add many missing definitions.
2452
2453 * conform/conformtest.pl: Implement optional-macro.
2454 * conform/data/math.h-data: Update for XPG6.
2455
2456 * math/math.h (HUGE): Define as FLT_MAX value but don't use
2457 FLT_MAX. Don't include <float.h>.
2458 (MAXFLOAT): Likewise.
2459
2460 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
2461
2462 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
2463
2464 * conform/data/limits.h-data: Mark constants as optional wherever
2465 appropriate.
2466
2467 * posix/bits/posix2_lim.h: Set correct values for
2468 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
2469 EQUIV_CLASS_MAX.
2470
2471 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
2472 Required by POSIX.
2473
2474 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
2475
2476 * conform/data/netinet/in.h-data: Add reserved prefixes.
2477
2478 * conform/data/arpa/inet.h-data: Fix a few typos.
2479
2480 2001-01-26 Andreas Jaeger <aj@suse.de>
2481
2482 * sysdeps/generic/strtol.c: Include <locale.h>
2483 * stdlib/strtod.c: Likewise
2484 * stdlib/strfmon.c: Likewise.
2485 * string/strcoll.c: Likewise.
2486 * string/strxfrm.c: Likewise.
2487 * wctype/wcfuncs_l.c: Likewise.
2488 * wctype/wctype_l.c: Likewise.
2489 * wctype/wctrans_l.c: Likewise.
2490
2491 * include/bits/locale.h: New file.
2492
2493 2001-01-26 Ulrich Drepper <drepper@redhat.com>
2494
2495 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
2496 and NOSTR.
2497
2498 * locale/Makefile (headers): Add bits/locale.h.
2499 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
2500 and use __LC_ constants instead of LC_.
2501 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
2502 using __LC_ constants.
2503 * locale/bits/locale.h: New file.
2504 * locale/loadlocale.c: Include <locale.h>.
2505 * locale/nl_langinfo.h: Likewise.
2506
2507 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
2508
2509 * io/sys/stat.h: Define S_IFSOCK for XPG6.
2510
2511 * conform/data/fcntl.h-data: posix_madvise is not expected here.
2512
2513 * conform/conformtest.pl: Fix handling of macro-str.
2514
2515 * conform/data/inttypes.h-data: Add missing definition and all of
2516 stdint.h-data.
2517
2518 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
2519
2520 2001-01-25 Ulrich Drepper <drepper@redhat.com>
2521
2522 * conform/conformtest.pl (@headers): Add stdint.h.
2523 * conform/data/stdint.h-data: New file.
2524
2525 * conform/conformtest.pl: Recognize options --headers and
2526 --dialect. Add dialect-specific CFLAGS.
2527
2528 * conform/conformtest.pl: Implement handling of recursive
2529 allow-header.
2530
2531 * conform/data/locale.h-data: Add new struct lconv members.
2532
2533 * posix/wordexp.h: Correct definition of wordexp_t.
2534 * posix/wordexp.c: Moved to ...
2535 * sysdeps/generic/wordexp.c: ...here. New file.
2536 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
2537 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
2538 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
2539 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
2540 wordexp.
2541 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
2542 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
2543
2544 * math/tgmath.h: Pretty printing.
2545
2546 * math/Makefile (tests): Add test-tgmath.
2547 (CFLAGS-test-tgmath.c): New variable.
2548 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
2549
2550 * conform/conformtest.pl: Handle allow-header in secondary headers
2551 correctly.
2552
2553 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
2554 #ifdef.
2555
2556 * conform/data/netinet/in.h-data: Use correct comment character.
2557 * conform/data/sys/stat.h-data: Likewise.
2558
2559 2001-01-25 Jakub Jelinek <jakub@redhat.com>
2560
2561 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
2562 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
2563 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
2564 __builtin_classify_type, add ##f suffixes where appropriate.
2565 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
2566 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
2567 __builtin_classify_type.
2568 (fma): Fix spelling of first argument.
2569
2570 2001-01-25 Ulrich Drepper <drepper@redhat.com>
2571
2572 * conform/data/unistd.h-data: Mark functions removed in XPG6
2573 correctly.
2574
2575 * posix/unistd.h: Don't make functions removed in XPG6 available if
2576 __USE_XOPEN2K.
2577
2578 * conform/conformtest.pl: Implement optional-constant.
2579 * conform/data/unistd.h-data: Use optional-constant wherever
2580 appropriate.
2581
2582 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
2583 constants and add _SC_STREAMS.
2584 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2585
2586 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
2587 make old name weak alias.
2588 * sysdeps/generic/statvfs64.c: Likewise.
2589 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
2590 make old name weak alias.
2591 * sysdeps/generic/fstatvfs64.c: Likewise.
2592 * include/sys/statvfs.h: New file.
2593
2594 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
2595 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
2596 _PC_REC_XFER_ALIGN.
2597 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
2598 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
2599 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
2600 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2601
2602 * conform/conformtest.pl: Run Unix tests for XPG6.
2603 Implement handling of known namespace violations.
2604 Improve printing of results.
2605
2606 * posix/unistd.h (usleep): Correct return type.
2607 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
2608 * sysdeps/unix/bsd/usleep.c: Correct return type.
2609 * sysdeps/mach/usleep.c: Correct return type.
2610 * sysdeps/generic/usleep.c: Correct return type.
2611
2612 * posix/unistd.h (sync): Correct return type.
2613 * sysdeps/generic/sync.c: Likewise.
2614 * sysdeps/mach/hurd/sync.c: Likewise.
2615
2616 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
2617
2618 * posix/unistd.h: Make seteuid and setegid available for XPG6.
2619
2620 * wcsmbs/wchar.h: Get FILE definition for XPG5.
2621
2622 * conform/data/ctype.h-data: Use correct comment form.
2623 * conform/data/errno.h-data: Likewise.
2624 * conform/data/math.h-data: Likewise.
2625 * conform/data/mqueue.h-data: Likewise.
2626 * conform/data/netdb.h-data: Likewise.
2627 * conform/data/pthread.h-data: Likewise.
2628
2629 2001-01-24 Ulrich Drepper <drepper@redhat.com>
2630
2631 * conform/data/wordexp.h-data: Fix typo.
2632
2633 * conform/conformtest.pl: Handle allow-header correctly.
2634
2635 * conform/data/time.h-data: Use correct comment form.
2636
2637 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
2638
2639 * configure.in: Comment out binutils version test.
2640
2641 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
2642 separators.
2643 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
2644
2645 * stdlib/tst-strtod.c (locale_test): New function.
2646 (main): Call locale_test.
2647 * stdlib/Makefile (tst-strtod-ENV): New variable.
2648
2649 2001-01-24 Mark Kettenis <kettenis@gnu.org>
2650
2651 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
2652 declaration of value such that we actually return the value of the
2653 environment variable.
2654
2655 2001-01-24 Andreas Jaeger <aj@suse.de>
2656
2657 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
2658 prototype.
2659 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2660
2661 * include/sys/sysctl.h: New file.
2662
2663 2001-01-23 Andreas Jaeger <aj@suse.de>
2664
2665 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
2666 isomac.
2667
2668 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
2669 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
2670 closes PR libc/2039.
2671
2672 * manual/install.texi (Tools for Compilation): Change required
2673 binutils version.
2674
2675 2001-01-22 Andreas Jaeger <aj@suse.de>
2676
2677 * configure.in: Add test for new enough binutils version, move
2678 compiler/binutils test up.
2679
2680 * Versions.def: Add version GLIBC_2.2.2.
2681
2682 2001-01-21 Ulrich Drepper <drepper@redhat.com>
2683
2684 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
2685 available.
2686 * iconvdata/testdata/IBM932: New file.
2687 * iconvdata/testdata/IBM932..UTF8: New file.
2688 * iconvdata/testdata/IBM943: New file.
2689 * iconvdata/testdata/IBM943..UTF8: New file.
2690 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
2691
2692 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2693
2694 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
2695
2696 2001-01-21 Ulrich Drepper <drepper@redhat.com>
2697
2698 * malloc/malloc.c: Remove a few unnecessary initializers of global
2699 variables.
2700
2701 2000-12-09 H.J. Lu <hjl@gnu.org>
2702
2703 * nss/Makefile (routines): Add digits_dots.
2704 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
2705 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
2706 into a function.
2707 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
2708 function.
2709 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
2710 (TYPE_VAR_P): Likewise.
2711 (FLAGS_VAR): Likewise.
2712 (AF_VAR_P): Likewise.
2713 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
2714 instead of including digits_dots.c.
2715 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
2716 (TYPE_VAR_P): Likewise.
2717 (FLAGS_VAR): Likewise.
2718 (AF_VAR_P): Likewise.
2719 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
2720 instead of including digits_dots.c.
2721
2722 2001-01-21 Ulrich Drepper <drepper@redhat.com>
2723
2724 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
2725
2726 2001-01-21 Andreas Jaeger <aj@suse.de>
2727
2728 * elf/constload2.c: Add prototype for init.
2729
2730 2001-01-21 Ulrich Drepper <drepper@redhat.com>
2731
2732 * stdlib/stdlib.h (drand48_data): Make available only for
2733 __USE_MISC. Rename elements to protect namespace. Change type
2734 and position of a and init element.
2735 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
2736 differently. Adjust for drand48_data change. Don't compute a here,
2737 it comes from drand48_data.
2738 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
2739 differently. Adjust for drand48_data change. Compute a here.
2740 * stdlib/srand48_r.c: Likewise.
2741 * stdlib/drand48.c: Adjust for drand48_data change.
2742 * stdlib/lrand48.c: Likewise.
2743 * stdlib/mrand48.c: Likewise.
2744 * stdlib/seek48.c: Likewise.
2745 * stdlib/drand48_r.c: Likewise.
2746 * stdlib/lrand48_r.c: Likewise.
2747 * stdlib/mrand48_r.c: Likewise.
2748 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
2749 differently.
2750 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
2751 * stdlib/jrand48_r.c: Likewise.
2752
2753 * po/sv.po: Update from translation team.
2754
2755 2001-01-21 Andreas Jaeger <aj@suse.de>
2756
2757 * stdio-common/vfprintf.c (vfprintf): Add casts.
2758
2759 2001-01-20 Ulrich Drepper <drepper@redhat.com>
2760
2761 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
2762 the ASCII test.
2763 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
2764
2765 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
2766 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
2767 * iconvdata/ibm932.c: New file.
2768 * iconvdata/ibm932.h: New file.
2769 * iconvdata/ibm943.c: New file.
2770 * iconvdata/ibm943.h: New file.
2771 Patches by Masahide Washizawa <washi@jp.ibm.com>.
2772
2773 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
2774 preventing optimization from being done. Set the correct type bit
2775 in seen. Don't define and use _dl_base_addr unless
2776 NEED_DL_BASE_ADDR is defined.
2777
2778 * io/ftw.c (ftw_dir): Add slash after directory name if there
2779 wasn't any. Reported by loris <loris@iol.it>.
2780 * io/Makefile (tests): Add bug-ftw2.
2781 * io/bug-ftw2.c: New file.
2782
2783 2001-01-19 Ulrich Drepper <drepper@redhat.com>
2784
2785 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
2786 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
2787 * stdlib/tst-rand48.c: New file.
2788 * stdlib/Makefile (tests): Add tst-rand48.
2789
2790 * locale/newlocale.c (__newlocale): Fix test for setting all
2791 categories.
2792
2793 2001-01-19 Mark Kettenis <kettenis@gnu.org>
2794
2795 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
2796 but change looking up the initial directory port in a similar way
2797 as done by _hurd_change_directory_port_from_name.
2798 * hurd/fchroot.c (fchroot): Likewise.
2799
2800 2001-01-18 Ulrich Drepper <drepper@redhat.com>
2801
2802 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
2803 defined don't look whether the AT_*ID values were set.
2804 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
2805 (_dl_show_auxv): Rewrite to avoid switch statement.
2806 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2807 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
2808 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
2809 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
2810
2811 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
2812 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2813 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2814
2815 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
2816 strtoul.
2817 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
2818 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
2819 anything.
2820 * dlfcn/eval.c (__strtol_internal): Define here.
2821 (eval): Use __strtol_internal instead of strtol.
2822
2823 * elf/elf.h: Add a few more EF_MIPS_* constants.
2824
2825 2001-01-17 Ulrich Drepper <drepper@redhat.com>
2826
2827 * manual/Makefile (chapters): Add debug.
2828 * manual/debug.texi: New file.
2829 * manual/examples/execinfo.c: New file.
2830 Patch by suckfish@ihug.co.nz.
2831
2832 2001-01-17 Andreas Schwab <schwab@suse.de>
2833
2834 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
2835 invalid asm.
2836
2837 2001-01-17 Andreas Jaeger <aj@suse.de>
2838
2839 * nscd/connections.c (nscd_run): Use proper format specifier.
2840
2841 2001-01-16 Ulrich Drepper <drepper@redhat.com>
2842
2843 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
2844 x86_platforms data into new file after prepending _dl_. Change
2845 users.
2846 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
2847 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
2848 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
2849 dl-procinfo.c.
2850
2851 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
2852
2853 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
2854 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
2855 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
2856 (_setjmp): Likewise.
2857 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
2858 * sysdeps/i386/bsd-setjmp.S: Real implementation.
2859 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
2860 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
2861 version.
2862
2863 2001-01-16 Andreas Jaeger <aj@suse.de>
2864
2865 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
2866 misapplied last patch.
2867
2868 2001-01-15 Ulrich Drepper <drepper@redhat.com>
2869
2870 * stdlib/random.c (__initstate): Clean up a cast.
2871 (__setstate): Likewise.
2872
2873 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
2874 syscall handling. The generic Linux version should work.
2875
2876 2001-01-15 Andreas Jaeger <aj@suse.de>
2877
2878 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
2879
2880 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
2881
2882 2001-01-14 Jakub Jelinek <jakub@redhat.com>
2883
2884 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
2885 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
2886 New functions.
2887 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
2888 If number is 0, list all.
2889 (services_keys): Likewise. Lookup aliases as well.
2890 (databases): New table.
2891 (build_doc): Prepare argp doc text with list of supported databases.
2892 (main): Change to table driven processing.
2893
2894 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
2895
2896 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
2897 functions.
2898
2899 2001-01-03 Jakub Jelinek <jakub@redhat.com>
2900
2901 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
2902 encode value which does not fit in the 32bit type.
2903
2904 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
2905
2906 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
2907 Change type of CTX to (struct sigcontext *).
2908 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
2909 (GET_FRAME): Likewise.
2910 (GET_STACK): Likewise.
2911 (SIGCONTEXT): Likewise. Add 2nd arg _code.
2912 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
2913
2914 2001-01-13 Ulrich Drepper <drepper@redhat.com>
2915
2916 * manual/texinfo.tex: Update from upstream version.
2917
2918 2001-01-13 Jakub Jelinek <jakub@redhat.com>
2919
2920 * inet/ether_ntoh.c (lookup_function): Change arguments to match
2921 _nss_*_getntohost_r prototype.
2922 (ether_ntohost): Pass errno pointer to NSS function.
2923
2924 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2925
2926 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
2927 (MAP_LOCKED): New definition.
2928 (MAP_NORESERVE): New definition.
2929
2930 2001-01-12 Ulrich Drepper <drepper@redhat.com>
2931
2932 * assert/assert.h: Use static_cast instead of C-style cast for C++.
2933 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
2934
2935 2001-01-12 Ben Collins <bcollins@debian.org>
2936
2937 * sysdeps/generic/segfault.c (install_handler): Use access, not
2938 __access.
2939
2940 2001-01-12 Andreas Jaeger <aj@suse.de>
2941
2942 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
2943 * posix/wordexp.c (do_parse_glob): Likewise.
2944 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2945 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
2946 * elf/dl-open.c (_dl_open): Likewise.
2947 * elf/dl-close.c (_dl_close): Likewise.
2948 * elf/dl-load.c (_dl_map_object): Likewise.
2949 * iconv/iconv_prog.c (process_fd): Likewise.
2950 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
2951
2952 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
2953 of a zero-length array.
2954
2955 2001-01-11 Jakub Jelinek <jakub@redhat.com>
2956
2957 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
2958 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
2959 * stdlib/cxa_on_exit.c: Remove.
2960 * stdlib/Makefile: Revert last patch.
2961 * stdlib/Versions: Likewise.
2962 * include/stdlib.h: Likewise.
2963 * stdlib/exit.h: Revert last patch.
2964 (struct exit_function): Add second argument to cxa fn.
2965 * stdlib/exit.c: Revert last patch.
2966 (exit): Add hidden second argument.
2967
2968 2001-01-11 H.J. Lu <hjl@gnu.org>
2969
2970 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
2971 * elf/dl-open.c (_dl_open): Here.
2972 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
2973 Make it static.
2974 (_dl_static_init): Initialize the variables every time when possible.
2975 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
2976 Undefine it first.
2977
2978 2001-01-11 Ulrich Drepper <drepper@redhat.com>
2979
2980 * stdlib/Makefile (routines): Add cxa_on_exit.
2981 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
2982 * stdlib/cxa_on_exit.c: New file.
2983 * include/stdlib.h: Add prototype for __cxa_on_exit.
2984 * stdlib/exit.c: Handle ef_cxa2.
2985 * stdlib/exit.h (enum): Add ef_cxa2.
2986 (struct exit_function): Add cxa2.
2987
2988 * Versions.def [ld]: Add GLIBC_2.2.1.
2989
2990 2001-01-10 H.J. Lu <hjl@gnu.org>
2991
2992 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
2993 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
2994 dl-static.
2995 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
2996 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
2997 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
2998 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
2999 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
3000
3001 2001-01-11 Ulrich Drepper <drepper@redhat.com>
3002
3003 * libio/stdio.h: Remove definition of off_t.
3004
3005 2001-01-11 Andreas Jaeger <aj@suse.de>
3006
3007 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
3008 <mkuhn@acm.org>.
3009
3010 2001-01-10 Ulrich Drepper <drepper@redhat.com>
3011
3012 * sunrpc/Makefile (distribute): Add errqueue.h.
3013
3014 2001-01-10 H.J. Lu <hjl@gnu.org>
3015
3016 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
3017 r9, r10 and r11 for language specific registers.
3018
3019 2001-01-10 Jakub Jelinek <jakub@redhat.com>
3020
3021 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
3022 UDP socket.
3023 (clntudp_call): Handle MSG_ERRQUEUE.
3024 * sysdeps/generic/errqueue.h: New file.
3025 * sysdeps/unix/sysv/linux/errqueue.h: New file.
3026
3027 2001-01-10 H.J. Lu <hjl@gnu.org>
3028
3029 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
3030
3031 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
3032
3033 * CONFORMANCE: Update.
3034
3035 2001-01-09 Ulrich Drepper <drepper@redhat.com>
3036
3037 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
3038 Minimal cleanups. Add assert to ensure memory handling is correct.
3039
3040 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
3041 Reported by Ben Collins <bcollins@debian.org>.
3042
3043 * time/strftime.c (my_strftime): Mark previous GNU extensions
3044 which are now in C99 as such.
3045
3046 2001-01-08 Ulrich Drepper <drepper@redhat.com>
3047
3048 * elf/rtld.c (process_envvars): Place output files for profiling
3049 in SUID binaries in /var/profile.
3050
3051 * elf/dl-load.c (_dl_map_object): Don't look in cache for
3052 preloading in SUID binaries.
3053
3054 * elf/dl-profile.c (_dl_start_profile): Open the output file with
3055 O_NOFOLLOW if possible.
3056
3057 * include/stdlib.h: Add __posix_openpt declaration.
3058 * stdlib/stdlib.h: Add posix_openpt declaration.
3059 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
3060 * sysdeps/generic/getpt.c: Define posix_openpt.
3061 * sysdeps/unix/bsd/getpt.c: Likewise.
3062 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
3063
3064 * time/Makefile (tests): Add tst-mktime.
3065 * time/tst-mktime.c: New file.
3066
3067 * posix/tst-dir.c (main): One more mkdir() test.
3068
3069 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
3070 Remove getpagesize syscall. We assume that the pagesize is always
3071 determined from the auxiliary vector.
3072
3073 * intl/dcigettext.c: Fix a few warnings.
3074 Patch by Bruno Haible <haible@ilog.fr>.
3075
3076 2001-01-08 Andreas Jaeger <aj@suse.de>
3077
3078 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
3079 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3080
3081 2001-01-08 Ulrich Drepper <drepper@redhat.com>
3082
3083 * sysdeps/generic/segfault.c (install_handler): Check output file
3084 name with access().
3085
3086 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
3087 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
3088
3089 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
3090
3091 * malloc/memusage.c (me): Use access() to determine whether we
3092 should write the output file or not.
3093
3094 * libio/bits/stdio.h (printf): Define macro to map printf call to
3095 fprintf which gcc can optimize.
3096 * stdio-common/printf.c: Undefine printf.
3097
3098 2001-01-07 Ulrich Drepper <drepper@redhat.com>
3099
3100 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
3101 patch. We must use unsigned int for l member of union.
3102
3103 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
3104 _dl_aux_init for shared libraries.
3105
3106 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
3107 * sysdeps/gnu/glob64.c: ...here. New file.
3108
3109 2001-01-07 Ben Collins <bcollins@debian.org>
3110
3111 * manual/examples/longopt.c: Make the "struct option" a little
3112 more like it should be, adding usage of required_argument,
3113 noargument and such, and also setting the options string right.
3114
3115 * manual/sysinfo.texi (Load Average): New section, documents
3116 getloadavg().
3117
3118 2001-01-06 Ulrich Drepper <drepper@redhat.com>
3119
3120 * version.h (VERSION): Bump to 2.2.1.
3121
3122 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
3123 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
3124 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
3125 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
3126 * Makefile (distribute): Add include/libc-internal.h.
3127 * libio/Makefile (distribute): Avoid overwriting.
3128
3129 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
3130 buffer and table handling.
3131
3132 2001-01-05 H.J. Lu <hjl@gnu.org>
3133
3134 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
3135 vector checking to ...
3136 (_dl_aux_init): Here. New function. Defined only if
3137 HAVE_AUX_VECTOR is defined.
3138
3139 * sysdeps/generic/libc-start.c (__libc_start_main): Call
3140 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
3141
3142 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
3143 _dl_aux_init.
3144
3145 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
3146 (HAVE_AUX_VECTOR): Defined.
3147 (_dl_aux_init): Declared.
3148
3149 2001-01-05 Ben Collins <bcollins@debian.org>
3150
3151 * manual/string.texi (Finding Tokens in a String): Document XPG
3152 basename() and dirname(), as well as GNU basename().
3153
3154 2001-01-05 Jakub Jelinek <jakub@redhat.com>
3155
3156 * Makeconfig (preprocess-version): Replace -traditional with
3157 -x assembler-with-cpp.
3158
3159 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
3160
3161 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
3162 for GCC 2.97 or later.
3163
3164 2001-01-05 Ben Collins <bcollins@debian.org>
3165
3166 * manual/stdio.texi (getline): Clarify the return value in the
3167 case of EOF being reached before a newline.
3168
3169 2001-01-04 Jakub Jelinek <jakub@redhat.com>
3170
3171 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
3172 FALSE otherwise.
3173 (pmap_set, pmap_unset): Check __get_myaddress return value.
3174
3175 2001-01-05 Mark Kettenis <kettenis@gnu.org>
3176
3177 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
3178 (struct ether_addr): Declare ether_addr_octet member as
3179 `u_int8_t'. Add __attribute__ ((__packed__)).
3180
3181 2001-01-06 Mark Kettenis <kettenis@gnu.org>
3182
3183 * sysdeps/mach/hurd/readdir64.c: New file.
3184 * sysdeps/mach/hurd/readdir64_r.c: New file.
3185
3186 2001-01-07 Mark Kettenis <kettenis@gnu.org>
3187
3188 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
3189 `struct statfs' and `struct statvfs' being identical.
3190 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
3191
3192 2001-01-06 Mark Kettenis <kettenis@gnu.org>
3193
3194 * sysdeps/mach/hurd/fstatfs64.c: New file.
3195 * sysdeps/mach/hurd/fstatvfs64.c: New file.
3196 * sysdeps/mach/hurd/statfs64.c: New file.
3197 * sysdeps/mach/hurd/statvfs64.c: New file.
3198 * sysdeps/mach/hurd/statfsconv.c: New file.
3199 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
3200
3201 2001-01-06 Ulrich Drepper <drepper@redhat.com>
3202
3203 * iconv/skeleton.c: Reset outbuf for next round of the loop.
3204 Reported by Owen Taylor <otaylor@redhat.com>.
3205 * iconv/Makefile (tests): Add tst-iconv3.
3206 * iconv/tst-iconv3.c: New file.
3207
3208 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
3209 * iconvdata/ibm933.c: Likewise.
3210 * iconvdata/ibm935.c: Likewise.
3211 * iconvdata/ibm937.c: Likewise.
3212 * iconvdata/ibm939.c: Likewise.
3213 * iconvdata/ibm930.h: Adjust single byte table for optimization.
3214 * iconvdata/ibm933.h: Likewise.
3215 * iconvdata/ibm935.h: Likewise.
3216 * iconvdata/ibm939.h: Likewise.
3217
3218 * iconvdata/testdata/IBM930: Add misssing SI.
3219 * iconvdata/testdata/IBM933: Likewise.
3220 * iconvdata/testdata/IBM935: Likewise.
3221 * iconvdata/testdata/IBM937: Likewise.
3222 * iconvdata/testdata/IBM939: Likewise.
3223
3224 2001-01-06 Andreas Jaeger <aj@suse.de>
3225
3226 * configure.in: Check for old add-ons that shouldn't be used with
3227 current glibc anymore.
3228
3229 2001-01-06 Mark Kettenis <kettenis@gnu.org>
3230
3231 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
3232 instead of -1 on failure. Don't forget to copy file name into
3233 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
3234 of the directory.
3235
3236 2001-01-06 Mark Kettenis <kettenis@gnu.org>
3237
3238 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
3239 copy st_atime member.
3240
3241 2001-01-05 Ulrich Drepper <drepper@redhat.com>
3242
3243 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
3244 for searches from the root directory.
3245 Reported by loris <loris@iol.it> [PR libc/1991].
3246 * io/Makefile (tests): Add bug-ftw1.
3247 * io/bug-ftw1.c: New file.
3248
3249 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
3250 if it is not available. Instead use it only if it is available.
3251 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
3252
3253 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
3254 overflowing output buffer.
3255 (internal_ucs4_loop_unaligned): Likewise.
3256 (ucs4_internal_loop): Likewise.
3257 (ucs4_internal_loop_unaligned): Likewise.
3258 (internal_ucs4le_loop): Likewise.
3259 (internal_ucs4le_loop_unaligned): Likewise.
3260 (ucs4le_internal_loop): Likewise.
3261 (ucs4le_internal_loop_unaligned): Likewise.
3262 Reported by Owen Taylor <otaylor@redhat.com>.
3263 * iconv/Makefile (tests): Add tst-iconv2.
3264 * iconv/tst-iconv2.c: New file.
3265
3266 2001-01-04 H.J. Lu <hjl@gnu.org>
3267
3268 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
3269 (_dl_clktck): Declared.
3270 (non_dynamic_init): Take 3 arguments.
3271 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
3272
3273 2001-01-01 Bruno Haible <haible@clisp.cons.org>
3274
3275 Finish implementation of plural form handling.
3276 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
3277 'domainname'. Remove 'plindex' field. Add 'domain' and
3278 'translation_length' fields.
3279 (transcmp): Don't compare 'plindex' fields.
3280 (plural_lookup): New function.
3281 (DCIGETTEXT): Change cache handing in the plural case. Don't call
3282 plural_eval before the translation and its catalog file have been
3283 found. Remove plindex from cache key. Add 'translation_length' and
3284 'domain' to cache result.
3285 (_nl_find_msg): Remove index argument, return length of translation
3286 to the caller instead. Weaken comparison of string lengths, to account
3287 for plural entries. Call iconv() on the entire result string, not
3288 only on the portion needed so far.
3289 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
3290 argument.
3291 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
3292
3293 2001-01-04 Ulrich Drepper <drepper@redhat.com>
3294
3295 * intl/plural.y (yylex): Minimal improvement in number scanner.
3296
3297 2000-07-31 Bruno Haible <haible@clisp.cons.org>
3298
3299 * intl/plural.y: Include config.h. Needed to define 'inline' away for
3300 C compilers that don't support it.
3301 (yylex): Don't use gcc specific case range syntax.
3302 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
3303 compilers.
3304
3305 2000-10-12 Bruno Haible <haible@clisp.cons.org>
3306
3307 * intl/finddomain.c: Remove unneeded includes.
3308
3309 2000-10-12 Bruno Haible <haible@clisp.cons.org>
3310
3311 * intl/localealias.c (memcpy): Return first argument, just like the
3312 real memcpy function does.
3313 * intl/bindtextdom.c (memcpy): Likewise.
3314 * intl/finddomain.c (memcpy): Likewise.
3315 * intl/l10nflist.c (memcpy): Likewise.
3316 * intl/textdomain.c (memcpy): Likewise.
3317 From Paul Eggert <eggert@twinsun.com>.
3318
3319 2001-01-03 Jakub Jelinek <jakub@redhat.com>
3320
3321 * resolv/resolv.h (struct __res_state): Add nsinit field.
3322 * resolv/res_send.c (res_nsend): Use it instead of nscount.
3323 * resolv/res_init.c (__res_vinit): Initialize it.
3324 (res_nclose): Clear it instead of nscount.
3325
3326 2001-01-04 Ulrich Drepper <drepper@redhat.com>
3327
3328 * malloc/mtrace.pl: Fix matching of addresses.
3329 Patch by Aharon Robbins <arnold@skeeve.com>.
3330
3331 * Versions.def (ld): Add GLIBC_2.2.
3332
3333 * catgets/gencat.c: Copyright 2001.
3334 * csu/version.c: Likewise.
3335 * debug/catchsegv.sh: Likewise.
3336 * debug/xtrace.sh: Likewise.
3337 * elf/ldconfig.c: Likewise.
3338 * elf/sprof.c: Likewise.
3339 * iconv/iconv_prog.c: Likewise.
3340 * locale/locale.c: Likewise.
3341 * locale/localedef.c: Likewise.
3342 * malloc/memusage.sh: Likewise.
3343 * malloc/mtrace.pl: Likewise.
3344 * nscd/nscd.c: Likewise.
3345 * posix/getconf.c: Likewise.
3346
3347 2001-01-04 Mark Kettenis <kettenis@gnu.org>
3348
3349 * include/stdio.h: Only provide __getwc_unlocked prototype if
3350 USE_IN_LIBIO is defined.
3351
3352 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3353
3354 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
3355 handling.
3356
3357 2001-01-03 Andreas Schwab <schwab@suse.de>
3358
3359 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
3360 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
3361
3362 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
3363 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
3364 strtoull alias.
3365 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
3366 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
3367 wcstoull alias.
3368
3369 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
3370 directory.
3371 * sysdeps/generic/strtol_l.c: Likewise.
3372 * sysdeps/generic/strtoul_l.c: Likewise.
3373 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
3374
3375 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
3376 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
3377 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
3378 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
3379
3380 2001-01-04 Andreas Jaeger <aj@suse.de>
3381
3382 * nss/nsswitch.c: Include files for missing prototypes, remove
3383 buggy declaration of prototypes.
3384
3385 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3386
3387 * resolv/Versions: Fix bracing.
3388 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3389 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
3390
3391 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3392
3393 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
3394
3395 2001-01-02 Ulrich Drepper <drepper@redhat.com>
3396
3397 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
3398 Suggested by Minko Markov <mmarkov@home.com>.
3399
3400 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3401
3402 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
3403 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
3404 the failing symbol.
3405 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
3406
3407 2001-01-02 Ben Collins <bcollins@debian.org>
3408
3409 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
3410 if TZ is not set and TZDEFAULT is not present.
3411
3412 2001-01-01 Ben Collins <bcollins@debian.org>
3413
3414 * string/strings.h: Make sure we declare our functions even if
3415 string.h is already included, based on whether or not __USE_BSD is
3416 defined.
3417
3418 2001-01-02 Ulrich Drepper <drepper@redhat.com>
3419
3420 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
3421 other dlopen() and dlsym().
3422 Based on a patch by Ben Collins <bcollins@debian.org>.
3423
3424 2001-01-02 Andreas Jaeger <aj@suse.de>
3425
3426 * dlfcn/errmsg1.c (main): Call dlerror initially.
3427 Reported by Ben Collins <bcollins@debian.org>.
3428
3429 2001-01-02 Ulrich Drepper <drepper@redhat.com>
3430
3431 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
3432 value is ignored if the selected locale is the C locale.
3433 * intl/tst-gettext.c: Set locale for above change.
3434 * intl/tst-translit.c: Likewise.
3435
3436 2001-01-02 Andreas Jaeger <aj@suse.de>
3437
3438 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
3439 (_IO_switch_to_wget_mode): Likewise.
3440 (_IO_sputbackwc): Likewise.
3441 (_IO_sungetwc): Use wint_t for result.
3442
3443 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
3444
3445 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
3446 signedness.
3447
3448 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
3449 to (int) to avoid warnings.
3450 * stdio-common/printf_fp.c (putc): Likewise.
3451 * stdio-common/printf_size.c (putc): Likewise.
3452
3453 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
3454 constant unsigned.
3455
3456 2001-01-01 Andreas Jaeger <aj@suse.de>
3457
3458 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
3459
3460 2000-12-31 Andreas Jaeger <aj@suse.de>
3461
3462 * include/libc-internal.h: Add prototype for __libc_freeres.
3463
3464 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
3465 for prototypes, remove redundant prototypes.
3466 * gmon/gmon.c: Likewise.
3467 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
3468 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
3469 * malloc/mtrace.c: Likewise.
3470
3471 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
3472 prototypes.
3473 * elf/soinit.c: Likewise.
3474 * sysdeps/generic/prof-freq.c: Likewise.
3475 * sysdeps/mach/hurd/profil.c: Likewise.
3476 * debug/noophooks.c: Likewise.
3477 * debug/pcprofile.c: Likewise.
3478 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
3479 * sysdeps/generic/get_clockfreq.c: Likewise.
3480 * malloc/set-freeres.c: Likewise.
3481
3482 * locale/localeinfo.h: Add internal prototypes.
3483
3484 * elf/rtld.c (dl_main): Fix prototype.
3485
3486 * iconvdata/tst-table-to.c (main): Use return instead of exit to
3487 avoid warning.
3488
3489 * nis/rpcsvc/yp_prot.h: Remove __P.
3490 * nis/rpcsvc/ypupd.h: Likewise.
3491 * nis/rpcsvc/yp.h: Likewise.
3492
3493 * sunrpc/rpc_main.c: Add noreturn attributes.
3494 * sunrpc/rpc_scan.h: Likewise.
3495
3496 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
3497
3498 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
3499
3500 * sunrpc/proto.h: Add noreturn attributes to error and crash.
3501
3502 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
3503
3504 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
3505
3506 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
3507
3508 * include/rpc/rpc_msg.h: Add prototypes for some functions.
3509 * include/rpc/auth.h: Likewise.
3510 * include/rpc/auth_des.h: Likewise.
3511 * include/rpc/clnt.h: Likewise.
3512 * include/rpc/rpc.h: Likewise.
3513 * include/rpc/svc.h: Likewise.
3514 * include/rpc/svc_auth.h: Likewise.
3515
3516 * include/rpc/des_crypt.h: New file.
3517
3518 * malloc/memusagestat.c (main): Use return instead of exit to
3519 avoid warning.
3520 * io/pwd.c (main): Likewise.
3521 * iconvdata/tst-table-from.c (main): Likewise.
3522 * ctype/test_ctype.c (main): Likewise.
3523 * setjmp/tst-setjmp.c (main): Likewise.
3524 * signal/tst-signal.c (main): Likewise.
3525 * stdlib/tst-strtol.c (main): Likewise.
3526 * stdlib/tst-strtod.c (main): Likewise.
3527 * stdlib/tst-strtoll.c (main): Likewise.
3528 * stdlib/tst-xpg-basename.c (main): Likewise.
3529 * dirent/tst-seekdir.c (main): Likewise.
3530 * grp/testgrp.c (main): Likewise.
3531 * inet/test_ifindex.c (main): Likewise.
3532 * io/test-utime.c (main): Likewise.
3533 * posix/test-vfork.c (main): Likewise.
3534 * posix/testfnm.c (main): Likewise.
3535 * stdio-common/temptest.c (main): Likewise.
3536 * stdio-common/test_rdwr.c (main): Likewise.
3537 * stdio-common/tst-fileno.c (main): Likewise.
3538 * stdio-common/tst-sscanf.c (main): Likewise.
3539 * stdio-common/tstscanf.c (main): Likewise.
3540 * string/bug-strncat1.c (main): Likewise.
3541 * string/bug-strpbrk1.c (main): Likewise.
3542 * string/bug-strspn1.c (main): Likewise.
3543 * string/test-ffs.c (main): Likewise.
3544 * string/tst-inlcall.c (main): Likewise.
3545 * string/tst-svc.c (main): Likewise.
3546 * timezone/test-tz.c (main): Likewise.
3547 * wctype/test_wcfuncs.c (main): Likewise.
3548 * wctype/test_wctype.c (main): Likewise.
3549
3550 * stdlib/tst-random.c: Add attribute noreturn to fail.
3551
3552 2000-12-28 Wolfram Gloger <wg@malloc.de>
3553
3554 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
3555 destination overlap. Assume dest is always below source if
3556 overlapping.
3557
3558 2000-12-30 Ulrich Drepper <drepper@redhat.com>
3559
3560 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
3561 object was not yet initialized.
3562
3563 2000-12-28 H.J. Lu <hjl@gnu.org>
3564
3565 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
3566 is always consistent even if its dependency is failed.
3567
3568 * elf/dl-open.c (_dl_open): Increment the open count before
3569 calling _dl_close () in case of failure.
3570
3571 * elf/neededtest4.c: New file.
3572 * elf/neededobj5.c: New file.
3573 * elf/neededobj6.c: New file.
3574
3575 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
3576 (tests): Add neededtest4.
3577 (modules-names): Add neededobj5 and neededobj6.
3578 ($(objpfx)neededobj6.so): New target.
3579 ($(objpfx)neededtest4): New target.
3580 ($(objpfx)neededtest4.out): New target.
3581
3582 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
3583
3584 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
3585 * stdlib/monetary.h: Add strfmon format attributes.
3586
3587 2000-12-28 Roland McGrath <roland@frob.com>
3588
3589 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
3590 __mempcpy does it for us.
3591
3592 2000-12-28 Andreas Jaeger <aj@suse.de>
3593
3594 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
3595
3596 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
3597 __new_setrlimit.
3598
3599 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
3600 __old_getrlimit64.
3601
3602 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
3603 __new_getrlimit.
3604
3605 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
3606 __chown_is_lchown and __real_chown.
3607
3608 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
3609 _dl_reloc_bad_type.
3610
3611 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
3612 up GCC's warning about "deprecated use of label at end of compound
3613 statement."
3614 * sunrpc/rpc_cout.c (emit_inline): Likewise.
3615
3616 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
3617 prototypes.
3618 Remove struct bb and __bb_head since those are declared by
3619 sys/gmon.h.
3620
3621 2000-12-22 Ben Collins <bcollins@debian.org>
3622
3623 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
3624
3625 * manual/argp.texi: Document argp_domain as part of struct argp.
3626
3627 2000-12-28 Andreas Jaeger <aj@suse.de>
3628
3629 * catgets/Makefile (generated): Add sample.SJIS.cat.
3630
3631 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
3632
3633 * elf/dl-minimal.c: Add prototypes.
3634
3635 * include/locale.h: Add internal prototypes.
3636 * include/sys/gmon.h: Likewise.
3637
3638 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
3639
3640 2000-12-27 Ben Collins <bcollins@debian.org>
3641
3642 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
3643 when reallocating the error strings.
3644 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
3645
3646 2000-12-27 Ulrich Drepper <drepper@redhat.com>
3647
3648 * dlfcn/Makefile (tests): Add errmsg1.
3649 (modules-names): Add errmsg1mod.
3650 Add rules to run errmsg1.
3651 * dlfcn/errmsg1.c: New file.
3652 * dlfcn/errmsg1mod.c: New file.
3653
3654 * dlfcn/dlerror.c (dlerror): Always create output string which
3655 includes object file name.
3656
3657 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
3658 if we would go through it only once.
3659 Patch by Rick Gorton <rick.gorton@api-networks.com>.
3660
3661 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
3662 Patch by Richard Henderson <rth@redhat.com>.
3663
3664 2000-12-27 Jakub Jelinek <jakub@redhat.com>
3665
3666 * malloc/malloc.c (memmove): Add prototypes.
3667 (MALLOC_MEMMOVE): Define.
3668 (chunk_realloc): Use it instead of MALLOC_COPY if source and
3669 destination might overlap.
3670
3671 2000-12-27 Andreas Jaeger <aj@suse.de>
3672
3673 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
3674 function.
3675 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3676 * locale/programs/locale.c (show_locale_vars): Likewise.
3677 (show_info): Likewise.
3678 * locale/programs/ld-collate.c (collate_output): Likewise.
3679 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
3680 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3681 * stdlib/rpmatch.c (rpmatch): Likewise.
3682
3683 * setjmp/tst-setjmp.c: Make local functions static.
3684 * setjmp/jmpbug.c: Likewise.
3685 * signal/tst-signal.c: Likewise.
3686 * stdio-common/tfformat.c: Likewise.
3687 * string/tst-svc.c: Likewise.
3688 * time/clocktest.c: Likewise.
3689 * time/tst-getdate.c: Likewise.
3690 * dirent/list.c: Likewise.
3691 * dirent/opendir-tst1.c: Likewise.
3692 * posix/runtests.c: Likewise.
3693 * posix/tst-getaddrinfo.c: Likewise.
3694 * posix/tst-chmod.c: Likewise.
3695 * posix/wordexp-test.c: Likewise.
3696 * misc/tst-efgcvt.c: Likewise.
3697 * timezone/tst-timezone.c: Likewise.
3698 * rt/tst-clock.c: Likewise.
3699 * rt/tst-shm.c: Likewise.
3700 * rt/tst-aio2.c: Likewise.
3701 * rt/tst-aio3.c: Likewise.
3702 * rt/tst-aio4.c: Likewise.
3703 * rt/tst-aio5.c: Likewise.
3704
3705 * dlfcn/failtest.c: Add prototype for foo.
3706
3707 * dlfcn/glrefmain.c: Add prototype for do_test.
3708
3709 * dlfcn/tst-dladdr.c: Add prototype for do_test.
3710
3711 * string/test-ffs.c (main): Add prototype for nested function.
3712
3713 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
3714
3715 * nss/XXX-lookup.c: Add prototype to shut up GCC.
3716
3717 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
3718 setetherent prototype.
3719 Add internal interfaces.
3720
3721 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
3722 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
3723
3724 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
3725
3726 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
3727
3728 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
3729 prototypes, remove struct etherent since it's declared in ether.h.
3730 Fix ntohost declaration.
3731
3732 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
3733
3734 * include/getopt.h: Add internal interfaces.
3735 * include/termios.h: Likewise.
3736 * include/resolv.h: Likewise.
3737 * include/netdb.h: Likewise.
3738 * include/grp.h: Likewise.
3739 * include/pwd.h: Likewise.
3740 * include/shadow.h: Likewise.
3741 * include/rpc/netdb.h: Likewise.
3742 * include/setjmp.h: Likewise.
3743
3744 * include/stdio.h: Add prototypes for compatibility functions.
3745 * include/grp.h: Likewise.
3746 * include/pwd.h: Likewise.
3747 * include/shadow.h: Likewise.
3748
3749 * include/fenv.h: Define internal interfaces.
3750
3751 2000-12-27 Ulrich Drepper <drepper@redhat.com>
3752
3753 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
3754 argument case separately.
3755 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
3756
3757 2000-12-27 Andreas Jaeger <aj@suse.de>
3758
3759 * include/sys/wait.h: Add some prototypes.
3760 * Rules (dummy.c): Create also prototype to shut up GCC.
3761
3762 2000-12-27 Andreas Jaeger <aj@suse.de>
3763
3764 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
3765 it's not needed at the moment.
3766 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
3767 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
3768
3769 2000-12-26 Andreas Jaeger <aj@suse.de>
3770
3771 * libio/getc_u.c: Include stdio.h via system path to get internal
3772 prototypes.
3773 * libio/getwc_u.c: Likewise.
3774
3775 * stdlib/strfmon.c: Fix prototype of __printf_fp.
3776
3777 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
3778 __printf_fp prototypes to ...
3779 * include/printf.h: ...here.
3780
3781 * include/stdio.h: Add some internal prototypes to shut up GCC.
3782 * include/stdlib.h: Likewise.
3783
3784 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
3785 declaration.
3786
3787 * include/signal.h: Add prototypes for internal sigpause
3788 interfaces.
3789
3790 2000-12-26 Ulrich Drepper <drepper@redhat.com>
3791
3792 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
3793 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
3794
3795 * string/Makefile (tests): Add tst-bswap.
3796 * string/tst-bswap.c: New file.
3797
3798 2000-12-11 Bruno Haible <haible@clisp.cons.org>
3799
3800 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
3801
3802 2000-12-26 Ulrich Drepper <drepper@redhat.com>
3803
3804 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
3805 Patch by Ed Connell <Ed.Connell@sas.com>.
3806
3807 2000-12-24 Ulrich Drepper <drepper@redhat.com>
3808
3809 * locale/iso-639.def: Correct one entry. Add two missing entries.
3810
3811 * locale/iso-4217.def: Change entry for Eritrea.
3812 Reported by Daniel Yacob <yacob@geez.org>.
3813
3814 2000-12-23 Ben Collins <bcollins@debian.org>
3815
3816 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
3817 description.
3818
3819 * manual/stdio.texi (Dynamic Output): Document the return value of
3820 asprintf. Also make the asprintf/snprintf examples a little
3821 better (check for some error returns).
3822
3823 2000-12-22 Andreas Jaeger <aj@suse.de>
3824
3825 * include/stdio.h: Add __ftrylockfile prototype.
3826
3827 2000-12-21 H.J. Lu <hjl@gnu.org>
3828
3829 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
3830 Make sign_exponent element signed.
3831
3832 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
3833 Fix a typo.
3834
3835 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
3836
3837 2000-12-21 Andreas Jaeger <aj@suse.de>
3838
3839 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
3840 * inet/ether_hton.c: Likewise
3841 * inet/ether_ntoh.c: Likewise.
3842
3843 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
3844 declaration to match prototype.
3845
3846 * include/netinet/ether.h (struct etherent): Declare here so that
3847 all implementations use the same struct.
3848
3849 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
3850 prototypes.
3851 (struct ether): Removed.
3852 Use struct etherent instead of ether everywhere.
3853
3854 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
3855
3856 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
3857
3858 * sunrpc/publickey.c: Include auth_des.h for prototypes.
3859
3860 2000-12-20 Ulrich Drepper <drepper@redhat.com>
3861
3862 * math/test-misc.c: Add more tests for nextafter functions.
3863
3864 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
3865 normal correctly. Correct test for sign.
3866 Based on a patch by HJ Lu.
3867
3868 2000-12-19 Ulrich Drepper <drepper@redhat.com>
3869
3870 * Makeconfig (preprocess-version): Add -traditional to gcc call.
3871 Cleanup sed calls.
3872
3873 2000-12-19 Andreas Jaeger <aj@suse.de>
3874
3875 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
3876
3877 * nis/nis_intern.h: Add prototype for __do_niscall3.
3878
3879 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
3880 match prototype.
3881
3882 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
3883
3884 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
3885
3886 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
3887
3888 2000-12-18 Ulrich Drepper <drepper@redhat.com>
3889
3890 * math/test-misc.c: Add more tests for nextafter.
3891 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
3892 * sysdeps/ieee754/ldbl-96/math_ldbl.h
3893 (ieee_long_double_shape_type): Make sign_exponent element signed.
3894
3895 * manual/message.texi: Add Estonian to plural overview list.
3896 Correct rule for Slavic languages.
3897 Patch by Stanislav Brabec <utx@penguin.cz>.
3898
3899 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
3900
3901 2000-12-18 Andreas Jaeger <aj@suse.de>
3902
3903 * test-skeleton.c: Use temp_name_list instead of name_list to
3904 avoid collision with name_list from inet/netgroup.h.
3905
3906 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
3907
3908 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
3909 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
3910 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
3911 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
3912
3913 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
3914 declaration to match prototype.
3915 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
3916 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
3917 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
3918 Likewise.
3919 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
3920 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
3921 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
3922 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
3923 (_nss_nis_getservbyport_r): Likewise.
3924 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
3925 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
3926 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
3927 (_nss_nis_setnetent): Likewise
3928 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3929 (_nss_nis_endnetgrent): Likewise.
3930 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
3931 Likewise.
3932 (_nss_nisplus_setnetgrent): Likewise.
3933 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
3934 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
3935 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
3936 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
3937 Likewise.
3938 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
3939 Likewise.
3940 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
3941 Likewise.
3942 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
3943 Likewise.
3944 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
3945 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
3946 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
3947 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
3948 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
3949 (_nss_dns_getnetbyaddr_r): Likewise.
3950
3951 2000-12-17 Andreas Jaeger <aj@suse.de>
3952
3953 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
3954 parameter.
3955
3956 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
3957 unused attribute to shut up gcc warnings.
3958
3959 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
3960 * sysdeps/generic/k_tanl.c: Likewise.
3961 * sysdeps/generic/k_cosl.c: Likewise.
3962 * sysdeps/generic/e_j0l.c: Likewise.
3963 * sysdeps/generic/e_j1l.c: Likewise.
3964 * sysdeps/generic/e_jnl.c: Likewise.
3965 * sysdeps/generic/e_lgammal_r.c: Likewise.
3966
3967 * elf/vismain.c: Move prototypes for functions in vismod*.c to
3968 vismod.h.
3969 * elf/vismod.h: New file.
3970 * elf/Makefile (distribute): Add vismod.h.
3971 * elf/vismod1.c: Include vismod.h.
3972 * elf/vismod2.c: Likewise.
3973 * elf/vismod3.c: Likewise.
3974
3975 * elf/constload3.c: Add prototype declarations to shut up gcc.
3976 * elf/failobj.c: Likewise.
3977 * elf/nodelmod3.c: Likewise.
3978 * elf/filtmod1.c: Likewise.
3979 * elf/filtmod2.c: Likewise.
3980 * elf/reldepmod1.c: Likewise.
3981 * elf/reldepmod2.c: Likewise.
3982 * elf/reldepmod3.c: Likewise.
3983 * elf/reldepmod4.c: Likewise.
3984 * elf/unload2dep.c: Likewise.
3985 * elf/unload2mod.c: Likewise.
3986 * elf/ltglobmod1.c: Likewise.
3987 * elf/pathoptobj.c: Likewise.
3988 * elf/neededobj1.c: Likewise.
3989 * elf/neededobj2.c: Likewise.
3990 * elf/neededobj3.c: Likewise.
3991 * elf/neededobj4.c: Likewise.
3992 * elf/nextmod1.c: Likewise.
3993 * elf/nextmod2.c: Likewise.
3994
3995 * locale/programs/ld-collate.c (collate_finish): Don't use labels
3996 at end of compound statement.
3997 * locale/programs/locale.c (show_info): Likewise.
3998 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
3999
4000 2000-12-16 Jakub Jelinek <jakub@redhat.com>
4001
4002 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
4003 with a pointer not returned by obstack_ functions.
4004
4005 2000-12-16 Ulrich Drepper <drepper@redhat.com>
4006
4007 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
4008 version.
4009 (struct stat64): Likewise.
4010 Reported by Michael Keezer <mkeezer@redhat.com>.
4011
4012 * timezone/asia: Update from tzdata2000h.
4013 * timezone/australasia: Likewise.
4014 * timezone/backward: Likewise.
4015 * timezone/europe: Likewise.
4016 * timezone/northamerica: Likewise.
4017 * timezone/southamerica: Likewise.
4018 * timezone/zone.tab: Likewise.
4019
4020 2000-12-14 Jakub Jelinek <jakub@redhat.com>
4021
4022 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
4023 and dir.stream is NULL, only free dir.content.
4024 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
4025 * io/ftwtest-sh: Test with --early-exit.
4026
4027 2000-12-13 Jakub Jelinek <jakub@redhat.com>
4028
4029 * misc/efgcvt.c (FCVT_MAXDIG): Define.
4030 (FCVT_BUFPTR): New variable.
4031 (fcvt): If fcvt_r returns -1 on the static short buffer,
4032 try to malloc a sufficiently large one and retry.
4033 (free_mem): New function.
4034 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
4035 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
4036
4037 2000-12-15 Ulrich Drepper <drepper@redhat.com>
4038
4039 * misc/dirname.c (dirname): Fix search for second to last slash.
4040
4041 2000-12-13 Andreas Jaeger <aj@suse.de>
4042
4043 * misc/tst-dirname.c (main): Fix typo in test to really use
4044 the examples from Unix98.
4045 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
4046
4047 2000-12-09 H.J. Lu <hjl@gnu.org>
4048
4049 * sysdeps/ia64/fpu/s_fabs.S: New file.
4050 * sysdeps/ia64/fpu/s_fabsf.S: New file.
4051 * sysdeps/ia64/fpu/s_fabsl.S: New file.
4052
4053 2000-12-15 Andreas Jaeger <aj@suse.de>
4054
4055 * stdio-common/scanf9.c (main): Reformat and change to avoid
4056 warnings.
4057
4058 * stdio-common/tstdiomisc.c: Make local functions static.
4059 * stdio-common/tst-printf.c: Likewise.
4060
4061 * elf/constload2.c: Add prototype declarations to shut up gcc.
4062 * elf/dep1.c: Likewise.
4063 * elf/dep2.c: Likewise.
4064 * elf/dep3.c: Likewise.
4065 * elf/dep4.c: Likewise.
4066 * elf/ltglobmod2.c: Likewise.
4067
4068 * libio/fmemopen.c: Make local functions static.
4069
4070 * elf/Makefile (distribute): Added testobj.h.
4071
4072 * elf/testobj.h: New file.
4073
4074 * elf/testobj1.c: Include testobj.h and move prototype
4075 declarations to testobj.h.
4076 * elf/testobj2.c: Likewise.
4077 * elf/testobj3.c: Likewise.
4078 * elf/testobj4.c: Likewise.
4079 * elf/testobj5.c: Likewise.
4080 * elf/testobj6.c: Likewise.
4081 * elf/testobj1_1.c: Likewise.
4082 * elf/preloadtest.c: Likewise.
4083
4084 2000-12-15 Ben Collins <bcollins@debian.org>
4085
4086 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
4087 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
4088
4089 2000-12-14 H.J. Lu <hjl@gnu.org>
4090
4091 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
4092 field in a float is 8 bits, not 11 bits.
4093
4094 2000-12-13 Jakub Jelinek <jakub@redhat.com>
4095
4096 * math/test-misc.c (main): Adjust m for IEEE quad long double.
4097
4098 2000-12-13 Andreas Jaeger <aj@suse.de>
4099
4100 * manual/message.texi (Using gettextized software): Fix typo.
4101
4102 * manual/charset.texi (Converting a Character): Fix mbstouwcs
4103 program to compile.
4104 Patch by Martin Buchholz <martin@xemacs.org>.
4105
4106 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
4107 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
4108
4109 2000-12-11 Andreas Jaeger <aj@suse.de>
4110
4111 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
4112 kernel_sigset_t and use it.
4113 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
4114
4115 2000-12-10 Richard Henderson <rth@redhat.com>
4116
4117 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
4118 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
4119 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
4120
4121 2000-12-10 Jakub Jelinek <jakub@redhat.com>
4122
4123 * sysdeps/alpha/htonl.S: Fix a typo.
4124
4125 2000-12-10 Jakub Jelinek <jakub@redhat.com>
4126
4127 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
4128
4129 2000-12-10 Andreas Jaeger <aj@suse.de>
4130
4131 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
4132 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
4133 Drepper <drepper@redhat.com>.
4134
4135 2000-12-09 Andreas Jaeger <aj@suse.de>
4136
4137 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
4138
4139 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
4140 generic version.
4141 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
4142
4143 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
4144 string.
4145
4146 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
4147 format string.
4148
4149 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
4150 * nscd/connections.c (handle_request): Likewise.
4151 * nscd/pwdcache.c (addpwbyname): Likewise.
4152 * nscd/grpcache.c (addgrbyname): Likewise.
4153
4154 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
4155
4156 2000-12-09 Ulrich Drepper <drepper@redhat.com>
4157
4158 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
4159
4160 * Makeconfig (default_cflags): Make -O2 the default for stable
4161 releases.
4162
4163 2000-12-08 H.J. Lu <hjl@gnu.org>
4164
4165 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
4166 * sysdeps/ia64/fpu/s_isinf.S: This.
4167 Add a .pred.rel.mutex note to avoid false report.
4168
4169 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
4170 * sysdeps/ia64/fpu/s_isnan.S: This.
4171
4172 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
4173 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
4174 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
4175 * sysdeps/ia64/fpu/s_isinff.S: New file.
4176 * sysdeps/ia64/fpu/s_isinfl.S: New file.
4177 * sysdeps/ia64/fpu/s_isnanf.S: New file.
4178 * sysdeps/ia64/fpu/s_isnanl.S: New file.
4179 * sysdeps/ia64/fpu/s_finite.S: New file.
4180 * sysdeps/ia64/fpu/s_finitef.S: New file.
4181 * sysdeps/ia64/fpu/s_finitel.S: New file.
4182 * sysdeps/ia64/fpu/s_signbit.S: New file.
4183 * sysdeps/ia64/fpu/s_signbitf.S: New file.
4184 * sysdeps/ia64/fpu/s_signbitl.S: New file.
4185 * sysdeps/ia64/fpu/s_copysign.S: New file.
4186 * sysdeps/ia64/fpu/s_copysignf.S: New file.
4187 * sysdeps/ia64/fpu/s_copysignl.S: New file.
4188
4189 2000-12-08 Ulrich Drepper <drepper@redhat.com>
4190
4191 * math/libm-test.inc (main): Fix typos in messages.
4192
4193 * string/stratcliff.c: Add test for rawmemchr.
4194
4195 2000-12-08 Jakub Jelinek <jakub@redhat.com>
4196
4197 * elf/dl-open.c (_dl_open): If objname points right after errstring,
4198 allocate it together with errstring using alloca.
4199 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
4200 to "", because it might point to local stack.
4201
4202 2000-12-05 H.J. Lu <hjl@gnu.org>
4203
4204 * nss/Makefile (routines): Add getnssent and getnssent_r.
4205 * nss/nsswitch.h (__nss_setent): New internal NSS function.
4206 (__nss_endent): Likewise.
4207 (__nss_getent_r): Likewise.
4208 (__nss_getent): Likewise.
4209 * nss/getnssent_r.c: New file.
4210 * nss/getnssent.c: New file.
4211 * nss/getXXent.c (H_ERRNO_VAR): Updated.
4212 (GETFUNC_NAME): Updated to call __nss_getent ().
4213 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
4214 (STAYOPEN_TMPVAR): Updated.
4215 (STAYOPEN_VAR): Updated.
4216 (SETFUNC_NAME): Updated to call __nss_setent ().
4217 (ENDFUNC_NAME): Updated to call __nss_endent ().
4218 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
4219
4220 2000-12-08 Andreas Jaeger <aj@suse.de>
4221
4222 * nscd/dbg_log.h (dbg_log): Correct attribute.
4223
4224 2000-12-08 Jakub Jelinek <jakub@redhat.com>
4225
4226 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
4227 cp + len. Compute where from dirname.
4228 Reported by <jreiser@BitWagon.com>.
4229
4230 2000-12-08 Richard Henderson <rth@twiddle.net>
4231
4232 * sysdeps/alpha/_mcount.S: Fix typo.
4233 * sysdeps/alpha/strncpy.S: Likewise.
4234
4235 * sysdeps/alpha/alphaev6/Implies: New file.
4236 * sysdeps/alpha/alphaev67/Implies: New file.
4237 * sysdeps/alpha/alphaev67/ffs.S: New file.
4238 * sysdeps/alpha/alphaev67/ffsll.S: New file.
4239 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
4240 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
4241 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
4242 * sysdeps/alpha/rawmemchr.S: New file.
4243 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
4244 * sysdeps/alpha/strcpy.S: Likewise.
4245
4246 From GMP 3.1.1:
4247 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
4248
4249 From rick.gorton@alpha-processor.com:
4250 * sysdeps/alpha/alphaev6/memchr.S: New file.
4251 * sysdeps/alpha/alphaev6/memcpy.S: New file.
4252 * sysdeps/alpha/alphaev6/memset.S: New file.
4253 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
4254 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
4255 * sysdeps/alpha/alphaev67/strcat.S: New file.
4256 * sysdeps/alpha/alphaev67/strchr.S: New file.
4257 * sysdeps/alpha/alphaev67/strlen.S: New file.
4258 * sysdeps/alpha/alphaev67/strncat.S: New file.
4259 * sysdeps/alpha/htonl.S: Use a shorter sequence.
4260
4261 2000-12-08 Jakub Jelinek <jakub@redhat.com>
4262
4263 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
4264 Reported by <pspencer@fields.utoronto.ca>.
4265
4266 2000-12-07 Jes Sorensen <jes@linuxcare.com>
4267
4268 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
4269 Pointed out by Hans Boehm.
4270
4271 2000-12-07 H.J. Lu <hjl@gnu.org>
4272
4273 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
4274
4275 2000-12-07 Andreas Jaeger <aj@suse.de>
4276
4277 * misc/error.c: Add format attributes for __error and __error_at_line.
4278
4279 * nscd/dbg_log.h: Add format attribute.
4280
4281 2000-12-08 Ulrich Drepper <drepper@redhat.com>
4282
4283 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
4284 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4285
4286 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
4287
4288 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
4289
4290 2000-12-06 Ulrich Drepper <drepper@redhat.com>
4291
4292 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
4293 (sysdep_routines): Add uitrunc.
4294 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
4295 Patches by Michael Keezer <mkeezer@redhat.com>.
4296
4297 2000-12-06 Roland McGrath <roland@frob.com>
4298
4299 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
4300 argument data, since it will be used to copy out too (for INOUT).
4301 Reported by Marcus Brinkmann <marcus@gnu.org>.
4302
4303 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
4304 (__ioctl): Use uintptr_t instead of unsigned long int.
4305
4306 2000-12-06 Jim Wilson <wilson@redhat.com>
4307
4308 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
4309
4310 2000-12-06 Ulrich Drepper <drepper@redhat.com>
4311
4312 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
4313 x.5 rounding correctly.
4314
4315 2000-12-06 Mark Kettenis <kettenis@gnu.org>
4316
4317 * stdio-common/perror.c (perror): Conditionalize code dealing with
4318 wide-oriented streams on USE_IN_LIBIO.
4319
4320 2000-12-06 Mark Kettenis <kettenis@gnu.org>
4321
4322 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
4323 as internal_function.
4324
4325 2000-12-05 Ulrich Drepper <drepper@redhat.com>
4326
4327 * sysdeps/alpha/elf/start.S (__data_start): Define.
4328
4329 2000-12-05 H.J. Lu <hjl@gnu.org>
4330
4331 * nss/getXXent_r.c (setup): Change the return type to int.
4332
4333 2000-12-05 Ulrich Drepper <drepper@redhat.com>
4334
4335 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
4336 (sysdep_routines): Add restf and savef.
4337 * sysdeps/unix/sysv/aix/restf.c: New file.
4338 * sysdeps/unix/sysv/aix/savef.c: New file.
4339 Patches by Michael Keezer <mkeezer@redhat.com>.
4340
4341 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
4342 if O_DIRECTORY is not defined.
4343 Patch by Michael Keezer <mkeezer@redhat.com>.
4344
4345 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
4346 Patch by Michael Keezer <mkeezer@redhat.com>.
4347
4348 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
4349 than 4 bytes in escape sequence.
4350 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4351
4352 2000-12-05 Andreas Jaeger <aj@suse.de>
4353
4354 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
4355 set mips2.
4356
4357 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
4358
4359 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
4360
4361 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
4362 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4363
4364 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
4365 internal_function.
4366 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
4367 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
4368
4369 * sysdeps/generic/dl-cache.c: Remove declaration of
4370 _dl_sysdep_read_whole_file.
4371
4372 * elf/dl-load.c (_dl_map_object): Remove declaration of
4373 _dl_load_cache_lookup.
4374
4375 * sysdeps/generic/ldsodefs.h: Add declarations of
4376 _dl_load_cache_lookup, _dl_unload_cache,
4377 _dl_sysdep_read_whole_file, _dl_sysdep_start and
4378 _dl_sysdep_start_cleanup.
4379
4380 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
4381 now.
4382
4383 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
4384 * sysdeps/generic/dl-environ.c: Likewise.
4385
4386 * stdio-common/printf_fp.c: Include <gmp.h> instead of
4387 <stdlib/gmp.h>.
4388 * math/atest-exp.c: Likewise.
4389 * math/atest-exp2.c: Likewise.
4390 * math/atest-sincos.c: Likewise.
4391 * stdio-common/_itoa.c: Likewise.
4392 * stdio-common/_itowa.c: Likewise.
4393
4394 * include/gmp.h: New file with internal prototypes.
4395
4396 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
4397 here to...
4398 * include/setjmp.h: ...here.
4399
4400 * locale/Makefile (routines): Remove codeset_name since it's not
4401 needed anywhere.
4402
4403 * locale/codeset_name.c: Removed.
4404
4405 2000-12-05 Ulrich Drepper <drepper@redhat.com>
4406
4407 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
4408
4409 2000-12-05 Andreas Jaeger <aj@suse.de>
4410
4411 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
4412
4413 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
4414
4415 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
4416 available.
4417
4418 2000-12-05 Andreas Jaeger <aj@suse.de>
4419
4420 * nss/test-netdb.c: Mark local functions as static to avoid
4421 warnings.
4422 (main): Use return to silence warning.
4423
4424 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
4425
4426 * stdio-common/test-popen.c: Mark local functions as static to
4427 avoid warnings.
4428 (main): Use return to silence warning.
4429
4430 * stdlib/testsort.c (compare): Mark as static to avoid warning.
4431
4432 * assert/test-assert.c: Mark local functions as static to avoid
4433 warnings.
4434 * assert/test-assert-perr.c: Likewise.
4435
4436 * math/libm-test.inc (main): Use return to silence warnings.
4437
4438 2000-12-04 Ulrich Drepper <drepper@redhat.com>
4439
4440 * math/fenv.h: Fix typo in comment.
4441
4442 * math/test-misc.c (main): Add a few more over and underflow tests
4443 for scalb.
4444
4445 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
4446 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4447 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4448 * math/w_scalb.c: Don't use matherr except in SVID mode.
4449 * math/w_scalbf.c: Likewise.
4450 * math/w_scalbl.c: Likewise.
4451 * math/test-misc.c: Add test for NaN and scalbl.
4452 Reported by Fred J. Tydeman <tydeman@tybor.com>.
4453
4454 2000-12-04 Ulrich Drepper <drepper@redhat.com>
4455
4456 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
4457 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
4458 * include/libc-symbols.h (strong_alias): Define special version
4459 for HAVE_ASM_GLOBAL_DOT_NAME.
4460 (weak_alias): Likewise.
4461 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
4462 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
4463 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
4464 getutxline, pututxline, and utmpxname.
4465 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
4466 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
4467 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
4468 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
4469 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
4470 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
4471 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
4472 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
4473 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
4474 Patches by Michael Keezer <mkeezer@redhat.com>.
4475
4476 2000-12-04 H.J. Lu <hjl@gnu.org>
4477
4478 * configure.in: Change --with-oldest-abi=ABI to
4479 --enable-oldest-abi=ABI.
4480
4481 2000-12-02 Bruno Haible <haible@clisp.cons.org>
4482
4483 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
4484 fwprintf instead of fprintf.
4485
4486 2000-12-04 Ulrich Drepper <drepper@redhat.com>
4487
4488 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
4489 DECIMAL_DIG definitions.
4490 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
4491 * sysdeps/generic/bits/mathdef.h: Likewise
4492 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
4493 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
4494 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
4495 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
4496 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
4497 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
4498
4499 2000-12-03 Ulrich Drepper <drepper@redhat.com>
4500
4501 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
4502
4503 * math/atest-exp.c: Mark local functions as static to avoid warnings.
4504 * math/atest-exp2.c: Likewise.
4505 * math/atest-sincos.c: Likewise.
4506
4507 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
4508 Reported by Fred J. Tydeman <tydeman@tybor.com>.
4509
4510 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
4511 the handling of denormalized numbers.
4512
4513 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
4514 numbers on x86.
4515 * sysdeps/i386/fpu/fpclassifyl.c: New file.
4516
4517 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
4518 pseudo denormal representation of LDBL_MIN.
4519
4520 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
4521 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
4522
4523 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
4524 * iconvdata/jis0208.c: Likewise.
4525 * iconvdata/jis0212.c: Likewise.
4526 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4527
4528 * math/test-misc.c (main): More tests for frexp and some for
4529 fpclassify and isnormal.
4530
4531 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
4532 test for subnormal.
4533 Reported by Fred J. Tydeman <tydeman@tybor.com>.
4534
4535 * math/test-misc.c (main): Add tests for frexp.
4536 Reported by Fred J. Tydeman <tydeman@tybor.com>.
4537 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
4538
4539 2000-12-02 H.J. Lu <hjl@gnu.org>
4540
4541 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
4542 '\0' to wcschr.
4543
4544 2000-12-02 Ulrich Drepper <drepper@redhat.com>
4545
4546 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
4547 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4548 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4549
4550 * sysdeps/generic/glob.c: Adjust types of several variables to
4551 avoid warnings.
4552
4553 2000-12-01 Ulrich Drepper <drepper@redhat.com>
4554
4555 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
4556
4557 2000-11-30 Roland McGrath <roland@frob.com>
4558
4559 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
4560 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
4561 allow multiple instances using the same function name in one file.
4562
4563 2000-12-01 Ulrich Drepper <drepper@redhat.com>
4564
4565 * configure.in: Correct test for pserver CVS access.
4566
4567 2000-11-28 H.J. Lu <hjl@gnu.org>
4568
4569 * libio/libio.h: Remove extra "#if ... #endif".
4570
4571 2000-11-29 H.J. Lu <hjl@gnu.org>
4572
4573 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
4574
4575 2000-12-01 H.J. Lu <hjl@gnu.org>
4576
4577 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
4578 * nss/getXXent_r.c: Likewise.
4579 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4580
4581 2000-11-30 H.J. Lu <hjl@gnu.org>
4582
4583 * scripts/abi-versions.awk (oldest_abi): New variable.
4584 Handle the oldest ABI supported.
4585
4586 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
4587 for scripts/abi-versions.awk.
4588
4589 * configure.in: Add --with-oldest-abi=ABI.
4590 * configure: Rebuild.
4591
4592 * config.make.in (oldest-abi): New.
4593
4594 * config.h.in (GLIBC_OLDEST_ABI): New.
4595
4596 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
4597
4598 2000-11-30 Jakub Jelinek <jakub@redhat.com>
4599
4600 * locale/setlocale.c (setname): Free for all categories, not just
4601 LC_ALL.
4602 (setlocale): Store a copy of string passed by user, not the string
4603 itself.
4604
4605 2000-11-30 Roland McGrath <roland@frob.com>
4606
4607 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
4608 rather than _hurd_fd_subinit, so it happens after it's safe to use
4609 libc facilities like malloc.
4610
4611 2000-11-28 Andreas Jaeger <aj@suse.de>
4612
4613 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
4614 declaration, adjust declaration of __syscall_getdents to match
4615 kernel.
4616
4617 2000-11-29 H.J. Lu <hjl@gnu.org>
4618
4619 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
4620
4621 2000-11-29 Andreas Jaeger <aj@suse.de>
4622
4623 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
4624
4625 2000-11-28 Ulrich Drepper <drepper@redhat.com>
4626
4627 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
4628 * dlfcn/defaultmod2.c: Likewise.
4629 * dlfcn/dlopen.c: Likewise.
4630 * dlfcn/dlopenold.c: Likewise.
4631 * dlfcn/failtestmod.c: Likewise.
4632 * dlfcn/glreflib1.c: Likewise.
4633 * dlfcn/glreflib2.c: Likewise.
4634 * dlfcn/eval.c: Likewise. Add attributes.
4635
4636 * ctype/ctype-extn.c: Define isblank and not __isblank.
4637
4638 * time/strftime.c: Add const where necessary to avoid warnings.
4639 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
4640
4641 2000-11-22 Paul Eggert <eggert@twinsun.com>
4642
4643 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
4644 size of (size_t) -1; it's not portable.
4645
4646 2000-11-28 Ulrich Drepper <drepper@redhat.com>
4647
4648 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
4649 crappy i486 FPU.
4650 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
4651
4652 2000-11-14 Jes Sorensen <jes@linuxcare.com>
4653
4654 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
4655
4656 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
4657 _mcount is required by profiled binaries.
4658
4659 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
4660 * sysdeps/ia64/machine-gmon.h: ...here.
4661
4662 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
4663
4664 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
4665 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
4666 and ibm1129.h.
4667 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
4668 IBM1129.
4669 * iconvdata/ibm922.c: New file.
4670 * iconvdata/ibm922.h: New file.
4671 * iconvdata/ibm1124.c: New file.
4672 * iconvdata/ibm1124.h: New file.
4673 * iconvdata/ibm1129.c: New file.
4674 * iconvdata/ibm1129.h: New file.
4675 * iconvdata/testdata/IBM922: New file.
4676 * iconvdata/testdata/IBM922..UTF8: New file.
4677 * iconvdata/testdata/IBM1124: New file.
4678 * iconvdata/testdata/IBM1124..UTF8: New file.
4679 * iconvdata/testdata/IBM1129: New file.
4680 * iconvdata/testdata/IBM1129..UTF8: New file.
4681
4682 2000-11-28 Ulrich Drepper <drepper@redhat.com>
4683
4684 * catgets/gencat.c (normalize_line): Take extra parameter with escape
4685 character. Change callers.
4686 (open_conversion): Determine mapping of 0x5c as wchar_t value.
4687 * catgets/Makefile: Add rules to build and run test-gencat.
4688 * catgets/sample.SJIS: New file.
4689 * catgets/test-gencat.c: New file.
4690 * catgets/test-gencat.sh: New file.
4691 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4692
4693 2000-11-28 Andreas Jaeger <aj@suse.de>
4694
4695 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
4696 Linux version.
4697
4698 2000-11-28 Ulrich Drepper <drepper@redhat.com>
4699
4700 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
4701
4702 2000-11-28 Andreas Jaeger <aj@suse.de>
4703
4704 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
4705 __flexarr.
4706 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
4707 Likewise.
4708
4709 2000-11-27 Ulrich Drepper <drepper@redhat.com>
4710
4711 * misc/getusershell.c: Make strings in okshells array const.
4712 * misc/regexp.c: Add const to cast to avoid warnings.
4713 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
4714 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
4715 __setresuid.
4716 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
4717 setresgid.
4718 * misc/error.c: Add prototypes for __error and __error_at_line.
4719 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
4720 statement to avoid warning.
4721 * test-skeleton.c: Mark timeout_handler with noreturn.
4722 * iconv/skeleton.c (get16u): Add const to cast.
4723 (get32u): Likewise.
4724 * iconvdata/gb18030.c: Likewise.
4725 * iconvdata/iso-2022-cn-ext.c: Likewise.
4726 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
4727 * iconvdata/big5.c: Likewise.
4728 * iconvdata/big5hkscs.c: Likewise.
4729 * iconvdata/iso_6937.c: Likewise.
4730 * iconvdata/iso_6937-2.c: Likewise.
4731 * iconvdata/t.61.c: Likewise.
4732 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
4733 * iconvdata/unicode.c: Likewise.
4734 * iconvdata/utf-16.c: Likewise.
4735 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
4736 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
4737 with little code shuffling.
4738
4739 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
4740 the problems introduced when the user selects -O3.
4741
4742 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
4743 * misc/sys/cdefs.h: Define __flexarr.
4744 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
4745
4746 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
4747 * iconv/skeleton.c: Likewise.
4748 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
4749 * iconv/loop.c (get16): Add const to cast.
4750 (get32): Likewise.
4751
4752 2000-11-27 Andreas Jaeger <aj@suse.de>
4753
4754 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
4755 to avoid warning.
4756 * login/programs/utmpdump.c (print_entry): Likewise.
4757
4758 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4759
4760 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
4761 in a single asm as they may be used to access other stored
4762 registers.
4763 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
4764
4765 2000-11-27 Andreas Jaeger <aj@suse.de>
4766
4767 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
4768 * rt/tst-aio64.c: Likewise.
4769
4770 2000-11-27 Ulrich Drepper <drepper@redhat.com>
4771
4772 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
4773 for gencat run.
4774 (libc.cat): Likewise.
4775 * catgets/gencat.c: Implement handling of message catalogs encoded
4776 with stateful character sets.
4777 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4778
4779 2000-11-26 Ulrich Drepper <drepper@redhat.com>
4780
4781 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
4782
4783 * inet/getnameinfo.c: Adjust casts to avoid warnings.
4784 * inet/rcmd.c: Likewise.
4785 * inet/ruserpass.c: Likewise.
4786 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
4787 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4788 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
4789 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
4790 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
4791 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
4792 * include/aliases.h: Add prototypes for internal __getalias* functions.
4793 * include/netdb.h: Add prototypes for __old_gethostent_r,
4794 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
4795 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
4796 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
4797 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
4798 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
4799 __old_getrpcbynumber_r, __old_getrpcent_r.
4800
4801 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
4802 __getrpcent_r prototypes.
4803
4804 2000-11-25 Ulrich Drepper <drepper@redhat.com>
4805
4806 * string/strcoll.c: Add casts to avoid warnings.
4807 * string/strnlen.c: Likewise.
4808 * string/strxfrm.c: Likewise.
4809 * sysdeps/generic/_strerror.c: Likewise.
4810 * sysdeps/generic/memrchr.c: Likewise.
4811 * sysdeps/generic/strcasestr.c: Likewise.
4812 * sysdeps/generic/strstr.c: Likewise.
4813
4814 * locale/weight.h (findidx): Add const to cast to avoid warning.
4815
4816 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
4817 * elf/loadtest.c: Likewise.
4818 * elf/multiload.c: Likewise.
4819 * elf/next.c: Likewise.
4820 * elf/nodelete.c: Likewise.
4821 * elf/noload.c: Likewise.
4822 * elf/order.c: Likewise.
4823 * elf/origtest.c: Likewise.
4824 * elf/preloadtest.c: Likewise.
4825 * elf/restest1.c: Likewise.
4826
4827 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
4828 parameter of asm must be in %ecx.
4829
4830 * string/tester.c: Mark test functions as static to avoid warnings.
4831
4832 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
4833 preserve value over different gconv-modules files.
4834
4835 2000-11-24 Ulrich Drepper <drepper@redhat.com>
4836
4837 * locale/findlocale.c: Add casts to avoid warnings.
4838 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
4839 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
4840 to avoid warnings.
4841 * misc/tsearch.c (const_node): New type.
4842 (trecurse): Correct casts to avoid warnings.
4843 (__twalk): Likewise.
4844 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
4845 LONG_BIT.
4846
4847 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
4848
4849 * test-skeleton.c: Mark local functions as static to avoid warnings.
4850
4851 2000-11-23 H.J. Lu <hjl@gnu.org>
4852
4853 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
4854 support the background job.
4855 Fix a typo.
4856
4857 2000-11-24 Ulrich Drepper <drepper@redhat.com>
4858
4859 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
4860 has same names but lower cost.
4861
4862 2000-11-23 Jakub Jelinek <jakub@redhat.com>
4863
4864 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
4865 which never occur during bootstrap.
4866 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4867
4868 2000-11-23 Andreas Jaeger <aj@suse.de>
4869
4870 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
4871
4872 * nss/Versions: Remove _nss_files_getipnodebyname_r.
4873
4874 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
4875
4876 2000-11-18 Martin Buchholz <martin@xemacs.org>
4877
4878 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
4879 (called++) return;'
4880
4881 2000-11-21 Alan Modra <alan@linuxcare.com.au>
4882
4883 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
4884
4885 * csu/abi-note.S: Correct comment for operating system number.
4886
4887 2000-11-22 Ulrich Drepper <drepper@redhat.com>
4888
4889 * Versions.def: Add GLIBC_2.2.1 for glibc.
4890
4891 2000-11-22 Andreas Schwab <schwab@suse.de>
4892
4893 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
4894 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
4895
4896 2000-11-22 Ulrich Drepper <drepper@redhat.com>
4897
4898 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
4899 absolute time for pthread_cond_timedwait call.
4900 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
4901
4902 * rt/Makefile (tests): Add tst-aio6.
4903 * rt/tst-aio6.c: New file.
4904
4905 2000-11-23 Andreas Jaeger <aj@suse.de>
4906
4907 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
4908
4909 2000-11-22 Andreas Jaeger <aj@suse.de>
4910
4911 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
4912
4913 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
4914
4915 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
4916
4917 2000-11-21 Andreas Schwab <schwab@suse.de>
4918
4919 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
4920 * sysdeps/arm/setjmp.S: Likewise.
4921 * sysdeps/arm/fpu/setjmp.S: Likewise.
4922 * sysdeps/i386/setjmp.S: Likewise.
4923 * sysdeps/i386/elf/setjmp.S: Likewise.
4924 * sysdeps/s390/setjmp.S: Likewise.
4925 * sysdeps/s390/elf/setjmp.S: Likewise.
4926 * sysdeps/sh/sh3/setjmp.S: Likewise.
4927 * sysdeps/sh/sh4/setjmp.S: Likewise.
4928 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
4929 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4930 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
4931 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
4932
4933 2000-11-21 Andreas Jaeger <aj@suse.de>
4934
4935 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
4936 NORETURN, fix parameter list.
4937
4938 * string/bug-strncat1.c (main): Fix typo.
4939 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
4940
4941 2000-11-20 Ulrich Drepper <drepper@redhat.com>
4942
4943 * configure.in: Add --enable-all-warnings.
4944 * config.make.in (all-warnings): New variable.
4945 * Makeconfig (+gccwarn): Define with many more warnings if
4946 all-warnings is yes.
4947
4948 2000-11-20 Jakub Jelinek <jakub@redhat.com>
4949
4950 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
4951 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
4952 * malloc/tst-valloc.c (main): Cast valloc return value to long.
4953 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
4954 * math/test-fpucw.c (main): Use %lx in format string, cast
4955 control words to long.
4956 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
4957 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
4958 large that it is unsigned warning.
4959
4960 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
4961 it to long on sparc64.
4962
4963 2000-11-20 Andreas Jaeger <aj@suse.de>
4964
4965 * nscd/nscd.h (termination_handler): Add noreturn attribute.
4966 (receiv_print_stats): Likewise.
4967
4968 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
4969
4970 2000-11-20 Ulrich Drepper <drepper@redhat.com>
4971
4972 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
4973
4974 * csu/gmon-start.c: Always have prototype for __gmon_start.
4975 * csu/version.c: Add prototypes for __libc_print_version and
4976 __libc_main.
4977 * iconv/gconv.c: Include gconv_int.h and gconv.h.
4978 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
4979 and __to_name.
4980 * iconv/gconv_builtin.h: Add ASCII module definitions.
4981 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
4982 (add_module): Add cast to avoid warning. Rework construction of
4983 strings for new module.
4984 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
4985 (derivation_compare): Likewise.
4986 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
4987 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
4988 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
4989 (struct gconv_alias): Remove const from fromname and toname.
4990 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
4991 for loop functions.
4992 (internal_ucs4_loop): Use correct const-ness.
4993 (ucs4_internal_loop): Likewise.
4994 (internal_ucs4le_loop): Likewise.
4995 (ucs4le_internal_loop_single): Likewise.
4996 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
4997 to_idx, to_tbl, winbuf, winbufend const. Change casts in
4998 assignments appropriately.
4999 (struct known_trans): Remove const from fname.
5000 (trans_compare): Make s1 and s2 const.
5001 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
5002 avoid warning.
5003 * iconv/skeleton.c: Remove cast in calls of loop functions.
5004 * iconvdata/gconv-modules: Remove US-ASCII definitions.
5005 * iconvdata/iso646.c: Remove US_ASCII support.
5006 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
5007 * include/unistd.h: Add __libc_check_standard_fds prototype.
5008 * string/bits/string2.h (__mempcpy_args): Add const to casts.
5009 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
5010 _fini.
5011 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
5012 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
5013 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
5014 warning.
5015 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
5016 __libc_init_first and _dl_start.
5017 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
5018 (DCIGETTEXT): Make domaindata variable const.
5019 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
5020 to avoid warning.
5021
5022 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
5023
5024 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
5025
5026 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
5027 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
5028 __unused? members.
5029
5030 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
5031 value defined in /usr/include/asm-mips/fcntl.h.
5032
5033 2000-11-18 Ulrich Drepper <drepper@redhat.com>
5034
5035 * stdio-common/Makefile (tests): Add test-vfprintf.
5036 (test-vfprintf-ENV): New variable.
5037 * stdio-common/test-vfprintf.c: New file.
5038
5039 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
5040
5041 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
5042 (tst-mbrtowc-ENV): New variable.
5043 (tst-wcrtomb-ENV): New variable.
5044 * wcsmbs/tst-mbrtowc.c: New file.
5045 * wcsmbs/tst-wcrtomb.c: New file.
5046
5047 2000-11-16 Andreas Jaeger <aj@suse.de>
5048
5049 * manual/install.texi (Tools for Compilation): Update
5050 documentation for GCC 2.95.2.
5051
5052 2000-11-18 Ulrich Drepper <drepper@redhat.com>
5053
5054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
5055 if IPv4 and IPv6 requests timed out.
5056
5057 2000-11-18 Akim Demaille <akim@epita.fr>
5058
5059 * malloc/obstack.h: Formatting changes.
5060 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
5061 prevents type checking.
5062 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
5063 cast the value to (void *): assigning a `foo *' to a `void *'
5064 variable is valid.
5065 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
5066
5067 2000-11-17 Ulrich Drepper <drepper@redhat.com>
5068
5069 * scripts/config.guess: Update from upstream maintainer.
5070 * scripts/config.sub: Likewise.
5071
5072 2000-11-16 Ulrich Drepper <drepper@redhat.com>
5073
5074 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
5075 * libio/freopen64.c (freopen64): Likewise.
5076 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5077
5078 * libio/Makefile: Add rules to build and run test-freopen.
5079 * libio/test-freopen.c: New file.
5080 * libio/test-freopen.sh: New file.
5081
5082 2000-11-15 H.J. Lu <hjl@gnu.org>
5083
5084 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
5085 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
5086 (DL_DT_FINI_ADDRESS): Likewise.
5087
5088 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
5089 return type to ElfW(Addr).
5090 (_dl_function_address): New prototype.
5091 (DL_FUNCTION_ADDRESS): Defined.
5092 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
5093 (DL_DT_FINI_ADDRESS): Likewise.
5094
5095 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
5096
5097 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
5098 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
5099
5100 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
5101 (_dl_function_address): This.
5102
5103 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
5104 function pointer for DT_FINI.
5105 * elf/dl-close.c (_dl_close): Likewise.
5106
5107 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
5108 function pointer for DT_INIT.
5109
5110 2000-11-16 Jakub Jelinek <jakub@redhat.com>
5111
5112 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
5113 end of wexpbuf buffer.
5114
5115 2000-11-16 Andreas Jaeger <aj@suse.de>
5116
5117 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
5118 definition of F_GETLK, F_SETLK, F_SETLKW.
5119
5120 2000-11-16 Andreas Jaeger <aj@suse.de>
5121
5122 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
5123 it's not defined.
5124
5125 2000-11-15 Jakub Jelinek <jakub@redhat.com>
5126
5127 * dlfcn/default.c (main): Add test for dladdr of main returning
5128 argv[0] in dli_fname field.
5129
5130 2000-11-15 Jakub Jelinek <jakub@redhat.com>
5131
5132 * Makeconfig (run-program-prefix): Move test-static test into the
5133 variable.
5134
5135 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
5136 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
5137 schedule instructions.
5138 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
5139 schedule instructions, fix a bug in copying auxiliary data.
5140
5141 2000-11-15 Ulrich Drepper <drepper@redhat.com>
5142
5143 * manual/startup.texi (Program Arguments): Fix type of main's envp
5144 parameter.
5145 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
5146
5147 * iconvdata/gconv-modules: Add CP950 alias.
5148
5149 2000-11-13 Jakub Jelinek <jakub@redhat.com>
5150
5151 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
5152 syscall-list.h goal.
5153 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
5154
5155 2000-11-15 Ulrich Drepper <drepper@redhat.com>
5156
5157 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
5158
5159 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
5160 output of program.
5161
5162 * intl/tst-gettext2.c: Set C locale if setting other locale
5163 failed. Use gettext() not _().
5164
5165 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
5166 successfully loaded a new locale.
5167
5168 2000-11-13 Andreas Jaeger <aj@suse.de>
5169
5170 * configure.in: Require gcc 2.95 or newer.
5171
5172 2000-11-15 Ulrich Drepper <drepper@redhat.com>
5173
5174 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
5175 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5176
5177 2000-11-11 Jim Meyering <meyering@lucent.com>
5178
5179 * string/strndup.c (strndup): Cast return value to `char *'.
5180
5181 2000-11-15 Jim Meyering <meyering@ascend.com>
5182
5183 * sysdeps/generic/memchr.c: Remove some useless parentheses.
5184 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
5185 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
5186 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
5187 Also #undef __memchr.
5188 Use `weak_alias' only if it's defined.
5189
5190 2000-11-10 H.J. Lu <hjl@gnu.org>
5191
5192 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
5193
5194 2000-11-15 Andreas Jaeger <aj@suse.de>
5195
5196 * elf/chroot_canon.c: Include <stdint.h>.
5197
5198 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
5199 (print_entry): Likewise.
5200 (add_to_cache): Likewise.
5201
5202 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
5203
5204 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
5205 (path_hwcap): Likewise.
5206 (search_dir): Likewise.
5207
5208 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
5209
5210 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
5211
5212 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
5213 (_dl_platform_string): New.
5214 (_DL_HWCAP_PLATFORM): New.
5215 (_dl_string_platform): New.
5216 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
5217
5218 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
5219 (_dl_string_platform): New.
5220 (_DL_HWCAP_PLATFORM): New.
5221 (_dl_platform_string): New.
5222
5223 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
5224 recognition.
5225 (_DL_HWCAP_COUNT): New.
5226 (_dl_string_platform): New.
5227 (_DL_HWCAP_PLATFORM): New.
5228 (_dl_platform_string): New.
5229
5230 2000-11-14 Ulrich Drepper <drepper@redhat.com>
5231
5232 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
5233
5234 2000-11-14 Andreas Jaeger <aj@suse.de>
5235
5236 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
5237
5238 2000-11-13 Roland McGrath <roland@frob.com>
5239
5240 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
5241
5242 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
5243
5244 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
5245 underrun and make sure the result is null terminated even if there
5246 is no trailing newline.
5247
5248 2000-11-13 Jakub Jelinek <jakub@redhat.com>
5249
5250 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5251
5252 2000-11-10 H.J. Lu <hjl@gnu.org>
5253
5254 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
5255
5256 2000-11-10 Andreas Jaeger <aj@suse.de>
5257
5258 * elf/ldconfig.c (create_links): Fix alloca calculation.
5259 Patch by Ben Collins <bcollins@debian.org>.
5260
5261 2000-11-09 Ulrich Drepper <drepper@redhat.com>
5262
5263 * inet/getnameinfo.c (getnameinfo): Use correct destination
5264 parameter for if_indextoname.
5265 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
5266
5267 2000-11-09 H.J. Lu <hjl@gnu.org>
5268
5269 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
5270 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
5271 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
5272 xdr_keystatus.
5273
5274 * time/Versions (GLIBC_2.1): Move getitimer to...
5275 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
5276
5277 2000-11-03 Bruno Haible <haible@clisp.cons.org>
5278
5279 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
5280 "make install", to work around a binary incompatibility between
5281 glibc 2.1 and glibc 2.2 gconv modules.
5282
5283 2000-11-09 Ulrich Drepper <drepper@redhat.com>
5284
5285 * intl/locale.alias: Add thai.
5286 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
5287
5288 2000-11-07 Akim Demaille <akim@epita.fr>
5289
5290 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
5291 argument `data' for consistency with the prototypes.
5292 Qualify it `const'.
5293 (obstack_copy, obstack_copy0): Rename the second argument as
5294 `address' for consistency. Qualify it `const'.
5295 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
5296 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
5297 `const' their input argument (`data' or `address').
5298 Adjust the corresponding macros to include `const' in casts.
5299
5300 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5301
5302 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
5303 target family.
5304
5305 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5306
5307 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
5308 socket creation.
5309
5310 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5311
5312 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
5313 ai_protocol by internal table if service was not given.
5314
5315 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5316
5317 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
5318 numerical port was specified with protocol without socktype.
5319
5320 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5321
5322 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
5323
5324 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5325
5326 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
5327
5328 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5329
5330 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
5331 sin6_scope_id field.
5332
5333 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5334
5335 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
5336
5337 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5338
5339 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
5340
5341 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
5342
5343 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
5344 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
5345
5346 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
5347
5348 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
5349 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
5350
5351 2000-11-09 H.J. Lu <hjl@gnu.org>
5352
5353 * io/Versions (GLIBC_2.1.1): Remove lockf64.
5354
5355
5356 See ChangeLog.11 for earlier changes.
This page took 0.252871 seconds and 6 git commands to generate.