]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog.10
Better fix for setenv (..., NULL, ...)
[thirdparty/glibc.git] / ChangeLog.10
1 2000-02-28 Ulrich Drepper <drepper@redhat.com>
2
3 * sysdeps/powerpc/fprsave.S: New file.
4 * sysdeps/powerpc/fprrest.S: New file.
5 * sysdeps/powerpc/Makefile [$(subdir)=misc] (sysdep_routines):
6 Add fprsave and fprrest.
7
8 * sysdeps/powerpc/gprrest0.S: Use ASM_GLOBAL_DIRECTIVE instead of
9 .globl.
10 * sysdeps/powerpc/gprsave0.S: Likewise.
11 * sysdeps/powerpc/gprrest1.S: Likewise.
12 * sysdeps/powerpc/gprsave1.S: Likewise.
13
14 * sysdeps/powerpc/fpu/s_copysign.S: Use L() instead of local labels.
15 * sysdeps/powerpc/submul_1.S: Likewise.
16 * sysdeps/powerpc/sub_n.S: Likewise.
17 * sysdeps/powerpc/strcpy.S: Likewise.
18 * sysdeps/powerpc/strcmp.S: Likewise.
19 * sysdeps/powerpc/stpcpy.S: Likewise.
20 * sysdeps/powerpc/rshift.S: Likewise.
21 * sysdeps/powerpc/mul_1.S: Likewise.
22 * sysdeps/powerpc/memset.S: Likewise.
23 * sysdeps/powerpc/lshift.S: Likewise.
24 * sysdeps/powerpc/addmul_1.S: Likewise.
25 * sysdeps/powerpc/add_n.S: Likewise.
26
27 * sysdeps/unix/start.c: Initialize __errno and add comment
28 explaining why. Remove K&R compatibility.
29
30 * sysdeps/powerpc/fpu/s_isnan.c: Avoid using asm statement to
31 declare aliases.
32
33 * sysdeps/powerpc/Makefile: Always pass flags to compile for ppc
34 and not rs6000.
35 [$(subdir)=misc] (sysdep_routines): Add gprsave0, gprrest0,
36 gprsave1 , and gprrest1.
37 Don't pass special flags to compiler for init and gmon-start if
38 this is no ELF platform.
39 * sysdeps/powerpc/gprrest0.S: New file.
40 * sysdeps/powerpc/gprsave0.S: New file.
41 * sysdeps/powerpc/gprrest1.S: New file.
42 * sysdeps/powerpc/gprsave1.S: New file.
43 * sysdeps/powerpc/Versions: Export _savegpr* and _restgpr*
44 functions.
45
46 * sysdeps/mach/hurd/bits/statfs.h: Define _STATFS_F_NAMELEN.
47 * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
48 * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
49 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: Likewise.
50 * sysdeps/posix/fpathconf.c: Don't unconditionally use f_namelen
51 in statfs. Check feature macro and use f_name_max or NAME_MAX
52 instead.
53 * sysdeps/posix/pathconf.c: Likewise.
54
55 * dlfcn/dlfcn.h: Remove DL_CALL_FCT definition here.
56 * sysdeps/generic/bits/dlfcn.h: Define DL_CALL_FCT here.
57 * sysdeps/mips/bits/dlfcn.h: Define DL_CALL_FCT here.
58 * iconv/skeleton.c: If DL_CALL_FCT is not yet defined, add dummy
59 definition here.
60
61 * sysdeps/generic/libc-start.c: Fix typo in comment.
62
63 * include/set-hooks.h: Allow systems to not define
64 symbol_set_define.
65
66 * configure.in: Unify machine names rs6000 and powerpc.
67
68 2000-02-25 Andreas Jaeger <aj@suse.de>
69
70 * malloc/Versions: Change version of __libc_freeres to 2.1 in
71 accordance with usage in glibc 2.1.3.
72
73 2000-02-28 Ulrich Drepper <drepper@redhat.com>
74
75 * stdlib/msort.c (qsort): Limit the amount of memory spend on a
76 temporary array for the mergesort.
77
78 2000-02-28 Andreas Jaeger <aj@suse.de>
79
80 * stdlib/canonicalize.c: Include <stddef.h> for ptrdiff_t.
81
82 2000-02-27 Ulrich Drepper <drepper@redhat.com>
83
84 * conform/conformtest.pl (@headers): Add wordexp.h, wctype.h, wchar.h,
85 varargs.h, utmpx.h, utime.h, unistd.h, ulimit.h, ucontext.h, time.h,
86 termios.h, tar.h, sys/wait.h, sys/uio.h, sys/types.h, sys/times.h,
87 sys/timeb.h, sys/time.h, sys/statvfs.h, sys/stat.h, sys/shm.h,
88 sys/sem.h, and sys/resource.h.
89 Implement handling of allow-header.
90 * conform/data/fcntl.h-data: Correct various bugs.
91 * conform/data/fnmatch.h-data: Likewise.
92 * conform/data/math.h-data: Likewise.
93 * conform/data/ndbm.h-data: Likewise.
94 * conform/data/nl_types.h-data: Likewise.
95 * conform/data/poll.h-data: Likewise.
96 * conform/data/pthread.h-data: Likewise.
97 * conform/data/semaphore.h-data: Likewise.
98 * conform/data/setjmp.h-data: Likewise.
99 * conform/data/signal.h-data: Likewise.
100 * conform/data/stdarg.h-data: Likewise.
101 * conform/data/stddef.h-data: Likewise.
102 * conform/data/stdio.h-data: Likewise.
103 * conform/data/stdlib.h-data: Likewise.
104 * conform/data/string.h-data: Likewise.
105 * conform/data/strings.h-data: Likewise.
106 * conform/data/stropts.h-data: Likewise.
107 * conform/data/syslog.h-data: Likewise.
108 * conform/data/sys/ipc.h-data: Likewise.
109 * conform/data/sys/mman.h-data: Likewise.
110 * conform/data/sys/msg.h-data: Likewise.
111 * conform/data/tar.h-data: New file.
112 * conform/data/termios.h-data: New file.
113 * conform/data/time.h-data: New file.
114 * conform/data/ucontext.h-data: New file.
115 * conform/data/ulimit.h-data: New file.
116 * conform/data/unistd.h-data: New file.
117 * conform/data/utime.h-data: New file.
118 * conform/data/utmpx.h-data: New file.
119 * conform/data/varargs.h-data: New file.
120 * conform/data/wchar.h-data: New file.
121 * conform/data/wctype.h-data: New file.
122 * conform/data/wordexp.h-data: New file.
123 * conform/data/sys/resource.h-data: New file.
124 * conform/data/sys/sem.h-data: New file.
125 * conform/data/sys/shm.h-data: New file.
126 * conform/data/sys/stat.h-data: New file.
127 * conform/data/sys/statvfs.h-data: New file.
128 * conform/data/sys/time.h-data: New file.
129 * conform/data/sys/timeb.h-data: New file.
130 * conform/data/sys/times.h-data: New file.
131 * conform/data/sys/types.h-data: New file.
132 * conform/data/sys/uio.h-data: New file.
133 * conform/data/sys/wait.h-data: New file.
134
135 * grp/grp.h (getgrent_r): Declare only if __USE_GNU.
136
137 * include/sys/time.h (__itimes): Fix type of second parameter.
138
139 * io/sys/stat.h (S_IFLNK): Define also if __USE_XOPEN.
140 (S_ISVTX): Likewise.
141
142 * io/sys/statvfs.h: Define fsblkcnt_t and fsfilcnt_t.
143
144 * locale/langindo.h: Make ERA_YEAR, INT_CURR_SYMBOL, CURRENCY_SYMBOL,
145 MON_DECIMAL_POINT, MON_THOUSANDS_SEP, MON_GROUPING, POSITIVE_SIGN,
146 NEGATIVE_SIGN, INT_FRAC_DIGITS, FRAC_DIGITS, P_CS_PRECEDES,
147 P_SEP_BY_SPACE, N_CS_PRECEDES, N_SEP_BY_SPACE, P_SIGN_POSN,
148 N_SIGN_POSN, DECIMAL_POINT, THOUSANDS_SEP, GROUPING, YESEXPR,
149 NOEXPR, YESSTR, and NOSTR only available if __USE_GNU.
150
151 * math/bits/mathcalls.h: Don't declare tgamma and scalbn if only
152 __USE_XOPEN.
153
154 * posix/unistd.h: Don't define ptrdiff_t.
155 (sbrk): Correct type of parameter.
156 * sysdeps/generic/sbrk.c: Likewise.
157 * sysdeps/mach/hurd/sbrk.c: Likewise.
158
159 * posix/sys/types.h: Allow id_t, suseconds_t, fsblkcnt_t, and
160 fsfilcnt_t being defined elsewhere.
161
162 * resource/sys/resource.h: Define id_t.
163 If __USE_XOPEN use int for type of first parameter if getrlimit,
164 getrlimit64, setrlimit, setrlimit64, getrusage, getpriority, and
165 setpriority.
166 * sysdeps/generic/getpriority.c: Fix type of second parameter.
167 * sysdeps/generic/setpriority.c: Likewise.
168 * sysdeps/mach/hurd/getpriority.c: Likewise.
169 * sysdeps/mach/hurd/setpriority.c: Likewise.
170 * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
171 * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
172 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
173
174 * sysdeps/generic/utimes.c: Fix parameter of third parameter.
175 * sysdeps/mach/hurd/utimes.c: Likewise.
176 * sysdeps/posix/utimes.c: Likewise.
177
178 * sysdeps/generic/bits/shm.h: Define shmatt_t type and use it in
179 struct shmid_ds definition.
180 * sysdeps/gnu/bits/shm.h: Likewise.
181 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
182 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
183 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
184
185 * sysvipc/sys/shm.h: Define time_t.
186
187 * sysvipc/sys/sem.h (struct sembuf): Make sem_num field unsigned.
188
189 * sysdeps/gnu/bits/sem.h: Rename anonymous type struct sem_queue and
190 struct sem_undo to struct __sem_queue and struct __sem_undo resp.
191
192 * time/time.h: Define suseconds_t if not already done.
193
194 * sysdeps/unix/sysv/linux/bits/statvfs.h: Rename f_spare to __f_spare.
195 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
196 * sysdeps/unix/sysv/linux/statvfs64.c: Likewise.
197 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
198
199 * intl/bindtextdom.c: Use rwlock to avoid surprising results in
200 multithreaded applications.
201 * intl/dcigettext.c: Likewise.
202 * intl/textdomain.c: Likewise.
203 * intl/*.c: Update copyright.
204 * sysdeps/generic/bits/libc-lock.h: Define __libc_rwlock_* stubs.
205
206 2000-02-27 Andreas Jaeger <aj@suse.de>
207
208 * sysdeps/unix/sysv/linux/configure.in: Treat also "/usr/" as
209 prefix especially.
210
211 2000-02-27 Ulrich Drepper <drepper@redhat.com>
212
213 * po/de.po: Update from translation team.
214 * po/ko.po: Likewise.
215
216 2000-02-25 Andreas Jaeger <aj@suse.de>
217
218 * math/Versions: Move fe* function to GLIBC_2.2. The patches have
219 not been added to glibc 2.1.3.
220 * Versions.def: Remove 2.1.3 entry for math.
221 * sysdeps/alpha/fpu/fclrexcpt.c: Change default version to GLIBC_2.2.
222 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
223 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
224 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
225 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
226 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
227 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
228 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
229 * sysdeps/arm/fpu/fegetenv.c: Likewise.
230 * sysdeps/arm/fpu/fesetenv.c: Likewise.
231 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
232 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
233 * sysdeps/generic/fclrexcpt.c: Likewise.
234 * sysdeps/generic/fegetenv.c: Likewise.
235 * sysdeps/generic/fesetenv.c: Likewise.
236 * sysdeps/generic/feupdateenv.c: Likewise.
237 * sysdeps/generic/fgetexcptflg.c: Likewise.
238 * sysdeps/generic/fraiseexcpt.c: Likewise.
239 * sysdeps/generic/fsetexcptflg.c: Likewise.
240 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
241 * sysdeps/i386/fpu/fegetenv.c: Likewise.
242 * sysdeps/i386/fpu/fesetenv.c: Likewise.
243 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
244 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
245 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
246 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
247 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
248 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
249 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
250 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
251 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
252 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
253 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
254 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
255 * sysdeps/mips/fpu/fegetenv.c: Likewise.
256 * sysdeps/mips/fpu/fesetenv.c: Likewise.
257 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
258 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
259 * sysdeps/powerpc/fclrexcpt.c: Likewise.
260 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
261 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
262 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
263 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
264 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
265 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
266 * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
267 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
268 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
269 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
270 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
271 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
272 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
273
274 2000-02-25 Andreas Jaeger <aj@suse.de>
275
276 * sysdeps/alpha/fpu/fraiseexcpt.c (__feraiseexcept): Correct
277 declaration to return value.
278
279 * sysdeps/ieee754/Makefile (CFLAGS-k_standard.c): Added.
280
281 * math/Makefile: Remove -Wno-write-strings since it's only needed
282 by one file.
283
284 * intl/Makefile (CFLAGS-bindtextdom.c): The code has been fixed,
285 we don't need to disable the warnings anymore, remove them.
286 (CFLAGS-finddomain.c): Likewise.
287 (CFLAGS-localealias.c): Likewise.
288
289 2000-02-25 Andreas Jaeger <aj@suse.de>
290
291 * configure.in: Allow sed 3.02 or newer versions.
292
293 * manual/install.texi (Tools for Compilation): Document sed
294 requirement.
295
296 2000-02-25 Ulrich Drepper <drepper@cygnus.com>
297
298 * sysdeps/powerpc/bzero.S: Moved to...
299 * sysdeps/powerpc/elf/bzero.S: ...here. New file.
300
301 * posix/environ.c: Moved to...
302 * sysdeps/generic/environ.c: ...here. New file.
303
304 2000-02-25 Andreas Jaeger <aj@suse.de>
305
306 * stdio-common/Makefile (CFLAGS-_itoa.c): The code has been
307 fixed, we don't need to disable the warnings anymore, remove them.
308 * elf/Makefile (CFLAGS-dl-load.c): Likewise.
309
310 * posix/Makefile (CFLAGS-regex.c): Remove not needed warning
311 flag.
312
313 * posix/regex.c (regex_compile): Remove unused variables.
314
315 2000-02-25 Andreas Jaeger <aj@suse.de>
316
317 * sysdeps/unix/sysv/linux/bits/msq.h (struct msqid_ds): Use
318 __pid_t.
319 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Likewise.
320 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
321
322 2000-02-25 Andreas Jaeger <aj@suse.de>
323
324 * locale/programs/ld-ctype.c (allocate_arrays): Add missing
325 variable declaration.
326
327 2000-02-25 Ulrich Drepper <drepper@redhat.com>
328
329 * conform/conformtest.pl (@headers): Add "sys/msg.h", "sys/mman.h",
330 "sys/ipc.h", "syslog.h", and "stropts.h".
331 Handle / in header names correctly.
332 * conform/data/stropts.h-data: New file.
333 * conform/data/syslog.h-data: New file.
334 * conform/data/sys/ipc.h-data: New file.
335 * conform/data/sys/mman.h-data: New file.
336 * conform/data/sys/msg.h-data: New file.
337
338 * misc/sys/mman.h: Define off_t and mode_t if not already done.
339
340 * streams/stropts.h: Define gid_t and uid_t if not already done.
341
342 * sysdeps/gnu/bits/ipc.h (IPC_INFO): Only define if __USE_GNU.
343 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
344 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
345 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
346 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
347 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
348
349 * sysvipc/sys/msg.h: Don't include sys/types.h.
350 Define time_t, pid_t, and ssize_t if not already done.
351 (struct msgbuf): Define only if __USE_GNU.
352
353 * sysdeps/generic/bits/msq.h: Include bits/types.h, not sys/types.h.
354 (MSG_EXCEPT): Only define if __USE_GNU.
355 Define msgqnum_t and msglen_t and use them in struct msqid_ds
356 definition.
357 * sysdeps/gnu/bits/msq.h: Likewise.
358 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Likewise.
359 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
360 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
361
362 * sysdeps/generic/bits/stropts.h (I_GWROPT): Renamed from I_GWRSET.
363 (FLUSHBAND): Only define is __USE_GNU.
364 (RPROTMASK): Likewise.
365 (SNDPIPE): Likewise.
366 (MUXID_ALL): Likewise.
367 (struct strrecvfd): Rename fill to __fill.
368
369 2000-02-24 Ulrich Drepper <drepper@redhat.com>
370
371 * stdlib/stdlib.h: Move definition X/Open compatibility stuff
372 inside the main #ifdef.
373
374 2000-02-24 Geoff Clare <gwc@unisoft.com>
375
376 * posix/wordexp-test.c: Updated to include tests for all the
377 problems fixed by the last changes to wordexp.c.
378
379 2000-02-24 Ulrich Drepper <drepper@redhat.com>
380
381 * posix/sys/wait.h: Handle definitions duplicated in stdlib.h
382 correctly.
383 * stdlib/stdlib.h: Handle definition of wait macros correctly.
384
385 * posix/sys/wait.h: Add missing #endif.
386
387 * stdlib/stdlib.h (setstate): Don't mark argument as const (yet).
388 * stdlib/random_r.c: Change parameter types for initstate_t and
389 setstate_r.
390 * include/stdlib.h: Change parameter types for __initstate_t and
391 __setstate_r.
392
393 2000-02-24 Andreas Jaeger <aj@suse.de>
394
395 * include/stdlib.h: Fix prototypes of __initstate and __setstate.
396
397 * manual/time.texi (Precision Time): Fix typo.
398 Patch by John Tobey <jtobey@ne.mediaone.net>, PR libc/1576.
399
400 2000-02-24 Ulrich Drepper <drepper@redhat.com>
401
402 * conform/conformtest.pl (@headers): Add string.h and strings.h.
403 * conform/data/string.h-data: New file.
404 * conform/data/strings.h-data: New file.
405
406 * string/string.h [__USE_XOPEN]: Don't declare functions from
407 <strings.h> here as well.
408
409 2000-02-23 Ulrich Drepper <drepper@redhat.com>
410
411 * posix/sys/wait.h: Pretty printing. Allow WEXITSTATUS etc be
412 defined elsewhere.
413 * stdlib/stdlib.h [__USE_XOPEN]: Define WEXITSTATUS etc.
414 * sysdeps/generic/bits/waitflags.h: Allow including from stdlib.h.
415 * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
416 * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
417 * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
418 * sysdeps/generic/bits/waitstatus.h: Likewise.
419
420 * posix/wordexp.c: Use $HOME to expand ~ (if set); fix off-by-one
421 error in expansion of ~user; correct handling of WRDE_APPEND and
422 WRDE_DOOFFS; return WRDE_SYNTAX for syntax errors in command
423 substitutions; limit removal of newlines to those that are
424 really `trailing'; allow for current word to continue after
425 a command substitution (e.g. "a$(echo b)c"); restore pwordexp
426 members properly on error returns.
427 Patch by Geoff Clare <gwc@unisoft.com>.
428
429 * locale/programs/ld-ctype.c (allocate_arrays): Make sure the end
430 of width table is 4-byte aligned.
431 (ctype_output): Write out the entire width array.
432
433 * sysdeps/unix/sysv/linux/bits/waitflags.h: Add __WALL.
434
435 2000-02-23 Andreas Jaeger <aj@suse.de>
436
437 * dlfcn/dlopen.c: Include <stddef.h> for NULL.
438 * dlfcn/dlopenold.c: Likewise.
439 * dlfcn/dlsym.c: Likewise.
440 * dlfcn/dlvsym.c: Likewise.
441 * iconv/gconv.c: Likewise.
442
443 2000-02-23 Ulrich Drepper <drepper@redhat.com>
444
445 * conform/conformtest.pl (@headers): Add stdlib.h.
446 * conform/data/stdlib.h-data: New file.
447
448 2000-02-22 Ulrich Drepper <drepper@redhat.com>
449
450 * dlfcn/dlfcn.h (RTLD_DEFAULT): Don't use NULL.
451
452 * iconv/iconv.h (iconv): Fix prototype.
453
454 * misc/libgen.h: When using gcc using renaming feature to get XPG
455 definition of basename.
456
457 * misc/search.h (struct entry): Fix type of element data.
458
459 * posix/unistd.h (getpagesize): Declare as const function.
460
461 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Define SA_NOCLDWAIT.
462 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
463 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
464 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
465
466 * signal/signal.h [__USE_XOPEN]: Define uid_t.
467 (sigstack): Correct type of first parameter.
468 * sysdeps/generic/sigstack.c (sigstack): Likewise.
469 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
470
471 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: New file. Copy of
472 old sysdeps/unix/sysv/linux/bits/siginfo.h.
473 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
474 * sysdeps/unix/sysv/linux/bits/siginfo.h [struct siginfo] (si_band):
475 Change type to `long int'.
476
477 * signal/signal.h [__USE_XOPEN]: Declare sigpause to redirect to
478 __xpg_sigpause.
479 * sysdeps/generic/sigpause.c: Define __xpg_sigpause.
480 * sysdeps/posix/sigpause.c: Likewise.
481
482 * conform/conformtest.pl: Correct bugs. Add more functionality.
483 * conform/data/dlfcn.h-data: Correct typos.
484 * conform/data/ftw.h-data: Likewise.
485 * conform/data/iconv.h-data: Likewise.
486 * conform/data/nl_types.h-data: Likewise.
487 * conform/data/search.h-data: Likewise.
488 * conform/data/semaphore.h-data: New file.
489 * conform/data/setjmp.h-data: New file.
490 * conform/data/signal.h-data: New file.
491 * conform/data/stdarg.h-data: New file.
492 * conform/data/stddef.h-data: New file.
493 * conform/data/stdio.h-data: New file.
494
495 * po/de.po: Update from translation team.
496
497 1999-12-31 Martin Buchholz <martin@xemacs.org>
498
499 * argp/argp-help.c: Fix typos.
500 * argp/argp.h: Likewise.
501 * elf/dl-object.c: Likewise.
502 * elf/dl-open.c: Likewise.
503 * elf/elf.h: Likewise.
504 * elf/rtld.c: Likewise.
505 * iconv/gconv_open.c: Likewise.
506 * localedata/tst-fmon.data: Likewise.
507 * localedata/tst-rpmatch.sh: Likewise.
508 * login/programs/xtmp.h: Likewise.
509 * manual/arith.texi: Likewise.
510 * manual/charset.texi: Likewise.
511 * manual/creature.texi: Likewise.
512 * manual/llio.texi: Likewise.
513 * manual/search.texi: Likewise.
514 * manual/signal.texi: Likewise.
515 * manual/stdio.texi: Likewise.
516 * manual/string.texi: Likewise.
517 * manual/sysinfo.texi: Likewise.
518 * manual/users.texi: Likewise.
519 * manual/examples/argp-ex2.c: Likewise.
520 * manual/examples/argp-ex3.c: Likewise.
521 * manual/examples/argp-ex4.c: Likewise.
522 * manual/examples/mkfsock.c: Likewise.
523 * math/test-fenv.c: Likewise.
524 * nscd/nscd_gethst_r.c: Likewise.
525 * nss/test-netdb.c: Likewise.
526 * posix/regex.c: Likewise.
527 * scripts/test-installation.pl: Likewise.
528 * stdlib/canonicalize.c: Likewise.
529 * stdlib/fmtmsg.c: Likewise.
530 * string/argz-replace.c: Likewise.
531 * string/argz.h: Likewise.
532 * string/bits/string2.h: Likewise.
533 * sysdeps/generic/glob.c: Likewise.
534 * sysdeps/generic/setenv.c: Likewise.
535 * sysdeps/i386/memcmp.S: Likewise.
536 * sysdeps/posix/waitid.c: Likewise.
537 * time/tzset.c: Likewise.
538
539 2000-02-21 Ulrich Drepper <drepper@redhat.com>
540
541 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add
542 getrlimit@GLIBC_2.0.
543 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
544
545 * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: Removed.
546 Reported by Kaoru Fukui <k_fukui@highway.ne.jp>.
547
548 * elf/elf.h (ELF32_ST_OTHER): Removed.
549 (ELF64_ST_OTHER): Likewise.
550
551 * sysdeps/alpha/fpu/fpu_control.h: Update comment.
552
553 * malloc/Makefile (tests): Add tst-valloc.
554 * malloc/tst-valloc.c: New file.
555
556 2000-02-21 Andreas Jaeger <aj@suse.de>
557
558 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_RXSRCRT): Renamed to
559 IPV6_RTHDR; added IPV6_RTHDR_LOOSE, IPV6_RTHDR_STRICT and
560 IPV6_RTHDR_TYPE_0 to synch with RFC 2292.
561 * sysdeps/generic/bits/in.h: Likewise.
562
563 2000-02-21 Ulrich Drepper <drepper@redhat.com>
564
565 * po/gl.po: Update from translation team.
566
567 * timezone/antarctica: Update from tzdata2000b.
568 * timezone/asia: Likewise.
569 * timezone/australasia: Likewise.
570 * timezone/europe: Likewise.
571
572 * malloc/malloc.c (vALLOc): Call ptmalloc_init before mEMALIGn
573 call to initialize malloc_getpagesize.
574 (pvALLOc): Likewise.
575
576 2000-02-20 Ulrich Drepper <drepper@redhat.com>
577
578 * po/it.po: Update from translation team.
579
580 2000-02-20 Philip Blundell <philb@gnu.org>
581
582 * sysdeps/unix/sysv/linux/arm/mmap64.S: Fix off by one error.
583
584 2000-02-20 Ulrich Drepper <drepper@redhat.com>
585
586 * sunrpc/rpc_main.c (checkfiles): Add comment to help translators.
587
588 * po/de.po: Update from translation team.
589
590 2000-02-19 Ulrich Drepper <drepper@redhat.com>
591
592 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Add definition of
593 _libc_fpreg and _libc_fpstate and use it to define fpregset_t.
594 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prgregset_t): Define
595 using elf_gregset_t.
596 (prfpregset_t): Define using elf_fpregset_t.
597
598 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Make fpregset_t
599 definition compatible with definition in 2.1.2 and before.
600 (struct ucontext): Use fpregset_t.
601 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): Define
602 as pointer to fpregset_t.
603
604 2000-02-18 Ulrich Drepper <drepper@redhat.com>
605
606 * string/bits/string2.h (strnlen): Add cast to prevent warning.
607
608 * nscd/connections.c (handle_request): Don't abort() if unknown
609 command is sent.
610
611 2000-02-17 Ulrich Drepper <drepper@redhat.com>
612
613 * nscd/hstcache.c (cache_addhst): Don't cache name->record entries
614 if more than one IP address is available.
615
616 2000-02-17 Jakub Jelinek <jakub@redhat.com>
617
618 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel.
619
620 2000-02-16 Ulrich Drepper <drepper@redhat.com>
621
622 * locale/programs/charmap.c (charmap_read): Find charmap also in
623 the standard directory.
624
625 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct prototype for
626 __syscall_mmap2.
627
628 * sysdeps/unix/sysv/linux/execve.c: Pretty print.
629
630 * po/it.po: New file.
631 * po/pl.po: Update from translation team.
632
633 2000-02-16 Andreas Jaeger <aj@suse.de>
634
635 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix return
636 value.
637
638 2000-02-16 Andreas Jaeger <aj@suse.de>
639
640 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c (ftruncate64): Fix
641 typo.
642
643 2000-02-15 Andreas Jaeger <aj@suse.de>
644
645 * sysdeps/i386/fpu/libm-test-ulps: Add one value for AMD K7.
646
647 2000-02-15 Andreas Jaeger <aj@suse.de>
648
649 * math/libm-test.inc (nearbyint_test): Add some tests.
650 (rint_test): Likewise.
651
652 2000-02-14 Ulrich Drepper <drepper@redhat.com>
653
654 * locale/programs/repertoire.c (repertoire_new_char): NUL
655 terminated names of character in range.
656
657 * stdio-common/vfprintf.c (vfprintf): Initialize thousands_sep.
658 Define and initialize use_outdigits in the inner loops.
659
660 * sysdeps/posix/sigwait.c: Don't look for signal 0 since it does
661 not exist. Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1601).
662
663 * sysdeps/i386/fpu/s_nearbyint.S: Disable raising exception, not
664 enable it. Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1600).
665 * sysdeps/i386/fpu/s_nearbyintf.S: Likewise.
666 * sysdeps/i386/fpu/s_nearbyintl.S: Likewise.
667
668 2000-02-14 Andreas Jaeger <aj@suse.de>
669
670 * elf/rtld.c (dl_main): Fix check for references to dynamic linker.
671
672 2000-02-14 Ulrich Drepper <drepper@redhat.com>
673
674 * manual/job.texi: Fix typos.
675 * manual/process.texi: Likewise.
676 * manual/signal.texi: Likewise.
677
678 * sysdeps/powerpc/atomicity.h: Remove white space to avoid
679 compiler warning.
680
681 2000-02-14 Scott Bambrough <scottb@netwinder.org>
682
683 * sysdeps/unix/sysv/linux/arm/ioperm.c (_iopl, _ioperm): Add
684 Rebel-NetWinder to platform table so _ioperm platform lookup via
685 /proc/cpuinfo works on later version NetWinders.
686
687 2000-02-13 Ulrich Drepper <drepper@redhat.com>
688
689 * locale/programs/charmap.c (charmap_read): Remove erronous free
690 call.
691
692 * sysdeps/i386/fpu/s_cosf.S: Domain of opcode is not large enough
693 so test for overflow and handle it.
694 * sysdeps/i386/fpu/s_sinf.S: Likewise.
695 * sysdeps/i386/fpu/s_tanf.S: Likewise.
696 Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1563).
697
698 * iconvdata/Makefile (modules): Add UTF-16.
699 (distribute): Add utf-16.c.
700 * iconvdata/gconv-modules: Add entries for UTF-16, UTF-16BE, and
701 UTF-16LE.
702 * iconvdata/utf-16.c: New file.
703 * iconv/gconv_builtin.h: Remove UTF-16 entries here.
704 * iconv/gconv_simple.c: Remove conversion functions to and from UTF-16.
705 PR libc/1580 and libc/1581.
706
707 * iconv/skeleton.c: Increment __invocation_counter after every call
708 to the loops.
709
710 2000-02-12 Andreas Jaeger <aj@suse.de>
711
712 * sysdeps/unix/sysv/linux/i386/msgctl.c (__new_msgctl): Move errno
713 declaration to place where it's needed to avoid compiler warning.
714 * sysdeps/unix/sysv/linux/i386/semctl.c (__new_semctl): Likewise.
715
716 2000-02-12 Ulrich Drepper <drepper@redhat.com>
717
718 * locale/weightwc.h (findidx): Correct find index value.
719
720 * locale/nl_langinfo.h: Add casts to prevent warnings.
721
722 * wctype/iswctype_l.c: Use correct types for mapped data.
723 * wctype/wcfuncs.c: Add one more comment for clarification.
724 * wctype/wcfuncs_l.c: Use __ctype32_tolower and __ctype32_toupper.
725 * wctype/wctrans.c: Likewise.
726
727 2000-02-12 Andreas Jaeger <aj@suse.de>
728
729 * sysdeps/mips/dl-machine.h (__start): Rewritten for 2.2 startup
730 conventions.
731 (elf_machine_rel): Use R_MIPS_REL32 for RESOLVE.
732 (elf_machine_runtime_setup,elf_machine_got_rel): Move at end of
733 file and make dependend on RESOLVE.
734 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix arguments to _dl_lookup_symbol.
735 (RESOLVE_GOTSYM): Fix arguments to _dl_lookup_symbol.
736
737 2000-02-11 Ulrich Drepper <drepper@redhat.com>
738
739 * sysdeps/unix/sysv/linux/i386/shmctl.c: Fix handling of save_errno.
740
741 * locale/langinfo.h: Make CRNCYSTR a separate entry instead of an
742 alias for CURRENCY_SYMBOL.
743 * locale/programs/ld-monetary.c: Add support to write out CRNCYSTR
744 information. [PR libc/1583].
745
746 2000-02-08 Shinya Hanataka <hanataka@abyss.rim.or.jp>
747
748 * locale/weightwc.h: Fix problem with collating-element.
749
750 * locale/programs/ld-collate.c (collate_finish): Output wide
751 character collating-symbol, which has no wide strings.
752
753 * locale/programs/ld-collate.c (collate_output): Fix problem with
754 wide character collating-element.
755
756 2000-02-09 Andreas Jaeger <aj@suse.de>
757
758 * time/strptime.c (strptime_internal): Fix pointer dereference.
759 Patch by Juergen Heinzl <juergen@monocerus.demon.co.uk>, closes PR
760 libc/1591.
761
762 2000-02-08 Jakub Jelinek <jakub@redhat.com>
763
764 * sysdeps/unix/sysv/linux/alpha/msgctl.c: New file.
765 * sysdeps/unix/sysv/linux/alpha/semctl.c: New file.
766 * sysdeps/unix/sysv/linux/alpha/shmctl.c: New file.
767 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl, semctl,
768 shmctl): Make them EXTRA as __old_* and as GLIBC_2.0 symbols.
769 * sysdeps/unix/sysv/linux/alpha/Makefile: Add oldmsgctl, oldsemctl
770 and oldshmctl to sysdep-routines.
771
772 2000-02-08 Andreas Jaeger <aj@suse.de>
773
774 * locale/programs/locale.c (write_locales): Fix handling of
775 whitespace lines.
776 Fixes PR libc/1588, reported by Miroslav Holcak
777 <miroslav.holcak@vitkovice.cz>.
778
779 2000-02-07 Thorsten Kukuk <kukuk@suse.de>
780
781 * config.make.in: Add infodir.
782 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel
783 header files.
784
785 2000-02-11 Ulrich Drepper <drepper@redhat.com>
786
787 * posix/getopt.c: Suppress messages if first character of
788 optstring is a colon (PR libc/1584).
789
790 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Define ELF_* constants
791 and elf_* types to interpret values passed up from the kernel.
792 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
793
794 * locale/nl_langinfo.c: Correct return value in error case. Don't
795 set errno (PR libc/1582).
796 * manual/locale.texi: Update to reflect change.
797
798 2000-02-02 Andreas Schwab <schwab@suse.de>
799
800 * malloc/Makefile (distribute): Add memprof.h.
801 * malloc/memprof.c: Move definition of GETSP and GETTIME to new
802 header memprof.h.
803 * sysdeps/generic/memprof.h: New file.
804 * sysdeps/alpha/memprof.h: New file.
805 * sysdeps/i386/memprof.h: New file.
806 * sysdeps/m68k/memprof.h: New file.
807 * sysdeps/mips/memprof.h: New file.
808 * sysdeps/powerpc/memprof.h: New file.
809 * sysdeps/sparc/memprof.h: New file.
810
811 2000-02-01 Jakub Jelinek <jakub@redhat.com>
812
813 * sysdeps/unix/sysv/linux/getresgid.c: Move...
814 * sysdeps/unix/sysv/linux/i386/getresgid.c: ...here.
815 (getresgid): Use getresgid32 if __libc_missing_32bit_uids
816 is -1 or 0.
817 * sysdeps/unix/sysv/linux/getresuid.c: Move...
818 * sysdeps/unix/sysv/linux/i386/getresuid.c: ...here.
819 (getresuid): Use getresuid32 if __libc_missing_32bit_uids
820 is -1 or 0.
821 * sysdeps/unix/sysv/linux/i386/getuid.c: Document new tristate
822 __libc_missing_32bit_uids.
823 (__getuid): Use 32bit uid syscall if __libc_missing_32bit_uids is
824 -1 or 0.
825 * sysdeps/unix/sysv/linux/i386/chown.c (__real_chown): Likewise.
826 * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
827 * sysdeps/unix/sysv/linux/i386/getegid.c (__getegid): Likewise.
828 * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Likewise.
829 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Likewise.
830 * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Likewise.
831 * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
832 * sysdeps/unix/sysv/linux/i386/setfsgid.c (setfsgid): Likewise.
833 * sysdeps/unix/sysv/linux/i386/setfsuid.c (setfsuid): Likewise.
834 * sysdeps/unix/sysv/linux/i386/setgid.c (__setgid): Likewise.
835 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
836 * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
837 * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Likewise.
838 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Likewise.
839 * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Likewise.
840 * sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Likewise.
841 * sysdeps/unix/sysv/linux/m68k/chown.c (__chown): Likewise.
842 * sysdeps/unix/sysv/linux/arm/getresuid.c: New file.
843 * sysdeps/unix/sysv/linux/arm/getresgid.c: New file.
844 * sysdeps/unix/sysv/linux/arm/msgctl.c: New file.
845 * sysdeps/unix/sysv/linux/arm/semctl.c: New file.
846 * sysdeps/unix/sysv/linux/arm/shmctl.c: New file.
847 * sysdeps/unix/sysv/linux/i386/msgctl.c: New file.
848 * sysdeps/unix/sysv/linux/i386/semctl.c: New file.
849 * sysdeps/unix/sysv/linux/i386/shmctl.c: New file.
850 * sysdeps/unix/sysv/linux/m68k/getresgid.c: New file.
851 * sysdeps/unix/sysv/linux/m68k/getresuid.c: New file.
852 * sysdeps/unix/sysv/linux/m68k/msgctl.c: New file.
853 * sysdeps/unix/sysv/linux/m68k/semctl.c: New file.
854 * sysdeps/unix/sysv/linux/m68k/shmctl.c: New file.
855 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: New file.
856 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: New file.
857 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: New file.
858 * sysdeps/unix/sysv/linux/mips/syscalls.list (getresuid):
859 Make syscall directly, no stubs needed.
860 (getresgid): Likewise.
861 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (getresuid):
862 Likewise.
863 (getresgid): Likewise.
864
865 2000-02-11 Ulrich Drepper <drepper@redhat.com>
866
867 * iconvdata/gconv-modules: Add aliases CN-GB and CN-BIG5.
868 Reported by Bruno Haible <haible@ilog.fr>.
869
870 * stdio-common/printf-parse.h (parse_one_spec): Set wide elements.
871
872 * stdio-common/printf_fp.c: Truely support wide characater output.
873 Finally handle decimal points and thousands separator characters
874 correctly for multibyte output.
875 * stdio-common/printf_size.c: Likewise.
876 * sysdeps/generic/printf_fphex.c: Likewise.
877 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
878
879 * stdio-common/vfscanf.c: Implement I modifier for numbers to read
880 locale dependent digits.
881
882 * locale/C-monetary.c (_nl_C_LC_MONETARY): Change wide character
883 decimal point and thousands separator values to wide characters from
884 wide character strings.
885 * locale/C-numeric.c (_nl_C_LC_NUMERIC): Likewise.
886
887 * locale/indigitswc.h: Dereference wcdigits array elements.
888
889 2000-02-03 Jakub Jelinek <jakub@redhat.com>
890
891 * stdlib/canonicalize.c (canonicalize): Zero terminate
892 path to copy on error.
893
894 2000-02-01 Cristian Gafton <gafton@redhat.com>
895
896 * misc/syslog.c (closelog): Reset LogType to SOCK_DGRAM.
897
898 2000-01-31 Philip Blundell <philb@gnu.org>
899
900 * sysdeps/arm/fpu/fpu_control.h (_FPU_DEFAULT): Set the AC bit.
901
902 2000-01-31 Andreas Jaeger <aj@suse.de>
903
904 * intl/Makefile (generated): msgs.h is generated.
905
906 * localedata/Makefile (generated-dirs): Add de_DE.437.
907
908 2000-01-31 Jakub Jelinek <jakub@redhat.com>
909
910 * config.make.in: Allow default localedir to come from configure.
911 * configure.in: Export libc_cv_localedir.
912 * sysdeps/unix/sysv/linux/configure.in: For sparc64, put locale
913 stuff into $exec_prefix/lib/locale because it can be shared between
914 32bit and 64bit libraries.
915 * configure: Rebuilt.
916 * sysdeps/unix/sysv/linux/configure: Rebuilt.
917
918 2000-01-31 Andreas Jaeger <aj@suse.de>
919
920 * inet/tst-network.c: New file.
921 * inet/Makefile (tests): Add tst-network.
922
923 * inet/inet_net.c (inet_network): Don't overwrite memory or allow
924 to great last digits.
925
926 2000-02-10 Andreas Jaeger <aj@suse.de>
927
928 * sysdeps/unix/sysv/linux/mips/clone.S: Rewritten.
929 Based on a patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
930
931 2000-02-09 Andreas Jaeger <aj@suse.de>
932
933 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add new syscalls.
934
935 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing syscalls.
936
937 2000-02-08 Andreas Jaeger <aj@suse.de>
938
939 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Fix typo.
940
941 * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
942 Make it compile.
943
944 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Remove members
945 c_ispeed and c_ospeed which are not implemented.
946
947 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Define __libc_* variant
948 for cancelation wrapper; use __ASSUME_PWRITE_SYSCALL macro.
949 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
950 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
951 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
952
953 2000-02-05 Andreas Jaeger <aj@suse.de>
954
955 * sysdeps/unix/sysv/linux/mips/bits/mman.h (MS_SYNC): 0 will not
956 work - set to 4 in accordance with changes made in the Linux/MIPS
957 kernel. Using MS_SYNC on older kernels with MS_SYNC == 0 doesn't
958 actually work.
959
960 2000-02-04 Andreas Jaeger <aj@suse.de>
961
962 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Use correct values for
963 the defines.
964
965 2000-02-03 Andreas Jaeger <aj@suse.de>
966
967 * sysdeps/mips/abort-instr.h: New file.
968
969 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: New file.
970
971 * sysdeps/unix/sysv/linux/mips/register-dump.h: New file.
972
973 * sysdeps/mips/stackinfo.h: New file.
974
975 2000-02-01 Andreas Jaeger <aj@suse.de>
976
977 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove duplicates.
978
979 * sysdeps/unix/sysv/linux/mips/lxstat.c: Removed, we can use the
980 generic function.
981 * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
982
983 * sysdeps/unix/sysv/linux/mips/init-first.h: New file, from Ralf
984 Baechle <ralf@gnu.org>.
985
986 * sysdeps/unix/sysv/linux/mips/brk.c: New file.
987
988 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Add missing ints.
989
990 * sysdeps/mips/elf/start.S: Rewritten for __libc_start_main.
991
992 2000-01-31 Andreas Jaeger <aj@suse.de>
993
994 * inet/inet_net.c (inet_network): Synch with bind 8.2.2. Fixes PR
995 libc/1567.
996
997 2000-01-30 Ulrich Drepper <drepper@redhat.com>
998
999 * sysdeps/alpha/fpu/feholdexcpt.c: Correct return value according to
1000 the standard.
1001 * sysdeps/alpha/fpu/fesetround.c: Likewise.
1002 * sysdeps/arm/fpu/feholdexcpt.c: Likewise.
1003 * sysdeps/arm/fpu/fesetround.c: Likewise.
1004 * sysdeps/generic/feholdexcpt.c: Likewise.
1005 * sysdeps/generic/fesetround.c: Likewise.
1006 * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
1007 * sysdeps/i386/fpu/fesetround.c: Likewise.
1008 * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
1009 * sysdeps/m68k/fpu/fesetround.c: Likewise.
1010 * sysdeps/mips/fpu/fesetround.c: Likewise.
1011 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1012 * sysdeps/powerpc/fpu/fesetround.c: Likewise.
1013 * sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
1014 * sysdeps/sparc/fpu/fesetround.c: Likewise.
1015 Patch by Miloslav Trmac <mitr@volny.cz>.
1016
1017 * locale/programs/ld-collate.c (struct locale_collate_t): Change
1018 type of plane_size and plane_cnt to uint32_t.
1019 Reported by Jakub Jelinek.
1020
1021 2000-01-29 Jakub Jelinek <jakub@redhat.com>
1022
1023 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1024 (SYSCALL_ERROR_HANDLER): Optimize.
1025 (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
1026 Include linux/sparc/sysdep.h.
1027 Use a different guard define than linux/sparc/sysdep.h.
1028 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove
1029 stubs for inlined syscalls.
1030 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1031 (SYSCALL_ERROR_HANDLER): Optimize.
1032 (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
1033 Include linux/sparc/sysdep.h.
1034 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
1035 stubs for inlined syscalls.
1036 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
1037 Use INLINE_SYSCALL.
1038 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Remove.
1039 * sysdeps/unix/sysv/linux/sparc/sysdep.h: New file.
1040
1041 2000-01-29 Ulrich Drepper <drepper@redhat.com>
1042
1043 * locale/loadlocale.c (_nl_load_locale): Optimize a bit. Pretty
1044 print. Add checks for _POSIX_MMAPPED_FILES where necessary.
1045 (_nl_unload_locale): If locale data was mmapped use munmap.
1046
1047 2000-01-29 Andreas Jaeger <aj@suse.de>
1048
1049 * sysdeps/unix/sysv/linux/i386/sys/io.h: Add missing ints, use
1050 _EXTERN_INLINE, compile inline assembler functions only with gcc.
1051
1052 2000-01-29 Ulrich Drepper <drepper@redhat.com>
1053
1054 * catgets/catgets.c (catopen): Handle NL_CAT_LOCALE correctly.
1055 * catgets/gencat.c (read_input_file): Remove messages correctly.
1056 * catgets/open_catalog.c (__open_catalog): Handle trailing colons and
1057 adjacent colons correctly. Correct loops to read territory and
1058 and codeset part.
1059 Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1559).
1060
1061 * rt/aio_misc.c (get_elem): Assign pointer to new row to correct
1062 pool entry.
1063 Patch by Jens Moeller <jens.moeller@waii.com> (PR libc/1558).
1064
1065 2000-01-28 Jakub Jelinek <jakub@redhat.com>
1066
1067 * sysdeps/unix/sysv/linux/arm/Versions: Export the new *rlimit
1068 interface with symbol version GLIBC_2.2.
1069 * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
1070 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
1071 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
1072 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1073
1074 2000-01-27 Scott Bambrough <scottb@netwinder.org>
1075
1076 * sysdeps/unix/sysv/linux/arm/Makefile: Backout rlimit changes for
1077 resource directory.
1078 * sysdeps/unix/sysv/linux/arm/syscalls.list: Backout changes for
1079 versioning setrlimit and getrlimit.
1080
1081 2000-01-27 Andreas Jaeger <aj@suse.de>
1082
1083 * sysdeps/powerpc/fpu/libm-ulps: Renamed to ...
1084 * sysdeps/powerpc/fpu/libm-test-ulps: ...this.
1085
1086 2000-01-27 Ruediger Oertel <ro@suse.de>
1087
1088 * sysdeps/unix/sysv/linux/i386/sys/io.h: Change "::" to ": :" for g++.
1089
1090 2000-01-29 Ulrich Drepper <drepper@redhat.com>
1091
1092 * locale/programs/ld-numeric.c (numeric_output): Increment cnt in
1093 correct place to avoid uninitialized memory passed to writev.
1094
1095 * locale/programs/ld-monetary.c (STR_ELEM_WC): Fix test for too
1096 long string in definition.Only enable returning wide character
1097 strings if really needed.
1098 * locale/programs/ld-numeric.c (STR_ELEM): Likewise.
1099
1100 * configure.in: Add check for recent enough sed version.
1101
1102 2000-01-28 Ulrich Drepper <drepper@redhat.com>
1103
1104 * stdio-common/vfprintf.c [COMPILE_WPRINT] (_i18n_itoa_word,
1105 _i18n_itoa): Fix parameter lists.
1106
1107 * locale/C-monetary.c: Add initializers for new fields.
1108 * locale/C-numeric.c: Likewise.
1109 * locale/Makefile (distribute): Add indigits.h, indigitswc.h,
1110 outdigits.h, and outdigitswc.h.
1111 * locale/langinfo.h: Add _NL_MONETARY_DECIMAL_POINT_WC,
1112 _NL_MONETARY_THOUSANDS_SEP_WC, _NL_NUMERIC_DECIMAL_POINT_WC,
1113 and _NL_NUMERIC_THOUSANDS_SEP_WC.
1114 * locale/indigits.h: New file.
1115 * locale/indigitswc.h: New file.
1116 * locale/outdigits.h: New file.
1117 * locale/outdigitswc.h: New file.
1118 * locale/programs/ld-monetary.c: Write out decimal point and
1119 thousands separator info in wide character form.
1120 * locale/programs/ld-numeric.c: Likewise.
1121 * stdio-common/Makefile (routines): Add _i18n_itoa and _i18n_itowa.
1122 (distribute): Add _i18n_itoa.h and _i18n_itowa.h.
1123 * stdio-common/_i18n_itoa.c: New file.
1124 * stdio-common/_i18n_itoa.h: New file.
1125 * stdio-common/_i18n_itowa.c: New file.
1126 * stdio-common/_i18n_itowa.h: New file.
1127 * stdio-common/printf-parse.h: Parse 'I' flag.
1128 * stdio-common/printf.h (struct printf_info): Add i18n field.
1129 * stdio-common/vfprintf.c: Implement 'I' flag to print using locales'
1130 outdigits.
1131
1132 2000-01-27 Geoff Keating <geoffk@cygnus.com>
1133
1134 * csu/Makefile ($(objpfx)version-info.h): Don't use echo -n
1135 unnecessarily.
1136
1137 * sysdeps/unix/sysv/linux/kernel-features.h
1138 (__ASSUME_STAT64_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL,
1139 __ASSUME_NEW_GETRLIMIT_SYSCALL): Define on powerpc for kernels >=
1140 2.3.35.
1141
1142 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: New file.
1143 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: New file.
1144 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: New file.
1145 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: New file.
1146 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: New file.
1147 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: New file.
1148 * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: New file.
1149 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add
1150 s_fstat64, s_ftruncate64, s_lstat64, s_mmap2, s_stat64,
1151 s_truncate64.
1152 * sysdeps/unix/sysv/linux/powerpc/truncate64.c: New file.
1153 * sysdeps/unix/sysv/linux/powerpc/Versions: New file.
1154
1155 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: Don't access
1156 __curbrk off the small data area register. Reported by
1157 Andrew Haley <aph@pasanda.cygnus.co.uk>.
1158
1159 2000-01-26 Andreas Jaeger <aj@suse.de>
1160
1161 * Make-dist (+sysdep-tscrs): Add libm-test-ulps.
1162
1163 2000-01-26 Ulrich Drepper <drepper@cygnus.com>
1164
1165 * locale/Makefile (distribute): Remove nonexisting files.
1166 * sysdeps/powerpc/Dist: Move FPU specific files to...
1167 * sysdeps/powerpc/fpu/Dist: ...here. New file.
1168 * nss/Makefile: Distribute files for new libdb interface.
1169 * math/Makefile (distribute): Add README.libm-test.
1170 Patch by Andreas Jaeger.
1171
1172 2000-01-26 David McCann <david.mccann@alcatel.at>
1173
1174 * libio/libioP.h [!_G_HAVE_MMAP]: Define ALLOC_WBUF.
1175
1176 2000-01-25 Andreas Jaeger <aj@suse.de>
1177
1178 * sysdeps/unix/sysv/linux/configure.in: Set CPPFLAGS for kernel
1179 version check since we're using cpp.
1180
1181 2000-01-26 Jakub Jelinek <jakub@redhat.com>
1182
1183 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getresgid):
1184 Fix a typo.
1185
1186 2000-01-26 Andreas Jaeger <aj@suse.de>
1187
1188 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Avoid warning
1189 about unitialised variable kbuf.
1190 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1191 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1192
1193 2000-01-26 Ulrich Drepper <drepper@cygnus.com>
1194
1195 * locale/programs/ld-collate.c (check_duplicate): Fix printing of error
1196 messages.
1197 (collate_read): Remove unnecessary `if'.
1198
1199 2000-01-25 Ulrich Drepper <drepper@cygnus.com>
1200
1201 * libio/fileops.c (_IO_new_file_open): Recognize ,ccs= in mode string
1202 and load appropriate conversions.
1203 * libio/iofwide.c (__libio_codecvt): Renamed from libio_codecvt and
1204 made global.
1205 * libio/libioP.h: Declare __libio_codecvt.
1206 * manual/stdio.texi: Document ,ccs= option for fopen.
1207 * wcsmbs/wcsmbsload.c (__wcsmbs_named_conv): New function.
1208 * wcsmbs/wcsmbsload.h (__wcsmbs_named_conv): Declare.
1209
1210 * libio/iofclose.c: Free conversion data if stream was wide-oriented.
1211
1212 * sysdeps/unix/sysv/linux/i386/Dist: Add sys/io.h.
1213
1214 * sysdeps/unix/sysv/linux/Dist: Remove sys/io.h.
1215
1216 * posix/fnmatch_loop.c: Fix problem with FNM_LEADING_DIR.
1217 * posix/testfnm.c: Add a few more tests. Rearrange test output.
1218
1219 2000-01-25 Andreas Schwab <schwab@suse.de>
1220
1221 * posix/testfnm.c: Add new test case. Use FNM_PATHNAME instead of
1222 FNM_FILE_NAME consistently.
1223
1224 2000-01-25 Ulrich Drepper <drepper@cygnus.com>
1225
1226 * posix/fnmatch.c: Define STRCOLL appropriately for the loop
1227 definition.
1228 * posix/fnmatch_loop.c: Undefine STRCOLL.
1229
1230 * sysdeps/unix/sysv/linux/i386/fxstat.c: Correct code to handle
1231 kernels with stat64 support.
1232 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise
1233 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1234 Patch by SL Baur <steve@xemacs.org>.
1235
1236 * string/strxfrm.c: Don't count in the terminating NUL byte/word.
1237
1238 2000-01-24 Paul Eggert <eggert@twinsun.com>
1239
1240 * posix/fnmatch_loop.c (FCT): Use locale's collating sequence when
1241 deciding whether a character falls within a character range.
1242
1243 2000-01-24 Paul Eggert <eggert@twinsun.com>
1244
1245 * posix/fnmatch_loop.c (FCT): When matching [A-Z] and folding case,
1246 lower-case A too.
1247
1248 2000-01-24 Thorsten Kukuk <kukuk@suse.de>
1249
1250 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove old[gs]etrlimit.
1251
1252 2000-01-23 Paul Eggert <eggert@twinsun.com>
1253
1254 * posix/regex.c (GET_UNSIGNED_NUMBER): Allow only ASCII digits.
1255
1256 2000-01-23 Paul Eggert <eggert@twinsun.com>
1257
1258 * posix/regex.c (compile_range): When matching a character
1259 range, use the current collating sequence, as POSIX requires.
1260
1261 2000-01-25 Ulrich Drepper <drepper@cygnus.com>
1262
1263 * string/argz-stringify.c: Handle case of missing \0 at the end of
1264 the given argz.
1265
1266 2000-01-24 Ulrich Drepper <drepper@cygnus.com>
1267
1268 * nscd/hstcache.c: Don't count in mapped IPv6 addresses in total
1269 size anymore.
1270
1271 * locale/programs/ld-collate.c (collate_output): Also handle
1272 IGNOREd characters in the simple way when generating the multibyte
1273 table.
1274
1275 * locale/programs/ld-ctype.c (allocate_arrays): Move codeset_name
1276 handling to ...
1277 (ctype_finish): ...here. Check for missing codeset name.
1278
1279 * sysdeps/unix/sysv/linux/Dist: Add ipc_priv.h.
1280 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
1281
1282 2000-01-24 Jakub Jelinek <jakub@redhat.com>
1283
1284 * sysdeps/unix/sysv/linux/bits/ipc.h: Move private decls...
1285 * sysdeps/unix/sysv/linux/ipc_priv.h: ...here.
1286 * sysdeps/unix/sysv/linux/bits/msq.h: Move private decls...
1287 * sysdeps/unix/sysv/linux/msgctl.c: ...here. Include ipc_priv.h.
1288 * sysdeps/unix/sysv/linux/bits/sem.h: Move private decls...
1289 * sysdeps/unix/sysv/linux/semctl.c: ...here. Include ipc_priv.h.
1290 * sysdeps/unix/sysv/linux/bits/shm.h: Move private decls...
1291 * sysdeps/unix/sysv/linux/shmctl.c: ...here. Include ipc_priv.h.
1292 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Move private decls...
1293 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: ...here.
1294 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove private decls.
1295 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Likewise.
1296 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
1297 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1298 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1299 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1300 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1301 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Include ipc_priv.h.
1302 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1303 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
1304 * sysdeps/unix/sysv/linux/msgget.c: Likewise.
1305 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1306 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1307 * sysdeps/unix/sysv/linux/semget.c: Likewise.
1308 * sysdeps/unix/sysv/linux/semop.c: Likewise.
1309 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
1310 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1311 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
1312
1313 2000-01-24 Jakub Jelinek <jakub@redhat.com>
1314
1315 * sysdeps/unix/sysv/linux/arm/bits/resource.h: New file.
1316 * sysdeps/unix/sysv/linux/arm/Makefile: Remove oldsetrlimit64.c.
1317 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
1318 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
1319 * sysdeps/unix/sysv/linux/arm/Versions: Remove
1320 setrlimit64@GLIBC_2.1.3.
1321 * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
1322 * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: Remove.
1323 * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: Likewise.
1324 * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
1325 * sysdeps/unix/sysv/linux/i386/setrlimit64.c: Likewise.
1326 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Call __new_getrlimit,
1327 so that setrlimit64@GLIBC_2.1 can report limits above 2G.
1328 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getrlimit,
1329 setrlimit): Remove syscall stubs, add normal syscalls.
1330 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (setrlimit):
1331 Remove syscall stub.
1332
1333 2000-01-22 Andreas Jaeger <aj@suse.de>
1334
1335 * localedata/tst-locale.sh: Enable test for de_DE.437.
1336
1337 2000-01-23 Ulrich Drepper <drepper@cygnus.com>
1338
1339 * string/Versions: Export __strndup.
1340
1341 2000-01-23 Philip Blundell <philb@gnu.org>
1342
1343 Add basic support for RPC over IPv6:
1344 * sunrpc/rpc/svc.h (struct SVCXPRT): Use `struct sockaddr_storage'
1345 for remote address.
1346 (svcudp6_create, svcudp6_bufcreate, svctcp6_create): New
1347 prototypes.
1348 * sunrpc/rpc/clnt.h (clnttcp6_create, clntudp6_create,
1349 clntudp6_bufcreate): New prototypes.
1350 * inet/netinet/in.h (bindresport6): Likewise.
1351 * sunrpc/Makefile (routines): Add svc_tcp6, svc_udp6, bindrsvprt6.
1352 * sunrpc/Versions: Add svcfd6_create, svctcp6_create,
1353 svcudp6_create, svcudp6_bufcreate, svcudp6_enablecache,
1354 bindresvport6 for GLIBC_2.2.
1355 * sunrpc/rpc_main.c: Support `tcp6' and `udp6' transport types.
1356 * sunrpc/rpc_svcout.c: Likewise.
1357 * sunrpc/svc_tcp.c (rendezvous_request): Use memcpy rather than
1358 simple assignment when copying addresses.
1359 * sunrpc/svc_udp.c (cache_get): Likewise.
1360 * sunrpc/svc_unix.c (rendezvous_request): Likewise.
1361 * sunrpc/bindrsvprt6.c, sunrpc/clnt_tcp6.c, sunrpc/clnt_udp6.c,
1362 sunrpc/svc_tcp6.c, sunrpc/svc_udp6.c: New files.
1363
1364 2000-01-05 Philip Blundell <philb@gnu.org>
1365
1366 * sysdeps/unix/sysv/linux/arm/mmap64.S: Correct check for ENOSYS.
1367
1368 2000-01-23 Andreas Jaeger <aj@suse.de>
1369
1370 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Pass right
1371 parameter to fstat calls.
1372
1373 2000-01-18 Roland McGrath <roland@baalperazim.frob.com>
1374
1375 * sysdeps/generic/bits/socket.h
1376 (__ss_aligntype, struct sockaddr_storage): Make these like Linux
1377 version, replacing old type name `__ss_align'.
1378
1379 2000-01-05 Roland McGrath <roland@baalperazim.frob.com>
1380
1381 * sysdeps/generic/lseek64.c (__libc_lseek64): Renamed from __lseek64.
1382 (__lseek64, lseek64): Make these weak aliases for __libc_lseek64.
1383 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Renamed from __lseek.
1384 (__lseek, lseek): Make these weak aliases for __libc_lseek.
1385 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Renamed from __fcntl.
1386 (__fcntl, fcntl): Make these weak aliases for __libc_fcntl.
1387 * sysdeps/mach/hurd/open.c (__libc_open): Renamed from __open.
1388 (__open, open): Make these weak aliases for __libc_open.
1389
1390 * sysdeps/generic/bits/socket.h (enum __socket_type): Remove
1391 trailing comma.
1392 (anonymous enum for MSG_*): Likewise.
1393 (anonymous enum for SO_*): Likewise.
1394
1395 2000-01-23 Ulrich Drepper <drepper@cygnus.com>
1396
1397 * string/bits/string2.h: Fix typo (__GNU_SOURCE -> __USE_GNU)
1398 (PR libc/1553).
1399
1400 2000-01-08 Mark Kettenis <kettenis@gnu.org>
1401
1402 * sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function.
1403 (setitimer_locked): Use it to quantize the timer values. Use
1404 quantized timer values to check if the timeout changed.
1405
1406 2000-01-22 Andreas Jaeger <aj@suse.de>
1407
1408 * sunrpc/rpc/svc.h: Fix description for svc_register.
1409
1410 2000-01-23 Mark Kettenis <kettenis@gnu.org>
1411
1412 * inet/rexec.c (rexec_af): Use SA_LEN instead of __libc_sa_len.
1413
1414 2000-01-22 Thorsten Kukuk <kukuk@suse.de>
1415
1416 * sunrpc/xdr_rec.c: Don't set frag_sent if no more data,
1417 fixes part 2 of bug 1549.
1418 * sunrpc/rpc_des.h: Remove unused defines.
1419
1420 2000-01-22 Mark Kettenis <kettenis@gnu.org>
1421
1422 * intl/Makefile ($(objpfx)msgs.h): Do $(make-target-directory) first.
1423
1424 2000-01-22 Thorsten Kukuk <kukuk@suse.de>
1425
1426 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove sys/io.h.
1427 * sysdeps/unix/sysv/linux/alpha/Makefile: Add sys/io.h.
1428 * sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
1429 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
1430 * sysdeps/unix/sysv/linux/sys/io.h: Move from here ...
1431 * sysdeps/unix/sysv/linux/i386/sys/io.h: ... to here, add inb, outb
1432 and other inline functions for port access.
1433 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for port
1434 access functions.
1435
1436 2000-01-23 Ulrich Drepper <drepper@cygnus.com>
1437
1438 * iconv/gconv_simple.c: Fix two problems in UTF-8 decoder.
1439 Patch by Bruno Haible <haible@ilog.fr>.
1440
1441 2000-01-05 Roland McGrath <roland@baalperazim.frob.com>
1442
1443 * sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print
1444 them all at the end, eliding the final comma.
1445 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1446
1447 2000-01-21 Ulrich Drepper <drepper@cygnus.com>
1448
1449 * intl/libintl.h: Add format_arg attributes to declarations of new
1450 functions.
1451
1452 * intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt,
1453 ngettext, and plural.
1454 (distribute): Add plural.y, po2test.sed, and tst-gettext.sh.
1455 (test-srcs): Add tst-gettext.
1456 (before-compile): Add $(objpfx)msgs.h.
1457 Add rules for plural.c and msgs.h generation and running tst-gettext.\
1458 * intl/Versions [GLIBC_2.2]: Add __dcngettext, dcngettext, dngettext,
1459 and ngettext.
1460 * intl/dcgettext.c: Move most code into dcigettext.c. Add call
1461 dcigettext with appropriate parameters.
1462 * intl/dcigettext.c: New file.
1463 * intl/dcngettext.c: New file.
1464 * intl/dngettext.c: New file.
1465 * intl/ngettext.c: New file.
1466 * intl/gettextP.h (struct expression): Define.
1467 (struct loaded_domain): Add plural and nplurals members.
1468 Add prototypes for new internal functions.
1469 * intl/libintl.h: Declare new functions. Add optimizations for them.
1470 * intl/loadinfo.h: Add new parameter to _nl_find_msg declaration.
1471 * intl/loadmsgcat.c (_nl_load_domain): Search for plural information in
1472 header entry and parse and store the expression.
1473 * intl/plural.y: New file.
1474 * intl/po2test.sed: New file.
1475 * intl/tst-gettext.c: New file.
1476 * intl/tst-gettext.sh: New file.
1477 * manual/message.texi: Document new interfaces.
1478
1479 * intl/gettext.c: Call __dcgettext directly.
1480
1481 2000-01-20 Ulrich Drepper <drepper@cygnus.com>
1482
1483 * manual/getopt.texi (Using the getopt function): Fix description of
1484 return value for format string starting with '-' (PR libc/1551).
1485 Patch by Raúl Núñez de Arenas Coronado <dervishd@jazzfree.com>
1486
1487 * sunrpc/clnt_perr.c (rpc_errlist): Fix index for RPC_PROGVERSMISMATCH.
1488 Patch by jens.moeller@westgeo.com (PR libc/1550).
1489
1490 * locale/programs/ld-collate.c (struct element_t): Add wclast
1491 and compute it where necessary.
1492 (collate_output): Insert indirect references in the right order.
1493
1494 * math/Makefile (tests): Add test-misc.
1495 * math/test-misc.c: New file.
1496
1497 2000-01-19 Ulrich Drepper <drepper@cygnus.com>
1498
1499 * sysdeps/ieee754/ldbl-96/s_modfl.c: Correct handling of arguments
1500 with exponent >31 and < 63 (PR libc/1548).
1501
1502 * locale/programs/ld-collate.c (output_weightwc): Return index
1503 measured in words, not bytes. Don't write out words for ignored
1504 characters.
1505 (collate_output): Correct various problems with alignment in the
1506 output file.
1507 * locale/weight.h: Adjust for last change in ld-collate.c of adding
1508 alignment padding.
1509
1510 * stdlib/strfmon.c: Don't report an error if final NUL is at the
1511 end of the buffer. Set errno correctly if floating-point number
1512 would overflow buffer.
1513
1514 * posix/regex.h: Update comment of RE_SYNTAX_POSIX_MINIMAL_EXTENDED.
1515
1516 * locale/weight.h (findidx): Little optimization. Correctly return
1517 offset in indirect table.
1518 * locale/programs/ld-collate.c (struct element_t): Add mblast
1519 and compute it where necessary.
1520 (insert_weights): Correctly handle missing weights in ellipsis
1521 expression.
1522 (handle_ellipsis): Correctly enqueue new element.
1523 (collate_output): Insert indirect references in the right order.
1524
1525 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
1526
1527 * wcsmbs/mbrtowc.c: Create temporary state object if no output is
1528 written.
1529 * wcsmbs/mbsrtowcs.c: Likewise.
1530 * wcsmbs/wcrtomb.c: Likewise.
1531 * wcsmbs/wcsrtombs.c: Likewise.
1532
1533 * wcsmbs/wcrtomb.c: Compute result correctly for successful call
1534 with s == NULL.
1535
1536 * wcsmbs/mbsrtowcs.c: Compute return value correctly after change
1537 in gconv function.
1538
1539 * wcsmbs/mbrtowc.c: Don't set errno if byte sequence is only
1540 incomplete but correct.
1541
1542 * locale/programs/charmap.c: NUL-terminate names of generated
1543 entries for ellipsis.
1544
1545 2000-01-18 Andreas Jaeger <aj@suse.de>
1546
1547 * sysdeps/unix/sysv/linux/i386/lxstat.c: New file, handles 32bit UIDs.
1548 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1549 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Move
1550 _STAT_VER_KERNEL handling up; don't save errno.
1551 * sysdeps/unix/sysv/linux/arm/fxstat.c: New file.
1552 * sysdeps/unix/sysv/linux/arm/lxstat.c: Likewise.
1553 * sysdeps/unix/sysv/linux/arm/xstat.c: Likewise.
1554 * sysdeps/unix/sysv/linux/m68k/fxstat.c: Likewise.
1555 * sysdeps/unix/sysv/linux/m68k/lxstat.c: Likewise.
1556 * sysdeps/unix/sysv/linux/m68k/xstat.c: Likewise.
1557 * sysdeps/unix/sysv/linux/sparc/sparc32/fxstat.c: Likewise.
1558 * sysdeps/unix/sysv/linux/sparc/sparc32/lxstat.c: Likewise.
1559 * sysdeps/unix/sysv/linux/sparc/sparc32/xstat.c: Likewise.
1560
1561 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
1562
1563 * iconv/loop.c (COUNT_CONVERTED): Remove macro, comment, and all uses.
1564 Remove done variable and all uses.
1565 * iconv/skeleton.c: Update comment for *written modification.
1566 * iconv/gconv_int.h (__gconv): Update comment.
1567 Reported by Bruno Haible.
1568
1569 2000-01-18 Bruno Haible <haible@ilog.fr>
1570
1571 * posix/fnmatch.c (ISWCTYPE): New macro.
1572 (__wcschrnul): New function.
1573 (BTOWC): New macro. Define it instead of __btowc.
1574 (is_char_class) [!_LIBC]: Fix 'mstate_t' typo. Fix 2nd arg to
1575 wcsrtombs. Call wctype, not __wctype.
1576 * posix/fnmatch_loop.c (FCT): Use ISWCTYPE instead of __iswctype, and
1577 BTOWC instead of __btowc.
1578
1579 2000-01-18 Andreas Jaeger <aj@suse.de>
1580
1581 * inet/Versions: Add new functions added on 2000-01-17.
1582
1583 2000-01-18 Jakub Jelinek <jakub@redhat.com>
1584
1585 * dirent/dirent.h (getdentries): Correct prototype to use __off64_t.
1586
1587 2000-01-18 Ulrich Drepper <drepper@cygnus.com>
1588
1589 * timezone/antarctica: Update from tzdata2000a.
1590 * timezone/asia: Likewise.
1591 * timezone/australasia: Likewise.
1592 * timezone/backward: Likewise.
1593 * timezone/northamerica: Likewise.
1594 * timezone/southamerica: Likewise.
1595 * timezone/zone.tab: Likewise.
1596
1597 * nscd/connections.c (dbs): Use
1598 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP for .lock.
1599 Pretty printing.
1600
1601 * nscd/hstcache.c (cache_addhst): Don't automatically add IPv6
1602 address. Suggested by Philip Blundell.
1603
1604 * posix/TESTS: Fix expected result for test cases with * with no
1605 leading expression.
1606
1607 * sysdeps/unix/sysv/linux/fstatvfs.c: Move actual code in...
1608 * sysdeps/unix/sysv/linux/internal_statvfs.c: ...here. New file.
1609 * sysdeps/unix/sysv/linux/statvfs.c: Don't use fstatvfs since the
1610 open call would require read permission.
1611 Patch by James Antill <james@and.org>.
1612
1613 * sysdeps/unix/sysv/linux/Dist: Add internal_fnmatch.c.
1614
1615 * inet/getnameinfo.c: Terminate host name for NI_NOFQDN.
1616 * sysdeps/posix/getaddrinfo.c: Correct modifications done for
1617 PR1515. Patches by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1618
1619 * posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS.
1620 * posix/regex.c (regex_compile): Return appropriate errors for
1621 unterminated brace expressions. Detect invalid characters
1622 in brace expressions.
1623 * posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly.
1624 * sysdeps/posix/sysconf.c: Include regex.h.
1625 Reported by Geoff Clare <gwc@unisoft.com> (PR libc/1522).
1626
1627 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
1628
1629 * sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and
1630 AI_NUMERICHOST flag is set, return an error.
1631 Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1632
1633 * inet/rcmd.c: Implement rcmd_af, rresvport_af, ruserok_af, and
1634 iruserok_af.
1635 * inet/rexec.c: Implement rexec_af.
1636 Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1637
1638 * resolv/netdb.h: Add declarations of rcmd_af, rexec_af, ruserok_af,
1639 and rresvport_af.
1640
1641 2000-01-17 Jakub Jelinek <jakub@redhat.com>
1642
1643 * sysdeps/unix/sysv/linux/bits/ipc.h: New file.
1644 * sysdeps/unix/sysv/linux/bits/sem.h: New file.
1645 * sysdeps/unix/sysv/linux/bits/shm.h: New file.
1646 * sysdeps/unix/sysv/linux/bits/msg.h: New file.
1647 * sysdeps/unix/sysv/linux/bits/alpha/ipc.h: Update for new ipc.
1648 * sysdeps/unix/sysv/linux/bits/alpha/sem.h: New file.
1649 * sysdeps/unix/sysv/linux/bits/alpha/shm.h: New file.
1650 * sysdeps/unix/sysv/linux/bits/alpha/msg.h: New file.
1651 * sysdeps/unix/sysv/linux/bits/sparc/ipc.h: New file.
1652 * sysdeps/unix/sysv/linux/bits/sparc/sem.h: New file.
1653 * sysdeps/unix/sysv/linux/bits/sparc/shm.h: New file.
1654 * sysdeps/unix/sysv/linux/bits/sparc/msg.h: New file.
1655
1656 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl):
1657 Renamed from msgctl.
1658 (__new_msgctl): New function.
1659 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl):
1660 Renamed from semctl.
1661 (__new_semctl): New function.
1662 * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl):
1663 Renamed from shmctl.
1664 (__new_shmctl): New function.
1665
1666 * sysdeps/unix/sysv/linux/msgget.c: Define __LIBC_IPC_INTERNAL.
1667 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1668 * sysdeps/unix/sysv/linux/semget.c: Likewise.
1669 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1670 * sysdeps/unix/sysv/linux/semop.c: Likewise.
1671 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
1672 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1673 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
1674
1675 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: New file.
1676 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: New file.
1677 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: New file.
1678
1679 * sysdeps/unix/sysv/linux/Versions: Add msgctl, semctl, shmctl.
1680
1681 2000-01-17 Jakub Jelinek <jakub@redhat.com>
1682
1683 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
1684 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
1685 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove setres[ug]id.
1686 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Kill warnings.
1687 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Define needed
1688 syscalls.
1689
1690 * sysdeps/unix/sysv/linux/pwrite64.c: Use proper prototype.
1691 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1692
1693 * sysdeps/unix/sysv/linux/kernel-features.h: [gs]etres[ug]id are
1694 available on sparc since 2.3.39.
1695
1696 * sysdeps/unix/sysv/linux/execve.c: Kill warnings.
1697
1698 2000-01-17 Jakub Jelinek <jakub@redhat.com>
1699
1700 * sysdeps/unix/sysv/linux/i386/chown.c (__syscall_chown): Use proper
1701 prototype.
1702 (__real_chown): Return EINVAL if owner or group are out of the range
1703 -1U .. 65534.
1704 * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
1705 * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
1706 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Return
1707 EINVAL if ruid, euid or suid are out of the range -1U .. 65534.
1708 * sysdeps/unix/sysv/linux/i386/setresgid.c (__setresgid): Similarly.
1709 * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Simplify.
1710 * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
1711 * sysdeps/unix/sysv/linux/m68k/chown.c (__syscall_chown): Use proper
1712 prototype.
1713 Don't include non-existant header.
1714 (__chown): Return EINVAL if owner or group are out of the range
1715 -1U .. 65534.
1716 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setresuid,
1717 setresgid): Inherit standard linux/syscalls.list definitions.
1718 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Remove.
1719 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Remove.
1720 * sysdeps/unix/sysv/linux/syscalls.list (setresgid): Provide
1721 __setresgid symbol.
1722
1723 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
1724
1725 * locale/iso-639.def: Update Hebrew, Yiddish, and Indonesian entry
1726 from 1989 change in ISO 639.
1727
1728 2000-01-12 Andreas Jaeger <aj@suse.de>
1729
1730 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): New
1731 function; needed for 32bit uid support.
1732
1733 * sysdeps/unix/sysv/linux/i386/xstat.c: New file, handles 32bit
1734 uids correctly.
1735
1736 2000-01-17 Ulrich Drepper <drepper@cygnus.com>
1737
1738 * intl/locale.alias: Add entries for galician.
1739
1740 * locale/programs/ld-ctype.c (get_character): If tok_ucs4 found, first
1741 try to get sequence from charmap with Uxxxxxxxx name.
1742 (charclass_ucs4_ellipsis): Likewise.
1743 (charclass_charcode_ellipsis): Allow byte sequence missing.
1744 (read_writestring): Free allocated memory in case of an error.
1745 (set_class_defaults): Don't search repertoire map for wide character
1746 default values; we know it's UCS4.
1747
1748 * locale/programs/repertoire.c (repertoire_find_value): Just return an
1749 error if no repertoire map was loaded.
1750 (repertoire_find_symbol): Likewise.
1751 (repertoire_find_seq): Likewise.
1752
1753 * posix/fnmatch.c: Put internal_fnmatch in separate file. Include
1754 twice, to define singlebyte and multibyte version.
1755 (fnmatch): Differentiate between singlebyte and multibyte locale and
1756 call appropriate internal function.
1757 * posix/fnmatch_loop.c: New file.
1758 * posix/Makefile (distribute): Add fnmatch_loop.c.
1759
1760 * locale/programs/repertoire.c (repertoire_read): Don't print
1761 error message when repertoire map is missing.
1762 (repertoire_complain): Print error message for missing map, but only
1763 once.
1764 * locale/programs/repertoire.h (repertoire_complain): Add prototype.
1765
1766 * locale/programs/linereader.c (get_string): Prefer getting names
1767 from charseq entries. Try finding Uxxxxxxxx names in charmap
1768 before trying to map from repertoire.
1769
1770 2000-01-16 Ulrich Drepper <drepper@cygnus.com>
1771
1772 * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix missing brace
1773 error in last change.
1774 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1775
1776 * stdlib/longlong.h: Fix typo in last patch.
1777
1778 2000-01-12 Andreas Jaeger <aj@suse.de>
1779
1780 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1781 Added for Linux 2.3.39+.
1782
1783 * sysdeps/unix/sysv/linux/getresgid.c: Support 32bit UIDs and
1784 32bit GIDs.
1785 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
1786 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1787 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1788 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1789 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1790 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1791 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1792 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1793 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1794 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1795 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1796 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1797 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1798 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1799 * sysdeps/unix/sysv/linux/setegid.c: Likewise.
1800
1801 * sysdeps/unix/sysv/linux/arm/chown.c: New file.
1802 * sysdeps/unix/sysv/linux/arm/fchown.c: New file.
1803 * sysdeps/unix/sysv/linux/arm/geteuid.c: New file.
1804 * sysdeps/unix/sysv/linux/arm/getegid.c: New file.
1805 * sysdeps/unix/sysv/linux/arm/getuid.c: New file.
1806 * sysdeps/unix/sysv/linux/arm/getgid.c: New file.
1807 * sysdeps/unix/sysv/linux/arm/lchown.c: New file.
1808 * sysdeps/unix/sysv/linux/i386/fchown.c: New file.
1809 * sysdeps/unix/sysv/linux/i386/getegid.c: New file.
1810 * sysdeps/unix/sysv/linux/i386/geteuid.c: New file.
1811 * sysdeps/unix/sysv/linux/i386/getgid.c: New file.
1812 * sysdeps/unix/sysv/linux/i386/getuid.c: New file.
1813 * sysdeps/unix/sysv/linux/i386/lchown.c: New file.
1814 * sysdeps/unix/sysv/linux/m68k/chown.c: New file.
1815 * sysdeps/unix/sysv/linux/m68k/fchown.c: New file.
1816 * sysdeps/unix/sysv/linux/m68k/getegid.c: New file.
1817 * sysdeps/unix/sysv/linux/m68k/geteuid.c: New file.
1818 * sysdeps/unix/sysv/linux/m68k/getgid.c: New file.
1819 * sysdeps/unix/sysv/linux/m68k/getuid.c: New file.
1820 * sysdeps/unix/sysv/linux/m68k/lchown.c: New file.
1821 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: New file.
1822 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: New file.
1823 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: New file.
1824 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: New file.
1825 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: New file.
1826 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: New file.
1827 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: New file.
1828 Based on a patch by Chris Wing <wingc@engin.umich.edu>.
1829
1830 2000-01-14 Jakub Jelinek <jakub@redhat.com>
1831
1832 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: New file.
1833
1834 2000-01-13 Jakub Jelinek <jakub@redhat.com>
1835
1836 * sysdeps/generic/backtrace.c: Include signal.h which
1837 sigcontextinfo.h headers are used to expect.
1838 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h
1839 (register_dump): Fix a typo in the printout.
1840 Avoid using reg_window, so that asm/ptrace.h is not necessary.
1841 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
1842 (ADVANCE_STACK_FRAME): Likewise.
1843
1844 * stdlib/longlong.h: Avoid using __sparc_v9__ ifdefs.
1845 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1846 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1847
1848 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Include bits/wordsize.h
1849 to make it clear this file depends on __WORDSIZE.
1850 * sysdeps/unix/sysv/linux/ftruncate64.c (__have_no_truncate64):
1851 Renamed from have_no_truncate64.
1852 * sysdeps/unix/sysv/linux/truncate64.c (__have_no_truncate64):
1853 Likewise.
1854
1855 2000-01-16 Ulrich Drepper <drepper@cygnus.com>
1856
1857 * Makeconfig (rpath-dirs): Remove db2.
1858 (dbojdir): Remove variable.
1859
1860 * locale/programs/locfile.h (handle_copy): Take repertoire map
1861 name as parameter, not pointer to repertoire structure.
1862 * locale/programs/ld-address.c: Change caller.
1863 * locale/programs/ld-ctype.c: Likewise.
1864 * locale/programs/ld-identification.c: Likewise.
1865 * locale/programs/ld-measurement.c: Likewise.
1866 * locale/programs/ld-messages.c: Likewise.
1867 * locale/programs/ld-monetary.c: Likewise.
1868 * locale/programs/ld-name.c: Likewise.
1869 * locale/programs/ld-numeric.c: Likewise.
1870 * locale/programs/ld-paper.c: Likewise.
1871 * locale/programs/ld-telephone.c: Likewise.
1872 * locale/programs/ld-time.c: Likewise.
1873
1874 2000-01-13 Ulrich Drepper <drepper@cygnus.com>
1875
1876 * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code generated if
1877 mmap2 is available when compiling but no at runtime.
1878
1879 2000-01-12 Ulrich Drepper <drepper@cygnus.com>
1880
1881 * iconvdata/iso-ir-165.c: New file.
1882 * iconvdata/iso-ir-165.h: New file.
1883 * iconvdata/Makefile: Add rules to build libISOIR165.
1884
1885 * Makefile (install): Correct passing -r parameter to ldconfig.
1886
1887 * iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203.
1888 Reported by Bruno Haible <haible@ilog.fr>.
1889
1890 2000-01-11 Andreas Schwab <schwab@suse.de>
1891
1892 * sysdeps/i386/fpu/libm-test-ulps: Adjust some epsilons.
1893
1894 2000-01-10 Thorsten Kukuk <kukuk@suse.de>
1895
1896 * nss/getent.c: Add ipv6 support for hosts.
1897
1898 2000-01-05 Philip Blundell <pb@futuretv.com>
1899
1900 * sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit,
1901 getrlimit64, setrlimit64 for GLIBC_2.1.3.
1902 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
1903 oldsetrlimit.
1904 * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file.
1905 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1906 * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
1907 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise.
1908 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise.
1909 * sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise.
1910
1911 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
1912 (sysdep_routines): Add oldgetrlimit64, oldsetrlimit64.
1913 [subdir=misc] (sysdep_headers): Add sys/elf.h.
1914
1915 2000-01-09 Andreas Jaeger <aj@suse.de>
1916
1917 * manual/install.texi (Tools for Compilation): Update required
1918 compiler version.
1919 (Configuring and compiling): Restore old comments about
1920 configparms; modify to reflect current usage.
1921
1922 2000-01-09 Philip Blundell <philb@gnu.org>
1923
1924 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name
1925 resolution if the hints included AI_NUMERICHOST.
1926
1927 2000-01-11 Andreas Schwab <schwab@suse.de>
1928
1929 * sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into
1930 infinite loop to avoid pulling in stdio in the dynamic linker.
1931 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1932
1933 2000-01-10 Andreas Jaeger <aj@suse.de>
1934
1935 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow
1936 change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to
1937 EM_MIPS_RS3_LE.
1938 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1939
1940 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t,
1941 gregset_t, fpregset_t, and NGREG definitions.
1942
1943 * sysdeps/mips/Implies: Add wordsize-32.
1944
1945 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing
1946 int's.
1947
1948 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add
1949 missing int's.
1950
1951 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support.
1952 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1953 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1954 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1955 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1956 * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1957 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1958
1959 2000-01-09 Philip Blundell <philb@gnu.org>
1960
1961 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0.
1962 (dl_platform_init): Allow _dl_platform to be NULL.
1963
1964 * sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in
1965 last change.
1966
1967 2000-01-08 Ulrich Drepper <drepper@cygnus.com>
1968
1969 * nscd/connections.c (handle_request): Handle systems without
1970 SO_PEERCRED.
1971 (nscd_run): Likewise.
1972
1973 2000-01-07 Andreas Jaeger <aj@suse.de>
1974
1975 Add support for Berkeley db 3.0.x and merge db support:
1976 * nss/nss_db/dummy-db.h (struct db30): New.
1977 (struct dbc30): New.
1978 Added DB30* flags.
1979
1980 * nss/makedb.c: Move all database routines to db-open.c.
1981 (main): Adjust to interface changes.
1982 Load database early to initialize version dependend variables.
1983
1984 * nss/db-open.c: Merge database routines from makedb.c.
1985 Define version dependend constansts as variables.
1986 (load_db): Check also for db 3.
1987 (internal_setent): Call dbopen.
1988 (db_cursor): New function from makedb; handles db 3 now.
1989 (dbopen): New function from makedb; handles db 3.
1990
1991 * nss/nss_db/db-XXX.c: Use db_notfound since the value is
1992 different in different DB versions.
1993
1994 * nss/nss_db/nss_db.h: Add version dependend constants as
1995 variables, add exportet interfaces from db-open.c.
1996
1997 * nss/Makefile ($(objpfx)makedb): Link against db-open.
1998
1999 2000-01-07 Ulrich Drepper <drepper@cygnus.com>
2000
2001 * misc/error.c: Don't use `defined _LIBC', only `_LIBC'.
2002 Reported by Jim Meyering.
2003
2004 * time/strftime.c: Pretty printing.
2005
2006 2000-01-07 Andreas Jaeger <aj@suse.de>
2007
2008 * manual/socket.texi (Host Names): Fix example.
2009 Reported by Marco Budde <budde@telos.de>.
2010
2011 2000-01-06 Ulrich Drepper <drepper@cygnus.com>
2012
2013 * localedata/Makefile (install-locales): Create locale directory
2014 if it does not exist.
2015
2016 * locale/programs/charmap.c (charmap_read): Call lr_open here and
2017 not in parse_charmap. Try also the directories on the I18NPATH.
2018 (parse_charmap): Change accordingly.
2019
2020 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
2021
2022 * sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c
2023 and oldsetrlimit64.c.
2024
2025 * sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and
2026 sys/procfs.h.
2027
2028 * manual/texinfo.tex: Updated from latest official version.
2029
2030 * debug/Makefile (distribute): Add frame.h.
2031
2032 2000-01-05 Philip Blundell <philb@gnu.org>
2033
2034 * sysdeps/arm/frame.h: New file.
2035 * sysdeps/generic/frame.h: Likewise.
2036 * sysdeps/generic/segfault.c (struct layout): Delete definition;
2037 include the above file instead.
2038 * sysdeps/generic/backtrace.c (struct layout): Likewise.
2039 (__backtrace): Use ADVANCE_STACK_FRAME.
2040 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
2041 (ADVANCE_STACK_FRAME): New macro.
2042 (GET_FRAME): Apply above to returned value.
2043
2044 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'.
2045
2046 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
2047
2048 * sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW.
2049 Patch by YOSHIFUJI Hideaki <yoshifuji@ecei.tohoku.ac.jp>.
2050
2051 * io/ftw.c (process_entry): Cache object dev/inode only for
2052 directories (PR libc/1514).
2053
2054 2000-01-05 Andreas Schwab <schwab@suse.de>
2055
2056 * locale/programs/charmap.c (charmap_read): Fix typo.
2057
2058 2000-01-05 Ulrich Drepper <drepper@cygnus.com>
2059
2060 * locale/programs/charset.c: Removed.
2061
2062 * iconvdata/Makefile: Add rules for ISO-8859-16 module.
2063 * iconvdata/gconv-modules: Likewise.
2064 * iconvdata/iso8859-16.c: New file.
2065
2066 2000-01-05 Andreas Schwab <schwab@suse.de>
2067
2068 * iconv/iconv_prog.c (process_block): Add cast to avoid warning.
2069
2070 2000-01-05 Andreas Jaeger <aj@suse.de>
2071
2072 * intl/locale.alias: Add lithunian entry.
2073 Reported by Kestutis Kupciunas <kesha@soften.ktu.lt>, PR libc/1507.
2074
2075 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
2076
2077 * locale/programs/stringtrans.c: Removed.
2078 * locale/programs/stringtrans.h: Removed.
2079 * locale/programs/linereader.c: Remove #include of stringtrans.h.
2080
2081 * locale/findlocale.c (_nl_find_locale): Don't try using mmap is
2082 _POSIX_MAPPED_FILES is not defined.
2083
2084 * locale/findlocale.c (_nl_find_locale): Correct memory allocation
2085 for loc_name copy.
2086
2087 * locale/setlocale.c (new_composite_name): Use _nl_C_name and
2088 _nl_POSIX_name instead of "C" and "POSIX" strings.
2089
2090 * ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower.
2091 (__ctype32_toupper): Use _nl_C_CTYPE_toupper.
2092 * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed. We can
2093 reuse the _nl_C_LC_CTYPE_tolower table.
2094 (_nl_C_LC_CTYPE_toupper32): Likewise.
2095 (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and
2096 toupper32 entries.
2097
2098 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for
2099 characters >= 0x80.
2100 (_nl_C_LC_CTYPE_class32): Likewise.
2101
2102 * rt/aio.h (struct aioinit): Replace one aio_reserved value with
2103 aio_idle_time.
2104 * rt/aio_misc.c: Rewrite to not automatically terminate worker threads
2105 after the operation is done. Let them linger for a user-definable
2106 time.
2107 * rt/aio_cancel.c: Likewise.
2108 Patch by Willian M Shubert <william.m.shubert@intel.com>.
2109
2110 * sysdeps/i386/i686/add_n.S: New file.
2111
2112 2000-01-02 Philip Blundell <philb@gnu.org>
2113
2114 * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference
2115 to obtain port mapping information. Avoid use of mprotect.
2116
2117 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
2118
2119 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add
2120 definition from 2.3.36.
2121
2122 2000-01-04 Andreas Jaeger <aj@suse.de>
2123
2124 * nss/nss_db/dummy-db.h (struct db24): Add missing field flags.
2125 (struct db27): Add missing fields byteswapped, join and flags;
2126 remove wrong member handleq.
2127 (struct dbc27): Correct lock field.
2128
2129 * nss/makedb.c: Remove __P.
2130
2131 2000-01-04 Andreas Jaeger <aj@suse.de>
2132
2133 * nss/nss_db/db-open.c (internal_setent): Check for db_open for
2134 success, fix a memory leak and clean up function.
2135
2136 2000-01-04 Ulrich Drepper <drepper@cygnus.com>
2137
2138 * Makefile (install): Pass $(install_root) to ldconfig.
2139 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
2140
2141 2000-01-03 Jakub Jelinek <jakub@redhat.com>
2142
2143 * soft-fp/op-1.h: Fix division for machines using not normalizing
2144 version of udiv_qrnnd in longlong.h.
2145 * soft-fp/sysdeps/mips/sfp-machine.h: Likewise.
2146 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise.
2147 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise.
2148 Patch by Eddie C. Dost <ecd@skynet.be>.
2149
2150 * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h.
2151
2152 2000-01-03 Andreas Schwab <schwab@suse.de>
2153
2154 * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs,
2155 needed for change in common symbol handing in newer binutils.
2156
2157 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
2158
2159 * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on
2160 kernel without mmap2 syscall.
2161
2162 2000-01-03 Philip Blundell <philb@gnu.org>
2163
2164 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL,
2165 __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on
2166 ARM for kernels >= 2.3.35.
2167
2168 2000-01-03 Philip Blundell <philb@gnu.org>
2169
2170 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias.
2171 Optimise error handling a little.
2172 * sysdeps/unix/sysv/linux/arm/mmap64.S: New file.
2173
2174 2000-01-03 Andreas Jaeger <aj@suse.de>
2175
2176 * include/resolv.h: Remove declarations for __ns_name_ntop and
2177 __ns_name_unpack since those are available in resolv/arpa/nameser.h.
2178
2179 2000-01-03 Andreas Jaeger <aj@suse.de>
2180
2181 * time/tst-strptime.c (test_tm): Add tests for all fields of
2182 struct tm.
2183
2184 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
2185
2186 * string/bits/string2.h (__strsep_g): Don't handle empty __S special.
2187
2188 2000-01-03 Andreas Jaeger <aj@suse.de>
2189
2190 * string/tester.c (test_strsep): Add one more test.
2191
2192 2000-01-03 Philip Blundell <philb@gnu.org>
2193
2194 * string/tester.c (test_mempcpy): New function.
2195 (main): Call it.
2196 (test_memcpy): Test unaligned cases too.
2197
2198 * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define.
2199
2200 * sysdeps/arm/fpu/bits/mathdef.h: New file.
2201
2202 2000-01-02 Ulrich Drepper <drepper@cygnus.com>
2203
2204 * posix/Makefile (tests): Add tst-mmap.
2205 * posix/tst-mmap.c: New file.
2206
2207 * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2
2208 call before handling error.
2209
2210 * sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets.
2211 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2212
2213 * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for
2214 0xa2e6 and 0xa2e7.
2215 (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC.
2216 * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new
2217 mappings.
2218 * iconvdata/testdata/EUC-KR: Add Euro and Registered sign.
2219 * iconvdata/testdata/ISO-2022-KR: Likewise.
2220
2221 * sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger.
2222
2223 * iconvdata/gconv-modules: Remove BALTIC. It's the same as
2224 ISO-8859-13.
2225 * iconvdata/Makefile (distribute): Remove baltic.c.
2226 (modules): Remove BALTIC.
2227 (gen-8bit-gap-modules): Remove baltic.
2228 * iconvdata/baltic.c: Removed.
2229
2230 * sysdeps/posix/system.c: Correct return value for LINE == NULL.
2231
2232 * signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.
2233
2234 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix
2235 typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL).
2236 Reported by Philip Blundell <Philip.Blundell@pobox.com>.
2237
2238 * nss/Makefile: Add rules to build makedb.
2239 * nss/nss_db/nss_db.h: Add definitions needed for makedb.
2240 * nss/nss_db/dummy-db.h: Likewise.
2241 * nss/makedb.c: New file. Copied from file in db2, modified to not
2242 depend on being linked against libdb.
2243
2244 2000-01-01 Ulrich Drepper <drepper@cygnus.com>
2245
2246 * Makeconfig (all-subdirs): Remove db and db2.
2247 * db/*: Removed.
2248 * db2/*: Removed.
2249
2250 * nss/nss_db/db-XXX.c: Move internal_setent and internal_endent
2251 functions from here...
2252 * nss/db-alias.c: ...and here...
2253 * nss/db-netgrp.c: ...and here...
2254 * nss/nss_db/db-open.c: ...to here. New file.
2255 * nss/nss_db/dummy-db.h: New file.
2256 * nss/nss_db/nss_db.h: New file.
2257 * nss/Depend: Depend in dlfcn, not db2.
2258 * nss/Makefile (libnss_db-routines): Add db-open.
2259 (distribute): Add nss_db.h dummy-db.h.
2260 (libnss_db.so): Replace libdb dependency by $(libdl).
2261 Based on a patch by Zack Weinberg.
2262
2263 * locale/programs/ld-ctype.c: Implement rest of transliteration
2264 definition parsing.
2265 * locale/programs/locfile-kw.gperf: New keyword translit_ignore.
2266 * locale/programs/locfile-token.h: Add tok_translit_ignore.
2267
2268 1999-12-31 Ulrich Drepper <drepper@cygnus.com>
2269
2270 * locale/programs/ld-collate.c (collate_output): Emit correct
2271 information for collation elements.
2272 Don't write over end of array idx.
2273 * posix/regex.c: Handle also collation elements at end of range.
2274
2275 * posix/PTESTS: Fix a few typos.
2276
2277 * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX. I have
2278 no idea where this came from.
2279 * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling.
2280
2281 1999-12-31 Andreas Jaeger <aj@suse.de>
2282
2283 * libio/strfile.h: Remove K&R compatibility.
2284 * locale/langinfo.h: Likewise.
2285 * locale/localeconv.c (localeconv): Likewise.
2286 * locale/programs/simple-hash.h: Likewise.
2287 * nis/nis_xdr.h: Likewise.
2288 * nis/rpcsvc/nislib.h: Likewise.
2289 * nis/rpcsvc/nis_callback.h: Likewise.
2290 * nis/rpcsvc/nis.h: Likewise.
2291 * nis/ypclnt.c: Likewise.
2292 * nscd/nscd_proto.h: Likewise.
2293 * nscd/nscd.c: Likewise.
2294 * sysdeps/generic/inttypes.h: Likewise.
2295 * sysdeps/gnu/utmpx.h: Likewise.
2296
2297 * nis/nis_intern.h: Remove K&R compatibility; add missing ints.
2298 * sunrpc/rpcsvc/rusers.x: Likewise.
2299
2300 * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat.
2301
2302 * elf/dl-misc.c: Remove __libc_write prototype since it's already
2303 in include/unistd.h.
2304 * elf/dl-profile.c: Likewise.
2305 * elf/dl-load.c: Likewise for __libc_read.
2306
2307 * elf/dl-profile.c: Remove __P.
2308 * elf/sprof.c: Likewise.
2309 * elf/sln.c: Likewise.
2310
2311 1999-12-31 Ulrich Drepper <drepper@cygnus.com>
2312
2313 * locale/langinfo.h: Add constants for wide character collation
2314 symbol table.
2315 * locale/categories.def: Add appropriate entries for collate symbol
2316 table entries.
2317 * locale/C-collate.c: Add initializers for new entries.
2318 Remove commented out code.
2319 * locale/elem-hash.h: New file.
2320 * locale/Makefile (distribute): Add elem-hash.h.
2321 * locale/programs/ld-collate.c: Implement output of collate symbol
2322 table.
2323
2324 * posix/regex.c: Implement collation class handling.
2325
2326 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
2327
2328 * posix/regex.c (regex_compile): Implement equivalence class handling.
2329
2330 1999-12-30 Geoffrey Keating <geoffk@cygnus.com>
2331
2332 * sysdeps/powerpc/dl-machine.c: Many minor formatting changes.
2333 (OPCODE_LWZU): New macro.
2334 (OPCODE_ADDIS_HI): New macro.
2335 (OPCODE_LIS_HI): New macro.
2336 (__elf_machine_runtime_setup): Change PLT code-generation scheme
2337 for thread safety even with very large PLTs, better efficiency,
2338 and to fix a cache-flushing bug. Also support the Motorola
2339 8xx processors which have a different cache line size than all
2340 the others.
2341 (__elf_machine_fixup_plt): Likewise.
2342 (__process_machine_rela): Don't use elf_machine_fixup_plt.
2343
2344 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
2345
2346 * wcsmbs/wcscoll.c: Use multibyte character version.
2347 * wcsmbs/wcsxfrm.c: Likewise.
2348 * string/strcoll.c: Prepare to be used for the wide character version.
2349 * string/strxfrm.c: Likewise.
2350 * locale/weightwc.h: New file.
2351
2352 1999-12-30 Geoff Keating <geoffk@cygnus.com>
2353
2354 * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove
2355 the (void) casts as now feraiseexcept returns a value.
2356 (feclearexcept): Likewise.
2357
2358 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0',
2359 it interferes with the macros for AIX.
2360
2361 1999-12-30 Ulrich Drepper <drepper@cygnus.com>
2362
2363 * locale/programs/ld-collate.c (collate_finish): Always define
2364 weight for UNDEFINED if not defined by the user but don't complain
2365 unless it is needed in the multibyte character table.
2366 (collate_output): Add extra dummy elements in wide char tables in the
2367 same way done for multibyte. Always output undefined entry in
2368 wide character table.
2369
2370 * locale/Makefile (categories): Remove commented-out old definition.
2371
2372 * locale/programs/ld-collate.c (insert_value): Don't pass wide string
2373 to new_element if the wide char is not valid.
2374 (handle_ellipsis): Likewise.
2375 (collate_read): It's no problem if the string in the collating element
2376 definition cannot be represented as multibyte or wide char string.
2377
2378 1999-12-13 Andreas Jaeger <aj@suse.de>
2379
2380 * resolv/resolv.h: Remove K&R compatibility.
2381
2382 * resolv/res_libc.c: Move definition of _res after res_init,
2383 res_init should use the threaded specific context.
2384
2385 * resolv/Makefile (+cflags): Remove -Wno-comment since it's not
2386 needed anymore.
2387
2388 1999-12-29 Ulrich Drepper <drepper@cygnus.com>
2389
2390 * locale/langinfo.h: Add constants for wide character collation data.
2391 * locale/categories.def: Add appropriate entries for collate entries.
2392 * locale/C-collate.c: Add initializers for new entries.
2393 * locale/programs/ld-collate.c: Implement output of wide character
2394 tables.
2395
2396 * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to
2397 compute wide character table size a bit: it now gives up a bit of
2398 total table size for fewer levels.
2399
2400 * soft-fp/*: Tons of new files to implement floating-point arithmetic
2401 in software.
2402 Contributed by Richard Henderson, Jakub Jelinek and others.
2403
2404 1999-12-29 Andreas Jaeger <aj@suse.de>
2405
2406 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include
2407 <asm/io.h>; remove K&R compatibility; add missing ints.
2408
2409 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility,
2410 add missing ints.
2411
2412 * sysdeps/unix/sysv/linux/sys/io.h: Don't include <asm/io.h>.
2413
2414 1999-12-29 Andreas Jaeger <aj@suse.de>
2415
2416 * manual/getopt.texi (Using Getopt): Document ordering of options.
2417
2418 1999-12-29 Andreas Jaeger <aj@suse.de>
2419
2420 * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek.
2421 Requested by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2422
2423 1999-12-14 Andreas Jaeger <aj@suse.de>
2424
2425 * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux
2426 2.3.32.
2427
2428 1999-12-28 Jakub Jelinek <jakub@redhat.com>
2429
2430 * elf/sprof.c (load_shobj): Fix error message.
2431 (generate_call_graph): Cast %*s length argument to int.
2432 * locale/programs/localedef.c (construct_output_path): Likewise.
2433 * locale/programs/ld-ctype.c (ctype_finish): Use proper format
2434 specifier.
2435 (ctype_class_new): Likewise.
2436 * locale/programs/ld-time.c (time_finish): Likewise.
2437 * sunrpc/svc_simple.c (register_rpc): Likewise.
2438 * nscd/connections.c (nscd_run, start_threads): Use long instead of
2439 int to avoid cast warnings.
2440 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill
2441 warning.
2442 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused
2443 variable se.
2444
2445 * time/strftime.c (my_strftime): Provide wide era string when
2446 requested.
2447
2448 * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl):
2449 Separate into 32bit and 64bit versions.
2450
2451 1999-12-28 Ulrich Drepper <drepper@cygnus.com>
2452
2453 * iconvdata/Makefile (modules): Add ISO-2022-CN.
2454 Add link rules for this module.
2455 (distribute): Add iso-2022-cn.c and cns11643l2.h.
2456 * iconvdata/cns11643l2.h: New file.
2457 * iconvdata/iso-2022-cn.c: New file.
2458 * iconvdata/gconv-modules: Add entries for ISO-2022-CN module.
2459
2460 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument
2461 unsigned.
2462 (ucs4_to_cns11643l1): Likewise.
2463 * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4.
2464
2465 * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion
2466 loop to UCS4.
2467 Optimize recognition of escape sequences a bit.
2468
2469 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
2470 and oldsetrlimit definitions.
2471
2472 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
2473
2474 * iconvdata/run-iconv-test.sh: Improve test output a bit to allow
2475 identifying errors more easily.
2476
2477 * iconvdata/testdata/EUC-CN..UTF8: New file.
2478 * iconvdata/testdata/GBK..UTF8: New file.
2479
2480 * iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined
2481 mappings. Fix last patch.
2482 * iconvdata/TESTS: Add GBK.
2483 * iconvdata/testdata/GBK: New file.
2484
2485 * iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101,
2486 0x2312, and 0x2500..0x254b.
2487 * iconvdata/TESTS: Add EUC-CN.
2488 * iconvdata/testdata/EUC-CN: New file.
2489
2490 * iconvdata/gbgbk.c: New file.
2491 * iconvdata/Makefile (modules): Add GBGBK.
2492 (distribute): Add gbgbk.c.
2493 * iconvdata/gconv-modules: Add entries for GBGBK modules.
2494
2495 * iconvdata/euc-cn.c: Fix comment.
2496
2497 * iconvdata/gbk.c: Optimize the switch statement in the conversion
2498 to GBK a bit.
2499
2500 * locale/programs/charmap.c (charmap_new_char): Recognize special
2501 character names Uxxxx and Pxxxx and initialize the UCS4 value from
2502 the value of xxxx.
2503
2504 1999-12-17 Andreas Jaeger <aj@suse.de>
2505
2506 * stdlib/Versions: Export __cxa_atexit and __cxa_finalize.
2507
2508 1999-12-16 Mark Mitchell <mark@codesourcery.com>
2509
2510 * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize.
2511 * stdlib/exit.h (flavor): Add ef_cxa.
2512 (exit_function): Add cxa variant.
2513 * stdlib/exit.c (exit): Handle ef_cxa exit functions.
2514 * stdlib/cxa_atexit.c: New file.
2515 * stdlib/cxa_finalize.c: New file.
2516
2517 1999-12-27 Ulrich Drepper <drepper@cygnus.com>
2518
2519 * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest
2520 Unicode tables.
2521
2522 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
2523
2524 * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to
2525 __have_no_stat64.
2526 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2527 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2528
2529 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion
2530 of <asm/resource.h>.
2531
2532 1999-12-26 Philip Blundell <philb@gnu.org>
2533
2534 * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86. Set
2535 argument count for `syscall' to 7.
2536 * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls
2537 with more than five arguments.
2538 (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
2539
2540 1999-12-26 Ulrich Drepper <drepper@cygnus.com>
2541
2542 * locale/programs/ld-collate.c (collate_output): Don't start with empty
2543 extrapool and indirectpool obstacks since we need the offsets to be
2544 nonzero.
2545 (collate_read): Call load_locale, not find_locale.
2546 * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category
2547 wasn't defined in the file also initialize repertoire if possible.
2548 * locale/programs/ld-time.c (time_finish): Fix message string.
2549 * locale/programs/linereader.c: Cast parameters of lr_error to
2550 correct type to prevnet warning.
2551 * locale/programs/localedef.c (load_locale): New file.
2552 * locale/programs/localedef.h: Add its prototype.
2553 * locale/programs/repertoire.c (repertoire_new_char): Add missing
2554 parameters to lr_error call.
2555
2556 * localedata/Makefile: Enable running tests again.
2557 * localedata/tests/test2.def: Adjust syntax to new specification.
2558 * localedata/tests/test3.def: Likewise.
2559 * localedata/tst-trans.sh: Redirect output of program into file.
2560
2561 * string/strcoll.c: Fix many error in new implementation to make it
2562 pass (at least) the test suite.
2563
2564 * locale/Makefile: Don't link localedef statically anymore.
2565
2566 * locale/ld-collate.c (struct element_t): Add field is_character and
2567 use it to distinguish real character from collating elements and
2568 symbols.
2569 (new_element): Take new parameter to initialize is_character. Change
2570 all callers.
2571 (handle_ellipsis): Use is_character field to make sure ellipsis is
2572 only used with characters.
2573 (collate_read): Fix reading of collating elements.
2574
2575 * string/strxfrm.c: Correct loop end detection and memory access
2576 in the little optimization at the end.
2577
2578 * locale/programs/ld-monetary.c (monetary_finish): Correct code to
2579 emit warnings. Provide default value for mon_decimal_point.
2580
2581 * locale/programs/ld-collate.c (collate_finish): Don't crash if this
2582 category wasn't defined.
2583 (collate_output): Likewise.
2584
2585 * locale/programs/ld-address.c: Don't emit message about not defined
2586 category if be_quiet.
2587 * locale/programs/ld-ctype.c: Likewise.
2588 * locale/programs/ld-identification.c: Likewise.
2589 * locale/programs/ld-measurement.c: Likewise.
2590 * locale/programs/ld-messages.c: Likewise.
2591 * locale/programs/ld-monetary.c: Likewise.
2592 * locale/programs/ld-name.c: Likewise.
2593 * locale/programs/ld-numeric.c: Likewise.
2594 * locale/programs/ld-paper.c: Likewise.
2595 * locale/programs/ld-telephone.c: Likewise.
2596 * locale/programs/ld-time.c: Likewise.
2597
2598 * locale/programs/locfile.c (write_locale_data): Correct memory
2599 allocation for fname.
2600
2601 1999-12-25 Ulrich Drepper <drepper@cygnus.com>
2602
2603 * locale/programs/ld-collate.c (read_directions): Fix a few messages.
2604 (collate_finish): Test that position is used in all sections for
2605 a level or in none.
2606
2607 * string/strxfrm.c: Optimize a bit. We don't need the highest bit
2608 of the index returned by findidx.
2609
2610 * string/strcoll.c: Complete rewrite for new collate implementation.
2611 * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation
2612 locally.
2613
2614 * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the
2615 indirect table.
2616 * locale/langinfo.h: Likewise.
2617 * locale/categories.def: Likewise. Remove reference to postload
2618 functions.
2619 * locale/lc-collate.c (_nl_postload_collate): Removed. Also remove
2620 __collate_tablemb, __collate_weightmb, and __collate_extramb.
2621 * locale/localeinfo.h: Remove declaration for removed variables above.
2622 Remove prototype for _nl_get_era_entry.
2623 * locale/weight.h: Complete rewrite for new collate implementation.
2624 * locale/programs/ld-collate.c: Many changes to make output file
2625 usable in strxfrm/strcoll.
2626 * string/strxfrm.c: Complete rewrite for new collate implementation.
2627 * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation
2628 locally.
2629
2630 1999-12-25 Shinya Hanataka <hanataka@abyss.rim.or.jp>
2631
2632 * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign
2633 transformation values for chars >255.
2634 * wctype/wctrans.c: Return pointer unmodified.
2635
2636 1999-12-24 Ulrich Drepper <drepper@cygnus.com>
2637
2638 * sysdeps/posix/system.c (__libc_system): Check whether command
2639 processor is available if LINE is NULL. Don't return immediately
2640 if wait call returned with EINTR.
2641 Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
2642
2643 1999-12-23 Ulrich Drepper <drepper@cygnus.com>
2644
2645 * locale/programs/ld-monetary.c (monetary_finish): Add cast to
2646 prevent warning.
2647
2648 * locale/programs/ld-collate.c: Implement writing out multibyte
2649 collation data.
2650
2651 * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again.
2652 * locale/localeinfo.h: Declare variables only for currently implemented
2653 collate functionality. Remove FORWARD_CHAR and ELLIPSIS_CHAR.
2654 * locale/lc-collate.c: Define variables only for currently implemented
2655 functionality.
2656 * locale/langinfo.h: Define symbols only for currently implemented
2657 functionality.
2658 * locale/categories.def: Define elements for currently implemented
2659 functionality.
2660 * locale/C-collate.c: Comment out definitions of arrays with symbol
2661 name definitions etc.
2662 (_nl_C_LC_COLLATE): Update for currently defined information.
2663
2664 * intl/libintl.h: Remove dcgettext macro definition.
2665 * intl/gettextP.h: Declare _nl_msg_cat_cntr.
2666
2667 * locale/iso-4217.def: Add NAD. Remove a few obsolete entries.
2668
2669 * sysdeps/generic/glob.c (glob): Pass alternate file access functions
2670 also in recursive call. Patch by Joe Orton <joe@orton.demon.co.uk>.
2671
2672 1999-12-22 Jakub Jelinek <jakub@redhat.com>
2673
2674 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type
2675 for __fenv_stfsr argument.
2676 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
2677 truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
2678 Remove ugetrlimit.
2679 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
2680 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
2681 (XSTAT_IS_XSTAT64): Define.
2682 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add
2683 __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite
2684 and __libc_pwrite64.
2685 Remove oldgetrlimit and oldsetrlimit.
2686 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file.
2687 * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file.
2688 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file.
2689
2690 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf
2691 pointer to the syscall, not address of that pointer.
2692 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2693 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2694 (__syscall_stat64): Provide proper prototype.
2695
2696 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share
2697 has_no_truncate64 between truncate64 and ftruncate64.
2698 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
2699
2700 * sysdeps/unix/sysv/linux/kernel-features.h
2701 (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
2702 __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35.
2703
2704 1999-12-22 Andreas Jaeger <aj@suse.de>
2705
2706 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
2707 __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.
2708
2709 1999-12-21 Shinya Hanataka <hanataka@abyss.rim.or.jp>
2710
2711 * locale/lc-time.c: Extend structure era_entry.
2712 * locale/localeinfo.h: Likewise.
2713 * locale/lc-time.c: Handle '-' direction used in locale's era part
2714 properly.
2715 * time/strptime.c: Likewise.
2716 * time/strftime.c: Likewise.
2717 * locale/programs/ld-time.c: Consider negative values in era part
2718 of locale as B.C..
2719 * time/strptime.c (strptime_internal): Merged Yoshiyama's
2720 %E[CyY] implementation.
2721
2722 1999-12-21 Akira Yoshiyama <yosshy@debian.or.jp>
2723
2724 * time/strptime.c (strptime_internal): Fix segV bugs of a couple
2725 of recursive() call.
2726 * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
2727 parsing.
2728
2729 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
2730
2731 * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
2732 Patch by Scott Bambrough <scottb@netwinder.org>.
2733
2734 1999-12-21 Andreas Schwab <schwab@suse.de>
2735
2736 * sysdeps/unix/sysv/linux/pread.c: Fix typo.
2737
2738 * include/unistd.h: Declare __libc_lseek.
2739
2740 1999-12-21 Andreas Jaeger <aj@suse.de>
2741
2742 * stdlib/longlong.h: Remove __P.
2743
2744 1999-12-21 Andreas Jaeger <aj@suse.de>
2745
2746 * sysdeps/powerpc/fpu/libm-ulps: New file.
2747
2748 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
2749
2750 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h
2751 and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.
2752
2753 1999-12-21 Andreas Jaeger <aj@suse.de>
2754
2755 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #.
2756 * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise.
2757 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise.
2758 * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #.
2759 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2760 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2761 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2762 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2763 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2764 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #.
2765 * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise.
2766 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.
2767
2768 1999-12-21 Ulrich Drepper <drepper@cygnus.com>
2769
2770 * sysdeps/unix/sysv/linux/i386/getmsg.c: New file.
2771 * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file.
2772 * sysdeps/unix/sysv/linux/i386/putmsg.c: New file.
2773 * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file.
2774 * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file.
2775 * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file.
2776 * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file.
2777 * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file.
2778 * sysdeps/unix/sysv/linux/mips/getmsg.c: New file.
2779 * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file.
2780 * sysdeps/unix/sysv/linux/mips/putmsg.c: New file.
2781 * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file.
2782 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file.
2783 * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file.
2784 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file.
2785 * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file.
2786 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and
2787 putpmsg.
2788
2789 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
2790
2791 * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h"
2792 before testing for __ASSUME_STAT64_SYSCALL.
2793 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2794 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2795
2796 1999-12-20 Andreas Schwab <schwab@suse.de>
2797
2798 * manual/install.texi (Running make install): Clearify that
2799 install_root should be an absolute file name.
2800
2801 1999-12-20 Ulrich Drepper <drepper@cygnus.com>
2802
2803 * iconv/gconv.c (__gconv): Deal with outbuf being NULL.
2804
2805 * iconv/iconv.c (iconv): Allow omitting output buffer if no input
2806 buffer is given to place conversion descriptor in initial state.
2807 * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
2808 CSPC862LATINHEBREW.
2809 * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
2810 (according to IANA registry).
2811 Reported by Bruno Haible <haible@ilog.fr>.
2812
2813 * iconvdata/johab.c: Correct completely broken conversion to JOHAB.
2814
2815 * locale/categories.def: Remove most of the collate definitions.
2816 * locale/langinfo.h: Comment out corresponding definitions.
2817 * locale/programs/locale-spec.c (locale_special): Don't recognize the
2818 collate names yet.
2819 * locale/programs/ld-collate.c: Correct and optimize computation of
2820 weights. Set up list of all definitions correctly. Start writing
2821 function to generate output file.
2822
2823 * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
2824 loop to compute default mapping.
2825
2826 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
2827
2828 * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
2829 cancelation wrapper.
2830 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
2831 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
2832 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2833
2834 1999-12-19 Andreas Jaeger <aj@suse.de>
2835
2836 * sysdeps/generic/libc-start.c: Remove declaration of
2837 __libc_open. Move declaration of __libc_fcntl to ...
2838 * include/fcntl.h: ...here.
2839
2840 * include/unistd.h: Move __libc_open and __libc_open64 to ...
2841 * include/fcntl.h: ...here.
2842
2843 * malloc/malloc.h (__attribute_malloc__): Only define if hasn't
2844 happened yet.
2845
2846 * malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
2847 rename label.
2848
2849 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
2850
2851 * sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
2852 inclusion.
2853
2854 1999-12-19 Andreas Jaeger <aj@suse.de>
2855
2856 * include/string.h: Mark __strndup with __attribute_malloc__.
2857
2858 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
2859
2860 * locale/langinfo.h: Always define CODESET.
2861 (CODESET): Define also as macro.
2862
2863 * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
2864 generate mantissa output in using malloc if it is larger than
2865 20000 characters.
2866 Reported by Jim Meyering <meyering@ascend.com>.
2867
2868 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
2869
2870 * misc/sys/cdefs.h: Define __attribute_malloc__ according to
2871 available gcc version.
2872 * string/string.h: Mark strdup, __strdup, and strndup with
2873 __attribute_malloc__.
2874 * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
2875 __attribute_malloc__.
2876 * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
2877 and __default_morecore with __attribute_malloc__.
2878 Provide default definition for __attribute_malloc__.
2879 * libio/stdio.h: Make tempnam with __attribute_malloc__.
2880
2881 * include/unistd.h: Declare __libc_open64, __libc_lseek64,
2882 __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
2883 * io/Versions: Export __libc_open64 and __libc_lseek64.
2884 * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
2885 and __libc_pwrite64.
2886 * sysdeps/generic/open64.c: Define __libc_* variant for cancelation
2887 wrapper.
2888 * sysdeps/generic/pread.c: Likewise.
2889 * sysdeps/generic/pread64.c: Likewise.
2890 * sysdeps/generic/pwrite.c: Likewise.
2891 * sysdeps/generic/pwrite64.c: Likewise.
2892 * sysdeps/posix/open64.c: Likewise.
2893 * sysdeps/posix/pread.c: Likewise.
2894 * sysdeps/posix/pread64.c: Likewise.
2895 * sysdeps/posix/pwrite.c: Likewise.
2896 * sysdeps/posix/pwrite64.c: Likewise.
2897 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
2898 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2899 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2900 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2901 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2902 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
2903 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
2904 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
2905 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
2906
2907 * sysdeps/posix/open64.c: Help gcc generating better code.
2908
2909 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
2910 instead of __open.
2911
2912 1999-12-11 H.J. Lu <hjl@gnu.org>
2913
2914 * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
2915 instead of __fcntl.
2916
2917 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
2918
2919 * iconvdata/isiri-3342.c: New file.
2920 * iconvdata/Makefile (modules): Add ISIRI-3342.
2921 (distribute): Add isiri-3342.c.
2922 (gen-8bit-gap-modules): Add isiri-3342.
2923 * iconvdata/gconv-modules: Add entries for ISIRI-3342.
2924
2925 * malloc/Versions: Export __libc_freeres for GLIBC_2.1.
2926
2927 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable
2928 result if necessary.
2929
2930 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the
2931 unreliable kernel headers.
2932 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2933 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
2934 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
2935 * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.
2936
2937 1999-12-18 Andreas Jaeger <aj@suse.de>
2938
2939 * config.make.in (datadir): Added.
2940 Closes PR libc/1491. Patch by dervishd@jazzfree.com.
2941
2942 1999-12-18 Andreas Jaeger <aj@suse.de>
2943
2944 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and
2945 set errno.
2946 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
2947
2948 1999-12-18 Andreas Jaeger <aj@suse.de>
2949
2950 * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
2951 syscall if available.
2952 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
2953 * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.
2954
2955 * sysdeps/unix/sysv/linux/kernel-features.h
2956 (__ASSUME_STAT64_SYSCALL): New.
2957
2958 1999-12-17 Scott Bambrough <scottb@netwinder.org>
2959
2960 * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
2961 cache flush.
2962 * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
2963 after .text segment fixups.
2964
2965 1999-12-16 Andreas Jaeger <aj@suse.de>
2966
2967 * rt/aio.h: Remove erroneous __restrict declarations.
2968
2969 1999-12-18 Ulrich Drepper <drepper@cygnus.com>
2970
2971 * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
2972 do the job if it is there neither.
2973 Patch by David R. Conrad <drc@adni.net> (PR libc/1485).
2974
2975 1999-12-16 Andreas Jaeger <aj@suse.de>
2976
2977 * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
2978 duplicate definition with function __nan.
2979 Closes PR libc/1487 reported by <diana@kai.com>.
2980
2981 1999-12-17 Ulrich Drepper <drepper@cygnus.com>
2982
2983 * string/bits/string2.h (__strsep): Help gcc optimizing string access.
2984
2985 * locale/programs/ld-collate.c: Implement handling of absolute
2986 ellipsis. Parsing of file and constructing the internal data
2987 structures should now be complete.
2988 (collate_finish): Start adding support to generate the data
2989 structures which are written out to the file.
2990
2991 * intl/dcgettext.c: Rewrite to handle caching of previous results here
2992 instead of in the dcgettext macro.
2993 * intl/libintl.h (dcgettext): Don't define for systems using this
2994 glibc or systems with tsearch.
2995
2996 * sysdeps/generic/mathdef.h: Protect definitions for math.h
2997 against double inclusion.
2998 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
2999 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
3000 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
3001 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
3002
3003 * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
3004 that different?).
3005
3006 1999-12-17 Andreas Jaeger <aj@suse.de>
3007
3008 * rt/aio.h (struct aiocb64): Add member __next_prio to sync the
3009 struct with aiocb.
3010
3011 * rt/Makefile (tests): Added tst-aio64.
3012 Added dependency rules for tst-aio64.
3013
3014 * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
3015 64bit tests.
3016
3017 1999-12-15 Thorsten Kukuk <kukuk@suse.de>
3018
3019 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
3020 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
3021 * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
3022 old value (signed long).
3023 * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
3024 long RLIM_INFINITY.
3025 * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
3026 * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
3027 * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
3028 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
3029 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
3030 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
3031 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
3032 * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
3033 * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
3034 * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
3035 * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
3036 * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
3037 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
3038 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
3039 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.
3040
3041 1999-12-17 Andreas Jaeger <aj@suse.de>
3042
3043 * elf/ldconfig.c: Add new option -l to manualy link shared
3044 libraries.
3045 (options): Added option.
3046 (parse_opt): Set option.
3047 (main): Handle option.
3048 (manual_link): New function.
3049
3050 1999-12-17 Thorsten Kukuk <kukuk@suse.de>
3051
3052 * string/bits/string2.h: Fix patch from 1999-12-07.
3053
3054 1999-12-16 Ulrich Drepper <drepper@cygnus.com>
3055
3056 * sysdeps/generic/strsep.c: If delim string has only one character
3057 don't run over end of string.
3058
3059 * locale/programs/ld-collate.c (insert_weights): Also update next
3060 pointer of last cursor element.
3061 (insert_value): Return nonzero value if nothing got inserted.
3062 (handle_ellipsis): Don't do anything if to-value cannot be inserted.
3063
3064 1999-12-10 Jakub Jelinek <jakub@redhat.com>
3065
3066 * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
3067 where appropriate.
3068
3069 1999-12-10 Jakub Jelinek <jakub@redhat.com>
3070
3071 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
3072 Copy sa_flags into kernel sigaction structure.
3073
3074 1999-12-14 Andreas Jaeger <aj@suse.de>
3075
3076 * string/tester.c (test_strsep): More tests for access beyond
3077 the final NUL. The first two tests come from PR libc/1486 by
3078 martinea@iro.umontreal.ca.
3079
3080 1999-12-14 Thorsten Kukuk <kukuk@suse.de>
3081
3082 * nis/ypclnt.c: Correct handling of cached client handles.
3083 (__xdr_ypresp_all): Call callback function for errors, too,
3084 like Solaris does.
3085 * nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
3086 * nis/nss_compat/compat-initgroups.c: Likewise.
3087 * nis/nss_compat/compat-spwd.c: Likewise.
3088 * nis/nss_nis/nis-alias.c: Likewise.
3089 * nis/nss_nis/nis-ethers.c: Likewise.
3090 * nis/nss_nis/nis-grp.c: Likewise.
3091 * nis/nss_nis/nis-hosts.c: Likewise.
3092 * nis/nss_nis/nis-netgrp.c: Likewise.
3093 * nis/nss_nis/nis-publickey.c: Likewise.
3094 * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename
3095 Map if available, optimize query if name/port and protocol is known.
3096
3097 1999-12-12 Ulrich Drepper <drepper@cygnus.com>
3098
3099 * locale/programs/ld-collate.c (collate_read): Make symbolic
3100 ellipsis work. Remove old and unused code.
3101
3102 1999-12-11 Ulrich Drepper <drepper@cygnus.com>
3103
3104 * locale/programs/ld-collate.c (collate_read): Implement
3105 reorder-section handling.
3106
3107 1999-12-10 Ulrich Drepper <drepper@cygnus.com>
3108
3109 * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE.
3110
3111 * locale/programs/ld-collate.c (collate_read): Add handling of
3112 reorder-after.
3113
3114 * locale/programs/ld-collate.c: Many changes to implement parsing
3115 of collation definition (still not complete).
3116
3117 1999-12-09 Andreas Jaeger <aj@suse.de>
3118
3119 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
3120 errno to ENOENT when returning NSS_STATUS_NOTFOUND.
3121 Reported by Christian Starkjohann <cs@obdev.at>.
3122
3123 1999-12-09 Andreas Jaeger <aj@suse.de>
3124
3125 * sysdeps/i386/fpu/libm-test-ulps: Added some ulps.
3126
3127 1999-12-09 Jakub Jelinek <jakub@redhat.com>
3128
3129 * stdlib/longlong.h: Update from latest egcs version.
3130
3131 * sysdeps/sparc/fpu/fegetenv.c: Add semicolons.
3132
3133 * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW
3134 has to preceede __attribute__, otherwise g++ barfs.
3135
3136 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile
3137 on sparc64-*-linux.
3138
3139 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to
3140 use sigcontext.
3141 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3142
3143 1999-12-05 Wolfram Gloger <wg@malloc.de>
3144
3145 * malloc/malloc.c (arena_get2): If generating a new arena fails,
3146 try to generate a minimal one and hope for mmap_chunk() to succeed
3147 later.
3148
3149 1999-11-07 Wolfram Gloger <wg@malloc.de>
3150
3151 * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
3152 mutex_t work as an `in-use' flag even without threads.
3153 * malloc/malloc.c (USE_ARENAS): New feature flag, controls support
3154 for multiple arenas separately from NO_THREADS.
3155 (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
3156 fall back to an mmap()ed arena when sbrk() has failed.
3157
3158 1999-12-09 Ulrich Drepper <drepper@cygnus.com>
3159
3160 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
3161 getrlimit64, setrlimit64 for GLIBC_2.1.3.
3162 * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
3163 getrlimit64, setrlimit64 for GLIBC_2.1.3.
3164 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
3165 oldgetrlimit and oldsetrlimit.
3166 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
3167 oldsetrlimit.
3168 * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
3169 oldsetrlimit rules into 32-bit arch subdirs.
3170 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3171
3172 * locale/programs/ld-collate.c (insert_value): If this is the
3173 first symbol the cursor can be the same as the next pointer.
3174
3175 1999-12-08 Ulrich Drepper <drepper@cygnus.com>
3176
3177 * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
3178 arrays.
3179 (allocate_arrays): Allocate memory for map32. Correctly install
3180 default values in it and install defined mappings.
3181
3182 * locale/programs/ld-monetary.c (monetary_finish): Provide default
3183 value for mon_grouping.
3184
3185 * elf/readlib.c: Include a.out.h last since the Linux/Alpha
3186 headers are not clean enough.
3187
3188 * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility.
3189
3190 * sysdeps/unix/sysv/linux/kernel-features.h: Define
3191 __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31
3192 on x86.
3193 * sysdeps/unix/sysv/linux/ftruncate64.c: New file.
3194 * sysdeps/unix/sysv/linux/truncate64.c: New file.
3195 * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2.
3196 * sysdeps/unix/sysv/linux/i386/mmap64.S: New file.
3197
3198 * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
3199 * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
3200 * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
3201 _nl_C_LC_CTYPE_tolower32 tables.
3202 Don't compile it names of 14652 classes and maps.
3203 * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
3204 _NL_CTYPE_TOLOWER32.
3205 * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
3206 and __ctype32_tolower.
3207 * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
3208 (ctype_output): Write out map32 values.
3209 (allocate_arrays): Compute mapping tables correctly.
3210 * wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
3211 (towupper): Use __ctype32_toupper.
3212 * wctype/wctype.h: Optimize towupper and towlower for values < 256.
3213
3214 * locale/programs/ld-ctype.c (set_class_defaults): Correctly
3215 determine tolower mapping for 8bit table if the tolower keyword is
3216 not given.
3217
3218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
3219 only IPv6 address. Reported by Artur Frysiak <wiget@pld.org.pl>.
3220
3221 1999-12-07 Jakub Jelinek <jakub@redhat.com>
3222
3223 * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
3224 __stpcpy_small): Cast switch expressions to int to shut up compiler
3225 warnings.
3226
3227 1999-12-07 Scott Bambrough <scottb@netwinder.org>
3228
3229 * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
3230 relocs if possible.
3231
3232 1999-12-06 Andreas Schwab <schwab@suse.de>
3233
3234 * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
3235 ugetrlimit syscall exists.
3236
3237 * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
3238 exported symbols.
3239 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
3240
3241 1999-12-07 Ulrich Drepper <drepper@cygnus.com>
3242
3243 * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
3244 pointers if character is illegal.
3245 Reported by Bruno Haible <haible@ilog.fr>.
3246
3247 * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
3248 (increment_counter): New function. Broken out of find_derivation.
3249 (find_derivation): No need for a lock. Increment counter only when
3250 the derivation was already available.
3251 * iconv/gconv_dl.c: Add debugging functions.
3252 (known_compare): We have to use strcmp.
3253 Reported by Bruno Haible <haible@ilog.fr>.
3254
3255 1999-12-06 Ulrich Drepper <drepper@cygnus.com>
3256
3257 * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
3258 * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
3259 * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
3260 * iconvdata/gconv-modules: Correct ISO646-PT2 alias. Add
3261 SHIFT_JIS alias.
3262 Reported by Bruno Haible <haible@ilog.fr>.
3263
3264 * locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
3265
3266 1999-12-03 Andreas Jaeger <aj@suse.de>
3267
3268 * nss/getXXbyYY.c: Include <resolv.h>
3269 (FUNCTION_NAME): Use res_ninit instead of res_init.
3270
3271 * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
3272 declaration and prototypes.
3273 Remove extra _res declaration.
3274 (INTERNAL): Use thread aware res_ninit function.
3275
3276 * inet/gethstbyad_r.c: Include <resolv.h>.
3277
3278 * resolv/res_data.c: Update from Bind 8.2.2-P5. Moved res_init to
3279 res_libc.c. Disabled unneeded functions.
3280
3281 * resolv/res_libc.c: New file.
3282
3283 * Versions.def: Add version GLIBC_2.2 for libpthread.
3284 Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.
3285
3286 * include/resolv.h: Add internal interfaces.
3287
3288 * resolv/Makefile (routines): Add new files.
3289 (libresolv-routines): Likewise.
3290 (distribute): Likewise.
3291
3292 * resolv/gethnamaddr.c: Use thread safe resolver functions.
3293 * resolv/nss_dns/dns-host.c: Likewise.
3294 * resolv/nss_dns/dns-network.c: Likewise.
3295
3296 * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
3297 * resolv/nsap_addr.c: Likewise.
3298 * resolv/res_comp.c: Likewise.
3299 * resolv/res_debug.c: Likewise.
3300 * resolv/res_init.c: Likewise.
3301 * resolv/res_mkquery.c: Likewise.
3302 * resolv/res_query.c: Likewise.
3303 * resolv/res_send.c: Likewise.
3304 * resolv/resolv.h: Likewise.
3305
3306 * resolv/Versions: Add __res_state and __res_ninit with version
3307 GLIBC_2.2 to libc.
3308 Add new interfaces with version GLIBC_2.2 to libresolv.
3309
3310 * resolv/Banner: Update.
3311
3312 * include/arpa/nameser_compat.h: New file.
3313
3314 * resolv/ns_name.c: New file from Bind 8.2.2-P5.
3315 * resolv/ns_netint.c: Likewise.
3316 * resolv/ns_parse.c: Likewise.
3317 * resolv/ns_print.c: Likewise.
3318 * resolv/ns_samedomain.c: Likewise.
3319 * resolv/ns_ttl.c: Likewise.
3320 * resolv/arpa/nameser_compat.h: Likewise.
3321 * resolv/res_debug.h: Likewise.
3322
3323 Some patches are based on work done by Adam D. Bradley
3324 <artdodge@cs.bu.edu>.
3325
3326 1999-11-30 Andreas Jaeger <aj@suse.de>
3327
3328 Add ldconfig:
3329 * elf/Makefile (extra-objs): Added ldconfig-modules.
3330 (ldconfig-modules): New.
3331 Added vpath for xstrdup and xmalloc.
3332 Check for use-ldconfig instead of has-ldconfig.
3333 ($(objpfx)ldconfig): New rule with dependencies.
3334 (distribute): Add new files.
3335
3336 * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
3337 developed together with Jakub Jelinek <jakub@redhat.com>.
3338 * sysdeps/generic/readelflib.c: Likewise.
3339
3340 * elf/cache.c: New file.
3341 * elf/ldconfig.c: New file.
3342 * elf/ldconfig.h: New file.
3343 * elf/readlib.c: New file.
3344
3345 * Makefile (install): Remove flag -d in ldconfig call.
3346
3347 * configure.in: Rename has_ldconfig to use_ldconfig, set it to no
3348 by default.
3349
3350 * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
3351 comment.
3352
3353 * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
3354 set always use_ldconfig instead.
3355
3356 1999-12-03 Ulrich Drepper <drepper@cygnus.com>
3357
3358 * sysdeps/generic/bits/stropts.h: Update with LiS types and
3359 values. Patch by David Grothe <dave@gcom.com>.
3360
3361 * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
3362 Make long types.
3363 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3364 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3365 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3366
3367 1999-12-02 Akira Yoshiyama <yosshy@debian.or.jp>
3368
3369 * locale/lc-time.c (_nl_get_era_entry): Separate eras
3370 initialization as _nl_init_era_entry().
3371 * locale/lc-time.c (_nl_get_era_nf_entry): New function.
3372 * locale/lc-time.c (_nl_get_era_year_offset): New function.
3373 * locale/lc-time.c (_nl_get_era_year_start): New function.
3374 * locale/localeinfo.h: Declare new functions.
3375 Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
3376 and ERA_W_FORMAT.
3377
3378 1999-12-02 Ulrich Drepper <drepper@cygnus.com>
3379
3380 * posix/regex.c (SYNTAX): Make more portable.
3381 Patch by Aharon Robbins <arnold@skeeve.com>.
3382
3383 1999-11-18 Roland McGrath <roland@baalperazim.frob.com>
3384
3385 * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
3386 nonzero, use cthread_fork to create the signal thread.
3387 * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
3388 _hurd_msgport_thread here (to self).
3389 * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
3390 is zero, instead compute child signal thread's starting SP from parent
3391 signal thread's current SP and the threadvar_stack variables.
3392 * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
3393 These are now referenced weakly by _hurdsig_init.
3394
3395 * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
3396 &_hurd_itimer_thread not &_hurd_msgport_thread.
3397
3398 1999-10-01 Roland McGrath <roland@baalperazim.frob.com>
3399
3400 * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
3401 without HURD_DPORT_USE to clean up warnings.
3402 * hurd/dtable.c (get_dtable_port): Likewise.
3403
3404 * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
3405 (install_ctty): Do the changing of the cttyid port cell here, inside
3406 the critical section while we holding the dtable lock.
3407 (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
3408 the port cell and calling rectty_dtable.
3409 (_hurd_locked_install_cttyid): New function, split out of install_ctty.
3410 (install_ctty): Use it inside a critical section, with the lock held.
3411 * sysdeps/mach/hurd/setsid.c (__setsid): Use
3412 _hurd_locked_install_cttyid to effect the cttyid and dtable changes
3413 after proc_setsid, having held the dtable lock throughout.
3414 * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
3415 cttyid port for null and bail out early if so. The dtable lock
3416 serializes us after any cttyid change and its associated dtable update.
3417
3418 1999-11-14 Roland McGrath <roland@baalperazim.frob.com>
3419
3420 * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
3421 Its presence lets librpcsvc compile ok. This from Mark Kettenis.
3422 We don't install this file for users.
3423 * sysdeps/mach/hurd/Dist: Add it.
3424 * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
3425 Append nfs/nfs.h here.
3426
3427 1999-12-01 Andreas Jaeger <aj@suse.de>
3428
3429 * sysdeps/generic/if_index.c (__protocol_available): Add missing
3430 int for parameter.
3431
3432 * stdio/stdio.h: Fix typo.
3433 Patches by Marcus G. Daniels <mgd@santafe.edu>.
3434
3435 1999-12-01 Andreas Jaeger <aj@suse.de>
3436
3437 * scripts/test-installation.pl (installation_problem): Filter out
3438 libpthread_db.
3439
3440 1999-12-01 Andreas Schwab <schwab@suse.de>
3441
3442 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
3443 __rlim_t and __rlim64_t.
3444 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3445 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3446
3447 1999-12-01 Andreas Schwab <schwab@suse.de>
3448
3449 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3450 oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
3451 * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
3452 getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
3453 * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
3454 new kernel version. Add symbol versions.
3455 * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
3456 oldgetrlimit.
3457 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
3458 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3459 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
3460 and s_ugetrlimit.
3461 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3462 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3463 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
3464 * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
3465 * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
3466 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
3467 * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
3468 * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
3469 * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
3470 file.
3471 * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
3472 file.
3473
3474 1999-12-01 Ulrich Drepper <drepper@cygnus.com>
3475
3476 * sysdeps/generic/usleep.c: Fix typo.
3477
3478 * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
3479
3480 * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
3481 itself.
3482
3483 * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
3484 _UTSNAME_H.
3485
3486 * malloc/set-freeres.c: Really use already_called variable.
3487
3488 * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
3489 function call directly.
3490 * libio/iosetvbuf.c: Likewise.
3491
3492 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
3493
3494 * configure.in: Add AIX 4.3 support.
3495
3496 * iconvdata/gconv-modules: Correct alias for ISO-8859-10. This
3497 standard was issued in 1992.
3498 Reported by Bruno Haible <haible@ilog.fr>.
3499
3500 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
3501
3502 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
3503 SIGCLD als SIGCHLD.
3504
3505 1999-11-29 Andreas Jaeger <aj@suse.de>
3506
3507 * manual/time.texi (Basic CPU Time): Better describe wrap around.
3508 Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.
3509
3510 1999-11-29 Ulrich Drepper <drepper@cygnus.com>
3511
3512 * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
3513 Patch by Bruno Haible <haible@ilog.fr>.
3514
3515 1999-11-29 Thorsten Kukuk <kukuk@suse.de>
3516
3517 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
3518
3519 1999-11-29 Andreas Schwab <schwab@suse.de>
3520
3521 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
3522 __v to __bswap_32_v.
3523 (__bswap_64): Rename local variables __v and __r to __bswap_64_v
3524 and __bswap_64_r to avoid clash with __bswap_32 macro.
3525
3526 1999-11-28 Ulrich Drepper <drepper@cygnus.com>
3527
3528 * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
3529 gconv-modules.
3530
3531 1999-11-26 Ulrich Drepper <drepper@cygnus.com>
3532
3533 * locale/programs/ld-ctype.c (allocate_arrays): Complete last
3534 patch. Use wch instead of idx to compute index.
3535 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3536
3537 * inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
3538
3539 * locale/iso-3166.def: Update from latest official list.
3540
3541 1999-11-26 Thorsten Kukuk <kukuk@suse.de>
3542
3543 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
3544 asm/ptrace.h, since this will not be done with 2.3.xx automatically
3545 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3546
3547 1999-11-26 Andreas Jaeger <aj@suse.de>
3548
3549 * libio/libioP.h: Remove duplicate declaration of _IO_wsetb.
3550
3551 1999-11-26 Andreas Jaeger <aj@suse.de>
3552
3553 * inet/rcmd.c: Include stdlib for declaration of free.
3554 Declare iruserok.
3555
3556 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
3557
3558 * iconv/gconv.c (__gconv): Always initialize
3559 cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
3560
3561 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
3562 written bytes.
3563 * iconvdata/iso-2022-jp.c: Likewise.
3564
3565 1999-11-25 H.J. Lu <hjl@gnu.org>
3566
3567 * stdlib/exit.c (exit): Run funtions only if
3568 __exit_funcs->idx > 0.
3569
3570 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
3571
3572 * manual/charset.texi (iconv Examples): Add iconv call to flush
3573 state. Reported by Andrew Clausen <clausen@alphalink.com.au>.
3574
3575 1999-11-25 Andreas Jaeger <aj@suse.de>
3576
3577 * manual/install.texi (Running make install): Better describe
3578 update from libc5.
3579 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
3580
3581 1999-11-25 Andreas Jaeger <aj@suse.de>
3582
3583 * include/sys/mman.h: Remove K&R compatibility.
3584
3585 1999-11-15 Andreas Jaeger <aj@suse.de>
3586
3587 * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
3588 use __off64_t.
3589
3590 1999-11-25 Ulrich Drepper <drepper@cygnus.com>
3591
3592 * iconv/iconv_prog.c (process_block): For stateful charsets write
3593 out byte sequence to get to initial state at the end of the file.
3594
3595 1999-11-25 Andreas Schwab <schwab@suse.de>
3596
3597 * Makeconfig: Include sys-dirs and sys-sorted earlier.
3598 ($(common-objpfx)soversions.mk): Wait until subdirs is complete.
3599 ($(common-objpfx)sysd-sorted): Emit marker when this file is
3600 complete.
3601
3602 1999-11-24 Ulrich Drepper <drepper@cygnus.com>
3603
3604 * manual/setjmp.texi: Many changes to correct bad English introduced
3605 mainly by me.
3606 * manual/time.texi: Likewise.
3607 Patches by Neil Booth <neil@rosenet.ne.jp>.
3608
3609 * include/string.h: Remove K&R compatibility.
3610
3611 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
3612
3613 * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
3614
3615 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
3616
3617 * string/stratcliff.c: Add one more strchr test for something
3618 which was reported to not work (which proofed to be wrong).
3619
3620 * iconv/skeleton.c: It's __is_last, not is_last.
3621
3622 * locale/programs/ld-ctype.c (ctype_finish): Correct method to find
3623 the UCS value.
3624 (allocate_arrays): Likewise.
3625 (find_idx): Correctly increase array size.
3626 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3627
3628 1999-11-23 Thorsten Kukuk <kukuk@suse.de>
3629
3630 * iconv/skeleton.c: Don't access next_step->fct if data->is_last
3631 is true.
3632
3633 1999-11-23 Andreas Jaeger <aj@suse.de>
3634
3635 * include/sys/select.h: Remove K&R compatibility.
3636 * include/sys/statfs.h: Likewise.
3637 * include/gnu/libc-version.h: Likewise.
3638 * include/db_185.h: Likewise.
3639 * include/dlfcn.h: Likewise.
3640 * include/search.h: Likewise.
3641 * include/setjmp.h: Likewise.
3642 * include/signal.h: Likewise.
3643 * include/stdio.h: Likewise.
3644 * include/unistd.h: Likewise.
3645
3646 1999-11-23 Andreas Jaeger <aj@suse.de>
3647
3648 * include/aio.h: Remove __THROW from internal interfaces. __THROW
3649 is only need in external header files that might be compiled by a
3650 C++ compiler.
3651 * include/alloca.h: Likewise.
3652 * include/db.h: Likewise.
3653 * include/dirent.h: Likewise.
3654 * include/execinfo.h: Likewise.
3655 * include/fpu_control.h: Likewise.
3656 * include/glob.h: Likewise.
3657 * include/grp.h: Likewise.
3658 * include/libintl.h: Likewise.
3659 * include/math.h: Likewise.
3660 * include/math.h: Likewise.
3661 * include/mntent.h: Likewise.
3662 * include/mntent.h: Likewise.
3663 * include/netdb.h: Likewise.
3664 * include/pwd.h: Likewise.
3665 * include/sched.h: Likewise.
3666 * include/shadow.h: Likewise.
3667 * include/stdlib.h: Likewise.
3668 * include/sys/file.h: Likewise.
3669 * include/sys/gmon.h: Likewise.
3670 * include/sys/ioctl.h: Likewise.
3671 * include/sys/socket.h: Likewise.
3672 * include/sys/stat.h: Likewise.
3673 * include/sys/sysinfo.h: Likewise.
3674 * include/sys/time.h: Likewise.
3675 * include/sys/times.h: Likewise.
3676 * include/sys/uio.h: Likewise.
3677 * include/sys/wait.h: Likewise.
3678 * include/termios.h: Likewise.
3679 * include/time.h: Likewise.
3680 * include/ulimit.h: Likewise.
3681 * include/utmp.h: Likewise.
3682 * include/wchar.h: Likewise.
3683
3684 1999-11-22 Andreas Jaeger <aj@suse.de>
3685
3686 * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
3687 Patch by Jerry Perkins <jrperkins@iname.com>, closes PR
3688 libc/1456+1457.
3689
3690 1999-11-22 Jakub Jelinek <jakub@redhat.com>
3691
3692 * sysdeps/generic/siglist.h: Avoid declaring the same field
3693 twice if SIGPWR is defined to SIGLOST.
3694 * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
3695 not signed, so we should not special case it for negative args.
3696 * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
3697 memmove, use the one provided in memcpy.S.
3698 * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
3699 copies like memmove, while the previous version worked like memcpy.
3700 Implement optimized assembly memmove.
3701 * sysdeps/sparc/sparc64/memmove.c: New file.
3702
3703 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
3704
3705 * po/cs.po: Update from translators.
3706
3707 1999-11-23 Andreas Jaeger <aj@suse.de>
3708
3709 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
3710 (elf_machine_got): Removed, not needed anymore.
3711 (ELF_MACHINE_RELOC_NOPLT): Removed.
3712 (ELF_MACHINE_JMP_SLOT): Added.
3713 (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
3714 (_RTLD_EPILOGUE): Likewise.
3715 (RESOLVE_GOTSYM): Use R_MIPS_REL32.
3716 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3717 Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
3718 Ralf Baechle <baechle@uni-koblenz.de>.
3719
3720 * sysdeps/mips/mips64/dl-machine.h: Apply same patches.
3721
3722 1999-11-22 Ulrich Drepper <drepper@cygnus.com>
3723
3724 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
3725 name from the locale name. Only use the value in the LC_CTYPE
3726 locale data file.
3727
3728 * locale/loadlocale.c (_nl_load_locale): Allow index of entry in
3729 file be equal to file size.
3730
3731 * stdlib/longlong.h: Add count_trailing_zeros back.
3732
3733 * stdlib/longlong.h: Update from latest egcs version.
3734
3735 1999-11-22 Andreas Jaeger <aj@suse.de>
3736
3737 * locale/programs/ld-collate.c (insert_value): Correct order of
3738 arguments for lr_error call.
3739
3740 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add
3741 __syscall_setrlimit.
3742
3743 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include <sys/types.h>
3744 for key_t.
3745 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3746
3747 1999-11-21 Ulrich Drepper <drepper@cygnus.com>
3748
3749 * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest
3750 gcc version.
3751
3752 * locale/programs/ld-ctype.c (ctype_read): Correctly implement
3753 14652-style definition of new maps and classes.
3754
3755 1999-11-20 Ulrich Drepper <drepper@cygnus.com>
3756
3757 * locale/programs/ld-monetary.c (monetary_finish): Don't print
3758 individual error message if nothing is defined.
3759
3760 * locale/programs/ld-time.c (time_startup): Test for lr being
3761 nonzero, not time.
3762
3763 * locale/programs/ld-numeric.c (numeric_finish): Don't crash if
3764 decimal_point is not defined.
3765
3766 * wctype/wctrans.c (wctrans): Use correct base index to access
3767 extra mapping tables.
3768
3769 * locale/loadlocale.c (_nl_load_locale): Use actual number of
3770 entries from file and not the fixed (minimal number from the
3771 langinfo.h list.
3772
3773 * locale/programs/ld-ctype.c (ctype_read): Fix reading of <U....>
3774 values in charmaps.
3775
3776 1999-11-18 Paul Eggert <eggert@twinsun.com>
3777
3778 * time/strftime.c (my_strftime): Some old compilers object to
3779 '\a', so don't bother optimizing for it.
3780
3781 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
3782
3783 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
3784 the rlimits structure passed in.
3785
3786 1999-11-19 Andreas Jaeger <aj@suse.de>
3787
3788 * include/sys/resource.h (__setrlimit): Add prototype.
3789
3790 1999-11-19 Ulrich Drepper <drepper@cygnus.com>
3791
3792 * elf/dl-load.c (_dl_init_paths): Allocate correct number of
3793 entries for rtld_search_dirs[0].
3794 Patch by David Mosberger <davidm@hpl.hp.com>.
3795
3796 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
3797
3798 * locale/programs/ld-ctype.c: Don't predefine the character
3799 classes and mappings of ISO 14652.
3800
3801 * locale/programs/ld-ctype.c: Punt if character class definitions
3802 to not consists of tok_bsymbol (for now).
3803
3804 * time/strptime.c (day_of_the_week): Make sure result is never
3805 negative.
3806 (strptime_internal): Allow %C without %y.
3807
3808 1999-11-18 Andreas Jaeger <aj@suse.de>
3809
3810 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
3811 comments.
3812
3813 * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
3814 of defining *_SUPER_MAGIC.
3815 * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
3816
3817 1999-11-18 Ulrich Drepper <drepper@cygnus.com>
3818
3819 * locale/programs/locale.c: Don't handle LC_ALL together with the
3820 other categories when printing the value.
3821 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
3822
3823 * locale/locale.h: Correct comment about LC_ALL.
3824
3825 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
3826
3827 * locale/programs/ld-ctype.c (ctype_output): Correct computation of
3828 nelems. Correctly compute index for additional character classes.
3829 (ctype_read): Handle charclass and charconv definitions. Also
3830 recognize arbitrary strings as mapping names.
3831 * locale/programs/ld-time.c (time_finish): Correctly skip over wide
3832 character era strings.
3833 * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
3834 and format for wide characters.
3835 * time/strftime.c: Correctly determine era information for wide
3836 wcsftime.
3837 * wctype/wctrans.c: Fix after removal of second endianess table.
3838 * wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
3839 Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3840
3841 * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
3842 * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
3843
3844 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
3845 gregset_t, fpregset_t, and NGREG definitions.
3846
3847 * locale/programs/ld-ctype.c: Implement character width information
3848 handling.
3849
3850 1999-11-09 Andreas Jaeger <aj@suse.de>
3851
3852 * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.
3853
3854 * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
3855 Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.
3856
3857 * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
3858
3859 1999-11-17 Ulrich Drepper <drepper@cygnus.com>
3860
3861 * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
3862
3863 1999-11-07 Andreas Jaeger <aj@suse.de>
3864
3865 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
3866 defines from Linux scsi_ioctl.h header.
3867
3868 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
3869 scsi_ioctl.h.
3870 * sysdeps/unix/sysv/linux/Dist: Likewise.
3871
3872 * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
3873 pretty printed.
3874
3875 * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
3876 sync with Linux 2.3.26.
3877
3878 1999-11-17 Andreas Jaeger <aj@suse.de>
3879
3880 * shlib-versions: Allow mipsel for libm.
3881 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3882
3883 1999-11-16 Andreas Jaeger <aj@suse.de>
3884
3885 * math/fenv.h: Fix typos in comments. Reported by Andreas Schwab.
3886
3887 1999-11-16 Ulrich Drepper <drepper@cygnus.com>
3888
3889 * locale/programs/ld-ctype.c (set_class_defaults): Set default
3890 value for alpha and alnum correctly.
3891
3892 * locale/programs/ld-address.c (address_output): Fix output of
3893 country_num.
3894
3895 1999-11-15 Ulrich Drepper <drepper@cygnus.com>
3896
3897 * timezone/asia: Update from tzdata1999j.
3898 * timezone/australasia: Likewise.
3899 * timezone/europe: Likewise.
3900 * timezone/northamerica: Likewise.
3901 * timezone/southamerica: Likewise.
3902 * timezone/zone.tab: Likewise.
3903
3904 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
3905
3906 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
3907 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3908 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3909 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
3910 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3911
3912 1999-11-15 Andreas Jaeger <aj@suse.de>
3913
3914 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
3915 __syscall_setrlimit.
3916 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3917
3918 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
3919
3920 * scripts/versions.awk: Don't expect to read predecessor versions,
3921 compute them.
3922 * Versions.def: Remove predecessors. They now get computed.
3923
3924 1999-11-14 Ulrich Drepper <drepper@cygnus.com>
3925
3926 * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
3927 * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
3928 prototype.
3929 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
3930 * sysdeps/powerpc/stackinfo.h: New file.
3931 Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
3932
3933 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
3934
3935 * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
3936 GLIBC_2.1.3.
3937
3938 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
3939
3940 * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
3941 hurd_directory_name_split.
3942 * Versions.def (libc): Add GLIBC_2.1.3.
3943
3944 1999-11-09 Roland McGrath <roland@baalperazim.frob.com>
3945
3946 * hurd/report-wait.c (describe_port): Return char * and use __stpcpy
3947 to return the location of the null byte written into the string.
3948 (describe_number): Likewise.
3949 (describe_number): Remove assert, not always used with #.
3950 If FLAVOR is null, don't use it.
3951 (describe_number): Take signed argument and print a - if negative.
3952 (_S_msg_report_wait): Report system call number for system calls that
3953 aren't mach_msg. Soup up reporting for mach_msg: If destination port
3954 matches SS->intr_port, bracket port description with [...] to indicate
3955 a Hurd interruptible RPC; if destination port is null, examine the
3956 receive port and report that state; if receive port is also null,
3957 check for timeout and report its value.
3958 * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
3959 zero iff we managed to examine the stack; take new args RCV_NAME,
3960 SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
3961
3962 * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
3963 MACH_PORT_DEAD specially.
3964
3965 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
3966
3967 * hurd/hurdlookup.c (__hurd_directory_name_split): New function.
3968 (__directory_name_split): New function.
3969 * hurd/hurd.h: Declare them.
3970 * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
3971 __file_name_split, so we ignore trailing slashes properly.
3972 * sysdeps/mach/hurd/rename.c: Likewise.
3973
3974 1999-11-13 Thorsten Kukuk <kukuk@suse.de>
3975
3976 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
3977 from current kernel headers.
3978
3979 * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
3980 SO_PASSCRED defined.
3981
3982 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
3983
3984 * locale/C-ctype.c: Fix typo in char class name.
3985
3986 * configure.in: Allow user so specify --enable-kernel=current.
3987
3988 1999-11-12 Thorsten Kukuk <kukuk@suse.de>
3989
3990 * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
3991
3992 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
3993 i386 version.
3994 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3995 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3996 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3997 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
3998
3999 1999-11-12 Ulrich Drepper <drepper@cygnus.com>
4000
4001 * intl/locale.alias: Add Estonian entries.
4002 Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
4003
4004 1999-11-02 Andreas Jaeger <aj@suse.de>
4005
4006 * Versions.def: Add version GLIBC_2.2 for libm.
4007 * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
4008 fedisableexcept.
4009 * sysdeps/generic/feenablxcpt.c: Stub file.
4010 * sysdeps/generic/fedisblxcpt.c: Stub file.
4011 * sysdeps/generic/fegetexcept.c: Stub file.
4012 * sysdeps/i386/fpu/fedisblxcpt.c: New file.
4013 * sysdeps/i386/fpu/feenablxcpt.c: New file.
4014 * sysdeps/i386/fpu/fegetexcept.c: New file.
4015 * math/Makefile (libm-support): Add new files.
4016 * math/Versions: Add new functions with version GLIBC_2.2.
4017 * manual/arith.texi (Control Functions): Document fegetexcept,
4018 feenableexcept and fedisableexcept.
4019
4020 1999-11-01 Wolfram Gloger <wg@malloc.de>
4021
4022 * malloc/malloc.h: Describe __malloc_initialize_hook.
4023 * manual/memory.texi: Document __malloc_initialize_hook.
4024
4025 1999-11-11 Ulrich Drepper <drepper@cygnus.com>
4026
4027 * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
4028
4029 1999-11-09 Andreas Jaeger <aj@suse.de>
4030
4031 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
4032 implementation for ttyname_r call; fix inverted condition; return
4033 ut_user.
4034 Closes PR libc/1438.
4035
4036 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
4037
4038 * math/fenv.h: Include bits/fenvinline.h if optimizing.
4039 * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions. Moved to..
4040 * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here. New file.
4041 * sysdeps/generic/bits/fenv.h: New file.
4042
4043 1999-11-10 Ulrich Drepper <drepper@cygnus.com>
4044
4045 * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
4046 printf call.
4047
4048 1999-11-10 Andreas Jaeger <aj@suse.de>
4049
4050 * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
4051
4052 1999-11-10 Andreas Jaeger <aj@suse.de>
4053
4054 * string/strsignal.c (strsignal): Correct check for snprintf
4055 return value.
4056 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
4057
4058 * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
4059 according to changed snprintf return value.
4060 Reported by Lawrence K. Chen <lchen@opentext.com>.
4061
4062 * misc/tst-efgcvt.c (special): Add tests for a too small buffer
4063 for ecvt_r and fcvt_r.
4064
4065 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
4066
4067 * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
4068 directory with the reference since this is as secure as using the
4069 object with the dependency.
4070 (_dl_dst_substitute): Likewise.
4071
4072 * elf/dl-load.c (_dl_dst_count): Change strings in first two
4073 strncmp calls to allow reuse.
4074 (_dl_dst_substitute): Likewise.
4075
4076 1999-11-01 Arnold D. Robbins <arnold@skeeve.com>
4077
4078 * posix/regex.c (init_syntax_once): move below definition of
4079 ISALNUM etc., then use ISALNUM to init the table, so that
4080 the word ops will work if i18n'ed.
4081 (SYNTAX): And subscript with 0xFF for 8bit character sets.
4082
4083 1999-11-09 Andreas Jaeger <aj@suse.de>
4084
4085 * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
4086 implementation for ttyname_r call; fix inverted condition; return
4087 ut_user. Closes PR libc/1438.
4088
4089 1999-11-09 Ulrich Drepper <drepper@cygnus.com>
4090
4091 * timezone/checktab.awk: Update from tzcode1999h.
4092 * timezone/africa: Update from tzdata1999i.
4093 * timezone/asia: Likewise.
4094 * timezone/australasia: Likewise.
4095 * timezone/backward: Likewise.
4096 * timezone/europe: Likewise.
4097 * timezone/northamerica: Likewise.
4098 * timezone/southamerica: Likewise.
4099 * timezone/iso3166.tab: Likewise.
4100 * timezone/zone.tab: Likewise.
4101
4102 * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
4103 macros. Patch by brg@csua.berkeley.edu [PR libc/1439].
4104
4105 1999-11-09 Andreas Jaeger <aj@suse.de>
4106
4107 * posix/Makefile (tests): Added tst-getlogin.
4108
4109 * posix/tst-getlogin.c: New file, contains simple tests for
4110 getlogin and getlogin_r.
4111
4112 1999-11-09 Andreas Schwab <schwab@suse.de>
4113
4114 * misc/syslog.c: For LOG_PERROR only append a newline if
4115 necessary.
4116
4117 1999-11-08 Ulrich Drepper <drepper@cygnus.com>
4118
4119 * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
4120 definitions.
4121
4122 1999-11-08 Andreas Jaeger <aj@suse.de>
4123
4124 * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
4125 this fixes a memory leak (closes PR libc/1435).
4126
4127 * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
4128 reflect memory allocation.
4129
4130 * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
4131 allocation in _nl_explode_name.
4132
4133 1999-11-06 Andreas Jaeger <aj@suse.de>
4134
4135 * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
4136 to initialize it.
4137 Reported by wes@surety.com, closes PR libc/1432.
4138
4139 1999-11-05 Geoff Keating <geoffk@cygnus.com>
4140
4141 * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
4142 enumerator lists (-pedantic complains).
4143 (feraiseexcept): Use i#*X as the constraint. Fix a bug in the
4144 test for 'one bit set'.
4145 (feclearexcept): Likewise.
4146
4147 1999-11-05 Ulrich Drepper <drepper@cygnus.com>
4148
4149 * sysdeps/unix/sysv/linux/setrlimit.c: New file.
4150
4151 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
4152 for kernel changes.
4153 * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
4154 unsigned.
4155
4156 1999-10-04 Tim Waugh <twaugh@redhat.com>
4157
4158 * posix/wordexp-test.c: More tests.
4159
4160 * posix/wordexp.c (wordexp): Explicit null words should be kept.
4161
4162 1999-11-04 Shinya Hanataka <hanataka@abyss.rim.or.jp>
4163
4164 * locale/programs/linereader.c (get_string): Correct type of buf2
4165 variable.
4166 * locale/programs/ld-ctype.c (ctype_output): Store index correctly
4167 for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
4168 _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
4169 _NL_CTYPE_OUTDIGIT*_WC.
4170 (allocate_arrays): Completely initialize mapping tables.
4171 * locale/programs/ld-time.c (time_startup): We need the wide car
4172 string.
4173 (time_finish): Correct handling of era.
4174 (time_output): Fix a few array indeces.
4175 (time_read): Pass the repertoire map to lr_token.
4176
4177 1999-11-03 Ulrich Drepper <drepper@cygnus.com>
4178
4179 * Versions.def: Add version for libthread_db.
4180
4181 1999-11-02 Andreas Jaeger <aj@suse.de>
4182
4183 * manual/header.texi (Library Summary): The command @indexfonts
4184 doesn't exist anymore, use @smallfonts instead.
4185
4186 1999-11-02 Ulrich Drepper <drepper@cygnus.com>
4187
4188 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
4189 instead of duplicating definitions.
4190
4191 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
4192
4193 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
4194 by the debugger.
4195 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
4196 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
4197 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
4198 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4199 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
4200
4201 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
4202
4203 * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
4204
4205 * sysdeps/unix/sysv/linux/kernel-features.h
4206 (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
4207 * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
4208
4209 * manual/texinfo.tex: Updated.
4210
4211 1999-11-01 Andreas Jaeger <aj@suse.de>
4212
4213 * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
4214
4215 * inet/gethstbynm2_r.c: Reorder addresses.
4216
4217 1999-09-11 Paul Eggert <eggert@twinsun.com>
4218
4219 * posix/glob.h (glob): If #defining to glob64, do this before
4220 declaring it, so that all declarations and uses match, and do not
4221 declare glob64, to avoid a declaration clash.
4222 (globfree): Likewise with globfree64.
4223
4224 1999-09-08 Eli Zaretskii <eliz@is.elta.co.il>
4225
4226 * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
4227 Keep the trailing slash unless DIRNAME is just "x:/".
4228
4229 1999-10-11 Andreas Jaeger <aj@suse.de>
4230
4231 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
4232 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4233 Closes PR libc/1384.
4234
4235 1999-10-20 Andreas Schwab <schwab@suse.de>
4236
4237 * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
4238 (generated): Add it here.
4239 (before-compile): Add libm-test.c.
4240 ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
4241 libm-test.stmp.
4242 ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
4243 $(objdir)/math/.
4244
4245 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
4246
4247 * Makefile (pdf): New goal.
4248 * manual/Makefile: Add definitions and rules for PDF generation.
4249
4250 * Versions.def (libm): Add GLIBC_2.1.3.
4251
4252 ISO C99 TR1 changes various fe* functions to return an error value.
4253 * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
4254 feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
4255 * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
4256 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
4257 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
4258 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
4259 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
4260 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
4261 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
4262 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
4263 * sysdeps/arm/fpu/fegetenv.c: Likewise.
4264 * sysdeps/arm/fpu/fesetenv.c: Likewise.
4265 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
4266 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
4267 * sysdeps/generic/fclrexcpt.c: Likewise.
4268 * sysdeps/generic/fegetenv.c: Likewise.
4269 * sysdeps/generic/fesetenv.c: Likewise.
4270 * sysdeps/generic/feupdateenv.c: Likewise.
4271 * sysdeps/generic/fgetexcptflg.c: Likewise.
4272 * sysdeps/generic/fraiseexcpt.c: Likewise.
4273 * sysdeps/generic/fsetexcptflg.c: Likewise.
4274 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
4275 * sysdeps/i386/fpu/fegetenv.c: Likewise.
4276 * sysdeps/i386/fpu/fesetenv.c: Likewise.
4277 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
4278 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
4279 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4280 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
4281 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
4282 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
4283 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
4284 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
4285 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
4286 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
4287 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
4288 * sysdeps/mips/fclrexcpt.c: Likewise.
4289 * sysdeps/mips/fegetenv.c: Likewise.
4290 * sysdeps/mips/fesetenv.c: Likewise.
4291 * sysdeps/mips/feupdateenv.c: Likewise.
4292 * sysdeps/mips/fgetexcptflg.c: Likewise.
4293 * sysdeps/powerpc/fclrexcpt.c: Likewise.
4294 * sysdeps/powerpc/fegetenv.c: Likewise.
4295 * sysdeps/powerpc/fesetenv.c: Likewise.
4296 * sysdeps/powerpc/feupdateenv.c: Likewise.
4297 * sysdeps/powerpc/fgetexcptflg.c: Likewise.
4298 * sysdeps/powerpc/fraiseexcpt.c: Likewise.
4299 * sysdeps/powerpc/fsetexcptflg.c: Likewise.
4300 * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
4301 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
4302 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
4303 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
4304 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
4305 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4306 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
4307 * math/fenv.h: Adjust prototypes.: Likewise.
4308 * manual/arith.texi: Adjust documentation for these changes.
4309
4310 * manual/arith.texi: Document feraiseexcept.
4311
4312 * sysdeps/powerpc/fegetenv.c: Moved to...
4313 * sysdeps/powerpc/fpu/fegetenv.c: ...here.
4314 * sysdeps/powerpc/fegetround.c: Moved to...
4315 * sysdeps/powerpc/fpu/fegetround.c: ...here.
4316 * sysdeps/powerpc/feholdexcpt.c: Moved to...
4317 * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
4318 * sysdeps/powerpc/fesetenv.c: Moved to...
4319 * sysdeps/powerpc/fpu/fesetenv.c: ...here.
4320 * sysdeps/powerpc/fenv_libc.h: Moved to...
4321 * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
4322 * sysdeps/powerpc/feupdateenv.c: Moved to...
4323 * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
4324 * sysdeps/powerpc/fgetexcptflg.c: Moved to...
4325 * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
4326 * sysdeps/powerpc/fraiseexcpt.c: Moved to...
4327 * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
4328 * sysdeps/powerpc/fsetexcptflg.c: Moved to...
4329 * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
4330 * sysdeps/powerpc/ftestexcept.c: Moved to...
4331 * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
4332 * sysdeps/powerpc/fesetround.c: Moved to...
4333 * sysdeps/powerpc/fpu/fesetround.c: ...here
4334 * sysdeps/powerpc/fenv_const.c: Moved to...
4335 * sysdeps/powerpc/fpu/fenv_const.c: ...here.
4336
4337 * sysdeps/mips/fclrexcpt.c: Moved to...
4338 * sysdeps/mips/fpu/fclrexcpt.c: ...here.
4339 * sysdeps/mips/fegetenv.c: Moved to...
4340 * sysdeps/mips/fpu/fegetenv.c: ...here.
4341 * sysdeps/mips/fegetround.c: Moved to...
4342 * sysdeps/mips/fpu/fegetround.c: ...here.
4343 * sysdeps/mips/fesetenv.c: Moved to...
4344 * sysdeps/mips/fpu/fesetenv.c: ...here.
4345 * sysdeps/mips/fesetround.c: Moved to...
4346 * sysdeps/mips/fpu/fesetround.c: ...here.
4347 * sysdeps/mips/feupdateenv.c: Moved to...
4348 * sysdeps/mips/fpu/feupdateenv.c: ...here.
4349 * sysdeps/mips/fgetexcptflg.c: Moved to...
4350 * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
4351 * sysdeps/mips/ftestexcept.c: Moved to...
4352 * sysdeps/mips/fpu/ftestexcept.c: ...here.
4353
4354 1999-10-29 Jakub Jelinek <jakub@redhat.com>
4355
4356 * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
4357 * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
4358 libraries from statically linked programs.
4359 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
4360 fix for sigaction on SPARC.
4361 Patches by David S. Miller <davem@redhat.com>.
4362
4363 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
4364 gregset_t and other required structures and defines for SPARC 64bit
4365 ABI as well, not only 32bit ABI.
4366
4367 1999-10-31 Andreas Jaeger <aj@suse.de>
4368
4369 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
4370 by __USE_ISOC99 and update comments.
4371
4372 * math/complex.h: Update comments for ISO C99.
4373 * math/fenv.h: Likewise.
4374 * math/test-fenv.c: Likewise.
4375 * math/tgmath.h: Likewise.
4376 * libio/stdio.h: Likewise.
4377 * posix/sys/types.h: Likewise.
4378 * sysdeps/generic/inttypes.h: Likewise.
4379 * sysdeps/generic/stdint.h: Likewise.
4380
4381 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
4382
4383 * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
4384
4385 * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
4386 recognize _ISOC99_SOURCE.
4387 * libio/stdio.h: Likewise.
4388 * math/math.h: Likewise.
4389 * math/bits/mathcalls.h: Likewise.
4390 * math/stdio.h: Likewise.
4391 * stdlib/stdlib.h: Likewise.
4392 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
4393 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
4394 * sysdeps/arm/bits/huge_val.h: Likewise.
4395 * sysdeps/generic/bits/mathdef.h: Likewise.
4396 * sysdeps/i386/bits/huge_val.h: Likewise.
4397 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
4398 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
4399 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4400 * sysdeps/m68k/bits/huge_val.h: Likewise.
4401 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
4402 * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
4403 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4404 * sysdeps/powerpc/bits/mathinline.h: Likewise.
4405 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
4406 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4407 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
4408 * wcsmbs/wchar.h: Likewise.
4409
4410 * sysdeps/powerpc/bits/mathdef.h: Moved to...
4411 * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
4412 * sysdeps/powerpc/bits/mathinline.h: Moved to...
4413 * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
4414 * sysdeps/powerpc/bits/fenv.h: Moved to...
4415 * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
4416
4417 1999-10-31 Andreas Jaeger <aj@suse.de>
4418
4419 * manual/math.texi (Errors in Math Functions): Correct TeX code.
4420
4421 1999-10-31 Andreas Jaeger <aj@suse.de>
4422
4423 * math/libm-test.inc: Change comments to use ISO C99 instead of
4424 ISO C9x.
4425 * math/w_lgamma.c: Likewise.
4426 * math/w_lgammaf.c: Likewise.
4427 * math/w_lgammal.c: Likewise.
4428 * math/test-fenv.c: Likewise.
4429 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4430 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4431 * sysdeps/generic/printf_fphex.c: Likewise.
4432
4433 1999-10-31 Andreas Jaeger <aj@suse.de>
4434
4435 * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
4436
4437 * manual/math.texi: Change ISO C9x to ISO C99.
4438 * manual/startup.texi: Likewise.
4439 * manual/stdio.texi: Likewise.
4440
4441 1999-10-31 Andreas Jaeger <aj@suse.de>
4442
4443 * manual/arith.texi: Change ISO C9x to ISO C99.
4444 * manual/time.texi (Low-Level Time String Parsing): Likewise.
4445
4446 1999-10-30 Ulrich Drepper <drepper@cygnus.com>
4447
4448 * socket/Makefile (distribute): Add ifreq.h.
4449
4450 * manual/time.texi (Formatting Date and Time): Revise comments about
4451 origins of the formats with ISO C99 references.
4452
4453 1999-10-30 Andreas Jaeger <aj@suse.de>
4454
4455 * sysdeps/unix/sysv/linux/ifreq.h: New file.
4456
4457 1999-10-29 Andreas Jaeger <aj@suse.de>
4458
4459 * manual/arith.texi (Parsing of Floats): Document the hexadecimal
4460 input format; mention that strtof and strtold are part of ISO C99.
4461
4462 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
4463
4464 * manual/math.texi (Errors in Math Functions): New section.
4465 * math/libm-err-tab.pl: Moved to...
4466 * manual/libm-err-tab.pl: ...here.
4467 * manual/Makefile: Add rules for math function error table generation.
4468
4469 * stdlib/tst-strtod.c: Add more hexadecimal tests.
4470
4471 * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
4472 != 1 correctly and more than one digit before decimal point..
4473
4474 1999-10-27 Andreas Jaeger <aj@suse.de>
4475
4476 * sysdeps/generic/ifreq.h: New file.
4477
4478 * resolv/res_hconf.c: Add missing includes to get all prototypes.
4479 (_res_hconf_reorder_addrs): Rewrite. This never worked before.
4480 Reported by John DiMarco <jdd@cs.toronto.edu>.
4481
4482 (_res_hconf_reorder_addrs): Made thread safe.
4483 (free_mem): New function, needed for malloc debugging.
4484
4485 1999-10-29 Andreas Jaeger <aj@suse.de>
4486
4487 * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
4488 * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
4489 * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
4490 opensock to use __opensock.
4491
4492 * socket/Makefile (routines): Add opensock.
4493
4494 * include/sys/socket.h (__opensock): Add prototype declaration.
4495
4496 1999-10-29 Andreas Jaeger <aj@suse.de>
4497
4498 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
4499 N_* constants.
4500 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4501
4502 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
4503 new constant from Linux 2.3.25pre1.
4504
4505 * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
4506
4507 1999-10-29 Andreas Jaeger <aj@suse.de>
4508
4509 * math/libm-err-tab.pl: New file to generate a table of
4510 libm-test-ulps values.
4511
4512 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
4513
4514 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
4515 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
4516 struct sigcontext* object as second parameter for profil_counter.
4517 Patches by Jakub Jelinek <jakub@redhat.com>.
4518
4519 1999-10-29 Andreas Jaeger <aj@suse.de>
4520
4521 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
4522 * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
4523
4524 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
4525 efs, qnx4 and reiser file systems.
4526
4527 1999-10-29 Andreas Jaeger <aj@suse.de>
4528
4529 * locale/Makefile (others): Set to localedef and locale for make
4530 clean.
4531
4532 * debug/Makefile (generated): Add xtrace for make clean to work.
4533
4534 1999-10-29 Andreas Jaeger <aj@suse.de>
4535
4536 * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
4537
4538 1999-10-25 Andreas Jaeger <aj@suse.de>
4539
4540 * math/libm-test.inc: Added code to ignore the given max ulps.
4541 (print_max_error): Check for ignore_max_ulp.
4542 (check_float_internal): Likewise.
4543 (parse_opt): Parse --ignore-max-ulp.
4544 (main): Initialize ignore_max_ulp.
4545
4546 1999-10-26 Andreas Jaeger <aj@suse.de>
4547
4548 * stdlib/msort.c: Include <alloca.h> for prototype.
4549 Remove K&R compatibility and _quicksort prototype.
4550
4551 * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
4552 some comments.
4553 Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
4554 Remove K&R compatibility.
4555 Move prototype declaration to include/stdlib.h.
4556 Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
4557
4558 * include/stdlib.h: Prototype declaration for _quicksort.
4559
4560 1999-10-27 Andreas Jaeger <aj@suse.de>
4561
4562 * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
4563 shifted a bit too much.
4564 Reported by Eugen Dedu <dedu@ese-metz.fr>.
4565
4566 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
4567
4568 * resolv/gethnamaddr.c: Account bytes needed for alignment in
4569 buflen. Patch by Olaf Kirch <okir@lst.de>.
4570
4571 * md5-crypt/md5test.c: Correct names of MD5 functions after
4572 removing of public names.
4573
4574 * configure.in: Don't allow --enable-kernel without parameter.
4575
4576 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
4577
4578 * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
4579 problems.
4580
4581 1999-10-25 Thorsten Kukuk <kukuk@suse.de>
4582
4583 * md5-crypt/md5.h: Remove prototypes for public interface. md5 is
4584 only used internally.
4585 * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
4586 remove weak alias for public names.
4587 * md5-crypt/md5.c: Remove weak aliase.
4588
4589 1999-10-25 Andreas Jaeger <aj@suse.de>
4590
4591 * math/README.libm-test: New file, documents libm-test.inc.
4592
4593 1999-10-25 Andreas Jaeger <aj@suse.de>
4594
4595 * math/gen-libm-test.pl: Only generate a new ulps file when -n is
4596 given.
4597 (print_ulps_file): Fix loops to not read @tests and @functions
4598 since those are not initialized with -n now.
4599 (parse_ulps): Set $results{..}{"kind"}.
4600
4601 1999-10-25 Andreas Jaeger <aj@suse.de>
4602
4603 * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
4604
4605 * math/libm-test.inc (check_float_internal): Don't print ulps for
4606 wrong sign of zero.
4607
4608 1999-10-20 Andreas Jaeger <aj@suse.de>
4609
4610 * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
4611 versus AF_LOCAL.
4612 Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
4613
4614 1999-10-24 Ulrich Drepper <drepper@cygnus.com>
4615
4616 * math/libm-test.inc: Disable some boundary case tests for inline
4617 function testing.
4618
4619 * math/math.h: Pretty printing.
4620
4621 * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
4622 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4623 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4624 * sysdeps/i386/fpu/e_log10.S: Likewise.
4625 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4626 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4627 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4628 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4629 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4630 * sysdeps/i386/fpu/s_log2.S: Likewise.
4631 * sysdeps/i386/fpu/s_log2f.S: Likewise.
4632 * sysdeps/i386/fpu/s_log2l.S: Likewise.
4633
4634 * sysdeps/i386/fpu/libm-test-ulps: New file.
4635
4636 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
4637 value for x == 0.
4638 (pow): Correct case x == 0.
4639 (__sgn1l): Correct handling of -0.0.
4640
4641 1999-10-22 Andreas Jaeger <aj@suse.de>
4642
4643 * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
4644 (atan_test): Likewise.
4645 (atanh_test): Likewise.
4646 (atan2_test): Likewise.
4647 (carg_test): Likewise.
4648 (ceil_test): Likewise.
4649 (cos_test): Likewise.
4650 (cosh_test): Likewise.
4651 (cpow_test): Likewise.
4652 (erf_test): Likewise.
4653 (erfc_test): Likewise.
4654 (exp_test): Likewise.
4655 (exp10_test): Likewise.
4656 (exp2_test): Likewise.
4657 (expm1_test): Likewise.
4658 (fabs_test): Likewise.
4659 (floor_test): Likewise.
4660 (fmod_test): Likewise.
4661 (gamma_test): Likewise.
4662 (lgamma_test): Likewise.
4663 (log10_test): Likewise.
4664 (log1p_test): Likewise.
4665 (log2_test): Likewise.
4666 (logb_test): Likewise.
4667 (nearbyint_test): Likewise.
4668 (remainder_test): Likewise.
4669 (remquo_test): Likewise.
4670 (sin_test): Likewise.
4671 (sincos_test): Likewise.
4672 (sinh_test): Likewise.
4673 (sqrt_test): Likewise.
4674 (tan_test): Likewise.
4675 (tanh_test): Likewise.
4676 (tgamma_test): Likewise.
4677
4678 1999-10-21 Ulrich Drepper <drepper@cygnus.com>
4679
4680 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
4681
4682 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
4683
4684 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
4685 for -Inf and return NaN.
4686
4687 * configure.in: Correct test for Cygnus gcc versions.
4688
4689 1999-10-21 Andreas Jaeger <aj@suse.de>
4690
4691 * math/libm-test.inc (cimag_test): New function, tests cimag.
4692 (creal_test): New function, tests creal.
4693 (conj_test): New function, tests conj.
4694 (main): Add new functions.
4695
4696 1999-10-20 Andreas Jaeger <aj@suse.de>
4697
4698 * math/libm-test.inc: Rewrite to allow different deltas for real
4699 and imaginary part of complex functions.
4700 * math/gen-libm-test.pl: Likewise.
4701
4702 1999-10-19 Ulrich Drepper <drepper@cygnus.com>
4703
4704 * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
4705 aliases.
4706
4707 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
4708
4709 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
4710 for -Inf and return NaN.
4711
4712 * math/gen-libm-test.pl: Fix program name in help message.
4713
4714 * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
4715
4716 * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
4717
4718 * sysdeps/i386/Implies: Correct order of libm directories.
4719
4720 1999-10-19 Andreas Jaeger <aj@suse.de>
4721
4722 * include/bits/ipc.h: Remove K&R compatibility.
4723 * include/libintl.h: Likewise.
4724 * include/math.h: Likewise.
4725 * include/mntent.h: Likewise
4726 * include/netdb.h: Likewise.
4727 * include/pwd.h: Likewise.
4728 * include/sched.h: Likewise.
4729 * include/shadow.h: Likewise
4730 * include/stdlib.h: Likewise.
4731 * include/sys/file.h: Likewise.
4732 * include/sys/gmon.h: Likewise.
4733 * include/sys/ioctl.h: Likewise.
4734 * include/sys/mman.h: Likewise.
4735 * include/sys/resource.h: Likewise.
4736 * include/sys/socket.h: Likewise.
4737 * include/sys/stat.h: Likewise.
4738 * include/sys/sysinfo.h: Likewise.
4739 * include/sys/time.h: Likewise.
4740 * include/sys/times.h: Likewise.
4741 * include/sys/uio.h: Likewise.
4742 * include/sys/wait.h: Likewise.
4743 * include/termios.h: Likewise.
4744 * include/time.h: Likewise.
4745 * include/ulimit.h: Likewise.
4746 * include/utmp.h: Likewise.
4747 * include/wchar.h: Likewise.
4748 * include/wctype.h: Likewise.
4749
4750 1999-10-19 Andreas Jaeger <aj@suse.de>
4751
4752 * math/libm-test.inc: Remove one K&R compatibility.
4753 (main): Enable nexttoward_test.
4754
4755 * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
4756 libm-test-ulps.h; pretty print output a bit.
4757
4758 1999-10-19 Andreas Jaeger <aj@suse.de>
4759
4760 * iconv/iconv_prog.c (main): Set exit value in case that reading
4761 from stdin failed [PR libc/1404].
4762
4763 1999-10-18 Andreas Jaeger <aj@suse.de>
4764
4765 Added improved math testsuite:
4766 * math/libm-test.inc: New file, contains all tests from
4767 libm-test.c but in a different form.
4768 * math/libm-test.c: Removed.
4769 * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
4770 * math/gen-libm-test.pl: New file: Preprocessor.
4771 * math/test-double.c: Adopted to new testsuite.
4772 * math/test-idouble.c: Likewise.
4773 * math/test-float.c: Likewise.
4774 * math/test-ifloat.c: Likewise.
4775 * math/test-ldouble.c: Likewise.
4776 * math/test-ildoubl.c: Likewise.
4777 * math/Makefile: Added rules to generate new suite.
4778
4779 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
4780
4781 * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
4782 Patch by J. Richard Sladkey <jrs@world.std.com>.
4783
4784 * scripts/config.sub: Update from latest autoconf version.
4785 * scripts/config.guess: Likewise.
4786
4787 1999-10-18 Andreas Jaeger <aj@suse.de>
4788
4789 * inet/arpa/inet.h: Remove K&R compatibility.
4790 * math/fenv.h: Likewise.
4791
4792 1999-10-18 Andreas Jaeger <aj@suse.de>
4793
4794 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
4795 kernel_sigaction): Remove K&R compatibility.
4796 * sysdeps/unix/sysv/linux/net/if.h: Likewise.
4797 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4798 * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
4799 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
4800 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
4801 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
4802 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4803 * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
4804 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
4805 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
4806 * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
4807 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4808 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
4809 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
4810 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4811 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4812 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
4813
4814 1999-10-18 Andreas Jaeger <aj@suse.de>
4815
4816 * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
4817 Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
4818
4819 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
4820
4821 * po/gl.po: New file.
4822
4823 1999-10-18 Andreas Schwab <schwab@suse.de>
4824
4825 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
4826 namespace selection.
4827
4828 1999-10-18 Andreas Schwab <schwab@suse.de>
4829
4830 * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
4831 clash with the TERM environment variable.
4832
4833 1999-10-18 Andreas Jaeger <aj@suse.de>
4834
4835 * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
4836 returns now NaN + i NaN.
4837 * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
4838 * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
4839
4840 1999-10-18 Andreas Jaeger <aj@suse.de>
4841
4842 * include/aio.h: Remove K&R compatiblity.
4843 * include/alloca.h: Likewise.
4844 * include/db.h: Likewise.
4845 * include/dirent.h: Likewise.
4846 * include/fcntl.h: Likewise.
4847 * include/fpu_control.h: Likewise.
4848 * include/glob.h: Likewise.
4849 * include/grp.h: Likewise.
4850 * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
4851 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4852 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4853 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4854
4855 * include/execinfo.h: Add __THROW.
4856
4857 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
4858
4859 * sysdeps/mips/Implies: Remove wordsize-32 reference.
4860 * sysdeps/mips/mips3/Implies: Add it here.
4861
4862 1999-10-17 Ulrich Drepper <drepper@cygnus.com>
4863
4864 * elf/elf.h: Add various platform and architecture extensions.
4865
4866 * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
4867 * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
4868 LC_ALL.
4869
4870 * socket/sys/socket.h: Remove K&R compatibility.
4871
4872 1999-10-16 Andreas Jaeger <aj@suse.de>
4873
4874 * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
4875
4876 1999-10-15 Andreas Jaeger <aj@suse.de>
4877
4878 * stdlib/Makefile (tests): Added tst-xpg-basename.
4879
4880 * stdlib/tst-xpg-basename.c: New test file.
4881
4882 1999-10-14 Cristian Gafton <gafton@redhat.com>
4883
4884 * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
4885
4886 1999-10-14 Andreas Jaeger <aj@suse.de>
4887
4888 * resolv/inet_addr.c (inet_aton): Fix last patch. The little
4889 endian version works for both endiannesses.
4890
4891 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
4892 seconds.
4893
4894 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
4895
4896 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
4897 register names unconditionally, only if __USE_GNU.
4898
4899 * debug/Makefile: Fix rules to generate pcprofiledump.
4900
4901 * include/ucontext.h: New file.
4902
4903 * locale/setlocale.c: Fix gcc warning about uninitialized variable.
4904
4905 1999-10-12 Andreas Jaeger <aj@suse.de>
4906
4907 * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
4908
4909 * math/basic-test.c: Fix typo.
4910
4911 * locale/programs/xstrdup.c: Include string.h for glibc
4912 compilation to get string prototypes.
4913
4914 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
4915 gregset_t and fpregset_t.
4916
4917 * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
4918 warnings. Correct value for x == 0.
4919
4920 * argp/argp-help.c: Remove broken definition of flockfile and
4921 funlockfile.
4922
4923 1999-10-12 Andreas Schwab <schwab@suse.de>
4924
4925 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
4926 generic Linux version.
4927
4928 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
4929
4930 * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
4931
4932 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
4933
4934 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
4935 and fpregset_t definitions.
4936
4937 * malloc/memprof.c (GETSP): Define for PowerPC.
4938 (GETTIME): Fix generic version.
4939
4940 1999-10-10 Philip Blundell <philb@gnu.org>
4941
4942 * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
4943 __BYTE_ORDER.
4944
4945 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
4946
4947 * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
4948 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4949 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
4950 * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
4951
4952 * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
4953
4954 * sysdeps/powerpc/e_sqrt.c: Moved to...
4955 * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
4956 * sysdeps/powerpc/e_sqrtf.c: Moved to...
4957 * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
4958
4959 * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
4960 * sysdeps/powerpc/sub_n.S: Likewise.
4961 * sysdeps/powerpc/strlen.S: Likewise.
4962 * sysdeps/powerpc/strcpy.S: Likewise.
4963 * sysdeps/powerpc/strcmp.S: Likewise.
4964 * sysdeps/powerpc/strchr.S: Likewise.
4965 * sysdeps/powerpc/stpcpy.S: Likewise.
4966 * sysdeps/powerpc/setjmp.S: Likewise.
4967 * sysdeps/powerpc/rshift.S: Likewise.
4968 * sysdeps/powerpc/ppc-mcount.S: Likewise.
4969 * sysdeps/powerpc/mul_1.S: Likewise.
4970 * sysdeps/powerpc/memset.S: Likewise.
4971 * sysdeps/powerpc/lshift.S: Likewise.
4972 * sysdeps/powerpc/dl-start.S: Likewise.
4973 * sysdeps/powerpc/bzero.S: Likewise.
4974 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
4975 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
4976 * sysdeps/powerpc/addmul_1.S: Likewise.
4977 * sysdeps/powerpc/add_n.S: Likewise.
4978 * sysdeps/powerpc/__longjmp.S: Likewise.
4979 * sysdeps/powerpc/elf/start.S: Likewise.
4980
4981 1999-10-11 Cristian Gafton <gafton@redhat.com>
4982
4983 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
4984 SA_SIGINFO.
4985
4986 1999-10-10 Ulrich Drepper <drepper@cygnus.com>
4987
4988 * stdlib/atexit.c (initial): New variable. Use to initialize
4989 __exit_funcs.
4990 * stdlib/exit.c (exit): Beware to not free statically allocated
4991 list element [PR libc/1305].
4992
4993 * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
4994 slash before the basename [PR libc/1383].
4995
4996 * argp/argp.h: Fix typo in last patch.
4997
4998 * sysdeps/powerpc/sysdep.h: New file.
4999 * sysdeps/unix/powerpc/sysdep.h: New file.
5000 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
5001 sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
5002 * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
5003 instead of bare numbers.
5004 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
5005 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
5006 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
5007
5008 * sysdeps/hppa/sysdep.h: New file.
5009
5010 1999-10-10 Andreas Jaeger <aj@suse.de>
5011
5012 * misc/sgtty.h: Fix typo in last patch.
5013
5014 1999-10-09 Ulrich Drepper <drepper@cygnus.com>
5015
5016 * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
5017 * sysdeps/powerpc/s_copysign.S: Move to...
5018 * sysdeps/powerpc/fpu/s_copysign.S: ...here. Use portable asm syntax.
5019 * sysdeps/powerpc/s_copysignf.S: Move to...
5020 * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
5021 * sysdeps/powerpc/s_fabs.S: Move to...
5022 * sysdeps/powerpc/fpu/s_fabs.S: ...here. Use portable asm syntax.
5023 * sysdeps/powerpc/s_fabsf.S: Move to...
5024 * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
5025 * sysdeps/powerpc/s_fdim.c: Move to...
5026 * sysdeps/powerpc/fpu/s_fdim.c: ...here.
5027 * sysdeps/powerpc/s_fdimf.c: Move to...
5028 * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
5029 * sysdeps/powerpc/s_fmax.S: Move to...
5030 * sysdeps/powerpc/fpu/s_fmax.S: ...here. Use portable asm syntax.
5031 * sysdeps/powerpc/s_fmaxf.S: Move to...
5032 * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
5033 * sysdeps/powerpc/s_fmin.S: Move to...
5034 * sysdeps/powerpc/fpu/s_fmin.S: ...here. Use portable asm syntax.
5035 * sysdeps/powerpc/s_fminf.S: Move to...
5036 * sysdeps/powerpc/fpu/s_fminf.S: ...here.
5037 * sysdeps/powerpc/s_isnan.S: Move to...
5038 * sysdeps/powerpc/fpu/s_isnan.c: ...here.
5039 * sysdeps/powerpc/s_isnanf.S: Move to...
5040 * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
5041 * sysdeps/powerpc/s_llrint.c: Move to...
5042 * sysdeps/powerpc/fpu/s_llrint.c: ...here.
5043 * sysdeps/powerpc/s_llrintf.c: Move to...
5044 * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
5045 * sysdeps/powerpc/s_llround.c: Move to...
5046 * sysdeps/powerpc/fpu/s_llround.c: ...here.
5047 * sysdeps/powerpc/s_llroundf.c: Move to...
5048 * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
5049 * sysdeps/powerpc/s_lrint.c: Move to...
5050 * sysdeps/powerpc/fpu/s_lrint.c: ...here.
5051 * sysdeps/powerpc/s_lrintf.S: Move to...
5052 * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
5053 * sysdeps/powerpc/s_lround.c: Move to...
5054 * sysdeps/powerpc/fpu/s_lround.c: ...here.
5055 * sysdeps/powerpc/s_lroundf.c: Move to...
5056 * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
5057 * sysdeps/powerpc/s_rint.c: Move to...
5058 * sysdeps/powerpc/fpu/s_rint.c: ...here.
5059 * sysdeps/powerpc/s_rintf.c: Move to...
5060 * sysdeps/powerpc/fpu/s_rintf.c: ...here.
5061 * sysdeps/powerpc/t_sqrt.c: Move to...
5062 * sysdeps/powerpc/fpu/t_sqrt: ...here.
5063 * sysdeps/powerpc/w_sqrt.c: Move to...
5064 * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
5065 * sysdeps/powerpc/w_sqrtf.c: Move to...
5066 * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
5067 * configure.in: Support platforms which have no .text pseudo-op.
5068 Patches partly by Jimi X <jimix@pobox.com>.
5069
5070 * Makeconfig: Look also in all subdirs for shlib-versions files.
5071
5072 * malloc/memprof.sh: Fix --help string a bit.
5073
5074 * argp/argp.h: Remove K&R compatiblity.
5075 * assert/assert.h: Likewise.
5076 * catgets/nl_types.h: Likewise.
5077 * ctype/ctype.h: Likewise.
5078 * db/db.h: Likewise.
5079 * db/ndbm.h: Likewise.
5080 * db2/db.h: Likewise.
5081 * db2/db_185.h: Likewise.
5082 * debug/execinfo.h: Likewise.
5083 * dirent/dirent.h: Likewise.
5084 * dlfcn/dlfcn.h: Likewise.
5085 * gmon/sys/gmon.h: Likewise.
5086 * grp/grp.h: Likewise.
5087 * iconv/gconv.h: Likewise.
5088 * iconv/iconv.h: Likewise.
5089 * include/execinfo.h: Likewise.
5090 * inet/aliases.h: Likewise.
5091 * inet/netinet/ether.h: Likewise.
5092 * inet/netinet/in.h: Likewise.
5093 * intl/libintl.h: Likewise.
5094 * io/fcntl.h: Likewise.
5095 * io/fts.h: Likewise.
5096 * io/ftw.h: Likewise.
5097 * io/utime.h: Likewise.
5098 * io/sys/poll.h: Likewise.
5099 * io/sys/stat.h: Likewise.
5100 * io/sys/statfs.h: Likewise.
5101 * io/sys/statvfs.h: Likewise.
5102 * libio/libio.h: Likewise.
5103 * libio/stdio.h: Likewise.
5104 * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
5105 * locale/locale.h: Likewise.
5106 * login/pty.h: Likewise.
5107 * login/utmp.h: Likewise.
5108 * malloc/mcheck.h: Likewise.
5109 * math/complex.h: Likewise.
5110 * math/math.h: Likewise.
5111 * math/math_private.h: Likewise.
5112 * misc/err.h: Likewise.
5113 * misc/fstab.h: Likewise.
5114 * misc/libgen.h: Likewise.
5115 * misc/mntent.h: Likewise.
5116 * misc/regexp.h: Likewise.
5117 * misc/search.h: Likewise.
5118 * misc/sgtty.h: Likewise.
5119 * misc/ttyent.h: Likewise.
5120 * misc/sys/cdefs.h: Likewise.
5121 * misc/sys/file.h: Likewise.
5122 * misc/sys/ioctl.h: Likewise.
5123 * misc/sys/mman.h: Likewise.
5124 * misc/sys/select.h: Likewise.
5125 * misc/sys/syslog.h: Likewise.
5126 * misc/sys/uio.h: Likewise.
5127 * misc/sys/ustat.h: Likewise.
5128 * nss/nss.h: Likewise.
5129 * posix/sched.h: Likewise.
5130 * posix/unistd.h: Likewise.
5131 * posix/wordexp.h: Likewise.
5132 * posix/sys/times.h: Likewise.
5133 * posix/sys/utsname.h: Likewise.
5134 * posix/sys/wait.h: Likewise.
5135 * pwd/pwd.h: Likewise.
5136 * resolv/netdb.h: Likewise.
5137 * resolv/resolv.h: Likewise.
5138 * resource/ulimit.h: Likewise.
5139 * resource/sys/resource.h: Likewise.
5140 * resource/sys/vlimit.h: Likewise.
5141 * resource/sys/vtimes.h: Likewise.
5142 * rt/aio.h: Likewise.
5143 * setjmp/setjmp.h: Likewise.
5144 * shadow/shadow.h: Likewise.
5145 * signal/signal.h: Likewise.
5146 * socket/socket.h: Likewise.
5147 * stdio/stdio.h: Likewise.
5148 * stdio-common/_itoa.h: Likewise.
5149 * stdio-common/_itowa.h: Likewise.
5150 * stdio-common/printf.h: Likewise.
5151 * stdlib/alloca.h: Likewise.
5152 * stdlib/fmtmsg.h: Likewise.
5153 * stdlib/monetary.h: Likewise.
5154 * stdlib/stdlib.h: Likewise.
5155 * stdlib/ucontext.h: Likewise.
5156 * streams/stropts.h: Likewise.
5157 * string/argz.h: Likewise.
5158 * string/envz.h: Likewise.
5159 * string/string.h: Likewise.
5160 * string/strings.h: Likewise.
5161 * string/bits/string2.h: Likewise.
5162 * sunrpc/rpc/auth.h: Likewise.
5163 * sunrpc/rpc/auth_des.h: Likewise.
5164 * sunrpc/rpc/auth_unix.h: Likewise.
5165 * sunrpc/rpc/clnt.h: Likewise.
5166 * sunrpc/rpc/des_crypt.h: Likewise.
5167 * sunrpc/rpc/netdb.h: Likewise.
5168 * sunrpc/rpc/pmap_clnt.h: Likewise.
5169 * sunrpc/rpc/pmap_prot.h: Likewise.
5170 * sunrpc/rpc/pmap_rmt.h: Likewise.
5171 * sunrpc/rpc/rpc_msg.h: Likewise.
5172 * sunrpc/rpc/svc.h: Likewise.
5173 * sunrpc/rpc/svc_auth.h: Likewise.
5174 * sunrpc/rpc/xdr.h: Likewise.
5175 * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
5176 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5177 * sysvipc/sys/ipc.h: Likewise.
5178 * sysvipc/sys/msg.h: Likewise.
5179 * sysvipc/sys/sem.h: Likewise.
5180 * sysvipc/sys/shm.h: Likewise.
5181 * termios/termios.h: Likewise.
5182 * time/time.h: Likewise.
5183 * time/sys/time.h: Likewise.
5184 * time/sys/timeb.h: Likewise.
5185 * wcsmbs/wchar.h: Likewise.
5186 * wctype/wctype.h: Likewise.
5187
5188 1999-10-05 Roland McGrath <roland@baalperazim.frob.com>
5189
5190 * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
5191 _GNU_SOURCE be defined.
5192
5193 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
5194
5195 * ctype/ctype.h: Pretty print.
5196
5197 * po/cs.po: Fix typos.
5198
5199 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
5200 handling of empty entries. [PR libc/1345]
5201 Patch by Thorsten Kukuk <kukuk@suse.de>.
5202
5203 1999-10-08 Andreas Schwab <schwab@suse.de>
5204
5205 * debug/xtrace.sh: Fix quoting bugs. Implement --help and --version.
5206
5207 1999-10-08 Andreas Schwab <schwab@suse.de>
5208
5209 * debug/pcprofiledump.c: Fix typos.
5210
5211 1999-10-07 Andreas Jaeger <aj@suse.de>
5212
5213 * math/Makefile (tests): Added basic-tests.
5214
5215 * math/basic-test.c: New file. Contains function basic_tests from
5216 libm-test.
5217
5218 1999-10-07 Andreas Schwab <schwab@suse.de>
5219
5220 * malloc/memprof.sh: Fix quoting bugs.
5221
5222 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
5223
5224 * timezone/europe: Update from tzdata1999h.
5225
5226 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
5227
5228 * elf/elf.h: Update from last gABI draft.
5229
5230 * elf/elf.h: Remove EM_486 entry.
5231 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
5232 test for EM_486.
5233
5234 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
5235
5236 * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
5237 Add rules for both programs.
5238 * debug/pcprofiledump.c: New file.
5239 * debug/xtrace.sh: New file.
5240 * debug/pcprofile.c: Allow creating output file. Add magic signature
5241 to let reader recognize file format.
5242
5243 1999-10-06 Ulrich Drepper <drepper@cygnus.com>
5244
5245 * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
5246
5247 1999-10-05 Andreas Jaeger <aj@suse.de>
5248
5249 * locale/programs/ld-identification.c: Fix typo in comment.
5250 * locale/programs/ld-messages.c: Likewise.
5251 * locale/programs/ld-monetary.c: Likewise.
5252 * locale/programs/ld-name.c: Likewise.
5253
5254 * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
5255 (collate_read): Remove unnecessary comparisons with ignore_content.
5256
5257 * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
5258 assigned elements.
5259 (ctype_read): Remove unnecessary comparisons with ignore_content.
5260 Fix typos in comments.
5261
5262 * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
5263 comparisons with ignore_content.
5264
5265 1999-10-05 Ulrich Drepper <drepper@cygnus.com>
5266
5267 * po/cs.po: Update.
5268
5269 * time/time.h: Move __gmtime_r declaration to ...
5270 * include/time.h: ...here.
5271
5272 1999-10-05 Andreas Jaeger <aj@suse.de>
5273
5274 * manual/message.texi (The message catalog files): Fix description
5275 to match gencat implementation and Unix98: Message fields are
5276 separated by a single blank space.
5277
5278 1999-10-05 Andreas Jaeger <aj@suse.de>
5279
5280 * manual/string.texi (Search Functions): Add missing end for
5281 memrchr description.
5282
5283 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
5284
5285 * malloc/memprof.sh: Various small cleanups. Add short options.
5286 Write error messages to stderr.
5287
5288 * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
5289
5290 * malloc/memprof.sh: Take options to control memprofstat.
5291
5292 * malloc/Makefile: Add rule to generate memprof script.
5293 * malloc/memprof.sh: New file.
5294
5295 * elf/ldd.bash.in: Add "Usage: " in help message to comply with
5296 GNU standard.
5297
5298 1999-10-04 Andreas Jaeger <aj@suse.de>
5299
5300 * configure.in: Allow makeinfo 4.*.
5301
5302 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
5303
5304 * stdio-common/vfprintf.c: Correct last patch and use outchar
5305 instead of PUTC to output single characters.
5306 * stdio-common/Makefile (tests): Add bug13.
5307 * stdio-common/bug13.c: New file.
5308
5309 * configure.in: Add additional options --with-gd-include and
5310 --with-gd-lib to help people with strange installations.
5311
5312 * malloc/Makefile: Add libdl dependency to libmemprof.so.
5313 * malloc/Depend: New file.
5314
5315 1999-10-04 Andreas Jaeger <aj@suse.de>
5316
5317 * timezone/README: Change wording to not mention the current
5318 version. This way we can't forget to update the file.
5319
5320 1999-10-04 Andreas Jaeger <aj@suse.de>
5321
5322 * manual/time.texi (Basic CPU Time): Fix typo.
5323 Reported by Ben Pfaff <pfaffben@msu.edu>.
5324
5325 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
5326
5327 * string/string.h: Move __memrchr declaration to ...
5328 * include/string.h: ...here.
5329
5330 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
5331
5332 * string/Makefile (routines): Add memrchr.
5333
5334 * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
5335 Correct order of tests for matching bytes.
5336
5337 * string/tester.c: Add tests for memrchr.
5338
5339 * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
5340 Start from the last character and take decrement not increment
5341 into account for correction in return line. Add memrchr alias.
5342 * sysdeps/i386/bits/string.h: Likewise.
5343
5344 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
5345
5346 * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
5347
5348 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
5349
5350 * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
5351
5352 * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
5353 conventions.
5354
5355 * string/Versions: Export memrchr.
5356
5357 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
5358
5359 * misc/Versions (GLIBC_2.2): Add getloadavg.
5360 * misc/Makefile (routines): Add getloadavg.
5361 * sysdeps/generic/getloadavg.c: New file.
5362 * sysdeps/mach/getloadavg.c: New file.
5363 * sysdeps/unix/sysv/linux/getloadavg.c: New file.
5364
5365 * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
5366 * sysdeps/i386/bits/string.h (__memrchr): New function.
5367 * string/string.h: Declare memrchr, __memrchr.
5368 * manual/string.texi (Search Functions): Document memrchr.
5369
5370 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
5371
5372 * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
5373 CFLAGS-memprofstat.c, and LIBGD variables.
5374 * config.make.in: Add LIBGD.
5375 * malloc/Makefile: Add rules to generate libmemprof.so and
5376 memprofstat.
5377 * malloc/memprof.c: New file.
5378 * malloc/memprofstat.c: New file.
5379
5380 1999-10-02 Ulrich Drepper <drepper@cygnus.com>
5381
5382 * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
5383
5384 * resolv/inet_ntop.c (inet_ntop4): Little optimization.
5385 (inet_ntop6): Likewise.
5386
5387 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
5388 overruns.
5389
5390 * resolv/tst-aton.c (main): Add more tests.
5391
5392 * resolv/inet_addr.c (inet_aton): Correct some problems with to
5393 large numbers. Optimize a bit.
5394
5395 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
5396
5397 * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
5398 account for added '0'.
5399
5400 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
5401 handling of IPv6 tunnel address handling with bind 8.2.1. Allow
5402 len argument to be greater than needed address size.
5403
5404 1999-10-01 Andreas Jaeger <aj@suse.de>
5405
5406 * locale/programs/ld-collate.c (insert_value): Add cast to avoid
5407 warning.
5408 * intl/finddomain.c (_nl_find_domain): Likewise.
5409
5410 1999-09-30 Andreas Schwab <schwab@suse.de>
5411
5412 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
5413
5414 1999-09-30 Andreas Jaeger <aj@suse.de>
5415
5416 * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
5417 * sysdeps/i386/rshift.S: Likewise.
5418 * sysdeps/i386/strchrnul.S: Likewise.
5419 * sysdeps/i386/strchr.S: Likewise.
5420 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
5421 PR libc/1339.
5422
5423 1999-09-30 Andreas Jaeger <aj@suse.de>
5424
5425 * manual/examples/pipe.c: Close other end of pipe to make example work.
5426
5427 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
5428
5429 * timezone/checktab.awk: Update from tzcode1999g.
5430 * timezone/tzselect.ksh: Likewise.
5431 * timezone/africa: Update from tzdata1999g.
5432 * timezone/asia: Likewise.
5433 * timezone/australasia: Likewise.
5434 * timezone/europe: Likewise.
5435 * timezone/northamerica: Likewise.
5436 * timezone/southamerica: Likewise.
5437 * timezone/iso3166.tab: Likewise.
5438 * timezone/zone.tab: Likewise.
5439
5440 1999-09-27 Andreas Jaeger <aj@suse.de>
5441
5442 * resolv/netdb.h: Remove declaration of getnodebyname. It has
5443 been renamed to getipnodebyname. Move flags around.
5444
5445 1999-09-27 Andreas Schwab <schwab@suse.de>
5446
5447 * manual/message.texi (Locating gettext catalog): Fix typos.
5448
5449 1999-09-27 Andreas Jaeger <aj@suse.de>
5450
5451 * manual/socket.texi (Out-of-Band Data): Correct example program,
5452 rename some variables for clarity.
5453 Reported by James Antill <james@and.org>, close PR libc/1329.
5454
5455 1999-09-27 Ulrich Drepper <drepper@cygnus.com>
5456
5457 * locale/programs/ld-collate.c (insert_value): Add hack to not
5458 crash in incomplete collate implementation.
5459
5460 * locale/programs/ld-collate.c (read_directions): Read new token
5461 after accepting sorting rule.
5462
5463 1999-09-26 Ulrich Drepper <drepper@cygnus.com>
5464
5465 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
5466 error message printing. Correctly test whether all characters of
5467 current token are used.
5468 (ctype_read): NUL terminate last_str.
5469
5470 1999-09-26 Thorsten Kukuk <kukuk@suse.de>
5471
5472 * nscd/connections.c: Invalidate caches on request.
5473 * nscd/nscd-client.h: Add INVALIDATE to request_type.
5474 * nscd/nscd.c: Add invalidate cache option.
5475 * nscd/nscd.conf: Change log directory to /var/log (FHS).
5476
5477 1999-09-24 Ulrich Drepper <drepper@cygnus.com>
5478
5479 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
5480 not ovverwrite last group member with NULL pointer.
5481 Reported by Thomas Winder <thomas.winder@newlogic.at>.
5482
5483 1999-09-24 Andreas Jaeger <aj@suse.de>
5484
5485 * stdio-common/tst-printf.c (main): Add a testcase for large
5486 precision. Reported by Tymm Twillman <tymm@coe.missouri.edu>.
5487
5488 1999-09-24 Andreas Schwab <schwab@suse.de>
5489
5490 * math/bits/mathcalls.h: Fix last change. Also declare __finite.
5491
5492 1999-09-24 Andreas Jaeger <aj@suse.de>
5493
5494 * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
5495 normalized_codeset. Reported by Belicky Zsolt <zsolt@prolan.hu>.
5496
5497 1999-09-23 Mark Kettenis <kettenis@gnu.org>
5498
5499 * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
5500 variable. Define MORECORE_CLEARS to 2.
5501
5502 * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
5503 doesn't clear the contents of memory that is reallocated after
5504 decrementing the break value first. Update comment about
5505 MORECORE_CLEARS, explaining the meaning of the values it can be
5506 set to.
5507
5508 1999-09-23 Ulrich Drepper <drepper@cygnus.com>
5509
5510 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
5511 one more case.
5512
5513 * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
5514 (log): Likewise.
5515 (log10): Likewise.
5516 (log1p): Likewise.
5517 (log2): Likewise.
5518
5519 1999-09-22 Andreas Jaeger <aj@suse.de>
5520
5521 * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
5522 reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
5523
5524 1999-09-22 Andreas Schwab <schwab@suse.de>
5525
5526 * stdio-common/vfscanf.c: Fix width handling when scanning floats.
5527
5528 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5529
5530 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
5531 the source directory. Fixes PR libc/1059.
5532
5533 1999-09-21 Ulrich Drepper <drepper@cygnus.com>
5534
5535 * locale/programs/repertoire.c (repertoire_find_value): Abort if
5536 rep parameter is NULL.
5537 (repertoire_find_symbol): Likewise.
5538 (repertoire_find_seq): Likewise.
5539
5540 1999-09-20 Jean-Louis Martineau <martinea@IRO.UMontreal.CA>
5541
5542 * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
5543 returned errno value in some cases.
5544
5545 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
5546
5547 * iconvdata/Makefile (modules): Add GBK.
5548 (distribute): Add gbk.c.
5549 * iconvdata/gbk.c: New file.
5550 * iconvdata/gconv-modules: Add GBK entry.
5551 Contributed by Sean Chen <sean.chen@turbolinux.com>.
5552
5553 * locale/programs/ld-monetary.c (monetary_output): Remove
5554 byte-order code.
5555
5556 * locale/programs/ld-time.c (time_output): Correct expected number
5557 of iov entries.
5558
5559 * manual/filesys.texi (Testing File Access): Correct description of
5560 SUID.
5561
5562 1999-080-25 H.J. Lu <hjl@gnu.org>
5563
5564 * csu/defs.awk (.end): Only match with leading white spaces.
5565 (.align): Likewise.
5566
5567 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
5568
5569 * stdlib/isomac.c: Add va_copy to allowed macros.
5570
5571 * po/pl.po: Updated.
5572
5573 1999-09-17 Andreas Schwab <schwab@suse.de>
5574
5575 * Makefile (clean): Also remove $(postclean) files.
5576
5577 1999-09-15 Andreas Jaeger <aj@suse.de>
5578
5579 * pwd/Makefile (otherlibs): Add for building with static-nss.
5580 * inet/Makefile (otherlibs): Likewise.
5581
5582 1999-09-15 Andreas Jaeger <aj@suse.de>
5583
5584 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
5585 function definition to avoid a compilation failure.
5586
5587 1999-09-15 Andreas Jaeger <aj@suse.de>
5588
5589 * stdlib/tst-environ.c (main): Add getenv regression test for
5590 environment variable that's one character long.
5591
5592 1999-09-15 Andreas Jaeger <aj@suse.de>
5593
5594 * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
5595 signal definitions to let glibc compile with older Linux versions
5596 (2.0.10 to 2.1.100 or so).
5597
5598 1999-09-18 Roland McGrath <roland@baalperazim.frob.com>
5599
5600 * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
5601 return zero to indicate no children died yet (assuming WNOHANG).
5602
5603 * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
5604
5605 1999-09-17 Roland McGrath <roland@baalperazim.frob.com>
5606
5607 * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
5608
5609 * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
5610 Return _hurd_pgrp instead of 0.
5611
5612 1999-09-19 Roland McGrath <roland@baalperazim.frob.com>
5613
5614 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
5615 pages rather than just reprotecting them. This way we don't hold on
5616 to the backing space.
5617
5618 * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
5619 Use __munmap instead of __vm_deallocate.
5620
5621 1999-09-18 Ulrich Drepper <drepper@cygnus.com>
5622
5623 * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
5624 returned errno value in some cases.
5625
5626 1999-09-17 Andreas Jaeger <aj@suse.de>
5627
5628 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
5629 to override user settings.
5630
5631 1999-09-17 Andreas Schwab <schwab@suse.de>
5632
5633 * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
5634 using a pointer to it.
5635
5636 1999-09-16 Ulrich Drepper <drepper@cygnus.com>
5637
5638 * time/getdate.c (__getdate_r): Pass correct year to check_mday.
5639 Reported by Vern Staats <staatsvr@asc.hpc.mil>.
5640
5641 1999-09-14 Ulrich Drepper <drepper@cygnus.com>
5642
5643 * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
5644
5645 * elf/elf.h (PF_MASKOS): New definition.
5646 (EM_VAX): New definition.
5647
5648 1999-08-09 Scott Bambrough <scottb@netwinder.org>
5649
5650 * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
5651 'unsigned char ftype[8]', and 'unsigned int init_flag' to
5652 struct user_fp. These were added in version 2.2.12 of the
5653 ARM Linux kernel.
5654 * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
5655 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
5656 The generic procfs.h included <asm/elf.h>. This causes
5657 structure redefinition errors when <sys/user.h> and <sys/procfs.h>
5658 are included in the same source file. Found when building GDB.
5659
5660 1999-09-13 Ulrich Drepper <drepper@cygnus.com>
5661
5662 * locale/langinfo.h: Remove byte-order dependent names.
5663 * locale/categories.def: Update after removal of byte-order dependent
5664 names.
5665 * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
5666 with magic number in other byte order.
5667 * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
5668 * locale/C-collate.c: Remove initializers for other byte-order.
5669 * locale/C-ctype.c: Likewise.
5670 * locale/C-monetary.c: Likewise.
5671 * locale/C-paper.c: Likewise.
5672 * locale/C-time.c: Likewise.
5673 * locale/lc-collate.c: Remove byte-order oriented initialization.
5674 * locale/lc-ctype.c: Likewise.
5675 * locale/lc-monetary.c: Likewise.
5676 * locale/lc-time.c: Likewise.
5677 * locale/programs/ld-address.c: Don't generate output in both
5678 byte-orders.
5679 * locale/programs/ld-ctype.c: Likewise.
5680 * locale/programs/ld-paper.c: Likewise.
5681 * locale/programs/ld-time.c: Likewise.
5682 * time/strftime.c (NLW): Don't use different byte-orders.
5683 * wctype/cname-lookup.h (cname_lookup): Likewise.
5684
5685 * Makeconfig (localedir): Define using libdir, not datadir.
5686 (msgcatdir): New variable.
5687 * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
5688 * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
5689 msgcatdir.
5690 * intl/Makefile (install-others): Install locale.alias in msgcatdir.
5691 (CPPFLAGS): Define paths using msgcatdir.
5692 * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
5693 * po/Makefile (mo-installed): Define using msgcatdir.
5694
5695 * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
5696
5697 1999-09-12 Ulrich Drepper <drepper@cygnus.com>
5698
5699 * stdio-common/vfprintf.c: Remove limitation on size of precision
5700 for integers.
5701
5702 * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
5703 glibc by defining internal_function if it isn't already.
5704
5705 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
5706 fails don't rely on errno value.
5707 (getanswer_r): Set *ERRNOP in error cases.
5708
5709 * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
5710 (gaih_inet_serv): Return EIA_NODATA if name is known but has no
5711 associated data. Test for matching numeric address and family.
5712 (getaddrinfo): Remember EAI_NODATA result and return this in case
5713 everything fails.
5714 Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
5715
5716 * locale/programs/ld-address.c: Fix handling of non-existing
5717 definitions for this category. Correctly ignore content of this
5718 category is this is necessary.
5719 * locale/programs/ld-collate.c: Likewise.
5720 * locale/programs/ld-ctype.c: Likewise.
5721 * locale/programs/ld-identification.c: Likewise.
5722 * locale/programs/ld-measurement.c: Likewise.
5723 * locale/programs/ld-messages.c: Likewise.
5724 * locale/programs/ld-monetary.c: Likewise.
5725 * locale/programs/ld-name.c: Likewise.
5726 * locale/programs/ld-numeric.c: Likewise.
5727 * locale/programs/ld-paper.c: Likewise.
5728 * locale/programs/ld-telephone.c: Likewise.
5729 * locale/programs/ld-time.c: Likewise.
5730 * locale/programs/locfile.h (handle_copy): Take extra parameter
5731 with result pointer. Fill in name of locale from which to copy.
5732 Correctly read token after `END'.
5733
5734 * locale/programs/localedef.c (main): Correct handling copy.
5735 (add_to_readlist): Take extra parameter which says whether we
5736 are supposed to read the file or not.
5737 (find_locale): Call add_to_readlist with extra parameter set to 0.
5738
5739 * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
5740 instead of wrong number in array definitions.
5741 (add_to_readlist): Update prototype.
5742
5743 * locale/programs/locfile.c (locfile_read): Mark categories not
5744 available in source file as read.
5745 (write_all_categories): Fix typo.
5746
5747 * locale/programs/locales.h: Removed.
5748
5749 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
5750
5751 * elf/elf.h (SHF_MASKOS): Added.
5752
5753 * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
5754
5755 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5756
5757 * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
5758
5759 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5760
5761 * configure.in: Fix make version test for make 3.77.95 and later
5762 versions.
5763 Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
5764
5765 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
5766
5767 * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
5768
5769 * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
5770 WINT_MAX values.
5771
5772 * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
5773
5774 1999-09-09 Andreas Schwab <schwab@suse.de>
5775
5776 * elf/link.h: Fix comment.
5777
5778 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
5779
5780 * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
5781
5782 * math/math.h: Pretty print.
5783
5784 1999-09-10 Andreas Schwab <schwab@suse.de>
5785
5786 * sysdeps/generic/getenv.c (getenv): Fix lookup for single
5787 character variable on bigendian platforms without unaligned memory
5788 access.
5789
5790 1999-09-07 Cristian Gafton <gafton@redhat.com>
5791
5792 * sysdeps/unix/sysv/linux/sys/raw.h: New file
5793 * sysdeps/unix/sysv/linux/Dist: Add raw.h.
5794 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
5795
5796 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
5797
5798 * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
5799
5800 * time/ap.c: Removed. It was not used.
5801 * time/date.c: Likewise.
5802 * sysdeps/unix/nlist.c: Likewise.
5803 * sysdeps/generic/nlist.c: Likewise.
5804 * sysdeps/generic/varargs.h: Likewise.
5805 * stdio-common/scanf11.c: Likewise.
5806 * stdio-common/scanf6.c: Likewise.
5807 * scripts/=__ify: Likewise.
5808 * scripts/printsources: Likewise.
5809 * resolv/getnetnamadr.c: Likewise.
5810 * posix/id.c: Likewise.
5811 * misc/ioctltst.c: Likewise.
5812 * misc/nlist.h: Likewise.
5813 * math/test-math.h: Likewise.
5814 * include/nlist.h: Likewise.
5815
5816 1999-09-06 Andreas Schwab <schwab@suse.de>
5817
5818 * time/tzset.c (compute_change): Replace slow loop to compute T by
5819 simple algorithm.
5820
5821 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
5822
5823 * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
5824 escape sequences out even if the character itself does not fit
5825 into the buffer.
5826
5827 * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
5828
5829 1999-08-31 H.J. Lu <hjl@gnu.org>
5830
5831 * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
5832
5833 1999-09-05 Roland McGrath <roland@baalperazim.frob.com>
5834
5835 * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
5836 it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
5837 (_hurd_priority_which_map):
5838
5839 1999-09-04 Ulrich Drepper <drepper@cygnus.com>
5840
5841 * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
5842
5843 1999-09-03 Andreas Schwab <schwab@suse.de>
5844
5845 * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
5846 fork from __syscall_fork to __libc_fork.
5847 * posix/Versions: Add __libc_fork and __vfork to version
5848 GLIBC_2.1.2.
5849
5850 1999-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5851
5852 * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
5853 dependencies in sort.
5854
5855 1999-09-01 H.J. Lu <hjl@gnu.org>
5856
5857 * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
5858
5859 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
5860 <sys/user.h> instead of <asm/user.h>.
5861
5862 1999-09-02 Ulrich Drepper <drepper@cygnus.com>
5863
5864 * elf/elf.h: Update PARISC-specific flags and symbolic names.
5865
5866 1999-09-01 Ulrich Drepper <drepper@cygnus.com>
5867
5868 * elf/elf.h: Update PARISC relocations.
5869
5870 1999-08-31 Scott Bambrough <scottb@netwinder.org>
5871
5872 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
5873 #ifdef statement to prevent it from being included twice.
5874 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
5875 #include <bits/armsigctx.h>.
5876
5877 1999-08-31 Andreas Schwab <schwab@suse.de>
5878
5879 * locale/C-collate.c: Add missing initialisations.
5880 * locale/C-ctype.c: Likewise.
5881
5882 1999-08-31 Ulrich Drepper <drepper@cygnus.com>
5883
5884 * time/strftime.c (my_strftime): Remove unneeded variable len.
5885
5886 * time/strptime.c: Undo last change.
5887
5888 1999-08-30 Ulrich Drepper <drepper@cygnus.com>
5889
5890 * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
5891 Change charset.h to charmap.h.
5892 (categories): Add new categories. Leave out collate for now.
5893 Update build rules.
5894 * locale/categories.def: Add definitions for new categories.
5895 * locale/langinfo.h: Likewise.
5896 * locale/locale.h: Likewise.
5897 * locale/C-address.c: New file.
5898 * locale/C-identification.c: New file.
5899 * locale/C-measurement.c: New file.
5900 * locale/C-name.c: New file.
5901 * locale/C-paper.c: New file.
5902 * locale/C-telephone.c: New file.
5903 * locale/lc-address.c: Likewise.
5904 * locale/lc-identification.c: Likewise.
5905 * locale/lc-measurement.c: Likewise.
5906 * locale/lc-name.c: Likewise.
5907 * locale/lc-paper.c: Likewise.
5908 * locale/lc-telephone.c: Likewise.
5909 * locale/C-ctype.c: Update for locale rewrite.
5910 * locale/C-messages.c: Likewise.
5911 * locale/C-monetary.c: Likewise.
5912 * locale/C-time.c: Likewise.
5913 * locale/lc-collate.c: Likewise.
5914 * locale/lc-ctype.c: Likewise.
5915 * locale/lc-monetary.c: Likewise.
5916 * locale/lc-time.c: Likewise.
5917 * locale/localeinfo.h: Likewise.
5918 * locale/newlocale.c: Likewise.
5919 * locale/setlocale.c: Likewise.
5920 * locale/weight.h: Likewise.
5921 * locale/findlocale.c: Unconditionally use mmap.
5922 Handle new categories.
5923 * locale/loadlocale.c: Likewise.
5924 * locale/iso-3166.def: New file.
5925 * locale/iso-639.def: New file.
5926 * locale/programs/charmap-kw.gperf: Add new keywords.
5927 * locale/programs/locfile-kw.gperf: Likewise.
5928 * locale/programs/locfile-token.h: Define new tokens.
5929 * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
5930 * locale/programs/charmap.h: New file.
5931 * locale/programs/charset.h: Removed.
5932 * locale/programs/config.h: Add __LC_LAST.
5933 * locale/programs/lc-address.c: New file.
5934 * locale/programs/lc-identification.c: New file.
5935 * locale/programs/lc-measurement.c: New file.
5936 * locale/programs/lc-name.c: New file.
5937 * locale/programs/lc-paper.c: New file.
5938 * locale/programs/lc-telephone.c: New file.
5939 * locale/programs/lc-collate.c: Update for locale rewrite.
5940 * locale/programs/lc-ctype.c: Likewise.
5941 * locale/programs/lc-messages.c: Likewise.
5942 * locale/programs/lc-monetary.c: Likewise.
5943 * locale/programs/lc-numeric.c: Likewise.
5944 * locale/programs/lc-time.c: Likewise.
5945 * locale/programs/locale.c: Likewise.
5946 * locale/programs/localedef.c: Likewise.
5947 * locale/programs/locfile.c: Likewise.
5948 * locale/programs/repertoire.c: Likewise.
5949 * locale/programs/repertoire.h: Likewise.
5950 * locale/programs/locfile.c: Update prototypes.
5951 Update handle_copy definition.
5952 * locale/programs/linereader.c: Add handling of wide char strings and
5953 new definition file syntax.
5954 * locale/programs/linereader.h (struct token): Add elements for wide
5955 character strings.
5956 * locale/programs/locale-spec.c: Disable handling of collation
5957 elements for now.
5958 * locale/programs/simple-hash.h: Cleanup.
5959 * locale/programs/stringtrans.h: Handle quite of end of line.
5960 * string/strcoll.c: Fall back on strcmp for now.
5961 * string/strxfrm.c: Fall back on strncpy/strlen for now.
5962 * time/strftime.c: Use new wide character data for wcsftime.
5963 * time/strptime.c: Remove _nl_C_LC_TIME declaration.
5964 * wctype/cname-lookup.h: Update for new LC_CTYPE data.
5965
5966 * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
5967 compiling for i386 to avoid i686-like GOT pointer computation.
5968
5969 * db2/db_int.h: Change tsl_t type to u_int32_t.
5970 * db2/mutex/mutex.c: Allow Alpha mutex definitions.
5971 * db2/mutex/alpha.h: New file.
5972 * db2/mutex/sparc.gcc: Fix store code for v9. Simplify clear code.
5973 * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
5974 known.
5975 Patches by Richard Henderson.
5976
5977 * stdlib/tst-environ.c: Add cast to avoid warning.
5978 * timezone/test-tz.c: Use setenv instead of putenv.
5979
5980 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5981
5982 * manual/libc.texinfo: Update version and date.
5983
5984 * manual/locale.texi (Formatting Numbers): Fix @node pointers.
5985
5986 * manual/filesys.texi (Working with Directory Trees): Add missing @code.
5987 (File System Interface): Correct entry.
5988 (Permission Bits): Add missing commata after @xref.
5989
5990 1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5991
5992 * timezone/tst-timezone.c (main): Don't pass const strings to
5993 putenv to avoid warnings.
5994
5995 * posix/regexbug1.c: Include <stdio.h> for puts prototype.
5996
5997 1999-08-29 Thorsten Kukuk <kukuk@suse.de>
5998
5999 * nis/Versions: Add _nss_*_getipnodebyname_r.
6000 * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
6001 * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
6002 * nss/Versions: Add _nss_files_getipnodebyname_r.
6003
6004 1999-08-28 H.J. Lu <hjl@gnu.org>
6005
6006 * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
6007 memory for buffer.
6008
6009 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
6010
6011 * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
6012 kernel.
6013 * inet/netinet/in.h: Likewise.
6014 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
6015 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6016
6017 1999-08-28 Ulrich Drepper <drepper@cygnus.com>
6018
6019 * malloc/malloc.c (ptmalloc_init): Don't use variables to set
6020 thresholds for SUID binaries. [PR libc/1277]
6021
6022 * posix/regexbug1.c: Add one more similar case.
6023
6024 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6025
6026 * manual/install.texi (Running make install): Give examples for
6027 timezone and locale installation.
6028
6029 1999-08-28 Zack Weinberg <zack@bitmover.com>
6030
6031 * glibcbug.in: Get CCVERSION from autoconf substitution.
6032 * configure.in: Calculate and substitute CCVERSION.
6033
6034 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6035
6036 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
6037 partially reverting a patch from 1998-12-29. We just can't change
6038 the flags, kernels with different flags lead to
6039 incompatibilities.
6040
6041 1999-08-26 Andreas Schwab <schwab@suse.de>
6042
6043 * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
6044
6045 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
6046
6047 * inet/rexec.c (rexec): Free memory if strings were allocated in
6048 ruserpass. Reported by Andrew Morton <morton@nortelnetworks.com>.
6049
6050 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
6051
6052 * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
6053
6054 * manual/argp.texi: Fixing language and typos.
6055 * manual/conf.texi: Likewise.
6056 * manual/contrib.texi: Likewise.
6057 * manual/ctype.texi: Likewise.
6058 * manual/filesys.texi: Likewise.
6059 * manual/install.texi: Likewise.
6060 * manual/job.texi: Likewise.
6061 * manual/lang.texi: Likewise.
6062 * manual/llio.texi: Likewise.
6063 * manual/locale.texi: Likewise.
6064 * manual/math.texi: Likewise.
6065 * manual/nss.texi: Likewise.
6066 * manual/pipe.texi: Likewise.
6067 * manual/signal.texi: Likewise.
6068 * manual/socket.texi: Likewise.
6069 * manual/stdio.texi: Likewise.
6070 * manual/sysinfo.texi: Likewise.
6071 * manual/users.texi: Likewise.
6072 Patches by Neil Booth <NeilB@earthling.net>.
6073
6074 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
6075
6076 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
6077 unsigned to avoid warning. [PR libc/1271].
6078
6079 * conform/conformtest.pl: Allow testing regex.h which requires
6080 sys/types.h being included.
6081
6082 * conform/data/regex.h-data: Allow *_t types.
6083 * conform/data/pwd.h-data: Likewise.
6084 * conform/data/sched.h-data: Likewise.
6085 * conform/data/pthread.h-data: Likewise.
6086 * conform/data/search.h-data: Likewise.
6087
6088 * misc/search.h: Avoid namespace pollution.
6089
6090 * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
6091 pwd.h, and pthread.h.
6092 * conform/data/pthread.h-data: New file.
6093 * conform/data/pwd.h-data: New file.
6094 * conform/data/regex.h-data: New file.
6095 * conform/data/sched.h-data: New file.
6096 * conform/data/search.h-data: New file.
6097
6098 * NAMESPACE: Add REG_ for regex.h.
6099
6100 * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
6101 they are removed.
6102
6103 * configure.in (libc_cv_asm_global_directive): Indent .text in
6104 test code so that the lame HPUX compiler recognizes it.
6105 * sysdeps/hppa/bits/endian.h: New file.
6106 * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
6107 * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
6108 * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
6109 * sysdeps/unix/sysv/hpux/bits/types.h: New file.
6110
6111 * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
6112 Patch by John Tobey <jtobey@banta-im.com>.
6113
6114 * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
6115
6116 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
6117 old_siocfifconf definition to toplevel.
6118 (__protocol_available): Remove old_siocfifconf definition.
6119
6120 1999-08-25 Mark Kettenis <kettenis@gnu.org>
6121
6122 * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
6123 really dealing with a master pseudo terminal, and really returning
6124 the name of the associated slave pseudo terminal by checking the
6125 device number.
6126 * sysdeps/unix/sysv/linux/pty-private.h: Removed.
6127 * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
6128
6129 1999-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6130
6131 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
6132 underscore in _llseek entry.
6133
6134 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
6135 entry.
6136
6137 * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
6138 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
6139
6140 * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
6141 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
6142
6143 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
6144
6145 * inet/Makefile (routines): Add getipnodebynm.
6146 * inet/getipnodebynm.c: New file.
6147 * nss/digits_dots.c: If HAVE_TYPE is define type contains the
6148 interface type.
6149 * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
6150 EXTRA_ARGS_VALUE is not already done.
6151 (internal_getent): Allow extra parameters and pass them to parse_line.
6152 (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
6153 (_nss_files_get##name##_r): Likewise.
6154 * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
6155 and EXTRA_ARGS_VALUE to pass flags and type to parser.
6156 Add getipnodebyname function.
6157 * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
6158 EXTRA_ARGS_VALUE is not already done.
6159 (parse_line): Add EXTRA_ARGS_DECL to parameter list.
6160 * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
6161 to parse_line.
6162 (_nss_db_get##name##_r): Pass extra parameters to lookup.
6163 (_nss_db_get,ENTNAME_r): Likewise.
6164 * sysdeps/generic/if_index.c (__protocol_available): New function.
6165 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6166
6167 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
6168
6169 * login/pty-private.h: Move to...
6170 * sysdeps/generic/pty-private.h: ...here.
6171 * sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific
6172 version.
6173 * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
6174 available.
6175
6176 * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
6177 of __overflow.
6178
6179 * conform/conformtest.pl (@headers): Add monetary.h-data,
6180 mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
6181 * conform/data/monetary.h-data: New file.
6182 * conform/data/mqueue.h-data: New file.
6183 * conform/data/ndbm.h-data: New file.
6184 * conform/data/nl_types.h.h-data: New file.
6185 * conform/data/poll.h-data: New file.
6186
6187 * stdio-common/Makefile (test): Add tst-cookie.
6188 * stdio-common/tst-cookie.c: New file.
6189
6190 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
6191 changed in last patch. Reported by Ralf Baechle.
6192
6193 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6194
6195 * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
6196
6197 * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
6198 Patches by Ralf Baechle <ralf@uni-koblenz.de>
6199
6200 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6201
6202 * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
6203 Linux 2.3.15.
6204
6205 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
6206
6207 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
6208 syscall.
6209 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6210
6211 * misc/libgen.h: Don't take basename macro as taking arguments.
6212
6213 * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
6214 for gcc >= 2.95.
6215 * sysdeps/i386/bits/huge_val.h: Likewise.
6216 * sysdeps/i386/bits/huge_val.h: Likewise.
6217 * sysdeps/ieee754/bits/huge_val.h: Likewise.
6218 * sysdeps/m68k/bits/huge_val.h: Likewise.
6219 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
6220 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
6221
6222 * conform/Makefile: New file.
6223 * conform/conformtest.pl: New file.
6224 * conform/data/aio.h-data: New file.
6225 * conform/data/assert.h-data: New file.
6226 * conform/data/cpio.h-data: New file.
6227 * conform/data/ctype.h-data: New file.
6228 * conform/data/dirent.h-data: New file.
6229 * conform/data/dlfcn.h-data: New file.
6230 * conform/data/errno.h-data: New file.
6231 * conform/data/fcntl.h-data: New file.
6232 * conform/data/float.h-data: New file.
6233 * conform/data/fmtmsg.h-data: New file.
6234 * conform/data/fnmatch.h-data: New file.
6235 * conform/data/ftw.h-data: New file.
6236 * conform/data/glob.h-data: New file.
6237 * conform/data/grp.h-data: New file.
6238 * conform/data/iconv.h-data: New file.
6239 * conform/data/inttypes.h-data: New file.
6240 * conform/data/iso646.h-data: New file.
6241 * conform/data/langinfo.h-data: New file.
6242 * conform/data/libgen.h-data: New file.
6243 * conform/data/locale.h-data: New file.
6244 * conform/data/math.h-data: New file.
6245
6246 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
6247
6248 * posix/execvp.c (execvp): Correct copying of file name.
6249
6250 1999-08-23 Mark Kettenis <kettenis@gnu.org>
6251
6252 * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
6253
6254 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
6255
6256 * stdio-common/Makefile: Move addition to routines to the right place.
6257
6258 1999-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6259
6260 * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary
6261 since mips*-linux has ECANCELED.
6262
6263 1999-08-23 Andreas Schwab <schwab@suse.de>
6264
6265 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
6266 SIGCONTEXT_EXTRA_ARGS.
6267 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
6268 * sysdeps/generic/sigcontextinfo.h: Likewise.
6269 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
6270 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
6271 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6272 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
6273 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
6274 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
6275
6276 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
6277
6278 * posix/regexbug1.c: Make it an error if the test fails.
6279
6280 1999-08-23 Andreas Schwab <schwab@suse.de>
6281
6282 * posix/regex.c (re_match_2_internal): Correct check for charset
6283 after exactn in loop.
6284
6285 1999-08-22 Ulrich Drepper <drepper@cygnus.com>
6286
6287 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
6288 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6289 Patch by Joel Klecker.
6290
6291 * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
6292 (__gconv_find_transform): Update prototype.
6293 (__gconv_open): Likewise.
6294 * iconv/gconv_open.c: Take extra parameter and pass it to
6295 __gconv_find_transform.
6296 * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
6297 flags. If GCONV_AVOID_NOCONV flag is set don't return copying
6298 transformation.
6299 * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
6300 * wcsmbs/wcsmbsload.c: Likewise.
6301 * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
6302 iconv for glibc.
6303 * intl/gettextP.h: Likewise.
6304 * intl/loadmsgcat.c: Likewise.
6305
6306 * posix/regexbug1.c: New file.
6307 * posix/Makefile (tests): Add regexbug1.
6308
6309 1999-08-22 Mark Kettenis <kettenis@gnu.org>
6310
6311 * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
6312 * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
6313 installing PORT in the descriptor cell.
6314
6315 1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
6316
6317 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
6318 TIMEOUT as outputs of the asm to indicate that the signal thread
6319 might mutate them.
6320 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
6321 mach_msg if only sending or only receiving (i.e., not an RPC). When
6322 making an RPC that might get interrupted, save OPTION and the portion
6323 of the message buffer that gets clobbered by an EINTR reply message,
6324 and properly restore them before attempting to retry the request
6325 message send.
6326
6327 1999-08-21 Mark Kettenis <kettenis@gnu.org>
6328
6329 * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
6330 definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
6331 CHAR_T, UCHAR_T and WIN_T to make the code compile again when
6332 stdio is used instead of libio.
6333 * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
6334 definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
6335 to make the code compile again when stdio is used instead of
6336 libio.
6337 (vfprintf): Only check for correct orientation if ORIENT is
6338 defined.
6339 * stdio-common/Makefile (routines): Only add vfwprintf and
6340 vfwscanf if we're using libio.
6341
6342 1999-08-21 Mark Kettenis <kettenis@gnu.org>
6343
6344 * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
6345 any additional prototype just as we do for libio.
6346
6347 1999-08-21 Mark Kettenis <kettenis@gnu.org>
6348
6349 * include/bits/xopen_lim.h: Do not define STREAM_MAX and
6350 TZNAME_MAX. These limits are not X/Open specific.
6351 * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
6352 is defined.
6353
6354 1999-08-21 Mark Kettenis <kettenis@gnu.org>
6355
6356 * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
6357 UIO_MAXIOV is left undefined in sys/uio.h.
6358 * stdio-common/stdio_lim.h.in: Adapt for change above.
6359
6360 1999-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6361
6362 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
6363 * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
6364 Patches by Ralf Baechle <ralf@uni-koblenz.de>
6365
6366 1999-08-21 Ulrich Drepper <drepper@cygnus.com>
6367
6368 * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
6369
6370 1999-08-20 Ulrich Drepper <drepper@cygnus.com>
6371
6372 * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
6373
6374 * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
6375 call. It should not be necessary andis harmful for Alpha.
6376
6377 * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
6378 type. [PR libc/1269]
6379
6380 * posix/execvp.c (execvp): Allocate array name of correct size.
6381 Optimize inner loop. Use execve directly, not execv.
6382
6383 * elf/elf.h: Corrected SHT_ values from new draft.
6384
6385 * intl/gettextP.h (struct loaded_domain): Add conv element.
6386 * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
6387 Instead of returning found message directly convert it using iconv
6388 if a conversion was found when opening the file.
6389 * intl/loadinfo.h: Protect against multiple inclusion.
6390 Declare _nl_find_msg.
6391 * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
6392 in the message file and if necessary find approrpiate
6393 conversion to match currently selected charset.
6394 * include/libintl.h: Declare __dgettext and __dcgettext.
6395 * include/iconv.h: New file.
6396
6397 1999-08-20 Andreas Schwab <schwab@suse.de>
6398
6399 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6400
6401 1999-08-19 Ulrich Drepper <drepper@cygnus.com>
6402
6403 * sysdeps/unix/sysv/linux/execve.c: New file. This version terminates
6404 all threads [PR libc/1223].
6405
6406 * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
6407 [PR libc/1165].
6408
6409 * configure.in: Search for programs with prefix gnu* and g* first.
6410 [PR libc/1104].
6411
6412 * dirent/Makefile (routines): Add getdents64.
6413 * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
6414 Remove getdents64.
6415 * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
6416 compiled with _FILE_OFFSET_BITS=64.
6417 * sysdeps/generic/getdents64.c: New file.
6418 * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
6419 __lseek for getdirentries64 definition.
6420
6421 * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
6422
6423 * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
6424 _FILE_OFFSET_BITS=64.
6425
6426 * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
6427 parameter.
6428
6429 * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
6430 after we have the lock.
6431
6432 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
6433 Patch by Richard Henderson.
6434
6435 1999-08-19 Andreas Schwab <schwab@suse.de>
6436
6437 * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
6438 and call _IO_fwide, to get the wide stream state initialized
6439 correctly. Don't set _IO_JUMPS.
6440 * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
6441 * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass
6442 _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
6443 directly.
6444
6445 1999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6446
6447 * math/libm-test.c (jn_test): Fix typo in description.
6448 (erfc_test): Add some more tests.
6449 (erf_test): Add some more tests.
6450
6451 1999-08-19 Andreas Schwab <schwab@suse.de>
6452
6453 * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
6454 expression using $(exceptions).
6455
6456 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
6457
6458 * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
6459
6460 * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
6461 allocated so far. [PR libc/1261].
6462
6463 * math/libm-test.c (j0_test): Adjust deltas for m68k.
6464 (jn_test): Likewise.
6465
6466 * dirent/dirent.h: Only define ino64_t if not already done.
6467 * posix/sys/types.h: Likewise.
6468
6469 * ctype/ctype.h: Avoid useless #endif #if pairs.
6470
6471 * dirent/dirent.h: Define ino_t and ino64_t if not done already.
6472 (seekdir): Fix type of second parameter.
6473 * sysdeps/generic/seekdir.c: Likewise.
6474 * sysdeps/mach/hurd/seekdir.c: Likewise.
6475 * sysdeps/unix/seekdir.c: Likewise.
6476
6477 * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
6478
6479 1999-08-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6480
6481 * manual/install.texi (Configuring and compiling): Clarify ix86
6482 situation.
6483
6484 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
6485
6486 * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
6487 * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
6488 * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
6489 stdio_lim.h. Define LONG_BIT and WORD_BIT.
6490
6491 * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
6492
6493 * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
6494
6495 * misc/search.h: Don't define NULL.
6496
6497 * posix/sys/types.h: Define blksize_t if it hasn't happened.
6498 Only define key_t and blkcnt_t if it hasn't happened before.
6499 Define blksize_t if not happened before.
6500 * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t.
6501 * sysdeps/generic/bits/types.h: Define __blksize_t.
6502 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6503 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6504 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6505 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6506 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6507 * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
6508 st_blksize member.
6509 (struct stat64): Likewise.
6510 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6511 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
6512 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
6513 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6514 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
6515 * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
6516 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
6517
6518 * stdlib/getsubopt.c: Correct type of second argument.
6519 * stdlib/stdlib.h: Likewise.
6520
6521 * stdlib/monetary.h: Don't include sys/types.h. Define only size_t
6522 and ssize_t.
6523
6524 * sysdeps/generic/putenv.c: Correct type of parameter.
6525 * stdlib/stdlib.h: Likewise.
6526
6527 * sysdeps/generic/msgsnd.c: Correct type of second parameter.
6528 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
6529 * sysvips/sys/msg.h: Likewise.
6530
6531 * sysdeps/generic/semop.c: Correct type of third parameter.
6532 * sysdeps/unix/sysv/linux/semop.c: Likewise.
6533 * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define
6534 size_t.
6535
6536 * sysdeps/generic/shmget.c: Correct type of second parameter.
6537 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
6538 * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h.
6539 Declare __getpagesize here.
6540
6541 * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
6542 sys/types.h.
6543 * sysdeps/gnu/bits/ipc.h: Likewise.
6544 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
6545 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
6546 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6547 * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
6548 already done.
6549
6550 * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
6551
6552 * debug/versions: Export __cyg_profile_func_enter and
6553 __cyg_profile_func_exit.
6554
6555 * math/bits/mathcalls.h: Pretty print.
6556
6557 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
6558
6559 * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
6560 case for new tzdata.
6561
6562 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
6563 unsigned.
6564 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6565 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6566 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6567 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6568
6569 * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
6570
6571 * sysdeps/generic/ualarm.c (ualarm): Change return value and
6572 parameter type to useconds_t.
6573 * sysdeps/unix/bsd/ualarm.c: Likewise.
6574
6575 * sysdeps/generic/usleep.c (usleep): Change parameter type to
6576 useconds_t.
6577 * sysdeps/unix/sysv/linux/usleep.c: Likewise.
6578 * sysdeps/mach/usleep.c: Likewise.
6579
6580 * locale/weight.h: Include <errno.h>.
6581
6582 * posix/sys/types.h: Define type useconds_t if not done already.
6583 * posix/unistd.h: Likewise. Use this in ualarm and usleep
6584 declarations.
6585 * sysdeps/generic/bits/types.h: Define type __useconds_t.
6586 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6587 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6588 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6589 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6590 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6591
6592 * dirent/dirent.h (telldir): Change return type to long int.
6593 * sysdeps/generic/telldir.c: Likewise.
6594 * sysdeps/mach/hurd/telldir.c: Likewise.
6595 * sysdeps/unix/telldir.c: Likewise.
6596 * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem.
6597
6598 * locale/weight.h: Set errno if an invalid character is found.
6599
6600 1999-08-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6601
6602 * math/libm-test.c (erfc_test): Add test for example from PR
6603 libc/1259.
6604 (erf_test): Likewise.
6605
6606 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
6607
6608 * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
6609 rewrite. Patch by Alan Stern <stern@kitsilano.rowland.org>.
6610
6611 * timezone/private.h: Update from tzcode1999e.
6612 * timezone/zic.c: Likewise.
6613
6614 * timezone/africa: Update from tzdata1999e.
6615 * timezone/antarctica: Likewise.
6616 * timezone/asia: Likewise.
6617 * timezone/australasia: Likewise.
6618 * timezone/europe: Likewise.
6619 * timezone/leapseconds: Likewise.
6620 * timezone/northamerica: Likewise.
6621 * timezone/southamerica: Likewise.
6622
6623 * stdio-common/vfprintf.c (process_string_arg): Correct last patch
6624 and write correct number of bytes in case of %ls with precision.
6625 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6626
6627 1999-08-16 Ulrich Drepper <drepper@cygnus.com>
6628
6629 * nscd/nscd.init: Test for kernel version and make LSB compliant.
6630 Patch by Christian Gafton.
6631
6632 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
6633 O_RSYNC. Patch by Christian Gafton.
6634
6635 * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
6636 possibly unterminated strings for %ls when a precision is
6637 specified.
6638 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
6639
6640 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
6641 update_conversion_ptrs.
6642 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6643
6644 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6645
6646 * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
6647 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6648
6649 * wcsmbs/Makefile (tests): Add tst-wcsnlen.
6650 * wcsmbs/tst-wcsnlen.c: New file.
6651
6652 1999-08-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6653
6654 * libio/ioputs.c (_IO_puts): Add missing brace.
6655
6656 1999-07-20 Geoff Keating <geoffk@cygnus.com>
6657
6658 * math/libm-test.c: Tweak deltas for a clean run on ppc.
6659
6660 1999-08-10 H.J. Lu <hjl@gnu.org>
6661
6662 * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
6663 (vfprintf): Likewise.
6664 * stdio-common/vfscanf.c (ORIENT): Likewise.
6665 * libio/genops.c (__underflow): Likewise.
6666 (__uflow): Likewise.
6667 * libio/iofputs.c (_IO_fputs): Likewise.
6668 * libio/ioftell.c (_IO_ftell): Likewise.
6669 * libio/iofwrite.c (_IO_fwrite): Likewise.
6670 * libio/ioputs.c (_IO_puts): Likewise.
6671 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
6672 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6673
6674 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6675
6676 * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
6677
6678 1999-08-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6679
6680 * manual/job.texi (Process Group Functions): Document getpgid,
6681 getsid.
6682
6683 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6684
6685 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
6686 initialize si_pid from it.
6687 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
6688 parameter.
6689 * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
6690 * rt/aio_misc.h (struct waitlist): Add caller_pid element.
6691 (struct requestlist): Likewise.
6692 Adjust prototypes of __aio_notify_only and __aio_sigqueue.
6693 * rt/aio_notify.c (__aio_notify_only): Take extra parameter. Pass it
6694 to __aio_sigqueue.
6695 (__aio_notify): Pass caller PID to __aio_notify_only.
6696 * rt/aio_suspend.c: Initialize caller_pid.
6697 * rt/lio_listio.c: Likewise.
6698 * rt/lio_listio64.c: Likewise.
6699
6700 * rt/lio_listio.c: If nothing has to be done free mutex before
6701 signalling.
6702 * rt/lio_listio64.c: Likewise.
6703
6704 1999-08-10 H.J. Lu <hjl@gnu.org>
6705
6706 * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
6707 handling.
6708
6709 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6710
6711 * elf/elf.h: Define ElfXX_Versym.
6712 * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
6713 definition.
6714
6715 * stdio-common/vfprintf.c (process_string_arg): Handle precisions
6716 for string output correctly in the wide character case.
6717 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
6718
6719 * intl/locale.alias: Add catalan.
6720
6721 1999-08-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6722
6723 * manual/install.texi (Configuring and compiling): Mention CFLAGS.
6724
6725 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6726
6727 * po/pt_BR.po: New file.
6728
6729 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6730
6731 * math/libm-test.c (yn_test): Adjust deltas for i386.
6732 (ccosh_test): Likewise.
6733 (jn_test): Likewise.
6734
6735 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
6736
6737 * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
6738
6739 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
6740
6741 * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
6742 problem.
6743
6744 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6745
6746 * configure.in: install-sh lives now in scripts subdir.
6747 PR libc/1255 (bug 4).
6748
6749 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
6750
6751 * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
6752 version.
6753
6754 * po/fr.po: Update.
6755
6756 1999-08-11 Thorsten Kukuk <kukuk@suse.de>
6757
6758 * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
6759
6760 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
6761
6762 * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
6763 exponent.
6764
6765 1999-08-10 Andreas Schwab <schwab@suse.de>
6766
6767 * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
6768 header.
6769
6770 1999-08-09 Scott Bambrough <scottb@netwinder.org>
6771
6772 * elf/elf.h: Added definition of ELFOSABI_ARM.
6773 * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
6774 VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
6775 object's header and ABI values are acceptable.
6776 (VALID_ELF_HEADER): New macro; provide default definition.
6777 (VALID_ELF_OSABI): New macro; provide default definition.
6778 (VALID_ELF_ABIVERSION): New macro; provide default definition.
6779 * sysdeps/arm/dl-machine.h Define ARM specific versions of
6780 VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
6781
6782 1999-08-09 Andreas Schwab <schwab@suse.de>
6783
6784 * inet/tst-ipnode.c (main): Don't compare integer with NULL.
6785
6786 1999-08-09 Thorsten Kukuk <kukuk@suse.de>
6787
6788 * sunrpc/svc_run.c (svc_run): Free my_pollfd.
6789
6790 1999-08-09 Andreas Schwab <schwab@suse.de>
6791
6792 * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
6793
6794 1999-08-08 Ulrich Drepper <drepper@cygnus.com>
6795
6796 * sysdeps/ieee754/ieee754.h: Handle platforms with special
6797 __FLOAT_WORD_ORDER. Patch by Joel Klecker <jk@espy.org>.
6798
6799 * string/bits/string2.h: Mark void* operations as extensions.
6800 * sysdeps/i386/i486/bits/string.h: Likewise.
6801
6802 * debug/Makefile (routines): Add noophooks.
6803 (extra-libs): Add libpcprofile. Add rules to build libpcprofile.
6804 * debug/noophooks.c: New file.
6805 * debug/pcprofile.c: New file.
6806
6807 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
6808
6809 * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
6810 systems which allow using the functions also on non-seekable
6811 devices.
6812
6813 * resolv/res_send.c (res_send): Recompute timeout for poll for
6814 each jump to `wait'.
6815
6816 * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
6817 braces to avoid warnings.
6818 (IN6ADDR_LOOPBACK_INIT): Likewise.
6819
6820 * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
6821 MSG_DONTWAIT).
6822
6823 1999-08-06 H.J. Lu <hjl@gnu.org>
6824
6825 * malloc/malloc.c: Initialize __libc_pagesize early.
6826
6827 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
6828
6829 * string/string-inlines.c: Undefined __USE_STRING_INLINES before
6830 defining it.
6831
6832 * inet/Makefile (tests): Add tst-ipnode.
6833 * inet/tst-ipnode.c: New file.
6834
6835 1999-08-06 Andreas Schwab <schwab@suse.de>
6836
6837 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
6838 New definitions.
6839 (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
6840 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
6841 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
6842 New definitions.
6843 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
6844 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
6845
6846 1999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
6847
6848 * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
6849 * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
6850 * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
6851
6852 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
6853
6854 * resolv/res_send.c (res_send): Don't test file descriptor for
6855 range, we use poll now. [PR libc/1240]
6856
6857 1999-08-05 Ulrich Drepper <drepper@cygnus.com>
6858
6859 * libio/genops.c (_IO_flush_all): Don't access elements beyond what
6860 2.0 defined if they are not available.
6861
6862 1999-08-05 Thorsten Kukuk <kukuk@suse.de>
6863
6864 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
6865 Define.
6866
6867 1999-08-04 Ulrich Drepper <drepper@cygnus.com>
6868
6869 * rt/aio_read.c: Fix return value.
6870 * rt/aio_read64.c: Likewise.
6871 Reported by Christian Gafton.
6872
6873 * rt/aio_write.c: Fix return value.
6874 * rt/aio_write64.c: Likewise.
6875 * rt/aio_fsync.c: Likewise.
6876
6877 * rt/aio_misc.c: Set errno at correct place.
6878
6879 * rt/aio_fsync.c: Test OP parameter for correct values.
6880
6881 * hesiod/hesiod.c: Avoid emitting rcsid in object file.
6882
6883 1999-08-04 Andreas Schwab <schwab@suse.de>
6884
6885 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
6886 Initialize result to one.
6887 (GET_NPROCS_CONF_PARSER): Likewise.
6888
6889 1999-08-03 Ulrich Drepper <drepper@cygnus.com>
6890
6891 * inet/ether_hton.c: Pass errno pointer to NSS function.
6892 * inet/getnetgrent_r.c: Likewise.
6893 Reported by Marty Leisner <leisner@rochester.rr.com>.
6894
6895 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
6896
6897 * nis/nis_callback.c: Fix port problem on big-endian machines
6898 * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
6899 fields are always 32 bit.
6900 Patches from Paul Mackerras <paulus@cs.anu.edu.au>
6901
6902 * nis/nss_nis/nis-service.c: Remove htons, port is always in
6903 network-byte-order.
6904 * nis/nss_nisplus/nisplus-service.c: Rename number to port.
6905
6906 1999-08-03 Andreas Schwab <schwab@suse.de>
6907
6908 * sysdeps/posix/sigset.c: Unblock the signal after setting its
6909 disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
6910 avoid two calls to sigprocmask.
6911
6912 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
6913
6914 * sysdeps/generic/s_nexttowardf.c: Fix typo.
6915
6916 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
6917
6918 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
6919 Only allow rt signal frames. No SA_SIGINFO signals will have the
6920 siginfo_t just not filled out with SI_NOINFO code.
6921 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
6922 (register_dump): Take the above change into account.
6923 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
6924 (rt_signal_frame): Likewise.
6925
6926 * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
6927
6928 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
6929
6930 * nis/nis_callback.c (internal_nis_do_callback): Use poll()
6931 instead of select().
6932
6933 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
6934
6935 * sysdeps/generic/s_nextafter.c: Define __nexttoward and
6936 nexttoward so something else so that aliasing works.
6937
6938 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
6939
6940 * sysdeps/generic/math_ldbl.h: Fix typo.
6941 * sysdeps/generic/strtold.c: Remove unbalanced #endif.
6942 * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
6943
6944 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
6945
6946 * elf/resolvfail.c: Include stdio.h. Also test dlerror.
6947
6948 1999-08-01 Ulrich Drepper <drepper@cygnus.com>
6949
6950 * elf/Makefile (tests): Add resolvfail. Add rules to build the
6951 program.
6952 * elf/resolvfail.c: New file.
6953
6954 * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
6955 pass it to _dl_lookup_symbol.
6956
6957 * elf/dl-error.c (_dl_signal_error): Optimize string generation a
6958 bit. Reword message.
6959
6960 * dlfcn/dlerror.c: Make code thread-safe.
6961
6962 1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
6963
6964 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
6965 initializer in CHECK: a bit size, not the type code repeated!
6966
6967 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
6968
6969 * string/tester.c: Add tests with constant arguments for strcpy
6970 and stpcpy.
6971
6972 1999-07-31 H.J. Lu <hjl@gnu.org>
6973
6974 * string/bits/string2.h (__strcpy_small): Fix a typo.
6975
6976 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
6977
6978 * Makeconfig (link-libc): Always define it, not only for shared
6979 builds.
6980
6981 * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
6982 * sysdeps/i386/fpu/e_powf.S: Likewise.
6983 * sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213].
6984
6985 * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
6986 * sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212].
6987
6988 1999-07-30 Andreas Schwab <schwab@suse.de>
6989
6990 * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
6991 definition.
6992 (__get_nprocs): Use it.
6993 (__get_nprocs_conf): Define as separate function if
6994 GET_NPROCS_CONF_PARSER is defined.
6995 * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
6996
6997 * include/sys/sysinfo.h: New file.
6998 * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
6999 interface.
7000 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
7001
7002 1999-07-30 H.J. Lu <hjl@gnu.org>
7003
7004 * libio/iofflush.c (fflush_unlocked): Weak aliase if
7005 _IO_MTSAFE_IO is not defined.
7006 * libio/clearerr.c (clearerr_unlocked): Likewise.
7007 * libio/feof.c (feof_unlocked): Likewise.
7008 * libio/ferror.c (ferror_unlocked): Likewise.
7009 * libio/fputc.c (fputc_unlocked): Likewise.
7010 * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
7011 * libio/getchar.c (getchar_unlocked): Likewise.
7012 * libio/putc.c (putc_unlocked): Likewise.
7013 * libio/putchar.c (putchar_unlocked): Likewise.
7014
7015 1999-07-30 Thorsten Kukuk <kukuk@suse.de>
7016
7017 * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
7018 svc_max_pollfd and svc_pollfd to GLIBC_2.2
7019 * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
7020 for svc_run/poll interface.
7021 * sunrpc/rpc/types.h: Add rpc*_t typedefs.
7022 * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
7023 global variable.
7024 * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
7025 rewrite other svc_getreq* functions to use svc_getreq_common.
7026 * sunrpc/svc_run.c: Use poll().
7027
7028 1999-07-30 Andreas Schwab <schwab@suse.de>
7029
7030 * Makerules: Put sysd-versions and Versions.all on
7031 postclean-generated instead of common-generated.
7032
7033 1999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7034
7035 * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
7036 around and CLOCKS_PER_SEC is 1e6.
7037
7038 1999-07-30 Ulrich Drepper <drepper@cygnus.com>
7039
7040 * configure.in: Add test for local label subtraction.
7041 * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
7042 * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
7043 labels to reduce number of runtime relocations and move jump
7044 tables in read-only seciton.
7045
7046 * malloc/malloc.c (ptmalloc_init): Correct last patch. The
7047 assignment cannot be moved.
7048
7049 1999-07-29 H.J. Lu <hjl@gnu.org>
7050
7051 * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
7052 if no threads are used.
7053
7054 * libio/iofwrite.c: Add weak alias for _unlocked function if not
7055 _IO_MTSAFE_IO.
7056 * libio/iofread.c: Likewise.
7057 * libio/iofgets.c: Likewise.
7058 * libio/iofputs.c: Likewise.
7059
7060 * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
7061 definition.
7062
7063 * stdlib/mbtowc.c: Include <string.h>.
7064 * stdlib/wctomb.c: Likewise.
7065 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
7066 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
7067
7068 * misc/mntent_r.c: Include <alloca.h>.
7069 * elf/dl-runtime.c: Likewise.
7070
7071 1999-07-29 Andreas Schwab <schwab@suse.de>
7072
7073 * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
7074 all floating point formats supported by gcc. Error out for
7075 unhandled precisions.
7076 * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
7077 * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
7078 * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
7079
7080 1999-07-29 Ulrich Drepper <drepper@cygnus.com>
7081
7082 * sysdeps/generic/setenv.c: Move setenv code in new function
7083 __add_to_environ. Add new parameter specifying already
7084 constructed string for the environment.
7085 (setenv): Call __add_to_environ with new parameter set to NULL.
7086 (unsetenv): Really test all elements for duplicated name. Missed those
7087 cases where the two are following each other.
7088 * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
7089 * include/stdlib.h: Add prototype of __add_to_environ.
7090 * stdlib/tst-environ.c: New file.
7091 * stdlib/Makefile (tests): Add tst-environ.
7092
7093 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
7094
7095 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
7096 argument in realloc call.
7097 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
7098 Likewise.
7099 Reported by Danny Braniss <danny@cs.huji.ac.il>.
7100
7101 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
7102
7103 * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
7104 to print.
7105 * misc/efgcvt_r.c: Likewise.
7106 * misc/qefgcvt.c: Likewise.
7107 * misc/qefgcvt_r.c: Likewise.
7108 * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
7109 anymore.
7110
7111 1999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7112
7113 * manual/math.texi (FP Function Optimization): Mention drawbacks.
7114
7115 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
7116
7117 * stdlib/mblen.c: Use static state.
7118 Reported by Bruno Haible <haible@ilog.fr>.
7119
7120 * stdlib/mbtowc.c: Reset state for s == NULL.
7121 * stdlib/wctomb.c: Likewise.
7122 Reported by Bruno Haible <haible@ilog.fr>.
7123
7124 * stdlib/mbstowcs.c: Do not use global state.
7125 Reported by Bruno Haible <haible@ilog.fr>.
7126
7127 1999-07-28 Andeas Schwab <schwab@suse.de>
7128
7129 * iconvdata/Makefile: Don't try to run iconv tests when cross
7130 compiling.
7131
7132 1999-07-27 Mark Kettenis <kettenis@gnu.org>
7133
7134 * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
7135 assembler code to switch stacks and call init1 outside this
7136 function. Inside `init' the code was optimized away by gcc
7137 2.95 since it was "clearly" unreachable.
7138 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
7139 Do something similar for the trampoline code.
7140
7141 1999-07-27 Ulrich Drepper <drepper@cygnus.com>
7142
7143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
7144 for the hinted protocol.
7145
7146 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7147
7148 * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
7149
7150 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
7151
7152 * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
7153 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
7154 * elf/dl-load.c (_dl_map_object): Likewise.
7155 * elf/do-lookup.h (do_lookup*): Likewise.
7156 * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
7157 * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
7158 as uint64_t.
7159 * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
7160
7161 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
7162
7163 * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
7164 * sysdeps/generic/getpgrp.c: Likewise.
7165 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
7166 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
7167 Patch by John Tobey <jtobey@banta-im.com>.
7168
7169 * sysdeps/posix/wait3.c: Help compiling in presence of
7170 __transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
7171
7172 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
7173
7174 * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
7175 as much as possible. Declare them using .register pseudo-op if they
7176 are still used.
7177 * sysdeps/sparc/sparc64/lshift.S: Likewise.
7178 * sysdeps/sparc/sparc64/memchr.S: Likewise.
7179 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
7180 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7181 * sysdeps/sparc/sparc64/memset.S: Likewise.
7182 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7183 * sysdeps/sparc/sparc64/rshift.S: Likewise.
7184 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
7185 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7186 * sysdeps/sparc/sparc64/strcat.S: Likewise.
7187 * sysdeps/sparc/sparc64/strchr.S: Likewise.
7188 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
7189 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
7190 * sysdeps/sparc/sparc64/strcspn.S: Likewise.
7191 * sysdeps/sparc/sparc64/strlen.S: Likewise.
7192 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7193 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7194 * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
7195 * sysdeps/sparc/sparc64/strspn.S: Likewise.
7196 * sysdeps/sparc/sparc64/sub_n.S: Likewise.
7197 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7198 Optimize trampoline code for .plt4-.plt32767.
7199 Fix trampolines for .plt32768+.
7200
7201 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
7202
7203 * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
7204 -mcpu=v8.
7205 * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
7206 * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
7207 libc's private use (as assembly routine clobber it anyway).
7208
7209 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7210
7211 * README.template (configurations): The crypt add-on has a new
7212 ftp site.
7213 * manual/install.texi (Installation): Likewise.
7214
7215 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
7216
7217 * time/time.h: Add forward for struct sigevent. Unix98 maybe
7218 requires to have a full definition but we wait for a bug report
7219 based on the test suite.
7220
7221 * sysdeps/generic/clock_getres.c: New file.
7222 * sysdeps/generic/clock_gettime.c: New file.
7223 * sysdeps/generic/clock_settime.c: New file.
7224 * sysdeps/generic/timer_create.c: New file.
7225 * sysdeps/generic/timer_delete.c: New file.
7226 * sysdeps/generic/timer_getoverr.c: New file.
7227 * sysdeps/generic/timer_gettime.c: New file.
7228 * sysdeps/generic/timer_settime.c: New file.
7229
7230 * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
7231 CLOCK_REALTIME, and TIMER_ABSTIME.
7232 * sysdeps/mach/hurd/bits/time.h: Likewise.
7233 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
7234 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
7235
7236 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
7237
7238 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
7239 si_timer2.
7240
7241 * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
7242
7243 * time/Makefile (routines): Add clock_getres, clock_gettime,
7244 clock_setres, timer_create, timer_delete, timer_getoverr,
7245 timer_gettime, and timer_settime.
7246
7247 * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
7248 POSIX.1b. Add prototypes for clock and timer functions.
7249
7250 1999-07-26 Roland McGrath <roland@baalperazim.frob.com>
7251
7252 * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
7253 Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
7254
7255 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
7256
7257 * stdlib/wcstombs.c: Do not use global state.
7258 Reported by Bruno Haible <haible@ilog.fr>.
7259
7260 * wcsmbs/wctob.c: Avoid sign extension when returning character.
7261 Reported by Bruno Haible <haible@ilog.fr>.
7262
7263 * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
7264 of wide characters to convert do it right and don't overestimate
7265 by multiplying with MB_CUR_MAX.
7266 Reported by Bruno Haible <haible@ilog.fr>.
7267
7268 1999-07-26 Jakub Jelinek <jj@ultra.linux.jz>
7269
7270 * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
7271 (__stpcpy_small): Likewise.
7272 Union has no __uc member but __c.
7273
7274 1999-07-26 Andreas Schwab <schwab@suse.de>
7275
7276 * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
7277
7278 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
7279
7280 * libio/iofclose.c (_IO_new_fclose): Only fall back on
7281 _IO_old_fclose if doing versioning.
7282
7283 * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
7284 them appropriately.
7285 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
7286
7287 * misc/mntent_r.c: Allow spaces and tabs in entry names by
7288 encoding these characters.
7289 * misc/tst-mntent.c: Add test case for addmntent and getmntent.
7290
7291 * string/bits/string2.h: Fix aliasing problems.
7292 * sysdeps/i386/i486/bits/string.h: Likewise.
7293 * sysdeps/i386/bits/string.h: Likewise.
7294
7295 1998-12-28 Geoff Keating <geoffk@ozemail.com.au>
7296
7297 * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
7298 * elf/rtld.c (dl_main): Don't call malloc() between
7299 re-relocating the dynamic linker and running the application's crt0.
7300
7301 1999-07-21 Paul D. Smith <psmith@gnu.org>
7302
7303 * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
7304 glob.h to get __P() macro.
7305
7306 * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
7307 not ANSI.
7308 (__strchrnul): This won't exist outside GLIBC, so create one.
7309
7310 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
7311
7312 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
7313 __ino64_t should be 32bit unsigned type on sparc32.
7314 Define __off64_t to __quad_t instead of __int64_t.
7315 Make __pic_pid_t unsigned on sparc32.
7316
7317 1999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7318
7319 * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
7320 in bash 2.03.
7321
7322 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
7323
7324 * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
7325 of an error. Patch by Changwoo Ryu <cwryu@debian.org>.
7326
7327 1999-07-24 Ulrich Drepper <drepper@cygnus.com>
7328
7329 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
7330 accesses.
7331
7332 * resolv/res_send.c: Add locks for res_send and res_close use.
7333
7334 * elf/Makefile (dl-routines): Add preinit.
7335 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
7336 * elf/link.h (struct link_map): Add new field l_preinitcount.
7337 * elf/dl-preinit.c: New file.
7338 * elf/dynamic-link.h: Initialize l_preinitcount.
7339 * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
7340
7341 * elf/dl-fini.c: Handle DT_FINI_ARRAY.
7342 * elf/link.h (struct link_map): Remove l_init_running. Add l_runcount
7343 and l_initcount.
7344 * elf/dl-init.c: Handle DT_INIT_ARRAY.
7345 * elf/dynamic-link.h: Change parameters. Now only get link_map
7346 pointer. Calculate l_initcount.
7347
7348 * elf/link.h (struct link_map): Add l_runpath_dirs.
7349 * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
7350 * elf/dl-load.c: Pretty print.
7351 (decompose_rpath): Take new parameter with info from where the path
7352 comes. Pass it the fillin_rpath.
7353 (_dl_init_paths): Initialize l_runpath_dirs.
7354 (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
7355 Search using RUNPATH after LD_LIBRARY_PATH.
7356 * elf/dl-support.c: Adjust comment.
7357 * elf/rtld.c: Adjust help message.
7358
7359 1999-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7360
7361 * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
7362 interface.
7363
7364 1999-07-23 Roland McGrath <roland@baalperazim.frob.com>
7365
7366 * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
7367 match BSD value; previous value of 1<<8 was a typo. I bet nothing
7368 ever used this, so I'm not going to worry about compatibility.
7369 [__USE_GNU] (IUCLC, OLCUC): New macros.
7370
7371 1999-07-23 Ulrich Drepper <drepper@cygnus.com>
7372
7373 * include/libintl.h: Undefine N_ and _ first to avoid warnings.
7374
7375 * elf/elf.h: Add ET_LOOS and ET_HIOS.
7376 Add various EM_* constants.
7377 Add SHN_LOOS and SHN_HIOS.
7378 Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
7379 Add SHF_MERGE and SHF_STRINGS.
7380 (ElfXX_Sym): Update description of st_other field.
7381 Add STT_COMMON.
7382 Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
7383 Add STV_* macros.
7384 Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
7385 DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
7386 Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
7387
7388 * posix/unistd.h: Move declaration of __libc_enable_secure to...
7389 * include/unistd.h: ...here.
7390
7391 * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
7392 * elf/dl-deps.c (expand_dst): Likewise.
7393
7394 * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
7395 based on DT_FLAGS value.
7396
7397 * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
7398 Add test for symbols marked STV_HIDDEN.
7399 * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
7400 add undef_map. Compute reference_name locally. Update call to
7401 do_lookup.
7402 (_dl_lookup_symbol_skip): Likewise.
7403 (_dl_lookup_versioned_symbol): Likewise.
7404 (_dl_lookup_versioned_symbol_skip): Likewise.
7405 * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
7406 * elf/dl-runtime.c: Likewise.
7407 * elf/dl-sym.c: Likewise.
7408 * elf/dl-symbol.c: Likewise.
7409 * elf/ldsodefs.h: Adjust prototypes.
7410
7411 * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
7412 handle appropriately. Add comment about DT_TEXTREL.
7413 * elf/dl-runtime.c: Likewise.
7414
7415 1999-07-21 Roland McGrath <roland@baalperazim.frob.com>
7416
7417 * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
7418 * elf/ldsodefs.h: Declare it.
7419 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
7420 instead of assert.
7421 (elf_machine_lazy_rel): Likewise. Take new arg MAP.
7422 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7423 (elf_machine_lazy_rel): Likewise.
7424 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
7425 (elf_machine_lazy_rel): Likewise.
7426 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
7427 (elf_machine_lazy_rel): Likewise.
7428 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
7429 (elf_machine_lazy_rel): Likewise.
7430 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7431 (elf_machine_lazy_rel): Likewise.
7432 * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
7433 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
7434 (elf_machine_lazy_rel): Likewise.
7435 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
7436 (elf_machine_lazy_rel): Likewise.
7437 * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
7438 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
7439 _dl_reloc_bad_type instead of _dl_signal_error.
7440 * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
7441
7442 1999-07-20 Mark Kettenis <kettenis@gnu.org>
7443
7444 * sysdeps/mach/_strerror.c: Include <libintl.h>.
7445
7446 1999-07-19 Roland McGrath <roland@baalperazim.frob.com>
7447
7448 * hurd/hurdsig.c (_hurd_internal_post_signal): If a
7449 hurd_signal_preemptor matches but its `preemptor' field is null, use
7450 its `handler' field directly. This is to comply with behavior
7451 documented in <hurd/sigpreempt.h>.
7452
7453 1999-07-21 Andreas Schwab <schwab@suse.de>
7454
7455 * libio/fileops.c (_IO_new_file_underflow): Set error indicator
7456 when reading from write-only stream.
7457 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
7458 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7459
7460 1999-07-21 Andreas Schwab <schwab@suse.de>
7461
7462 * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
7463 NULL.
7464
7465 1999-07-21 Mark Kettenis <kettenis@gnu.org>
7466
7467 * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
7468 <hurd/fd.h>.
7469 * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
7470 <hurd/fd.h>.
7471 (__libc_write): Call __pwrite instead of __pread.
7472
7473 1999-07-20 Mark Kettenis <kettenis@gnu.org>
7474
7475 * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
7476 __vm_allocate calls.
7477
7478 * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.
7479 * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
7480
7481 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
7482 _hurd_fd_read with new OFFSET argument set to -1.
7483 (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
7484 to -1.
7485
7486 1999-07-17 Roland McGrath <roland@baalperazim.frob.com>
7487
7488 * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
7489 descriptor table sent in the RPC.
7490
7491 1999-07-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7492
7493 * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by
7494 bill@taniwha.org [PR libc/1211].
7495
7496 1999-07-19 Andreas Schwab <schwab@suse.de>
7497
7498 * libio/Makefile (routines): Add fwprintf.
7499
7500 PowerPC has own version of w_sqrt.c and w_sqrtf.c.
7501 * math/w_sqrt.c: Moved to ...
7502 * sysdeps/generic/w_sqrt.c: ... here.
7503 * math/w_sqrtf.c: Moved to ...
7504 * sysdeps/generic/w_sqrtf.c: ... here.
7505
7506 * Make-dist (generic-dirs): New variable.
7507 (try-sysdeps, +sysdep-names): Use it.
7508 * extra-lib.mk (all-$(lib)-routines): New variable. Use it
7509 instead of $(lib)-routines.
7510 * elf/Makefile (distribute): Add dl-cache.h.
7511 * db2/Makefile (distribute): Add all new files.
7512 * iconvdata/Makefile (distribute): Don't distribute CVS
7513 directory.
7514 * math/Makefile (distribute): Remove machine/endian.h, add
7515 math_ldbl.h.
7516 * stdio-common/Makefile (distribute): Add _itowa.h.
7517 * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
7518 * sysdeps/gnu/Dist: Add eval.c
7519 * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
7520 dlfcn]: Add to this instead of libdl-routines.
7521 * sysdeps/ieee754/ldbl-128/Dist: New file.
7522 * sysdeps/mach/hurd/Dist: Add siglist.h
7523 * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
7524
7525 1999-07-18 Ulrich Drepper <drepper@cygnus.com>
7526
7527 * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
7528
7529 * inet/Makefile (routines): Add getipnodebyad and freehostent.
7530 * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
7531 * inet/freehostent.c: New file.
7532 * inet/getipnodebyad.c: New file.
7533 * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
7534 and getipnodebyname. The latter comes soon.
7535 * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
7536 Add support for getipnode* functions.
7537
7538 * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
7539 Set h_aliases to NULL and not to a pointer to an array with a NULL
7540 pointer following XNS 5.2.
7541
7542 * posix/sched.h: Remove internal interfaces.
7543 * include/sched.h: Add internal interfaces.
7544
7545 * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
7546
7547 * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
7548
7549 * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
7550 and return an error in this case.
7551 * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
7552 available.
7553
7554 1999-07-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7555
7556 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
7557 1999-07-17 and adjust len parameter.
7558 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
7559 * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
7560 * manual/socket.texi (Host Names): Likewise.
7561 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
7562 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
7563 Likewise.
7564 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7565 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
7566 (ht_gethostbyaddr): Likewise.
7567 (_gethtbyaddr): Likewise.
7568
7569 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
7570
7571 * resolv/netdb.h: Adjust parameters of gethostbyaddr and
7572 gethostbyaddr_r.
7573 * include/netdb.h: Likewise.
7574 * inet/gethstbyad.c: Correct type of len parameter.
7575 * inet/gethstbyad_r.c: Likewise.
7576
7577 * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
7578
7579 1999-07-17 Zack Weinberg <zack@rabi.columbia.edu>
7580
7581 * include/libc-symbol.h: Clean up definitions of weak_alias,
7582 strong_alias, symbol_version, etc. etc.
7583 * posix/getopt.h: Use ctype.h to get features.h included, and don't
7584 include it at all if __GNU_LIBRARY__ is already defined.
7585
7586 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
7587
7588 * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
7589
7590 * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
7591
7592 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
7593 type for tv_usec element.
7594 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
7595 * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
7596 * sysdeps/generic/bits/time.h: Likewise.
7597 * sysdeps/mach/hurd/bits/time.h: Likewise.
7598 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7599 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
7600 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
7601 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
7602 * sysdeps/generic/bits/types.h: Likewise.
7603 * posix/sys/types.h: Define suseconds_t for X/Open.
7604
7605 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
7606
7607 * stdio-common/bug1.c: Avoid memory leak.
7608
7609 * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
7610 program deterministic.
7611 * sysdeps/i386/fpu/e_powf.S: Likewise.
7612 * sysdeps/i386/fpu/e_powl.S: Likewise.
7613
7614 1999-07-15 Jakub Jelinek <jj@ultra.linux.cz>
7615
7616 * math/Makefile: Add t_sincosl and k_sincosl support routines.
7617 * math/math_private.h (__kernel_sincosl): New declaration.
7618 * sysdeps/generic/t_sincosl.c: New file.
7619 * sysdeps/generic/k_sincosl.c: New file.
7620 * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
7621 * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
7622 * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
7623 * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
7624 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
7625 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
7626 __kernel_sincosl.
7627 * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
7628 definition.
7629
7630 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
7631
7632 * posix/unistd.h: Use __PMT for exit.
7633
7634 1999-07-15 Philip Blundell <pb@nexus.co.uk>
7635
7636 * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
7637 _outw, _outl): Added to GLIBC_2.1.2.
7638
7639 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
7640
7641 * posix/fnmatch.h: Use __name instead of __string in prototype to
7642 allow use outside glibc.
7643
7644 1999-07-14 Ulrich Drepper <drepper@cygnus.com>
7645
7646 * time/tst-strptime.c (main): Add one more test case. Produce
7647 output even when result is ok.
7648
7649 * time/strptime.c (get_number): Handle number parsing more
7650 consistent with strftime. Only parse a given number of digits.
7651 (get_alt_number): Fix implementation. Was broken.
7652 (strptime_internal): Add third parameter to get_number and
7653 get_alt_number calls.
7654
7655 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
7656
7657 * elf/ldd.bash.in: Add support for multiple dynamic linkers.
7658 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
7659 try both 32bit and 64bit dynamic linker.
7660 * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
7661 script on all sparc targets.
7662
7663 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
7664
7665 * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
7666 to int.
7667
7668 1999-07-13 Andreas Schwab <schwab@suse.de>
7669
7670 * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
7671 inlining. Fixes PR libc/1198.
7672
7673 1999-07-14 Andreas Schwab <schwab@suse.de>
7674
7675 * Makerules (common-generated): Don't prepend $(common-objpfx).
7676
7677 1999-07-12 Jakub Jelinek <jj@ultra.linux.cz>
7678
7679 * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
7680 as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
7681 * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
7682 quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
7683 macro.
7684 * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7685 instead of ieee754.
7686 * sysdeps/arm/Implies: Likewise.
7687 * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
7688 ieee754/ldbl-96 instead of ieee754.
7689 * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
7690 * sysdeps/generic/e_atanhl.c: New file.
7691 * sysdeps/generic/e_coshl.c: New file.
7692 * sysdeps/generic/e_sinhl.c: New file.
7693 * sysdeps/generic/e_gammal_r.c: New file.
7694 * sysdeps/generic/e_hypotl.c: New file.
7695 * sysdeps/generic/s_cbrtl.c: New file.
7696 * sysdeps/generic/s_asinhl.c: New file.
7697 * sysdeps/generic/s_tanhl.c: New file.
7698 * sysdeps/generic/w_expl.c: New file.
7699 * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7700 instead of ieee754.
7701 * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
7702 ieee754/ldbl-96 instead of ieee754.
7703 * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
7704 * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
7705 printf_fphex.
7706 * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7707 instead of ieee754.
7708 * sysdeps/mips/mips64/Implies: Likewise.
7709 * sysdeps/powerpc/Implies: Likewise.
7710 * sysdeps/sparc/Implies: Remove.
7711 * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
7712 ieee754/dbl-64.
7713 * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
7714 and ieee754/ldbl-128.
7715
7716 * sysdeps/sparc/bits/wordsize.h: Remove.
7717 * sysdeps/sparc/fpu/bits/mathinline.h: New file.
7718 * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
7719 only for sparc32.
7720 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
7721 * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
7722 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
7723 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
7724 * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
7725 support.
7726
7727 * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
7728 of carries. Optimize.
7729
7730 * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
7731 * sysdeps/generic/e_exp10.c: ...here.
7732 * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
7733 * sysdeps/generic/e_exp10f.c: ...here.
7734 * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
7735 * sysdeps/generic/e_exp10l.c: ...here.
7736 * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
7737 * sysdeps/generic/e_scalb.c: ...here.
7738 * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
7739 * sysdeps/generic/e_scalbf.c: ...here.
7740 * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
7741 * sysdeps/generic/e_scalbl.c: ...here.
7742 * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
7743 * sysdeps/generic/s_cacos.c: ...here.
7744 * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
7745 * sysdeps/generic/s_cacosf.c: ...here.
7746 * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
7747 * sysdeps/generic/s_cacosh.c: ...here.
7748 * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
7749 * sysdeps/generic/s_cacoshf.c: ...here.
7750 * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
7751 * sysdeps/generic/s_cacoshl.c: ...here.
7752 * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
7753 * sysdeps/generic/s_cacosl.c: ...here.
7754 * sysdeps/libm-ieee754/s_casin.c: Moved to ...
7755 * sysdeps/generic/s_casin.c: ...here.
7756 * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
7757 * sysdeps/generic/s_casinf.c: ...here.
7758 * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
7759 * sysdeps/generic/s_casinh.c: ...here.
7760 * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
7761 * sysdeps/generic/s_casinhf.c: ...here.
7762 * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
7763 * sysdeps/generic/s_casinhl.c: ...here.
7764 * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
7765 * sysdeps/generic/s_casinl.c: ...here.
7766 * sysdeps/libm-ieee754/s_catan.c: Moved to ...
7767 * sysdeps/generic/s_catan.c: ...here.
7768 * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
7769 * sysdeps/generic/s_catanf.c: ...here.
7770 * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
7771 * sysdeps/generic/s_catanh.c: ...here.
7772 * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
7773 * sysdeps/generic/s_catanhf.c: ...here.
7774 * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
7775 * sysdeps/generic/s_catanhl.c: ...here.
7776 * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
7777 * sysdeps/generic/s_catanl.c: ...here.
7778 * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
7779 * sysdeps/generic/s_ccos.c: ...here.
7780 * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
7781 * sysdeps/generic/s_ccosf.c: ...here.
7782 * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
7783 * sysdeps/generic/s_ccosh.c: ...here.
7784 * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
7785 * sysdeps/generic/s_ccoshf.c: ...here.
7786 * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
7787 * sysdeps/generic/s_ccoshl.c: ...here.
7788 * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
7789 * sysdeps/generic/s_ccosl.c: ...here.
7790 * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
7791 * sysdeps/generic/s_cexp.c: ...here.
7792 * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
7793 * sysdeps/generic/s_cexpf.c: ...here.
7794 * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
7795 * sysdeps/generic/s_cexpl.c: ...here.
7796 * sysdeps/libm-ieee754/s_clog.c: Moved to ...
7797 * sysdeps/generic/s_clog.c: ...here.
7798 * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
7799 * sysdeps/generic/s_clog10.c: ...here.
7800 * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
7801 * sysdeps/generic/s_clog10f.c: ...here.
7802 * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
7803 * sysdeps/generic/s_clog10l.c: ...here.
7804 * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
7805 * sysdeps/generic/s_clogf.c: ...here.
7806 * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
7807 * sysdeps/generic/s_clogl.c: ...here.
7808 * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
7809 * sysdeps/generic/s_cpow.c: ...here.
7810 * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
7811 * sysdeps/generic/s_cpowf.c: ...here.
7812 * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
7813 * sysdeps/generic/s_cpowl.c: ...here.
7814 * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
7815 * sysdeps/generic/s_cproj.c: ...here.
7816 * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
7817 * sysdeps/generic/s_cprojf.c: ...here.
7818 * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
7819 * sysdeps/generic/s_cprojl.c: ...here.
7820 * sysdeps/libm-ieee754/s_csin.c: Moved to ...
7821 * sysdeps/generic/s_csin.c: ...here.
7822 * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
7823 * sysdeps/generic/s_csinf.c: ...here.
7824 * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
7825 * sysdeps/generic/s_csinh.c: ...here.
7826 * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
7827 * sysdeps/generic/s_csinhf.c: ...here.
7828 * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
7829 * sysdeps/generic/s_csinhl.c: ...here.
7830 * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
7831 * sysdeps/generic/s_csinl.c: ...here.
7832 * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
7833 * sysdeps/generic/s_csqrt.c: ...here.
7834 * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
7835 * sysdeps/generic/s_csqrtf.c: ...here.
7836 * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
7837 * sysdeps/generic/s_csqrtl.c: ...here.
7838 * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
7839 * sysdeps/generic/s_ctan.c: ...here.
7840 * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
7841 * sysdeps/generic/s_ctanf.c: ...here.
7842 * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
7843 * sysdeps/generic/s_ctanh.c: ...here.
7844 * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
7845 * sysdeps/generic/s_ctanhf.c: ...here.
7846 * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
7847 * sysdeps/generic/s_ctanhl.c: ...here.
7848 * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
7849 * sysdeps/generic/s_ctanl.c: ...here.
7850 * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
7851 * sysdeps/generic/s_fdim.c: ...here.
7852 * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
7853 * sysdeps/generic/s_fdimf.c: ...here.
7854 * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
7855 * sysdeps/generic/s_fdiml.c: ...here.
7856 * sysdeps/libm-ieee754/s_fma.c: Moved to ...
7857 * sysdeps/generic/s_fma.c: ...here.
7858 * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
7859 * sysdeps/generic/s_fmaf.c: ...here.
7860 * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
7861 * sysdeps/generic/s_fmal.c: ...here.
7862 * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
7863 * sysdeps/generic/s_fmax.c: ...here.
7864 * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
7865 * sysdeps/generic/s_fmaxf.c: ...here.
7866 * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
7867 * sysdeps/generic/s_fmaxl.c: ...here.
7868 * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
7869 * sysdeps/generic/s_fmin.c: ...here.
7870 * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
7871 * sysdeps/generic/s_fminf.c: ...here.
7872 * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
7873 * sysdeps/generic/s_fminl.c: ...here.
7874 * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
7875 * sysdeps/generic/s_ldexp.c: ...here.
7876 * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
7877 * sysdeps/generic/s_ldexpf.c: ...here.
7878 * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
7879 * sysdeps/generic/s_ldexpl.c: ...here.
7880 * sysdeps/libm-ieee754/s_nan.c: Moved to ...
7881 * sysdeps/generic/s_nan.c: ...here.
7882 * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
7883 * sysdeps/generic/s_nanf.c: ...here.
7884 * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
7885 * sysdeps/generic/s_nanl.c: ...here.
7886 * sysdeps/libm-ieee754/s_significand.c: Moved to ...
7887 * sysdeps/generic/s_significand.c: ...here.
7888 * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
7889 * sysdeps/generic/s_significandf.c: ...here.
7890 * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
7891 * sysdeps/generic/s_significandl.c: ...here.
7892 Avoid conversion from int to double and then to long double.
7893 * sysdeps/libm-ieee754/w_acos.c: Moved to ...
7894 * math/w_acos.c: ...here.
7895 * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
7896 * math/w_acosf.c: ...here.
7897 * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
7898 * math/w_acosh.c: ...here.
7899 * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
7900 * math/w_acoshf.c: ...here.
7901 * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
7902 * math/w_acoshl.c: ...here.
7903 * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
7904 * math/w_acosl.c: ...here.
7905 * sysdeps/libm-ieee754/w_asin.c: Moved to ...
7906 * math/w_asin.c: ...here.
7907 * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
7908 * math/w_asinf.c: ...here.
7909 * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
7910 * math/w_asinl.c: ...here.
7911 * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
7912 * math/w_atan2.c: ...here.
7913 * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
7914 * math/w_atan2f.c: ...here.
7915 * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
7916 * math/w_atan2l.c: ...here.
7917 * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
7918 * math/w_atanh.c: ...here.
7919 * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
7920 * math/w_atanhf.c: ...here.
7921 * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
7922 * math/w_atanhl.c: ...here.
7923 * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
7924 * math/w_cosh.c: ...here.
7925 * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
7926 * math/w_coshf.c: ...here.
7927 * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
7928 * math/w_coshl.c: ...here.
7929 * sysdeps/libm-ieee754/w_drem.c: Moved to ...
7930 * math/w_drem.c: ...here.
7931 * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
7932 * math/w_dremf.c: ...here.
7933 * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
7934 * math/w_dreml.c: ...here.
7935 * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
7936 * math/w_exp10.c: ...here.
7937 * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
7938 * math/w_exp10f.c: ...here.
7939 * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
7940 * math/w_exp10l.c: ...here.
7941 * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
7942 * math/w_exp2.c: ...here.
7943 * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
7944 * math/w_exp2f.c: ...here.
7945 * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
7946 * math/w_exp2l.c: ...here.
7947 * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
7948 * math/w_fmod.c: ...here.
7949 * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
7950 * math/w_fmodf.c: ...here.
7951 * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
7952 * math/w_fmodl.c: ...here.
7953 * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
7954 * math/w_hypot.c: ...here.
7955 * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
7956 * math/w_hypotf.c: ...here.
7957 * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
7958 * math/w_hypotl.c: ...here.
7959 * sysdeps/libm-ieee754/w_j0.c: Moved to ...
7960 * math/w_j0.c: ...here.
7961 * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
7962 * math/w_j0f.c: ...here.
7963 * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
7964 * math/w_j0l.c: ...here.
7965 * sysdeps/libm-ieee754/w_j1.c: Moved to ...
7966 * math/w_j1.c: ...here.
7967 * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
7968 * math/w_j1f.c: ...here.
7969 * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
7970 * math/w_j1l.c: ...here.
7971 * sysdeps/libm-ieee754/w_jn.c: Moved to ...
7972 * math/w_jn.c: ...here.
7973 * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
7974 * math/w_jnf.c: ...here.
7975 * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
7976 * math/w_jnl.c: ...here.
7977 * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
7978 * math/w_lgamma.c: ...here.
7979 * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
7980 * math/w_lgamma_r.c: ...here.
7981 * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
7982 * math/w_lgammaf.c: ...here.
7983 * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
7984 * math/w_lgammaf_r.c: ...here.
7985 * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
7986 * math/w_lgammal.c: ...here.
7987 * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
7988 * math/w_lgammal_r.c: ...here.
7989 * sysdeps/libm-ieee754/w_log.c: Moved to ...
7990 * math/w_log.c: ...here.
7991 * sysdeps/libm-ieee754/w_log10.c: Moved to ...
7992 * math/w_log10.c: ...here.
7993 * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
7994 * math/w_log10f.c: ...here.
7995 * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
7996 * math/w_log10l.c: ...here.
7997 * sysdeps/libm-ieee754/w_logf.c: Moved to ...
7998 * math/w_logf.c: ...here.
7999 * sysdeps/libm-ieee754/w_logl.c: Moved to ...
8000 * math/w_logl.c: ...here.
8001 * sysdeps/libm-ieee754/w_pow.c: Moved to ...
8002 * math/w_pow.c: ...here.
8003 * sysdeps/libm-ieee754/w_powf.c: Moved to ...
8004 * math/w_powf.c: ...here.
8005 * sysdeps/libm-ieee754/w_powl.c: Moved to ...
8006 * math/w_powl.c: ...here.
8007 * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
8008 * math/w_remainder.c: ...here.
8009 * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
8010 * math/w_remainderf.c: ...here.
8011 * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
8012 * math/w_remainderl.c: ...here.
8013 * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
8014 * math/w_scalb.c: ...here.
8015 * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
8016 * math/w_scalbf.c: ...here.
8017 * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
8018 * math/w_scalbl.c: ...here.
8019 * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
8020 * math/w_sinh.c: ...here.
8021 * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
8022 * math/w_sinhf.c: ...here.
8023 * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
8024 * math/w_sinhl.c: ...here.
8025 * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
8026 * math/w_sqrt.c: ...here.
8027 * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
8028 * math/w_sqrtf.c: ...here.
8029 * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
8030 * math/w_sqrtl.c: ...here.
8031 * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
8032 * math/w_tgamma.c: ...here.
8033 * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
8034 * math/w_tgammaf.c: ...here.
8035 * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
8036 * math/w_tgammal.c: ...here.
8037 * sysdeps/libm-i387/e_acos.S: Moved to ...
8038 * sysdeps/i386/fpu/e_acos.S: ...here.
8039 * sysdeps/libm-i387/e_acosf.S: Moved to ...
8040 * sysdeps/i386/fpu/e_acosf.S: ...here.
8041 * sysdeps/libm-i387/e_acosh.S: Moved to ...
8042 * sysdeps/i386/fpu/e_acosh.S: ...here.
8043 * sysdeps/libm-i387/e_acoshf.S: Moved to ...
8044 * sysdeps/i386/fpu/e_acoshf.S: ...here.
8045 * sysdeps/libm-i387/e_acoshl.S: Moved to ...
8046 * sysdeps/i386/fpu/e_acoshl.S: ...here.
8047 * sysdeps/libm-i387/e_acosl.S: Moved to ...
8048 * sysdeps/i386/fpu/e_acosl.S: ...here.
8049 * sysdeps/libm-i387/e_asin.S: Moved to ...
8050 * sysdeps/i386/fpu/e_asin.S: ...here.
8051 * sysdeps/libm-i387/e_asinf.S: Moved to ...
8052 * sysdeps/i386/fpu/e_asinf.S: ...here.
8053 * sysdeps/libm-i387/e_asinl.S: Moved to ...
8054 * sysdeps/i386/fpu/e_asinl.S: ...here.
8055 * sysdeps/libm-i387/e_atan2.S: Moved to ...
8056 * sysdeps/i386/fpu/e_atan2.S: ...here.
8057 * sysdeps/libm-i387/e_atan2f.S: Moved to ...
8058 * sysdeps/i386/fpu/e_atan2f.S: ...here.
8059 * sysdeps/libm-i387/e_atan2l.S: Moved to ...
8060 * sysdeps/i386/fpu/e_atan2l.S: ...here.
8061 * sysdeps/libm-i387/e_atanh.S: Moved to ...
8062 * sysdeps/i386/fpu/e_atanh.S: ...here.
8063 * sysdeps/libm-i387/e_atanhf.S: Moved to ...
8064 * sysdeps/i386/fpu/e_atanhf.S: ...here.
8065 * sysdeps/libm-i387/e_atanhl.S: Moved to ...
8066 * sysdeps/i386/fpu/e_atanhl.S: ...here.
8067 * sysdeps/libm-i387/e_exp.S: Moved to ...
8068 * sysdeps/i386/fpu/e_exp.S: ...here.
8069 * sysdeps/libm-i387/e_exp10.S: Moved to ...
8070 * sysdeps/i386/fpu/e_exp10.S: ...here.
8071 * sysdeps/libm-i387/e_exp10f.S: Moved to ...
8072 * sysdeps/i386/fpu/e_exp10f.S: ...here.
8073 * sysdeps/libm-i387/e_exp10l.S: Moved to ...
8074 * sysdeps/i386/fpu/e_exp10l.S: ...here.
8075 * sysdeps/libm-i387/e_expf.S: Moved to ...
8076 * sysdeps/i386/fpu/e_expf.S: ...here.
8077 * sysdeps/libm-i387/e_expl.S: Moved to ...
8078 * sysdeps/i386/fpu/e_expl.S: ...here.
8079 * sysdeps/libm-i387/e_fmod.S: Moved to ...
8080 * sysdeps/i386/fpu/e_fmod.S: ...here.
8081 * sysdeps/libm-i387/e_fmodf.S: Moved to ...
8082 * sysdeps/i386/fpu/e_fmodf.S: ...here.
8083 * sysdeps/libm-i387/e_fmodl.S: Moved to ...
8084 * sysdeps/i386/fpu/e_fmodl.S: ...here.
8085 * sysdeps/libm-i387/e_hypot.S: Moved to ...
8086 * sysdeps/i386/fpu/e_hypot.S: ...here.
8087 * sysdeps/libm-i387/e_hypotf.S: Moved to ...
8088 * sysdeps/i386/fpu/e_hypotf.S: ...here.
8089 * sysdeps/libm-i387/e_log.S: Moved to ...
8090 * sysdeps/i386/fpu/e_log.S: ...here.
8091 * sysdeps/libm-i387/e_log10.S: Moved to ...
8092 * sysdeps/i386/fpu/e_log10.S: ...here.
8093 * sysdeps/libm-i387/e_log10f.S: Moved to ...
8094 * sysdeps/i386/fpu/e_log10f.S: ...here.
8095 * sysdeps/libm-i387/e_log10l.S: Moved to ...
8096 * sysdeps/i386/fpu/e_log10l.S: ...here.
8097 * sysdeps/libm-i387/e_logf.S: Moved to ...
8098 * sysdeps/i386/fpu/e_logf.S: ...here.
8099 * sysdeps/libm-i387/e_logl.S: Moved to ...
8100 * sysdeps/i386/fpu/e_logl.S: ...here.
8101 * sysdeps/libm-i387/e_pow.S: Moved to ...
8102 * sysdeps/i386/fpu/e_pow.S: ...here.
8103 * sysdeps/libm-i387/e_powf.S: Moved to ...
8104 * sysdeps/i386/fpu/e_powf.S: ...here.
8105 * sysdeps/libm-i387/e_powl.S: Moved to ...
8106 * sysdeps/i386/fpu/e_powl.S: ...here.
8107 * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
8108 * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
8109 * sysdeps/libm-i387/e_remainder.S: Moved to ...
8110 * sysdeps/i386/fpu/e_remainder.S: ...here.
8111 * sysdeps/libm-i387/e_remainderf.S: Moved to ...
8112 * sysdeps/i386/fpu/e_remainderf.S: ...here.
8113 * sysdeps/libm-i387/e_remainderl.S: Moved to ...
8114 * sysdeps/i386/fpu/e_remainderl.S: ...here.
8115 * sysdeps/libm-i387/e_scalb.S: Moved to ...
8116 * sysdeps/i386/fpu/e_scalb.S: ...here.
8117 * sysdeps/libm-i387/e_scalbf.S: Moved to ...
8118 * sysdeps/i386/fpu/e_scalbf.S: ...here.
8119 * sysdeps/libm-i387/e_scalbl.S: Moved to ...
8120 * sysdeps/i386/fpu/e_scalbl.S: ...here.
8121 * sysdeps/libm-i387/e_sqrt.S: Moved to ...
8122 * sysdeps/i386/fpu/e_sqrt.S: ...here.
8123 * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
8124 * sysdeps/i386/fpu/e_sqrtf.S: ...here.
8125 * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
8126 * sysdeps/i386/fpu/e_sqrtl.S: ...here.
8127 * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
8128 * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
8129 * sysdeps/libm-i387/s_asinh.S: Moved to ...
8130 * sysdeps/i386/fpu/s_asinh.S: ...here.
8131 * sysdeps/libm-i387/s_asinhf.S: Moved to ...
8132 * sysdeps/i386/fpu/s_asinhf.S: ...here.
8133 * sysdeps/libm-i387/s_asinhl.S: Moved to ...
8134 * sysdeps/i386/fpu/s_asinhl.S: ...here.
8135 * sysdeps/libm-i387/s_atan.S: Moved to ...
8136 * sysdeps/i386/fpu/s_atan.S: ...here.
8137 * sysdeps/libm-i387/s_atanf.S: Moved to ...
8138 * sysdeps/i386/fpu/s_atanf.S: ...here.
8139 * sysdeps/libm-i387/s_atanl.S: Moved to ...
8140 * sysdeps/i386/fpu/s_atanl.S: ...here.
8141 * sysdeps/libm-i387/s_cbrt.S: Moved to ...
8142 * sysdeps/i386/fpu/s_cbrt.S: ...here.
8143 * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
8144 * sysdeps/i386/fpu/s_cbrtf.S: ...here.
8145 * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
8146 * sysdeps/i386/fpu/s_cbrtl.S: ...here.
8147 * sysdeps/libm-i387/s_ceil.S: Moved to ...
8148 * sysdeps/i386/fpu/s_ceil.S: ...here.
8149 * sysdeps/libm-i387/s_ceilf.S: Moved to ...
8150 * sysdeps/i386/fpu/s_ceilf.S: ...here.
8151 * sysdeps/libm-i387/s_ceill.S: Moved to ...
8152 * sysdeps/i386/fpu/s_ceill.S: ...here.
8153 * sysdeps/libm-i387/s_cexp.S: Moved to ...
8154 * sysdeps/i386/fpu/s_cexp.S: ...here.
8155 * sysdeps/libm-i387/s_cexpf.S: Moved to ...
8156 * sysdeps/i386/fpu/s_cexpf.S: ...here.
8157 * sysdeps/libm-i387/s_cexpl.S: Moved to ...
8158 * sysdeps/i386/fpu/s_cexpl.S: ...here.
8159 * sysdeps/libm-i387/s_copysign.S: Moved to ...
8160 * sysdeps/i386/fpu/s_copysign.S: ...here.
8161 * sysdeps/libm-i387/s_copysignf.S: Moved to ...
8162 * sysdeps/i386/fpu/s_copysignf.S: ...here.
8163 * sysdeps/libm-i387/s_copysignl.S: Moved to ...
8164 * sysdeps/i386/fpu/s_copysignl.S: ...here.
8165 * sysdeps/libm-i387/s_cos.S: Moved to ...
8166 * sysdeps/i386/fpu/s_cos.S: ...here.
8167 * sysdeps/libm-i387/s_cosf.S: Moved to ...
8168 * sysdeps/i386/fpu/s_cosf.S: ...here.
8169 * sysdeps/libm-i387/s_cosl.S: Moved to ...
8170 * sysdeps/i386/fpu/s_cosl.S: ...here.
8171 * sysdeps/libm-i387/s_exp2.S: Moved to ...
8172 * sysdeps/i386/fpu/s_exp2.S: ...here.
8173 * sysdeps/libm-i387/s_exp2f.S: Moved to ...
8174 * sysdeps/i386/fpu/s_exp2f.S: ...here.
8175 * sysdeps/libm-i387/s_exp2l.S: Moved to ...
8176 * sysdeps/i386/fpu/s_exp2l.S: ...here.
8177 * sysdeps/libm-i387/s_expm1.S: Moved to ...
8178 * sysdeps/i386/fpu/s_expm1.S: ...here.
8179 * sysdeps/libm-i387/s_expm1f.S: Moved to ...
8180 * sysdeps/i386/fpu/s_expm1f.S: ...here.
8181 * sysdeps/libm-i387/s_expm1l.S: Moved to ...
8182 * sysdeps/i386/fpu/s_expm1l.S: ...here.
8183 * sysdeps/libm-i387/s_fdim.S: Moved to ...
8184 * sysdeps/i386/fpu/s_fdim.S: ...here.
8185 * sysdeps/libm-i387/s_fdimf.S: Moved to ...
8186 * sysdeps/i386/fpu/s_fdimf.S: ...here.
8187 * sysdeps/libm-i387/s_fdiml.S: Moved to ...
8188 * sysdeps/i386/fpu/s_fdiml.S: ...here.
8189 * sysdeps/libm-i387/s_finite.S: Moved to ...
8190 * sysdeps/i386/fpu/s_finite.S: ...here.
8191 * sysdeps/libm-i387/s_finitef.S: Moved to ...
8192 * sysdeps/i386/fpu/s_finitef.S: ...here.
8193 * sysdeps/libm-i387/s_finitel.S: Moved to ...
8194 * sysdeps/i386/fpu/s_finitel.S: ...here.
8195 * sysdeps/libm-i387/s_floor.S: Moved to ...
8196 * sysdeps/i386/fpu/s_floor.S: ...here.
8197 * sysdeps/libm-i387/s_floorf.S: Moved to ...
8198 * sysdeps/i386/fpu/s_floorf.S: ...here.
8199 * sysdeps/libm-i387/s_floorl.S: Moved to ...
8200 * sysdeps/i386/fpu/s_floorl.S: ...here.
8201 * sysdeps/libm-i387/s_fma.S: Moved to ...
8202 * sysdeps/i386/fpu/s_fma.S: ...here.
8203 * sysdeps/libm-i387/s_fmaf.S: Moved to ...
8204 * sysdeps/i386/fpu/s_fmaf.S: ...here.
8205 * sysdeps/libm-i387/s_fmal.S: Moved to ...
8206 * sysdeps/i386/fpu/s_fmal.S: ...here.
8207 * sysdeps/libm-i387/s_fmax.S: Moved to ...
8208 * sysdeps/i386/fpu/s_fmax.S: ...here.
8209 * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
8210 * sysdeps/i386/fpu/s_fmaxf.S: ...here.
8211 * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
8212 * sysdeps/i386/fpu/s_fmaxl.S: ...here.
8213 * sysdeps/libm-i387/s_fmin.S: Moved to ...
8214 * sysdeps/i386/fpu/s_fmin.S: ...here.
8215 * sysdeps/libm-i387/s_fminf.S: Moved to ...
8216 * sysdeps/i386/fpu/s_fminf.S: ...here.
8217 * sysdeps/libm-i387/s_fminl.S: Moved to ...
8218 * sysdeps/i386/fpu/s_fminl.S: ...here.
8219 * sysdeps/libm-i387/s_frexp.S: Moved to ...
8220 * sysdeps/i386/fpu/s_frexp.S: ...here.
8221 * sysdeps/libm-i387/s_frexpf.S: Moved to ...
8222 * sysdeps/i386/fpu/s_frexpf.S: ...here.
8223 * sysdeps/libm-i387/s_frexpl.S: Moved to ...
8224 * sysdeps/i386/fpu/s_frexpl.S: ...here.
8225 * sysdeps/libm-i387/s_ilogb.S: Moved to ...
8226 * sysdeps/i386/fpu/s_ilogb.S: ...here.
8227 * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
8228 * sysdeps/i386/fpu/s_ilogbf.S: ...here.
8229 * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
8230 * sysdeps/i386/fpu/s_ilogbl.S: ...here.
8231 * sysdeps/libm-i387/s_llrint.S: Moved to ...
8232 * sysdeps/i386/fpu/s_llrint.S: ...here.
8233 * sysdeps/libm-i387/s_llrintf.S: Moved to ...
8234 * sysdeps/i386/fpu/s_llrintf.S: ...here.
8235 * sysdeps/libm-i387/s_llrintl.S: Moved to ...
8236 * sysdeps/i386/fpu/s_llrintl.S: ...here.
8237 * sysdeps/libm-i387/s_log1p.S: Moved to ...
8238 * sysdeps/i386/fpu/s_log1p.S: ...here.
8239 * sysdeps/libm-i387/s_log1pf.S: Moved to ...
8240 * sysdeps/i386/fpu/s_log1pf.S: ...here.
8241 * sysdeps/libm-i387/s_log1pl.S: Moved to ...
8242 * sysdeps/i386/fpu/s_log1pl.S: ...here.
8243 * sysdeps/libm-i387/s_log2.S: Moved to ...
8244 * sysdeps/i386/fpu/s_log2.S: ...here.
8245 * sysdeps/libm-i387/s_log2f.S: Moved to ...
8246 * sysdeps/i386/fpu/s_log2f.S: ...here.
8247 * sysdeps/libm-i387/s_log2l.S: Moved to ...
8248 * sysdeps/i386/fpu/s_log2l.S: ...here.
8249 * sysdeps/libm-i387/s_logb.S: Moved to ...
8250 * sysdeps/i386/fpu/s_logb.S: ...here.
8251 * sysdeps/libm-i387/s_logbf.S: Moved to ...
8252 * sysdeps/i386/fpu/s_logbf.S: ...here.
8253 * sysdeps/libm-i387/s_logbl.S: Moved to ...
8254 * sysdeps/i386/fpu/s_logbl.S: ...here.
8255 * sysdeps/libm-i387/s_lrint.S: Moved to ...
8256 * sysdeps/i386/fpu/s_lrint.S: ...here.
8257 * sysdeps/libm-i387/s_lrintf.S: Moved to ...
8258 * sysdeps/i386/fpu/s_lrintf.S: ...here.
8259 * sysdeps/libm-i387/s_lrintl.S: Moved to ...
8260 * sysdeps/i386/fpu/s_lrintl.S: ...here.
8261 * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
8262 * sysdeps/i386/fpu/s_nearbyint.S: ...here.
8263 * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
8264 * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
8265 * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
8266 * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
8267 * sysdeps/libm-i387/s_remquo.S: Moved to ...
8268 * sysdeps/i386/fpu/s_remquo.S: ...here.
8269 * sysdeps/libm-i387/s_remquof.S: Moved to ...
8270 * sysdeps/i386/fpu/s_remquof.S: ...here.
8271 * sysdeps/libm-i387/s_remquol.S: Moved to ...
8272 * sysdeps/i386/fpu/s_remquol.S: ...here.
8273 * sysdeps/libm-i387/s_rint.S: Moved to ...
8274 * sysdeps/i386/fpu/s_rint.S: ...here.
8275 * sysdeps/libm-i387/s_rintf.S: Moved to ...
8276 * sysdeps/i386/fpu/s_rintf.S: ...here.
8277 * sysdeps/libm-i387/s_rintl.S: Moved to ...
8278 * sysdeps/i386/fpu/s_rintl.S: ...here.
8279 * sysdeps/libm-i387/s_scalbn.S: Moved to ...
8280 * sysdeps/i386/fpu/s_scalbn.S: ...here.
8281 * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
8282 * sysdeps/i386/fpu/s_scalbnf.S: ...here.
8283 * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
8284 * sysdeps/i386/fpu/s_scalbnl.S: ...here.
8285 * sysdeps/libm-i387/s_significand.S: Moved to ...
8286 * sysdeps/i386/fpu/s_significand.S: ...here.
8287 * sysdeps/libm-i387/s_significandf.S: Moved to ...
8288 * sysdeps/i386/fpu/s_significandf.S: ...here.
8289 * sysdeps/libm-i387/s_significandl.S: Moved to ...
8290 * sysdeps/i386/fpu/s_significandl.S: ...here.
8291 * sysdeps/libm-i387/s_sin.S: Moved to ...
8292 * sysdeps/i386/fpu/s_sin.S: ...here.
8293 * sysdeps/libm-i387/s_sincos.S: Moved to ...
8294 * sysdeps/i386/fpu/s_sincos.S: ...here.
8295 * sysdeps/libm-i387/s_sincosf.S: Moved to ...
8296 * sysdeps/i386/fpu/s_sincosf.S: ...here.
8297 * sysdeps/libm-i387/s_sincosl.S: Moved to ...
8298 * sysdeps/i386/fpu/s_sincosl.S: ...here.
8299 * sysdeps/libm-i387/s_sinf.S: Moved to ...
8300 * sysdeps/i386/fpu/s_sinf.S: ...here.
8301 * sysdeps/libm-i387/s_sinl.S: Moved to ...
8302 * sysdeps/i386/fpu/s_sinl.S: ...here.
8303 * sysdeps/libm-i387/s_tan.S: Moved to ...
8304 * sysdeps/i386/fpu/s_tan.S: ...here.
8305 * sysdeps/libm-i387/s_tanf.S: Moved to ...
8306 * sysdeps/i386/fpu/s_tanf.S: ...here.
8307 * sysdeps/libm-i387/s_tanl.S: Moved to ...
8308 * sysdeps/i386/fpu/s_tanl.S: ...here.
8309 * sysdeps/libm-i387/s_trunc.S: Moved to ...
8310 * sysdeps/i386/fpu/s_trunc.S: ...here.
8311 * sysdeps/libm-i387/s_truncf.S: Moved to ...
8312 * sysdeps/i386/fpu/s_truncf.S: ...here.
8313 * sysdeps/libm-i387/s_truncl.S: Moved to ...
8314 * sysdeps/i386/fpu/s_truncl.S: ...here.
8315 * sysdeps/libm-ieee754/k_standard.c: Moved to ...
8316 * sysdeps/ieee754/k_standard.c: ...here.
8317 * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
8318 * sysdeps/ieee754/s_lib_version.c: ...here.
8319 * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
8320 * sysdeps/ieee754/s_matherr.c: ...here.
8321 * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
8322 * sysdeps/ieee754/s_signgam.c: ...here.
8323 * sysdeps/ieee754/dbl2mpn.c: Moved to ...
8324 * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
8325 * sysdeps/ieee754/mpn2dbl.c: Moved to ...
8326 * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
8327 * sysdeps/libm-ieee754/e_acos.c: Moved to ...
8328 * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
8329 * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
8330 * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
8331 * sysdeps/libm-ieee754/e_asin.c: Moved to ...
8332 * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
8333 * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
8334 * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
8335 * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
8336 * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
8337 * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
8338 * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
8339 * sysdeps/libm-ieee754/e_exp.c: Moved to ...
8340 * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
8341 * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
8342 * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
8343 * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
8344 * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
8345 * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
8346 * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
8347 * sysdeps/libm-ieee754/e_j0.c: Moved to ...
8348 * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
8349 * sysdeps/libm-ieee754/e_j1.c: Moved to ...
8350 * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
8351 * sysdeps/libm-ieee754/e_jn.c: Moved to ...
8352 * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
8353 * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
8354 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
8355 * sysdeps/libm-ieee754/e_log.c: Moved to ...
8356 * sysdeps/ieee754/dbl-64/e_log.c: ...here.
8357 * sysdeps/libm-ieee754/e_log10.c: Moved to ...
8358 * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
8359 * sysdeps/libm-ieee754/e_pow.c: Moved to ...
8360 * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
8361 * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
8362 * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
8363 * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
8364 * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
8365 * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
8366 * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
8367 * sysdeps/libm-ieee754/k_cos.c: Moved to ...
8368 * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
8369 * sysdeps/libm-ieee754/k_sin.c: Moved to ...
8370 * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
8371 * sysdeps/libm-ieee754/k_tan.c: Moved to ...
8372 * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
8373 * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
8374 * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
8375 * sysdeps/libm-ieee754/s_atan.c: Moved to ...
8376 * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
8377 * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
8378 * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
8379 * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
8380 * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
8381 * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
8382 * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
8383 * sysdeps/libm-ieee754/s_cos.c: Moved to ...
8384 * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
8385 * sysdeps/libm-ieee754/s_erf.c: Moved to ...
8386 * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
8387 * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
8388 * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
8389 * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
8390 * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
8391 * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
8392 * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
8393 * sysdeps/libm-ieee754/s_finite.c: Moved to ...
8394 * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
8395 * sysdeps/libm-ieee754/s_floor.c: Moved to ...
8396 * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
8397 * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
8398 * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
8399 * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
8400 * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
8401 * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
8402 * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
8403 * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
8404 * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
8405 * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
8406 * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
8407 (__isnan): Comment above function says it returns 0 or 1, but it
8408 used to return 0 or -1.
8409 * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
8410 * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
8411 * sysdeps/libm-ieee754/s_llround.c: Moved to ...
8412 * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
8413 * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
8414 * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
8415 * sysdeps/libm-ieee754/s_log2.c: Moved to ...
8416 * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
8417 * sysdeps/libm-ieee754/s_logb.c: Moved to ...
8418 * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
8419 * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
8420 * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
8421 * sysdeps/libm-ieee754/s_lround.c: Moved to ...
8422 * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
8423 * sysdeps/libm-ieee754/s_modf.c: Moved to ...
8424 * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
8425 * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
8426 * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
8427 * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
8428 * sysdeps/generic/s_nextafter.c: ...here.
8429 Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
8430 * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
8431 * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
8432 * sysdeps/libm-ieee754/s_rint.c: Moved to ...
8433 * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
8434 * sysdeps/libm-ieee754/s_round.c: Moved to ...
8435 * sysdeps/ieee754/dbl-64/s_round.c: ...here.
8436 * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
8437 * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
8438 * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
8439 * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
8440 * sysdeps/libm-ieee754/s_sin.c: Moved to ...
8441 * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
8442 * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
8443 * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
8444 * sysdeps/libm-ieee754/s_tan.c: Moved to ...
8445 * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
8446 * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
8447 * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
8448 * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
8449 * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
8450 * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
8451 * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
8452 * sysdeps/libm-ieee754/w_exp.c: Moved to ...
8453 * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
8454 * sysdeps/ieee754/mpn2flt.c: Moved to ...
8455 * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
8456 * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
8457 * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
8458 * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
8459 * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
8460 * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
8461 * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
8462 * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
8463 * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
8464 * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
8465 * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
8466 * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
8467 * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
8468 * sysdeps/libm-ieee754/e_expf.c: Moved to ...
8469 * sysdeps/ieee754/flt-32/e_expf.c: ...here.
8470 * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
8471 * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
8472 * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
8473 * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
8474 * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
8475 * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
8476 * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
8477 * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
8478 * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
8479 * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
8480 * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
8481 * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
8482 * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
8483 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
8484 * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
8485 * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
8486 * sysdeps/libm-ieee754/e_logf.c: Moved to ...
8487 * sysdeps/ieee754/flt-32/e_logf.c: ...here.
8488 * sysdeps/libm-ieee754/e_powf.c: Moved to ...
8489 * sysdeps/ieee754/flt-32/e_powf.c: ...here.
8490 * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
8491 * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
8492 * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
8493 * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
8494 * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
8495 * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
8496 * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
8497 * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
8498 * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
8499 * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
8500 * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
8501 * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
8502 * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
8503 * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
8504 * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
8505 * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
8506 * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
8507 * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
8508 * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
8509 * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
8510 * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
8511 * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
8512 * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
8513 * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
8514 * sysdeps/libm-ieee754/s_erff.c: Moved to ...
8515 * sysdeps/ieee754/flt-32/s_erff.c: ...here.
8516 * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
8517 * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
8518 * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
8519 * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
8520 * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
8521 * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
8522 * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
8523 * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
8524 * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
8525 * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
8526 * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
8527 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
8528 * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
8529 * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
8530 * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
8531 * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
8532 * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
8533 * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
8534 * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
8535 * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
8536 * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
8537 * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
8538 * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
8539 * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
8540 * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
8541 * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
8542 * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
8543 * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
8544 * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
8545 * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
8546 * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
8547 * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
8548 * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
8549 * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
8550 * sysdeps/libm-ieee754/s_modff.c: Moved to ...
8551 * sysdeps/ieee754/flt-32/s_modff.c: ...here.
8552 * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
8553 * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
8554 * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
8555 * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
8556 * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
8557 * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
8558 * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
8559 * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
8560 * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
8561 * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
8562 * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
8563 * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
8564 * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
8565 * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
8566 * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
8567 * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
8568 * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
8569 * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
8570 * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
8571 * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
8572 * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
8573 * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
8574 * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
8575 * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
8576 * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
8577 * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
8578 * sysdeps/libm-ieee754/w_expf.c: Moved to ...
8579 * sysdeps/ieee754/flt-32/w_expf.c: ...here.
8580 * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
8581 * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
8582 * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
8583 * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
8584 * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
8585 * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
8586 * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
8587 * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
8588 * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
8589 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
8590 * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
8591 * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
8592 * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
8593 * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
8594 * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
8595 * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
8596 * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
8597 * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
8598 * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
8599 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
8600 * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
8601 * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
8602 * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
8603 * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
8604 * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
8605 * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
8606 * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
8607 * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
8608 * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
8609 * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
8610 * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
8611 * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
8612 * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
8613 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
8614 * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
8615 * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
8616 * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
8617 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
8618 * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
8619 * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
8620 * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
8621 * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
8622 * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
8623 * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
8624 * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
8625 * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
8626 * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
8627 * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
8628 * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
8629 * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
8630 (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
8631 INSERT_WORDS.
8632 * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
8633 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
8634 (__nearbyintl): Fix for exponents 2^30.
8635 * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
8636 * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
8637 * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
8638 * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
8639 (__rintl): Fix for exponents 2^30.
8640 * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
8641 * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
8642 * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
8643 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
8644 (__scalbnl): Fix exponent for subnormal result.
8645 * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
8646 * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
8647 * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
8648 * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
8649 * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
8650 * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
8651 * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
8652 * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
8653 * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
8654 * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
8655 * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
8656 * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
8657 * sysdeps/libm-ieee754/w_expl.c: Moved to ...
8658 * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
8659 * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
8660 * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
8661 * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
8662 * sysdeps/i386/fpu/s_scalblnf.c: ...here.
8663 * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
8664 * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
8665 * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
8666 * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
8667 * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
8668 * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
8669 * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
8670 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
8671 * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
8672 * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
8673 * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
8674 * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
8675 * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
8676 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
8677 * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
8678 * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
8679 * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
8680 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
8681 * sysdeps/libm-i387/s_scalbln.c: Moved to ...
8682 * sysdeps/i386/fpu/s_scalbln.c: ...here.
8683 * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
8684 * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
8685 * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
8686 * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
8687 * sysdeps/libm-i387/t_exp.c: Moved to ...
8688 * sysdeps/i386/fpu/t_exp.c: ...here.
8689 * sysdeps/libm-ieee754/t_exp.c: Moved to ...
8690 * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
8691 * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
8692 * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
8693 * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
8694 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
8695 * sysdeps/libm-i387/s_isinfl.c: Moved to ...
8696 * sysdeps/i386/fpu/s_isinfl.c: ...here.
8697 * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
8698 * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
8699 * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
8700 * sysdeps/i386/fpu/s_scalblnl.c: ...here.
8701 * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
8702 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
8703 Fix exponent for subnormal result.
8704 * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
8705 * sysdeps/generic/s_nexttowardl.c: ...here.
8706 * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
8707 * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
8708 * sysdeps/libm-i387/s_isnanl.c: Moved to ...
8709 * sysdeps/i386/fpu/s_isnanl.c: ...here.
8710 * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
8711 * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
8712 Comment above function says it returns 0 or 1, but it used to return
8713 0 or -1.
8714 * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
8715 * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
8716 * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
8717 * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
8718 * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
8719 * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
8720 * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
8721 * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
8722 * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
8723 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
8724 Cannot compare exponents with different biases without adjusting.
8725 * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
8726 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
8727 Cannot compare exponents with different biases without adjusting.
8728 * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
8729 * sysdeps/i386/fpu/s_nextafterl.c: ...here.
8730 * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
8731 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
8732 * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
8733 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
8734 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
8735 * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
8736 * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
8737 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
8738 * sysdeps/libm-ieee754/Dist: Split into ...
8739 * sysdeps/ieee754/dbl-64/Dist: ...this and ...
8740 * sysdeps/ieee754/flt-32/Dist: ...this file.
8741
8742 * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
8743 * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
8744 * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
8745 * sysdeps/ieee754/ldbl-96/strtold.c: New file.
8746 * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
8747 * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
8748 * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
8749 * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
8750 * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
8751 * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
8752 * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
8753 * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
8754 * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
8755 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
8756 * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
8757 * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
8758 * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
8759 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
8760 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
8761 * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
8762 * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
8763 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
8764 * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
8765 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
8766 * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
8767 * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
8768 * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
8769 * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
8770 * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
8771 * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
8772 * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
8773 * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
8774 * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
8775 * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
8776 * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
8777 * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
8778 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
8779 * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
8780 * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
8781 * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
8782 * sysdeps/ieee754/ldbl-128/strtold.c: New file.
8783 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
8784 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
8785 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
8786 * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
8787 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
8788 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
8789
8790 * sysdeps/generic/math_ldbl.h: New file.
8791 * sysdeps/generic/s_nexttowardf.c: New file.
8792 * sysdeps/generic/strtold.c: New file.
8793 * sysdeps/generic/ldbl2mpn.c: New file.
8794
8795 * math/machine/endian.h: Remove.
8796 * sysdeps/i386/fpu/Implies: Remove.
8797 * sysdeps/ieee754/Implies: Remove.
8798
8799 * math/math_private.h: Move long double macros to math_ldbl.h
8800 header.
8801
8802 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
8803
8804 * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
8805 connections without a hostname set address to localhost address.
8806
8807 1999-07-11 H.J. Lu <hjl@gnu.org>
8808
8809 * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
8810 nscd's own strong version of the get[a-z]*_r function.
8811 * nscd/hstcache.c: Likewise.
8812 * nscd/pwdcache.c: Likewise.
8813
8814 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
8815
8816 * configure.in: Recognize 2.95 as gcc version number.
8817 Patch by Joel Klecker <jk@espy.org>.
8818
8819 1999-07-12 Andreas Schwab <schwab@suse.de>
8820
8821 * elf/rtld.c (dl_main): When putting back the interpreter object
8822 handle the case where a missing object might occur in the list of
8823 objects but not in the search list when in trace mode.
8824
8825 1999-07-11 Ulrich Drepper <drepper@cygnus.com>
8826
8827 * Versions.def (libnss_hesiod): Add GLIBC_2.2.
8828 * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
8829 _nss_hesiod_initgroups.
8830
8831 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
8832
8833 * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
8834 (_hurd_set_brk, init_brk): Use that instead of &__data_start.
8835 Initialize it from &__data_start if defined, or else &_end.
8836
8837 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
8838
8839 * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
8840 for MAP_ANON, prot==PROT_READ|PROT_WRITE.
8841
8842 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
8843
8844 * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
8845
8846 1999-07-09 H.J. Lu <hjl@gnu.org>
8847
8848 * Versions.def (GLIBC_2.1.2): Added.
8849
8850 * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
8851 old one as GLIBC_2.0.
8852 * nss/getXXbyYY_r.c: Likewise.
8853
8854 * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
8855 GLIBC_2.1.2.
8856 * inet/Versions (getaliasbyname_r, getaliasent_r,
8857 gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
8858 gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
8859 getnetgrent_r, getprotobyname_r, getprotobynumber_r,
8860 getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
8861 getservbyname_r): Likewise.
8862 * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
8863 * shadow/Versions (getspent_r, getspnam_r): Likewise.
8864
8865 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
8866
8867 * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
8868 compilers.
8869 (__memset_cc): Likewise.
8870
8871 * sysdeps/generic/libc-start.c: For SUID binaries check whether
8872 the standard file descriptors are open.
8873 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
8874
8875 * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
8876 * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
8877 range of mmap. If not fail.
8878 Patches by Daniel Jacobowitz <dan@debian.org>.
8879
8880 * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
8881 before the relocation happened.
8882 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
8883
8884 * Versions.def (libnsl): Add GLIBC_2.2.
8885 * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
8886
8887 1999-07-08 Cristian Gafton <gafton@redhat.com>
8888
8889 * nis/yp_xdr.c (xdr_ypall): New function.
8890
8891 1999-07-09 Andreas Schwab <schwab@suse.de>
8892
8893 * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
8894
8895 * dlfcn/Makefile (headers): Add bits/dlfcn.h.
8896
8897 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
8898
8899 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
8900 * hesiod/hesiod-grp.c: Add initgroups support.
8901 Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
8902
8903 1999-07-08 Andreas Schwab <schwab@suse.de>
8904
8905 * libio/iofopncook.c (fopencookie): Set _fileno to -2.
8906
8907 * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
8908 negative numbers.
8909
8910 * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
8911 EOF.
8912 * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
8913
8914 1999-07-08 Andreas Schwab <schwab@suse.de>
8915
8916 * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
8917
8918 1999-07-08 Andreas Schwab <schwab@suse.de>
8919
8920 * libio/fileno.c: Return -1 instead of EOF and set errno if the
8921 stream is not a real file stream.
8922
8923 1999-07-08 Andreas Schwab <schwab@suse.de>
8924
8925 * manual/charset.texi: Fix typos.
8926
8927 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
8928
8929 * sysdeps/gnu/Makefile (libdl-routines): Add eval.
8930
8931 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu>
8932
8933 * dlfcn: New directory. Move the following files from elf:
8934 dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
8935 dlopenold.c, dlsym.c, dlvsym.c.
8936 * dlfcn/Makefile: New file.
8937 * dlfcn/Versions: New file.
8938 * dlfcn/dlsym.c: All ELF-specific code split out to new
8939 function _dl_sym.
8940 * dlfcn/dlvsym.c: All ELF-specific code split out to new
8941 function _dl_vsym.
8942 * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are
8943 implemented here.
8944
8945 * dlfcn/dladdr.c: Remove all references to ELF data structures
8946 or headers.
8947 * dlfcn/dlclose.c: Likewise.
8948 * dlfcn/dlerror.c: Likewise.
8949 * dlfcn/dlopen.c: Likewise.
8950 * dlfcn/dlopenold.c: Likewise.
8951
8952 * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
8953 yes, empty otherwise.
8954 (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
8955 depending on build-shared.
8956 (subdirs): Add $(dlfcn).
8957 (rpath-dirs): Add dlfcn.
8958 * elf/Makefile: Remove all references to libdl or its
8959 components, except the ones relating to the test cases.
8960 (routines): Add dl-sym.
8961 * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
8962 (libdl): Delete.
8963
8964 * elf/dl-close.c (_dl_close): Change argument to void *.
8965 * elf/dl-open.c (_dl_open): Change return type to void *.
8966 * elf/eval.c: Removed.
8967 * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
8968 _dlerror_run, _dl_open, _dl_close, _dl_addr, and
8969 _dl_mcount_wrapper_check to include/dlfcn.h. Delete
8970 _CALL_DL_FCT macro.
8971 * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
8972 Include real header from dlfcn directory.
8973 * include/ldsodefs.h: Removed.
8974
8975 * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
8976 * nss/getXXbyYY_r.c: Likewise.
8977 * nss/getXXent_r.c: Likewise.
8978 * iconv/gconv.c: Likewise. Don't include ldsodefs.h.
8979 * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h.
8980 * iconv/skeleton.c: Don't include ldsodefs.h.
8981 * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h.
8982
8983 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
8984
8985 * sysdeps/generic/setenv.c: Describe problem.
8986
8987 * malloc/malloc.c (request2size): Also set errno if failing.
8988
8989 * malloc/malloc.c (request2size): Take care of overflow in
8990 addition.
8991
8992 * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd
8993 (NULL, != 0) correctly.
8994
8995 * elf/dl-load.c: Use a few more __builtin_expect.
8996
8997 * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
8998 is large enough.
8999
9000 1999-07-07 Andreas Schwab <schwab@suse.de>
9001
9002 * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
9003 (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
9004 (_PATH_DEVPTMX): Use _PATH_DEV.
9005
9006 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9007
9008 * malloc/tst-malloc.c: New file. Tests some basic functionality.
9009 * malloc/Makefile (tests): Add tst-malloc.
9010
9011 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
9012
9013 * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
9014 convention.
9015
9016 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
9017 motherboards.
9018 Patch by Jay Estabrook.
9019
9020 * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
9021 ldd for SPARC.
9022 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
9023 Patch by Cristian Gafton.
9024
9025 1999-07-02 Cristian Gafton <gafton@redhat.com>
9026
9027 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
9028 instead of "return NULL" to make C++ happy.
9029
9030 1999-07-04 Mark Kettenis <kettenis@gnu.org>
9031
9032 * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
9033 allowed by the file access mode of the open file.
9034
9035 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
9036
9037 * sysdeps/generic/setfpucw.c: Include math.h to get all needed
9038 macros defined.
9039
9040 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz>
9041
9042 * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
9043 * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
9044 * sysdeps/sparc/sparc64/rshift.S: Likewise.
9045 * sysdeps/sparc/sparc64/mul_1.S: Optimize.
9046
9047 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
9048
9049 * malloc/malloc.c (request2size): Check for overflow and return
9050 NULL whenever it is encountered.
9051
9052 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
9053
9054 * sysdeps/posix/tempname.c (__gen_tempname): Add
9055 ability to create directories. Replace OPENIT and LARGEFILE
9056 args with a single flags parameter.
9057 * sysdeps/generic/tempname.c: Likewise.
9058 * include/stdio.h: Adjust prototype of __gen_tempname to
9059 match. Define symbolic constants for second argument.
9060
9061 * misc/mkdtemp.c: New file, provides new function mkdtemp().
9062 * stdlib/stdlib.h: Prototype it.
9063 * misc/Versions: Export it.
9064 * misc/Makefile (routines): Add mktemp.
9065 * manual/filesys.texi: Document it.
9066
9067 * misc/mktemp.c: Adjust call of __gen_tempname to match new
9068 convention.
9069 * misc/mkstemp.c: Likewise.
9070 * stdio-common/tempnam.c: Likewise.
9071 * stdio-common/tmpfile.c: Likewise.
9072 * stdio-common/tmpfile64.c: Likewise.
9073 * stdio-common/tmpnam.c: Likewise.
9074 * stdio-common/tmpnam_r.c: Likewise.
9075
9076 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz>
9077
9078 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
9079 R_SPARC_OLO10 relocations.
9080 * elf/elf.h (R_SPARC_OLO10): Fix comment.
9081
9082 1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk>
9083
9084 * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It
9085 doesn't belong in the tests, but in the wordexp implementation.
9086
9087 * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
9088 split fields.
9089
9090 1999-07-01 Cristian Gafton <gafton@redhat.com>
9091
9092 * time/strptime.c (strptime): Initialize the tm struct first to avoid
9093 returning bogus results on incomplete data.
9094 (strptime_internal): day_of_the_week() requres both tm_mon and
9095 tm_mday to be initialized.
9096 Compute them first if they are not given.
9097 (strptime_internal): (have_mon, have_mday): New variables.
9098
9099 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9100
9101 * inet/rcmd.c (__icheckhost): Fix typo in last patch.
9102
9103 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9104
9105 * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
9106 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9107
9108 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9109
9110 * posix/wordexp.c (parse_tilde): Handle failing call to
9111 get.*_r functions correctly for non-existing entry.
9112 * sysdeps/posix/cuserid.c (cuserid): Likewise.
9113 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
9114
9115 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
9116
9117 * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
9118 getxxbyYY_r functions correctly for non-existing entry.
9119 * sunrpc/getrpcport.c: Likewise.
9120 * sunrpc/clnt_simp.c: Likewise.
9121 * inet/rexec.c: Likewise.
9122 * sunrpc/clnt_gen.c: Likewise.
9123 * inet/rcmd.c: Likewise.
9124 * sysdeps/generic/glob.c: Likewise.
9125
9126 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9127
9128 * pwd/Makefile (tests): Add rules for tst-getpw.
9129
9130 * pwd/tst-getpw.c: New program to test getpw.
9131
9132 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9133
9134 * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
9135 correctly.
9136
9137 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9138
9139 * manual/arith.texi (System V Number Conversion): Fix the
9140 description which confused pointer and value to pointer.
9141 Reported by Andries.Brouwer@cwi.nl.
9142
9143 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9144
9145 * pwd/getpw.c (__getpw): Check for NULL result pointer.
9146
9147 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9148
9149 * manual/users.texi (Lookup User): Document POSIX return
9150 semantics for getpwuid_r and getgrgid_r.
9151
9152 * manual/socket.texi (Host Names): Document that the result
9153 pointer is null in case of error or host not found and fix a
9154 typo. Give a small example.
9155
9156 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
9157
9158 * pwd/getpw.c: Add warning since no buffer size is given and
9159 therefore no overrun tests are possible.
9160
9161 1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9162
9163 * pwd/pwd.h: Add getpw prototype declaration.
9164
9165 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
9166
9167 * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
9168 * wcsmbs/wcschr.c: Likewise.
9169
9170 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
9171
9172 * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
9173 returns.
9174 * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
9175 * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
9176 Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
9177
9178 * elf/dl-dst.h: Fix typo.
9179 * elf/dl-open.c: Likewise.
9180
9181 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu>
9182
9183 * elf/dl-libc.c: New file, provides three functions:
9184 __libc_dlopen, __libc_dlclose, __libc_dlsym.
9185 * include/dlfcn.h: Prototype them. Prototype _dl_addr.
9186 * elf/Makefile (routines): Add dl-libc.c.
9187 * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
9188 argument to void *.
9189 * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
9190
9191 * iconv/gconv.c: Include dlfcn.h.
9192 * iconv/gconv_db.c: Likewise.
9193 * malloc/mtrace.c: Likewise. Don't include ldsodefs.h.
9194
9195 * iconv/gconv_int.h (struct __gconv_loaded_object): Change
9196 `handle' to a void *.
9197 (__gconv_find_func): Delete prototype.
9198
9199 * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove
9200 dlerror_run and related functions and structs. Use
9201 __libc_dlopen, __libc_dlsym, __libc_dlclose.
9202 * nss/nsswitch.c: Likewise.
9203
9204 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
9205
9206 * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
9207 function correctly.
9208
9209 * sunrpc/getrpcport.c: Test for gethostbyname_r function
9210 correctly.
9211
9212 * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
9213
9214 * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
9215 functions correctly.
9216
9217 * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
9218
9219 * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize
9220 file reading a bit.
9221
9222 * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
9223
9224 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9225
9226 * manual/string.texi (Copying and Concatenation): Mention that
9227 strndup is a GNU extension.
9228
9229 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9230
9231 * pwd/getpw.c (__getpw): Fix check for error return.
9232
9233 1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9234
9235 * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
9236 occurence of the aux object start with the current list entry, not
9237 the new one. Adjust tail pointer in the unique list. Explain how
9238 the meaning of the variables changes [PR libc/1168].
9239
9240 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9241
9242 * sysdeps/m68k/fpu/Dist: New file.
9243
9244 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9245
9246 * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
9247 definitions...
9248 * sysdeps/m68k/fpu/mathimpl.h: ... here. New file.
9249 * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
9250 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
9251 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
9252 * sysdeps/m68k/fpu/e_pow.c: Likewise.
9253 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
9254 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
9255 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
9256 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
9257 * sysdeps/m68k/fpu/s_csin.c: Likewise.
9258 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
9259 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
9260 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
9261 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
9262 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
9263 * sysdeps/m68k/fpu/s_modf.c: Likewise.
9264
9265 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
9266
9267 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
9268 hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
9269 _EXTERN_INLINE, use a macro specific to each file,
9270 _HURD_FD_H_EXTERN_INLINE and the like.
9271 * hurd/Makefile (inline-headers): New variable.
9272 (routines): Remove hurdinline. Add $(inlines).
9273 (inlines): New variable.
9274 ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
9275 (generated): Append those here.
9276 * hurd/hurdinline.c: File removed.
9277
9278 * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
9279
9280 * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
9281
9282 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9283
9284 * nscd/connections.c (nscd_run): Use correct type for optlen variable.
9285
9286 1999-06-25 Ulrich Drepper <drepper@cygnus.com>
9287
9288 * string/bits/string2.h (strnlen): Remove extra prototype.
9289
9290 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9291
9292 * manual/filesys.texi (Working on Directory Trees): Fix typos.
9293 Reported by Andries.Brouwer@cwi.nl.
9294
9295 1999-06-24 Ulrich Drepper <drepper@cygnus.com>
9296
9297 * nscd/connections.c (handle_request): Use correct type for optlen
9298 variable.
9299
9300 * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
9301 * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
9302
9303 1999-06-24 Thorsten Kukuk <kukuk@suse.de>
9304
9305 * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
9306 * nscd/pwdcache.c: Likewise.
9307 * nscd/hstcache.c: Likewise.
9308
9309 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
9310
9311 * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
9312
9313 * posix/getopt.h: Include stdio.h.
9314
9315 * manual/arith.texi: Document restriction of ndigit parameter of
9316 ecvt and friends.
9317 * misc/efgcvt.c: Define NDIGIT_MAX.
9318 (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
9319 Do not dynamically allocate the static buffers. They are small enough.
9320 * misc/efgcvt_r.c: Define NDIGIT_MAX.
9321 (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
9322 * misc/qefgcvt.c: Define NDIGIT_MAX.
9323 * misc/qefgcvt_r.c: Likewise.
9324 * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
9325
9326 1999-06-23 Zack Weinberg <zack@rabi.columbia.edu>
9327
9328 * libio/stdio.h: Define stdin, stdout, stderr as macros.
9329 * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
9330 These are *pragmas* not macros.
9331 * wcsmbs/wchar.h: Fix comment.
9332
9333 * grp/grp.h: Use __foo_t_defined convention to typedef things
9334 only once.
9335 * io/sys/stat.h: Likewise.
9336 * libio/stdio.h: Likewise.
9337 * posix/unistd.h: Likewise.
9338 * posix/sys/types.h: Likewise.
9339 * posix/sys/wait.h: Likewise.
9340 * pwd/pwd.h: Likewise.
9341 * signal/signal.h: Likewise.
9342 * sysdeps/generic/stdint.h: Likewise.
9343 * sysdeps/gnu/utmpx.h: Likewise.
9344 * termios/termios.h: Likewise.
9345
9346 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
9347
9348 * stdio/fputc.c: Don't define alias if fputc is defined as a
9349 macro.
9350 * stdio/putc.c: Define weak alias here since it is not done
9351 anymore in fputc.c.
9352
9353 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9354
9355 * assert/assert.h: Don't produce `defined' as part of macro
9356 expansion.
9357
9358 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
9359
9360 * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
9361 OFFSET argument of (off_t) -1.
9362 * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
9363 OFFSET argument of (off_t) -1.
9364
9365 * sysdeps/mach/hurd/pwrite.c: New file.
9366 * sysdeps/mach/hurd/pread.c: New file.
9367
9368 * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
9369 pass it in the RPC instead of always -1.
9370 * hurd/fd-write.c (_hurd_fd_write): Likewise.
9371 * hurd/hurd/fd.h: Update decls.
9372
9373 1999-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9374
9375 * libio/wscanf.c: Include <wchar.h> for prototype.
9376
9377 1999-06-22 Ulrich Drepper <drepper@cygnus.com>
9378
9379 * manual/io.texi. Fix typos.
9380 * manual/stdio.texi: Likewise.
9381 Patches by Brian Youmans <3diff@gnu.org>.
9382
9383 1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
9384
9385 * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
9386 bits of two words differ.
9387
9388 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9389
9390 * libio/Makefile (routines): Add putwchar and putwchar_u.
9391
9392 * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
9393 * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of
9394 stdout. Fix parameter name.
9395
9396 * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
9397 * libio/getchar_u.c: Likewise.
9398
9399 * libio/putchar_u.c: Use _IO_stdout instead of stdout.
9400
9401 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9402
9403 * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
9404 macro expansion---it's undefined. Properly parenthesize
9405 substituted parameters.
9406 (__GLIBC_PREREQ): Likewise.
9407
9408 1999-06-21 Ulrich Drepper <drepper@cygnus.com>
9409
9410 * Makeconfig (CPPFLAGS): Revert last change. It has too many
9411 weird effects.
9412
9413 * stdlib/longlong.h: Provide __P definition if not already
9414 defined.
9415
9416 * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
9417
9418 1999-06-18 Thorsten Kukuk <kukuk@suse.de>
9419
9420 * sysdeps/alpha/atomicity.h: Correct counting of subsections.
9421
9422 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9423
9424 * stdlib/tst-strtoll.c: Avoid warning about huge constant.
9425
9426 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9427
9428 * stdio-common/vfprintf.c (group_member): Make parameters and
9429 return types pointers to CHAR_T instead of UCHAR_T.
9430 (vfprintf): Change type of work_buffer, workend and string to
9431 CHAR_T pointer/array.
9432 (process_arg, process_string_arg): Adjust/remove casts. Add
9433 missing use of L_ macro.
9434 (printf_unknown): Add missing uses of L_ macro.
9435
9436 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9437
9438 * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
9439 warning.
9440
9441 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9442
9443 * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call
9444 _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
9445 (__wunderflow): Likewise.
9446 (_IO_switch_to_wget_mode): Likewise.
9447 (_IO_init_wmarker): Likewise.
9448
9449 * libio/wfileops.c (_IO_wfile_seekoff): Call
9450 _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
9451 (_IO_wfile_jumps): Fix pbackfail entry.
9452
9453 * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
9454 function if the stream is currently unoriented.
9455
9456 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu>
9457
9458 * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
9459 Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use
9460 __gnuc_va_list in v*w(printf|scanf) prototypes.
9461
9462 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9463
9464 * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
9465 1999-03-29 to iopopen also here.
9466 Reported by Richard Braakman <dark@xs4all.nl>.
9467
9468 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9469
9470 * include/features.h: Use __GNUC_PREREQ.
9471 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
9472
9473 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9474
9475 * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
9476 Change EOF to WEOF and remove cast.
9477 (UNGETC): Remove macro.
9478 (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
9479 * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
9480 Change ISASCII to isascii and MBRLEN to mbrlen.
9481 (parse_one_spec): Compare info.spec always against wchar_t
9482 values.
9483 * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
9484 (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
9485 (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
9486
9487 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9488
9489 * libio/Makefile (shared-only-routines): Add oldiofgetpos,
9490 oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
9491 (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
9492 oldiofsetpos64 only if doing versioning.
9493
9494 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
9495
9496 * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
9497
9498 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9499
9500 * libio/libio.h: Fix last patch.
9501
9502 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
9503
9504 * libio/libio.h (_IO_putwc): Correct type of first argument.
9505 * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
9506 putwc_unlocked, putwchar_unlocked): Likewise.
9507 * libio/fputwc.c: Likewise.
9508 * libio/fputwc_unlocked.c: Likewise.
9509 * libio/putwc.c: Likewise.
9510 * libio/putwc_unlocked.c: Likewise.
9511 * libio/putwchar.c: Likewise.
9512 * libio/putwchar_unlocked.c: Likewise.
9513
9514 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
9515
9516 * sysdeps/gnu/siglist.h: File moved to ...
9517 * sysdeps/generic/siglist.h: ... here. This file should be usable for
9518 any platform, since it just associates the SIG* macros with text names
9519 and descriptions. For any signal macros do not exist on every
9520 platform, we can use #ifdef tests here and still use this single
9521 common file for all platforms.
9522 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
9523 should be usable for all platforms after the binary compatibility
9524 stuff in the current sysdeps/gnu version is no longer required.
9525 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
9526 * sysdeps/generic/make_siglist.c: File removed.
9527 * sysdeps/mach/hurd/siglist.h: Use #include_next.
9528 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
9529
9530 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
9531
9532 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
9533 * sysdeps/gnu/siglist.c: ... here.
9534 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
9535 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
9536 * sysdeps/gnu/siglist.h: New file, contents from linux version.
9537 Add entry for SIGLOST protected by #ifdef.
9538 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
9539 and define OLD_SIGLIST_SIZE_STR.
9540 * sysdeps/mach/hurd/siglist.h: New file, likewise.
9541
9542 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
9543
9544 * include/features.h: Define new macros __GNUC_PREREQ and
9545 __GLIBC_PREREQ which can be used to test the version of gcc
9546 and glibc respectively.
9547
9548 * assert/assert.h: Use __GNUC_PREREQ.
9549 * intl/libintl.h: Likewise.
9550 * math/complex.h: Likewise.
9551 * math/tgmath.h: Likewise.
9552 * misc/sys/cdefs.h: Likewise.
9553 * posix/sys/types.h: Likewise.
9554 * socket/sys/socket.h: Likewise.
9555 * string/bits/string2.h: Likewise.
9556 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
9557 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
9558
9559 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
9560
9561 * include/libintl.h: Declare _libc_intl_domainname here.
9562 Define _ and N_ here.
9563 * include/libc-symbols.h: Don't include <libintl.h>. Don't
9564 define _ and N_. Don't declare _libc_intl_domainname.
9565 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
9566
9567 * db2/config.h: Don't include sys/stat.h or define
9568 HAVE_ST_BLKSIZE here...
9569 * db2/compat.h: ...do it here.
9570
9571 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
9572 other headers.
9573 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
9574 * iconv/iconv.c: Include stddef.h for NULL.
9575 * malloc/malloc.h: Include features.h.
9576 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
9577
9578 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
9579 into the generated file.
9580 * sysdeps/gnu/errlist.awk: Likewise.
9581 * sysdeps/gnu/errlist.c: Rebuilt.
9582
9583 * assert/assert-perr.c: Include libintl.h.
9584 * assert/assert.c: Likewise.
9585 * elf/dl-open.c: Likewise.
9586 * elf/dlsym.c: Likewise.
9587 * elf/dlvsym.c: Likewise.
9588 * iconv/iconv_prog.c: Likewise.
9589 * inet/rcmd.c: Likewise.
9590 * inet/ruserpass.c: Likewise.
9591 * locale/programs/charset.c: Likewise.
9592 * locale/programs/ld-collate.c: Likewise.
9593 * locale/programs/ld-ctype.c: Likewise.
9594 * locale/programs/ld-messages.c: Likewise.
9595 * locale/programs/ld-monetary.c: Likewise.
9596 * locale/programs/ld-numeric.c: Likewise.
9597 * locale/programs/ld-time.c: Likewise.
9598 * locale/programs/locfile.c: Likewise.
9599 * locale/programs/repertoire.c: Likewise.
9600 * login/programs/database.c: Likewise.
9601 * login/programs/request.c: Likewise.
9602 * malloc/mcheck.c: Likewise.
9603 * misc/error.c: Likewise.
9604 * nis/nis_call.c: Likewise.
9605 * nis/nis_callback.c: Likewise.
9606 * nis/nis_error.c: Likewise.
9607 * nis/nis_local_names.c: Likewise.
9608 * nis/nis_print.c: Likewise.
9609 * nis/nis_print_group_entry.c: Likewise.
9610 * nis/ypclnt.c: Likewise.
9611 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9612 * nscd/cache.c: Likewise.
9613 * nscd/connections.c: Likewise.
9614 * nscd/grpcache.c: Likewise.
9615 * nscd/hstcache.c: Likewise.
9616 * nscd/nscd_conf.c: Likewise.
9617 * nscd/nscd_stat.c: Likewise.
9618 * nscd/pwdcache.c: Likewise.
9619 * posix/id.c: Likewise.
9620 * resolv/herror.c: Likewise.
9621 * stdio-common/psignal.c: Likewise.
9622 * string/strsignal.c: Likewise.
9623 * sunrpc/auth_unix.c: Likewise.
9624 * sunrpc/clnt_perr.c: Likewise.
9625 * sunrpc/clnt_raw.c: Likewise.
9626 * sunrpc/clnt_tcp.c: Likewise.
9627 * sunrpc/clnt_udp.c: Likewise.
9628 * sunrpc/clnt_unix.c: Likewise.
9629 * sunrpc/get_myaddr.c: Likewise.
9630 * sunrpc/pm_getmaps.c: Likewise.
9631 * sunrpc/pmap_clnt.c: Likewise.
9632 * sunrpc/pmap_rmt.c: Likewise.
9633 * sunrpc/rpc_main.c: Likewise.
9634 * sunrpc/rpc_scan.c: Likewise.
9635 * sunrpc/svc_run.c: Likewise.
9636 * sunrpc/svc_simple.c: Likewise.
9637 * sunrpc/svc_tcp.c: Likewise.
9638 * sunrpc/svc_udp.c: Likewise.
9639 * sunrpc/svc_unix.c: Likewise.
9640 * sunrpc/xdr_rec.c: Likewise.
9641 * sunrpc/xdr_ref.c: Likewise.
9642 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
9643 * sysdeps/posix/gai_strerror.c: Likewise.
9644 * sysdeps/unix/siglist.c: Likewise.
9645 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
9646 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9647 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
9648 * timezone/zic.c: Likewise.
9649
9650 1999-06-18 H.J. Lu <hjl@gnu.org>
9651
9652 * localedata/Makefile (charmaps): Exclude SCCS.
9653 (locales): Likewise.
9654 (repertoiremaps): Likewise.
9655
9656 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
9657
9658 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
9659 * sysdeps/generic/bsd-setjmp.c: Likewise.
9660
9661 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
9662
9663 * iconv/gconv_open.c: Include string.h for memset prototype.
9664
9665 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
9666 definitions.
9667
9668 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
9669 assignment to avoid warning on 64bit platforms.
9670
9671 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
9672
9673 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
9674
9675 * nss/getXXbyYY_r.c: Return error code not -1.
9676 * nss/getXXent_r.c: Likewise.
9677 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
9678 small.
9679 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
9680 value > 0 for error.
9681 * nscd/nscd_gethst_r.c: Likewise.
9682 * nscd/nscd_getpw_r.c: Likewise.
9683
9684 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9685
9686 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
9687 disciplines.
9688
9689 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9690
9691 * nscd/nscd_nischeck.c: Fix typos.
9692
9693 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
9694
9695 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
9696 always when oact is NULL.
9697 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
9698
9699 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9700
9701 * math/libm-test.c (jn_test): Adjust delta.
9702
9703 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9704
9705 * libio/vwprintf.c: Include <wchar.h> for prototypes.
9706 * libio/wprintf.c: Likewise.
9707
9708 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9709
9710 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
9711 to not write beyond allocated memory.
9712 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
9713
9714 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
9715
9716 * malloc/mtrace.c: Keep lock while printing output lines.
9717 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
9718
9719 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
9720
9721 * configure.in: Add warnings about broken code.
9722
9723 * Versions.def: Add GLIBC_2.2 for libc.
9724
9725 * iconv/gconv.h: Make header suitable for inclusion in public header
9726 by protecting all names with __.
9727 * iconv/gconv.c: Adapt for symbol name changes.
9728 * iconv/gconv.h: Likewise.
9729 * iconv/gconv_builtin.c: Likewise.
9730 * iconv/gconv_close.c: Likewise.
9731 * iconv/gconv_db.c: Likewise.
9732 * iconv/gconv_dl.c: Likewise.
9733 * iconv/gconv_int.h: Likewise.
9734 * iconv/gconv_open.c: Likewise.
9735 * iconv/gconv_simple.c: Likewise.
9736 * iconv/iconv.c: Likewise.
9737 * iconv/iconv_close.c: Likewise.
9738 * iconv/iconv_open.c: Likewise.
9739 * iconv/loop.c: Likewise.
9740 * iconv/skeleton.c: Likewise.
9741 * iconvdata/8bit-gap.c: Likewise.
9742 * iconvdata/8bit-generic.c: Likewise.
9743 * iconvdata/ansi_x3.110.c: Likewise.
9744 * iconvdata/big5.c: Likewise.
9745 * iconvdata/cns11643.h: Likewise.
9746 * iconvdata/cns11643l1.h: Likewise.
9747 * iconvdata/euc-cn.c: Likewise.
9748 * iconvdata/euc-jp.c: Likewise.
9749 * iconvdata/euc-kr.c: Likewise.
9750 * iconvdata/euc-tw.c: Likewise.
9751 * iconvdata/gb2312.h: Likewise.
9752 * iconvdata/iso-2022-jp.c: Likewise.
9753 * iconvdata/iso-2022-kr.c: Likewise.
9754 * iconvdata/iso646.c: Likewise.
9755 * iconvdata/iso8859-1.c: Likewise.
9756 * iconvdata/iso_6937-2.c: Likewise.
9757 * iconvdata/iso_6937.c: Likewise.
9758 * iconvdata/jis0201.h: Likewise.
9759 * iconvdata/jis0208.h: Likewise.
9760 * iconvdata/jis0212.h: Likewise.
9761 * iconvdata/johab.c: Likewise.
9762 * iconvdata/ksc5601.h: Likewise.
9763 * iconvdata/sjis.c: Likewise.
9764 * iconvdata/t.61.c: Likewise.
9765 * iconvdata/uhc.c: Likewise.
9766 * stdlib/mblen.c: Likewise.
9767 * stdlib/mbtowc.c: Likewise.
9768 * stdlib/wctomb.c: Likewise.
9769 * wcsmbs/btowc.c: Likewise.
9770 * wcsmbs/mbrtowc.c: Likewise.
9771 * wcsmbs/mbsnrtowcs.c: Likewise.
9772 * wcsmbs/mbsrtowcs.c: Likewise.
9773 * wcsmbs/wchar.h: Likewise.
9774 * wcsmbs/wcrtomb.c: Likewise.
9775 * wcsmbs/wcsmbsload.c: Likewise.
9776 * wcsmbs/wcsmbsload.h: Likewise.
9777 * wcsmbs/wcsnrtombs.c: Likewise.
9778 * wcsmbs/wcsrtombs.c: Likewise.
9779 * wcsmbs/wctob.c: Likewise.
9780
9781 * include/limits.h (MB_LEN_MAX): Increase to 16.
9782
9783 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
9784 _G_iconv_t.
9785 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
9786 * include/wchar.h: Change mbstate_t to __mbstate_t.
9787
9788 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
9789 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
9790 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
9791 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
9792 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
9793 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
9794 and iofwide.
9795 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
9796 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
9797 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
9798 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
9799 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
9800 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
9801 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
9802 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
9803 GLIBC_2.2 for libc.
9804 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
9805 Extend _IO_file contain pointer to codecvt, widedata and mode.
9806 (_IO_getwc_unlocked): New macro.
9807 (_IO_putwc_unlocked): New macro.
9808 (_IO_fwide): New macro.
9809 * libio/libioP.h: Add new prototypes and adjust existing declarations.
9810 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
9811 buffers based on mode.
9812 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
9813 oriented.
9814 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
9815 flag to be enough to signal unallocated buffer. For wide oriented
9816 stream don't make it linebuffered. Don't use _IO_do_flush, use
9817 _IO_new_do_write directly.
9818 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
9819 (_IO_file_seek): Likewise.
9820 * libio/genops.c (_IO_least_marker): Make global.
9821 (__underflow): Orient stream if not already done.
9822 (__uflow): Likewise.
9823 (_IO_default_seekpos): Change to type _IO_off64_t.
9824 (_IO_default_seekoff): Likewise.
9825 (_IO_default_seek): Likewise.
9826 (_IO_no_init): New function. Similar to _IO_init but allows to orient
9827 in initialization.
9828 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
9829 to use _IO_off64_t.
9830 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
9831 char stream.
9832 * libio/ftello64.c: Likewise.
9833 * libio/ioftell.c: Likewise.
9834 * libio/iofopncook.c: Likewise.
9835 * libio/ioseekoff.c: Likewise.
9836 * libio/ioseekpos.c: Likewise.
9837 * libio/oldfileops.c: Likewise.
9838 * libio/iofgetpos.c: Store state of conversion if necessary.
9839 * libio/iofgetpos64.c: Likewise.
9840 * libio/iofsetpos.c: Restore conversion state if necessary.
9841 * libio/iofsetpos64.c: Likewise.
9842 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
9843 * libio/iofopen.c: Likewise.
9844 * libio/iofopen64.c: Likewise.
9845 * libio/iopopen.c: Likewise.
9846 * libio/iovdprintf.c: Likewise.
9847 * libio/iovsprintf.c: Likewise.
9848 * libio/iovsscanf.c: Likewise.
9849 * libio/memstream.c: Likewise.
9850 * libio/obprintf.c: Likewise.
9851 * libio/iofputs.c: Orient stream if not already happened.
9852 * libio/iofputs_u.c: Likewise.
9853 * libio/iofwrite.c: Likewise.
9854 * libio/iofwrite_u.c: Likewise.
9855 * libio/ioputs.c: Likewise.
9856 * libio/iosetbuffer.c: Handle not yet oriented stream.
9857 * libio/iosetvbuf.c: Likewise.
9858 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
9859 * libio/stdfiles.c: Likewise.
9860 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
9861 failed allocation.
9862 (_IO_str_seekoff): Use _IO_off64_t.
9863 * libio/vasprintf.c: Pre-orient stream.
9864 * libio/vsnprintf.c: Likewise.
9865 * libio/fputwc.c: New file.
9866 * libio/fputwc_u.c: New file.
9867 * libio/fwprintf.c: New file.
9868 * libio/fwscanf.c: New file.
9869 * libio/getwc.c: New file.
9870 * libio/getwc_u.c: New file.
9871 * libio/getwchar.c: New file.
9872 * libio/getwchar_u.c: New file.
9873 * libio/iofgetws.c: New file.
9874 * libio/iofgetws_u.c: New file.
9875 * libio/iofputws.c: New file.
9876 * libio/iofputws_u.c: New file.
9877 * libio/iofwide.c: New file.
9878 * libio/iogetwline.c: New file.
9879 * libio/ioungetwc.c: New file.
9880 * libio/iovswscanf.c: New file.
9881 * libio/iowpadn.c: New file.
9882 * libio/oldiofgetpos.c: New file.
9883 * libio/oldiofgetpos64.c: New file.
9884 * libio/oldiofsetpos.c: New file.
9885 * libio/oldiofsetpos64.c: New file.
9886 * libio/putwc.c: New file.
9887 * libio/putwc_u.c: New file.
9888 * libio/putwchar.c: New file.
9889 * libio/putwchar_u.c: New file.
9890 * libio/swprintf.c: New file.
9891 * libio/swscanf.c: New file.
9892 * libio/tst_swprintf.c: New file.
9893 * libio/tst_swscanf.c: New file.
9894 * libio/tst_wprintf.c: New file.
9895 * libio/tst_wscanf.c: New file.
9896 * libio/tst_wscanf.input: New file.
9897 * libio/vswprintf.c: New file.
9898 * libio/vwprintf.c: New file.
9899 * libio/vwscanf.c: New file.
9900 * libio/wfiledoalloc.c: New file.
9901 * libio/wfileops.c: New file.
9902 * libio/wgenops.c: New file.
9903 * libio/wprintf.c: New file.
9904 * libio/wscanf.c: New file.
9905 * libio/wstrops.c: New file.
9906 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
9907 vfwprintf, and vfwscanf.
9908 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
9909 make global.
9910 * stdio-common/_itowa.c: New file.
9911 * stdio-common/_itowa.h: New file.
9912 * stdio-common/itoa-digits.c: Minimal optimization.
9913 * stdio-common/itowa-digits.c: New file.
9914 * stdio-common/printf-parse.h: Allow use in wide character context.
9915 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
9916 * stdio-common/printf.h (printf_info): Add wide bit.
9917 * stdio-common/printf_fp.c: Determine from wide bit whether stream
9918 is wide oriented or not.
9919 * stdio-common/printf_size.c: Likewise.
9920 * sysdeps/generic/printf_fphex.c: Likewise.
9921 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
9922 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
9923 context.
9924 * stdio-common/vfscand.c: Likewise.
9925 * stdio-common/vfwprintf.c: New file.
9926 * stdio-common/vfwscanf.c: New file.
9927
9928 * time/Makefile (routines): Add wcsftime.
9929 (tests): Add tst_wcsftime.
9930 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
9931 * time/strftime.c: Make usable as wcsftime.
9932 * time/wcsftime.c: New file.
9933 * time/tst_wcsftime.c: New file.
9934
9935 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
9936 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
9937 * wcsmbs/wcschrnul.c: New file.
9938 * wcsmbs/wmemcpy.c: New file.
9939 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
9940 * wcsmbs/wmemmove.c: Likewise for wmemmove.
9941
9942 * manual/stdio.texi: Document is_char and wide element if printf_info.
9943
9944 * manual/time.texi: Document wcsftime.
9945
9946 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
9947 __wmemmove, __wcschrnul, and __vfwscanf.
9948
9949 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
9950 * locale/C-time.c: Adapt for above change.
9951 * locale/categories.def: Likewise.
9952 * locale/localeinfo.h: Likewise.
9953 * localedata/Makefile: Don't run tests for now.
9954
9955 * manual/errno.texi: Fix typos.
9956 * manual/memory.texi: Likewise.
9957 * manual/ctype.texi: Likewise.
9958 Patches by Brian Youmans <3diff@gnu.org>.
9959
9960 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9961
9962 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
9963
9964 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9965
9966 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
9967 word order.
9968 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
9969 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
9970
9971 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9972
9973 * db2/db/db.c: Restore __nss_db_open alias.
9974 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
9975 include.
9976 * db2/os/os_rw.c (__os_write): Maintain const correctness.
9977 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
9978
9979 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
9980
9981 * stdio-common/printf-parse.h (parse_one_spec): Don't set
9982 is_longlong if not necessary.
9983
9984 1999-06-15 H.J. Lu <hjl@gnu.org>
9985
9986 * Make-dist (sysdep_dirs): Exclude SCCS.
9987 * MakeTAGS (sysdep_dirs): Likewise.
9988
9989 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
9990
9991 * posix/regex.c (re_error_msgid): Remove extra commas.
9992
9993 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
9994
9995 * stdlib/tst-strtoll.c: New file.
9996 * stdlib/Makefile (tests): Add tst-strtoll.c
9997 * stdlib/strtol.c: It is not generally true that if
9998 (unsigned)a*(unsigned)b overflows, then the result is
9999 less than 'a'.
10000
10001 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
10002
10003 * nscd/connections.c (handle_request): Only root is allowed to
10004 send GETSTAT request in non secure mode.
10005 * nscd/nscd.c: Print error message if other then root try to
10006 use getstat.
10007
10008 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10009
10010 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
10011
10012 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10013
10014 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
10015 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
10016
10017 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10018
10019 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
10020 for character to search, to help the compiler.
10021 * sysdeps/generic/strchrnul.c: Likewise.
10022 * sysdeps/generic/memchr.c: Likewise.
10023 * sysdeps/generic/memccpy.c: Likewise.
10024 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
10025
10026 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10027
10028 * sysdeps/m68k/memchr.S: New file.
10029 * sysdeps/m68k/rawmemchr.S: New file.
10030 * sysdeps/m68k/strchr.S: New file.
10031 * sysdeps/m68k/strchrnul.S: New file.
10032
10033 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
10034
10035 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
10036 add `memory' clobber; optimise for constant `val'.
10037 (atomic_add): Likewise.
10038 (test_and_set): Remove `volatile'; add `memory' clobber; be more
10039 like the original `test_and_set'.
10040 (compare_and_swap): Remove `volatile'; add `memory' clobber;
10041 optimise for constant `oldval'.
10042 (always_swap): Remove `volatile'; add `memory' clobber.
10043
10044 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10045
10046 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
10047 functions for gcc <= 2.7.x.
10048
10049 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
10050
10051 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
10052 change.
10053
10054 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
10055
10056 * db2/Makefile (distribute): Remove files which do not exist
10057 anymore.
10058
10059 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
10060 definitions to calm down gcc.
10061
10062 * db2/db.h: Update from db 2.7.5.
10063 * db2/db_185.h: Likewise.
10064 * db2/db_int.h: Likewise.
10065 * db2/btree/bt_compare.c: Likewise.
10066 * db2/btree/bt_conv.c: Likewise.
10067 * db2/btree/bt_curadj.c: Likewise.
10068 * db2/btree/bt_cursor.c: Likewise.
10069 * db2/btree/bt_delete.c: Likewise.
10070 * db2/btree/bt_open.c: Likewise.
10071 * db2/btree/bt_page.c: Likewise.
10072 * db2/btree/bt_put.c: Likewise.
10073 * db2/btree/bt_rec.c: Likewise.
10074 * db2/btree/bt_recno.c: Likewise.
10075 * db2/btree/bt_rsearch.c: Likewise.
10076 * db2/btree/bt_search.c: Likewise.
10077 * db2/btree/bt_split.c: Likewise.
10078 * db2/btree/bt_stat.c: Likewise.
10079 * db2/btree/btree_auto.c: Likewise.
10080 * db2/common/db_appinit.c: Likewise.
10081 * db2/common/db_apprec.c: Likewise.
10082 * db2/common/db_err.c: Likewise.
10083 * db2/common/db_region.c: Likewise.
10084 * db2/common/db_salloc.c: Likewise.
10085 * db2/db/db.c: Likewise.
10086 * db2/db/db.src: Likewise.
10087 * db2/db/db_am.c: Likewise.
10088 * db2/db/db_auto.c: Likewise.
10089 * db2/db/db_dispatch.c: Likewise.
10090 * db2/db/db_dup.c: Likewise.
10091 * db2/db/db_iface.c: Likewise.
10092 * db2/db/db_join.c: Likewise.
10093 * db2/db/db_overflow.c: Likewise.
10094 * db2/db/db_pr.c: Likewise.
10095 * db2/db/db_rec.c: Likewise.
10096 * db2/db/db_ret.c: Likewise.
10097 * db2/db185/db185.c: Likewise.
10098 * db2/dbm/dbm.c: Likewise.
10099 * db2/hash/hash.c: Likewise.
10100 * db2/hash/hash_auto.c: Likewise.
10101 * db2/hash/hash_dup.c: Likewise.
10102 * db2/hash/hash_page.c: Likewise.
10103 * db2/hash/hash_rec.c: Likewise.
10104 * db2/hash/hash_stat.c: Likewise.
10105 * db2/include/btree.h: Likewise.
10106 * db2/include/btree_ext.h: Likewise.
10107 * db2/include/clib_ext.h: Likewise.
10108 * db2/include/common_ext.h: Likewise.
10109 * db2/include/db_am.h: Likewise.
10110 * db2/include/db_auto.h: Likewise.
10111 * db2/include/db_cxx.h: Likewise.
10112 * db2/include/db_ext.h: Likewise.
10113 * db2/include/db_join.h: Likewise.
10114 * db2/include/db_page.h: Likewise.
10115 * db2/include/hash.h: Likewise.
10116 * db2/include/hash_ext.h: Likewise.
10117 * db2/include/lock.h: Likewise.
10118 * db2/include/lock_ext.h: Likewise.
10119 * db2/include/log.h: Likewise.
10120 * db2/include/log_ext.h: Likewise.
10121 * db2/include/mp.h: Likewise.
10122 * db2/include/mp_ext.h: Likewise.
10123 * db2/include/os.h: Likewise.
10124 * db2/include/os_ext.h: Likewise.
10125 * db2/include/os_func.h: Likewise.
10126 * db2/include/txn.h: Likewise.
10127 * db2/include/txn_auto.h: Likewise.
10128 * db2/include/txn_ext.h: Likewise.
10129 * db2/include/xa.h: Likewise.
10130 * db2/include/xa_ext.h: Likewise.
10131 * db2/lock/lock.c: Likewise.
10132 * db2/lock/lock_conflict.c: Likewise.
10133 * db2/lock/lock_deadlock.c: Likewise.
10134 * db2/lock/lock_region.c: Likewise.
10135 * db2/lock/lock_util.c: Likewise.
10136 * db2/log/log.c: Likewise.
10137 * db2/log/log_archive.c: Likewise.
10138 * db2/log/log_auto.c: Likewise.
10139 * db2/log/log_findckp.c: Likewise.
10140 * db2/log/log_get.c: Likewise.
10141 * db2/log/log_put.c: Likewise.
10142 * db2/log/log_rec.c: Likewise.
10143 * db2/log/log_register.c: Likewise.
10144 * db2/mp/mp_bh.c: Likewise.
10145 * db2/mp/mp_fget.c: Likewise.
10146 * db2/mp/mp_fopen.c: Likewise.
10147 * db2/mp/mp_fput.c: Likewise.
10148 * db2/mp/mp_fset.c: Likewise.
10149 * db2/mp/mp_open.c: Likewise.
10150 * db2/mp/mp_pr.c: Likewise.
10151 * db2/mp/mp_region.c: Likewise.
10152 * db2/mp/mp_sync.c: Likewise.
10153 * db2/mutex/mutex.c: Likewise.
10154 * db2/mutex/uts4_cc.s: Likewise.
10155 * db2/os/os_abs.c: Likewise.
10156 * db2/os/os_alloc.c: Likewise.
10157 * db2/os/os_config.c: Likewise.
10158 * db2/os/os_dir.c: Likewise.
10159 * db2/os/os_fid.c: Likewise.
10160 * db2/os/os_fsync.c: Likewise.
10161 * db2/os/os_map.c: Likewise.
10162 * db2/os/os_oflags.c: Likewise.
10163 * db2/os/os_open.c: Likewise.
10164 * db2/os/os_rw.c: Likewise.
10165 * db2/os/os_seek.c: Likewise.
10166 * db2/os/os_sleep.c: Likewise.
10167 * db2/os/os_spin.c: Likewise.
10168 * db2/os/os_stat.c: Likewise.
10169 * db2/os/os_tmpdir.c: Likewise.
10170 * db2/os/os_unlink.c: Likewise.
10171 * db2/progs/db_archive/db_archive.c: Likewise.
10172 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
10173 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
10174 * db2/progs/db_dump/db_dump.c: Likewise.
10175 * db2/progs/db_load/db_load.c: Likewise.
10176 * db2/progs/db_printlog/README: Likewise.
10177 * db2/progs/db_printlog/commit.awk: Likewise.
10178 * db2/progs/db_printlog/count.awk: Likewise.
10179 * db2/progs/db_printlog/db_printlog.c: Likewise.
10180 * db2/progs/db_printlog/pgno.awk: Likewise.
10181 * db2/progs/db_printlog/range.awk: Likewise.
10182 * db2/progs/db_printlog/status.awk: Likewise.
10183 * db2/progs/db_printlog/txn.awk: Likewise.
10184 * db2/progs/db_recover/db_recover.c: Likewise.
10185 * db2/progs/db_stat/db_stat.c: Likewise.
10186 * db2/txn/txn.c: Likewise.
10187 * db2/txn/txn.src: Likewise.
10188 * db2/txn/txn_auto.c: Likewise.
10189 * db2/txn/txn_rec.c: Likewise.
10190 * db2/xa/xa.c: Likewise.
10191 * db2/xa/xa_db.c: Likewise.
10192 * db2/xa/xa_map.c: Likewise.
10193
10194 * db2/btree/bt_close.c: Removed.
10195 * db2/db/db_thread.c: Likewise.
10196 * db2/hash/hash_debug.c: Likewise.
10197 * db2/include/db.h.src: Likewise.
10198 * db2/include/db_int.h.src: Likewise.
10199 * db2/include/os_jump.h: Likewise.
10200 * db2/mutex/alpha.dec: Likewise.
10201 * db2/mutex/alpha.gcc: Likewise.
10202 * db2/mutex/parisc.hp: Likewise.
10203 * db2/mutex/uts4.cc.s: Likewise.
10204
10205 * db2/Makefile: Add new routines, remove old for 2.7.5.
10206 * db2/Versions: Add internal function names for the helper programs.
10207 * db2/makedb.c: Update for new cursor callback.
10208 * Versions.def: Define versions for libdb.
10209
10210 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
10211
10212 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
10213 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
10214 * nscd/nscd_nischeck.c: New file.
10215 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
10216
10217 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10218
10219 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
10220 MSG_* flags from Linux 2.2.9.
10221
10222 1999-06-12 Mark Kettenis <kettenis@gnu.org>
10223
10224 * Makeconfig (static-start-installed-name): Set to
10225 $(start-installed-name) if not defined.
10226 (+link-static): Use $(static-start-installed-name) instead of
10227 $(start-installed-name).
10228 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
10229 Set to crt0.o.
10230
10231 1999-06-12 Mark Kettenis <kettenis@gnu.org>
10232
10233 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
10234 inserting a send right into the child instead of unconditionally
10235 copying the send right.
10236
10237 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
10238
10239 * locale/lc-time.c: Add free_mem function to free if necessary
10240 statically allocated memory.
10241
10242 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
10243
10244 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
10245 bias from the raw exponent.
10246
10247 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
10248
10249 * inet/arpa/tftp.h: Move attribute declaration in right position.
10250
10251 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
10252
10253 * nscd/nscd.c: Add -S options for separate caching of data for
10254 every user. So one user couldn't see the data another user
10255 has gotten with his credentials.
10256 * nscd/nscd.h: Add new prototypes.
10257 * nscd/cache.c: Compare owner of cache entry if in secure mode.
10258 * nscd/connections.c: Check on shutdown if caller really was root.
10259 In secure mode get uid of caller.
10260 * nscd/grpcache.c: Add support for new secure group mode.
10261 * nscd/hstcache.c: Add support for new secure hosts mode.
10262 * nscd/pwdcache.c: Add support for new secure passwd mode.
10263
10264 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
10265
10266 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
10267 of user-provided buffer.
10268
10269 1999-06-11 Mark Kettenis <kettenis@gnu.org>
10270
10271 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
10272 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
10273
10274 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
10275
10276 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
10277 and A format.
10278
10279 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
10280 returning after last entry.
10281 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
10282
10283 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
10284
10285 * misc/sysexits.h: Remove advertising clause of copyright.
10286 * resolv/getnetnamadr.c: Likewise.
10287 * sysdeps/vax/bcopy.s: Likewise.
10288 * sysdeps/vax/bzero.s: Likewise.
10289 * sysdeps/vax/ffs.s: Likewise.
10290 * sysdeps/vax/memchr.s: Likewise.
10291 * sysdeps/vax/memcmp.s: Likewise.
10292 * sysdeps/vax/memmove.s: Likewise.
10293 * sysdeps/vax/memset.s: Likewise.
10294 * sysdeps/vax/strcat.s: Likewise.
10295 * sysdeps/vax/strchr.s: Likewise.
10296 * sysdeps/vax/strcmp.s: Likewise.
10297 * sysdeps/vax/strcpy.s: Likewise.
10298 * sysdeps/vax/strcspn.s: Likewise.
10299 * sysdeps/vax/strlen.s: Likewise.
10300 * sysdeps/vax/strncat.s: Likewise.
10301 * sysdeps/vax/strncmp.s: Likewise.
10302 * sysdeps/vax/strncpy.s: Likewise.
10303 * sysdeps/vax/strpbrk.s: Likewise.
10304 * sysdeps/vax/strrchr.s: Likewise.
10305 * sysdeps/vax/strsep.s: Likewise.
10306 * sysdeps/vax/strspn.s: Likewise.
10307 * sysdeps/vax/strstr.s: Likewise.
10308
10309 * libio/iofopncook.c: Adjust for renaming of structure elements.
10310 * libio/libio.h: Define cookie functions with all the names.
10311
10312 * pwd/fgetpwent_r.c: Set errno in the correct way.
10313 * shadow/fgetspent_r.c: Likewise.
10314 * pwd/fgetpwent.c: Handle long lines correctly. Little
10315 optimizations. Free static buffer when debugging memory handling.
10316 * shadow/fgetspent.c: Likewise.
10317
10318 * grp/fgetgrent.c: Little optimization in loop.
10319
10320 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10321
10322 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
10323 in a different way.
10324
10325 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
10326
10327 * stdlib/longlong.h: gas changed sethi handling when without
10328 %hi(). Fix assembly.
10329 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
10330 port specific cache id checks.
10331 * sysdeps/generic/dl-cache.h: New file.
10332 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
10333
10334 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
10335
10336 * gmon/gmon.c: Remove advertising clause of copyright.
10337 * gmon/mcount.c: Likewise.
10338 * gmon/sys/gmon.h: Likewise.
10339 * inet/arpa/ftp.h: Likewise.
10340 * inet/arpa/telnet.h: Likewise.
10341 * inet/arpa/tftp.h: Likewise.
10342 * inet/inet_lnaof.c: Likewise.
10343 * inet/inet_mkadr.c: Likewise.
10344 * inet/inet_net.c: Likewise.
10345 * inet/inet_netof.c: Likewise.
10346 * inet/protocols/routed.h: Likewise.
10347 * inet/protocols/rwhod.h: Likewise.
10348 * inet/protocols/talkd.h: Likewise.
10349 * inet/protocols/timed.h: Likewise.
10350 * inet/rcmd.c: Likewise.
10351 * inet/rexec.c: Likewise.
10352 * inet/ruserpass.c: Likewise.
10353 * io/fts.c: Likewise.
10354 * io/fts.h: Likewise.
10355 * login/login_tty.c: Likewise.
10356 * misc/fstab.h: Likewise.
10357 * misc/getttyent.c: Likewise.
10358 * misc/getusershell.c: Likewise.
10359 * misc/sys/queue.h: Likewise.
10360 * misc/sys/syslog.h: Likewise.
10361 * misc/syslog.c: Likewise.
10362 * misc/ttyent.h: Likewise.
10363 * misc/ttyslot.c: Likewise.
10364 * resolv/arpa/nameser.h: Likewise.
10365 * resolv/gethnamaddr.c: Likewise.
10366 * resolv/herror.c: Likewise.
10367 * resolv/inet_addr.c: Likewise.
10368 * resolv/mapv4v6addr.h: Likewise.
10369 * resolv/mapv4v6hostent.h: Likewise.
10370 * resolv/nss_dns/dns-host.c: Likewise.
10371 * resolv/nss_dns/dns-network.c: Likewise.
10372 * resolv/res_comp.c: Likewise.
10373 * resolv/res_data.c: Likewise.
10374 * resolv/res_debug.c: Likewise.
10375 * resolv/res_init.c: Likewise.
10376 * resolv/res_mkquery.c: Likewise.
10377 * resolv/res_query.c: Likewise.
10378 * resolv/res_send.c: Likewise.
10379 * resolv/resolv.h: Likewise.
10380 * sysdeps/generic/div.c: Likewise.
10381 * sysdeps/generic/netinet/ip.h: Likewise.
10382 * sysdeps/generic/netinet/tcp.h: Likewise.
10383 * sysdeps/generic/paths.h: Likewise.
10384 * sysdeps/generic/prof-freq.c: Likewise.
10385 * sysdeps/generic/sys/ttydefaults.h: Likewise.
10386 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10387 * sysdeps/gnu/netinet/tcp.h: Likewise.
10388 * sysdeps/ieee754/support.c: Likewise.
10389 * sysdeps/mach/hurd/sys/param.h: Likewise.
10390 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
10391 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10392 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
10393 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10394 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
10395 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
10396 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
10397 * sysdeps/unix/sysv/linux/paths.h: Likewise.
10398 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
10399 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
10400 * sysdeps/vax/DEFS.h: Likewise.
10401 * termios/sys/ttychars.h: Likewise.
10402 * misc/daemon.c: Likewise. Call fork.
10403
10404 * grp/fgetgrent.c (buffer): Make file local variable.
10405 (free_mem): New function. Call for malloc debugging.
10406
10407 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
10408
10409 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10410
10411 * grp/Makefile: Add rules for tst_fgetgrent.
10412
10413 * grp/tst_fgetgrent.c: Rewritten to read only one file.
10414
10415 * grp/tst_fgetgrent.sh: New file.
10416
10417 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
10418
10419 * grp/Makefile (tests): Add tst_fgetgrent.
10420 * grp/tst_fgetgrent.c: New file.
10421 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
10422
10423 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
10424
10425 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
10426 be POSIX compliant. Prior definition was broken for Hurd.
10427 Reported by Mark Kettenis <kettenis@gnu.org>.
10428
10429 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
10430
10431 * ctype/ctype.h: Protect __tobody code by __extension__.
10432
10433 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
10434
10435 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
10436 reading and reset in case the buffer was too small.
10437
10438 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
10439 of EOF.
10440
10441 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10442
10443 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
10444 another SIOGIFNAME typo.
10445
10446 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
10447
10448 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
10449
10450 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
10451 bit.
10452
10453 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10454
10455 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
10456 the precision if the mantissa is zero.
10457
10458 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10459
10460 * manual/lang.texi (Floating Point Parameters): GCC already
10461 supports long double for a long time.
10462
10463 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10464
10465 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
10466 yn_test): Increase some epsilons.
10467
10468 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
10469
10470 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
10471 parameters.
10472
10473 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
10474
10475 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10476 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
10477 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
10478 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
10479
10480 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
10481 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
10482 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
10483 * sysdeps/libm-ieee754/w_j1.c: Likewise.
10484 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
10485 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
10486 * sysdeps/libm-ieee754/w_jn.c: Likewise.
10487 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
10488 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
10489
10490 * stdio-common/vfprintf.c: Correct typos.
10491
10492 * math/libm-test.c (jn_test): Adjust delta.
10493 (y1_test): Likewise.
10494 (yn_test): Likewise.
10495
10496 * elf/do-lookup.h: It should never happen that if we expect a versioned
10497 symbol from a file the file has no version table. This should have
10498 been checked in dl-version.c.
10499 * elf/dl-lookup.c: Include assert.h.
10500
10501 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
10502 function handling.
10503
10504 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
10505
10506 1999-06-06 Andi Kleen <ak@muc.de>
10507
10508 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
10509 SA_RESTORER flag.
10510
10511 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10512
10513 * math/libm-test.c (yn_test): Change one delta.
10514 (jn_test): Likewise.
10515 (j1_test): Likewise.
10516 (y0_test): Likewise.
10517
10518 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
10519
10520 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
10521 avoid multiple calls to getpagesize() which might be a syscall.
10522
10523 1999-06-06 Philip Blundell <philb@gnu.org>
10524
10525 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
10526
10527 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10528
10529 * manual/install.texi (Running make install): Correct typo in
10530 dynamic linker invocation.
10531
10532 1999-06-05 Philip Blundell <philb@gnu.org>
10533
10534 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
10535 problems with GOT addressing.
10536
10537 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
10538
10539 * malloc/malloc.c (check_action): Change into bitmap so that both
10540 diagnostic and abort can be requested by setting it to 3.
10541 (mALLOC_SET_STATe): Disable malloc checking if necessary.
10542
10543 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
10544
10545 * configure.in: Few changes for HPUX.
10546
10547 * scripts/config.guess: Update from latest version.
10548 * scripts/config.sub: Likewise.
10549
10550 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10551
10552 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
10553 map files. Closes PR libc/1147.
10554
10555 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10556
10557 * math/libm-test.c (main): Add new test functions.
10558 (jn_test): New tests.
10559 (j1_test): Add some more tests.
10560 (j0_test): Add some more tests.
10561 (y0_test): Add some more tests.
10562 (y1_test): Add some more tests.
10563
10564 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10565
10566 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
10567 Patch by mhagger@dera.gov.uk [PR libc/1145].
10568
10569 * math/libm-test.c (y1_test): New tests.
10570 (y0_test): Likewise.
10571 (j1_test): Likewise.
10572 (j0_test): Likewise.
10573 (main): Added new tests.
10574
10575 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
10576
10577 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
10578 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
10579 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
10580 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
10581 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
10582 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
10583
10584 1999-06-02 David S. Miller <davem@redhat.com>
10585
10586 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
10587 pointers properly.
10588
10589 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
10590
10591 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
10592 and elide compatibility code if possible.
10593
10594 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
10595
10596 * manual/llio.texi: Remove menu entry for removed section.
10597
10598 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10599
10600 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
10601 variables.
10602
10603 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10604
10605 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
10606 (from Linux 2.3.4).
10607
10608 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
10609
10610 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
10611
10612 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10613
10614 * manual/stdio.texi: Fix some typos.
10615
10616 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10617
10618 * malloc/malloc.h: Properly handle future GCC versions.
10619
10620 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10621
10622 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
10623 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
10624 text of error message.
10625
10626 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
10627
10628 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
10629
10630 * manual/filesys.texi: Extend (f)truncate documentation.
10631 * manual/llio.texi: Remove duplicate (f)truncate definition.
10632
10633 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10634
10635 * manual/stdio.texi (Formatted Output Functions): Mention
10636 semantics of snprintf in glibc 2.0.
10637 Reported by Ben Pfaff <pfaffben@msu.edu>.
10638
10639 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
10640
10641 * include/features.h (__GLIBC_MINOR__): Bump to 2.
10642
10643 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
10644
10645 * math/libm-test.c: Adjust a few more deltas for the poor ARM
10646 FPU emulator.
10647
10648 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10649
10650 * configure.in: Fix typo.
10651
10652 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10653
10654 * manual/socket.texi (Host Names): Remove statement that h_errno
10655 needs to be declared since this isn't true anymore.
10656 Closes PR libc/1138.
10657
10658 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
10659
10660 * config.h.in: Add __LINUX_KERNEL_VERSION.
10661 * configure.in: Recognize --enable-kernel.
10662 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
10663 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
10664 appropriately.
10665 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
10666 given perform runtime test.
10667
10668 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
10669 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
10670 minimal supported kernel is known to have the feature.
10671 * sysdeps/unix/sysv/linux/poll.c: Likewise.
10672 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10673 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10674 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10675 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10676 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
10677 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10678 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10679 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10680 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10681 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10682 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
10683 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10684 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
10685 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10686
10687 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
10688
10689 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
10690
10691 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
10692
10693 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
10694
10695 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
10696 Optimized sparc64 routines.
10697
10698 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
10699
10700 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
10701 they are the same as ints.
10702 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
10703
10704 * version.h (VERSION): Bump to 2.1.90.
10705 (RELEASE): Mark as development.
10706
10707 * stdio-common/vfprintf.c (vfprintf): Don't implement special
10708 handling for long long if it is the same as long.
10709 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
10710
10711 * stdlib/strtol.c: Moved to ...
10712 * sysdeps/generic/strtol.c: ...here.
10713 * stdlib/strtoul.c: Moved to ...
10714 * sysdeps/generic/strtoul.c: ...here.
10715 * stdlib/strtoll.c: Moved to ...
10716 * sysdeps/generic/strtoll.c: ...here.
10717 * stdlib/strtoull.c: Moved to ...
10718 * sysdeps/generic/strtoull.c: ...here.
10719 * stdlib/strtol_l.c: Moved to ...
10720 * sysdeps/generic/strtol_l.c: ...here.
10721 * stdlib/strtoul_l.c: Moved to ...
10722 * sysdeps/generic/strtoul_l.c: ...here.
10723 * stdlib/strtoll_l.c: Moved to ...
10724 * sysdeps/generic/strtoll_l.c: ...here.
10725 * stdlib/strtoull_l.c: Moved to ...
10726 * sysdeps/generic/strtoull_l.c: ...here.
10727
10728 * sysdeps/wordsize-64/strtol.c: New file.
10729 * sysdeps/wordsize-64/strtoul.c: New file.
10730 * sysdeps/wordsize-64/strtoll.c: New file.
10731 * sysdeps/wordsize-64/strtoull.c: New file.
10732 * sysdeps/wordsize-64/strtol_l.c: New file.
10733 * sysdeps/wordsize-64/strtoul_l.c: New file.
10734 * sysdeps/wordsize-64/strtoll_l.c: New file.
10735 * sysdeps/wordsize-64/strtoull_l.c: New file.
10736
10737 * wcsmbs/wcstol.c: Moved to ...
10738 * sysdeps/generic/wcstol.c: ...here.
10739 * wcsmbs/wcstoul.c: Moved to ...
10740 * sysdeps/generic/wcstoul.c: ...here.
10741 * wcsmbs/wcstoll.c: Moved to ...
10742 * sysdeps/generic/wcstoll.c: ...here.
10743 * wcsmbs/wcstoull.c: Moved to ...
10744 * sysdeps/generic/wcstoull.c: ...here.
10745 * wcsmbs/wcstol_l.c: Moved to ...
10746 * sysdeps/generic/wcstol_l.c: ...here.
10747 * wcsmbs/wcstoul_l.c: Moved to ...
10748 * sysdeps/generic/wcstoul_l.c: ...here.
10749 * wcsmbs/wcstoll_l.c: Moved to ...
10750 * sysdeps/generic/wcstoll_l.c: ...here.
10751 * wcsmbs/wcstoull_l.c: Moved to ...
10752 * sysdeps/generic/wcstoull_l.c: ...here.
10753
10754 * sysdeps/wordsize-64/wcstol.c: New file.
10755 * sysdeps/wordsize-64/wcstoul.c: New file.
10756 * sysdeps/wordsize-64/wcstoll.c: New file.
10757 * sysdeps/wordsize-64/wcstoull.c: New file.
10758 * sysdeps/wordsize-64/wcstol_l.c: New file.
10759 * sysdeps/wordsize-64/wcstoul_l.c: New file.
10760 * sysdeps/wordsize-64/wcstoll_l.c: New file.
10761 * sysdeps/wordsize-64/wcstoull_l.c: New file.
10762
10763 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
10764
10765 * sysdeps/sparc/bits/wordsize.h: New file.
10766 * sysdeps/sparc/fpu/bits/fenv.h: New file.
10767 * sysdeps/sparc/fpu/fpu_control.h: New file.
10768 * sysdeps/sparc/gmp-mparam.h: New file.
10769
10770 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
10771 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
10772 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
10773 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
10774 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
10775 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
10776
10777 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
10778 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
10779 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
10780 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
10781
10782 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
10783 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
10784 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
10785 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
10786 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
10787
10788 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
10789
10790 * login/openpty.c (openpty): Make sure pty does not because
10791 controlling TTY.
10792
10793 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
10794
10795 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
10796
10797 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
10798 Do proper error return.
10799
10800 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10801
10802 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
10803 of __P in the rest of glibc; define __MALLOC_PMT and use it.
10804 Reported by Stephan Kulow <coolo@kde.org>.
10805
10806 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
10807
10808 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
10809
10810 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
10811
10812 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10813
10814 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
10815 names to protect from user's macro namespace.
10816 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
10817 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
10818 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
10819 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
10820 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
10821 Adapted.
10822 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
10823 sysdeps/arm/fpu/fesetenv.c: Likewise.
10824 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
10825 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
10826 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
10827 * sysdeps/mips/fesetenv.c: Likewise.
10828
10829 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
10830
10831 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
10832
10833 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
10834
10835 * configure.in: Recognize and allow gcc 2.95.
10836
10837 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
10838
10839 * sysdeps/generic/bits/elfclass.h: Version common to
10840 wordsize-32 and wordsize-64.
10841 * sysdeps/generic/bits/environments.h: Ditto.
10842 * sysdeps/generic/stdint.h: Ditto.
10843 * sysdeps/generic/inttypes.h: Ditto.
10844
10845 * sysdeps/generic/bits/wordsize.h: New file.
10846 * stdlib/Makefile: Add bits/wordsize.h to headers.
10847
10848 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
10849
10850 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
10851 headers to be used for 32bit and 64bit ABI compilations.
10852 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
10853 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
10854 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
10855 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
10856 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
10857
10858 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
10859 * sysdeps/wordsize-64/bits/environments.h: Remove.
10860 * sysdeps/wordsize-64/stdint.h: Remove.
10861 * sysdeps/wordsize-64/inttypes.h: Remove.
10862 * sysdeps/wordsize-64/bits/wordsize.h: New file.
10863
10864 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
10865 * sysdeps/wordsize-32/bits/environments.h: Remove.
10866 * sysdeps/wordsize-32/stdint.h: Remove.
10867 * sysdeps/wordsize-32/inttypes.h: Remove.
10868 * sysdeps/wordsize-32/bits/wordsize.h: New file.
10869
10870 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
10871
10872 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
10873 __align_cpy_16): New functions.
10874 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
10875
10876 * sysdeps/sparc/sparc32/Versions: New file.
10877 * sysdeps/sparc/sparc64/Versions: New file.
10878 * sysdeps/sparc/Versions: Remove.
10879
10880 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
10881
10882 * sysdeps/unix/sysv/linux/configure.in:
10883 On sparc64-*-linux*, set slibdir to /lib64 if prefix
10884 is /usr, plus set libdir to ${exec_prefix}/lib64.
10885 * sysdeps/unix/sysv/linux/configure: Regenerated.
10886 * config.make.in: Propagate libdir settings from configure
10887 to the Makefiles.
10888 * shlib-versions: sparc64-*-linux* dynamic linker is
10889 /lib64/ld-linux.so.2.
10890
10891 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
10892
10893 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
10894 RPC connection.
10895
10896 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
10897
10898 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
10899 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
10900
10901 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
10902 contains garbage in bits 8-63.
10903 * sysdeps/sparc/sparc64/memset.S: Ditto.
10904 * sysdeps/sparc/sparc64/strchr.S: Ditto.
10905
10906 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
10907
10908 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
10909
10910 1999-05-17 David S. Miller <davem@redhat.com>
10911
10912 * sysdeps/sparc/sparc32/atomicity.h: New file.
10913 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
10914 * sysdeps/sparc/sparc64/atomicity.h: New file.
10915 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
10916 sysdep-CFLAGS.
10917
10918 1999-05-18 Richard Henderson <rth@twiddle.net>
10919
10920 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
10921
10922 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
10923
10924 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
10925 posix/sys/types.h: Handle the case of __GNUC__=3,
10926 __GNUC_MINOR__=(anything).
10927
10928 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10929
10930 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
10931 if _FORCE_INLINES.
10932
10933 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
10934
10935 * elf/Makefile (distribute): Remove dl-origin.h.
10936 Add dl-dst.h and gen-trusted-dirs.awk.
10937
10938 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10939
10940 * sysdeps/i386/i486/Versions: New file with inline functions from
10941 sysdeps/i386/i486/bits/string.h for now.
10942
10943 * sysdeps/i386/Versions: Add inline functions from
10944 sysdeps/i386/bits/string.h.
10945
10946 * string/Versions: Add inline functions from <bits/string2.h>.
10947
10948 * string/Makefile (routines): Add string-inlines.
10949 * string/string-inlines.c: New file, used for implementation of
10950 extern inline functions.
10951
10952 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
10953 non inlined versions of functions.
10954 * string/bits/string2.h: Likewise.
10955 * sysdeps/i386/bits/string.h: Likewise.
10956
10957 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
10958
10959 * inet/arpa/tftp.h: Add second packed attribute.
10960
10961 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
10962
10963 * malloc/malloc.c: Cleanup to bring in line with released
10964 stand-alone version `ptmalloc'. Update some comments.
10965 (internal_function): Move fallback definition so that the source
10966 compiles outside of libc, and use it in more places.
10967 (malloc_atfork): Fix when malloc_check is in use.
10968
10969 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10970
10971 * stdlib/tst-strtod.c: Fix typo.
10972
10973 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10974
10975 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
10976 const incorrectness.
10977
10978 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
10979
10980 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
10981
10982 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
10983
10984 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
10985 * sunrpc/key_call.c: Fix memory leak, close file handle.
10986 * nis/nis_creategroup.c: Use malloc instead of calloc,
10987 set ctime and mtime.
10988 * nis/nis_subr.c: Check for realloc result.
10989 * nis/nis_file.c: Fix memory leak.
10990 * nis/nis_table.c: Pretty print.
10991 * nis/nis_getservlist.c: Likewise.
10992 * nis/nis_ismember.c: Likewise.
10993 * nis/nis_lookup.c: Likewise.
10994 * nis/nis_ping.c: Likewise.
10995 * nis/nis_removemember.c: Likewise.
10996 * nis/nis_util.c: Likewise, check calloc result.
10997
10998 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
10999
11000 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
11001 * sysdeps/generic/sys/socketvar.h: ... here.
11002 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
11003 * sysdeps/generic/netinet/in_systm.h: ... here.
11004 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
11005 sys/socketvar.h.
11006 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
11007 * inet/Makefile (headers): Add netinet/in_systm.h here.
11008 * socket/Makefile (headers): Add sys/socketvar.h here.
11009
11010 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
11011
11012 * stdlib/strtol.c: Optimize inner loop of long long versions.
11013
11014 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
11015 Unix98. Add forward declaration of struct utmp.
11016
11017 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
11018
11019 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
11020 calloc.
11021
11022 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
11023 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
11024 memory allocation results.
11025
11026 1999-05-14 Mark Kettenis <kettenis@gnu.org>
11027
11028 * sysdeps/generic/getutmp.c: Include <string.h>
11029 (getutmp): Rewrite to only copy those members that are really
11030 present in `struct utmp'.
11031 * sysdeps/generic/getutmpx.c: Likewise.
11032
11033 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
11034
11035 * nss/getXXbyYY.c: Add free_mem function which disposes all
11036 statically allocated memory when debugging.
11037 * nss/getXXent.c: Likewise.
11038 * nss/nsswitch.c: Likewise.
11039
11040 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
11041
11042 * sysdeps/gnu/getutmpx.c: New file.
11043 * sysdeps/gnu/getutmp.c: New file.
11044
11045 1999-05-13 H.J. Lu <hjl@gnu.org>
11046
11047 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
11048 (getutmp): Likewise.
11049
11050 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
11051 getutmpx for login.
11052
11053 * sysdeps/gnu/utmpx.h (getutmp): Added.
11054 (getutmpx): Likewise.
11055
11056 * sysdeps/generic/getutmp.c: New file.
11057
11058 * sysdeps/generic/getutmpx.c: New file.
11059
11060 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11061
11062 * glibcbug.in (BUGGLIBC): Change address to
11063 libc-alpha@sourceware.cygnus.com.
11064
11065 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11066
11067 * resolv/arpa/nameser.h: Add C++ protectors.
11068
11069 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11070
11071 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
11072 Elad Tsur <eladts@post.tau.ac.il>.
11073
11074 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
11075
11076 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
11077 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
11078 lazily if LD_BIND_NOW is not set.
11079 * elf/dl-support.c (_dl_lazy): New variable.
11080 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
11081 * elf/rtld.c (_dl_lazy): new global variable.
11082 ( dl_main): Remove lazy, replace it by _dl_lazy.
11083
11084 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11085
11086 * locale/setlocale.c (new_composite_name): Check also whether the
11087 first category name differs.
11088
11089 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11090
11091 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
11092 the generic one.
11093
11094 1999-05-11 Philip Blundell <pb@nexus.co.uk>
11095
11096 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
11097 structure; storage suitable for any socket address.
11098 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
11099 Likewise.
11100 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
11101 sockaddr_storage): Likewise.
11102
11103 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
11104 platform.
11105
11106 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
11107
11108 * hesiod/Versions: Change _nss_hesiod_getpwuid and
11109 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
11110 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
11111
11112 1999-05-09 Mark Kettenis <kettenis@gnu.org>
11113
11114 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
11115 if the file is empty.
11116
11117 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
11118
11119 * elf/do-lookup.h: Fix typo in comment.
11120
11121 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
11122 f_bsize to help some broken programs.
11123
11124 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
11125
11126 * stdio-common/vfprintf.c: Fix typo.
11127
11128 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
11129
11130 * elf/link.h (struct link_map): New field l_phdr_allocated.
11131 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
11132 the program header being part of any loaded segment. If it is not
11133 allocate memory and set l_phdr_allocated flag.
11134 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
11135
11136 * nss/digits_dots.c: Correct return value interpretation of
11137 inet_ntoa. Fix PR libc/1109.
11138
11139 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
11140
11141 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
11142
11143 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
11144
11145 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
11146 * stdlib/fpioconst.c: Move #endif before end of struct.
11147
11148 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
11149
11150 * Versions.def (ld.so): Add GLIBC_2.1.1.
11151 * elf/Makefile (routines): Add dl-origin.
11152 (tests): Add origtest. Add dependencies for the program.
11153 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
11154 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
11155 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
11156 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
11157 DT_AUXILIARY, and DT_FILTER filenames.
11158 * elf/dl-load.c (expand_dynamic_string_token): Explode into
11159 two functions and three macros.
11160 (_dl_dst_count, _dl_dst_substitute): New functions.
11161 * elf/dl-dst.h: New file.
11162 * elf/dl-open.c (_dl_open): Take extra parameter with address of
11163 caller. Pass address in args structure.
11164 (dl_open_worker): Recognize and expand DSTs in filename.
11165 * elf/ldsodefs.h (_dl_open): Adapt prototype.
11166 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
11167 (__dlopen_check): Pass caller address to dlopen_doit in args.
11168 * elf/dlopendoit.c: Likewise.
11169 * iconv/gconv_dl.c: Adapt call of _dl_open.
11170 * nss/nsswitch.c: Likewise.
11171 * elf/origtest.c: New file.
11172 * sysdeps/generic/dl-origin.h: Moved to...
11173 * sysdeps/generic/dl-origin.c: ...here.
11174 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
11175 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
11176
11177 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
11178 with specific bases and only few bits set in second word.
11179
11180 * timezone/Makefile (install-others): Create target directory
11181 before creating tzfiles.
11182
11183 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
11184
11185 * nis/nis_file.c (readColdStartFile): Allocate memory only after
11186 the file is opened successfully.
11187
11188 * nis/nis_table.c: Fix some memory leaks.
11189
11190 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
11191
11192 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
11193 variable.
11194
11195 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
11196 around DST. Correctly ignore ORIGIN IN SUID binaries.
11197
11198 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
11199
11200 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
11201 * sysdeps/generic/strtok.c: Likewise.
11202
11203 * string/tester.c: Add test of rawmemchr.
11204
11205 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
11206 specification. It's not necessary.
11207
11208 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
11209 * elf/gen-trusted-dirs.awk: New file.
11210 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
11211 from SYSTEM_DIRS macro.
11212 (system_dirs_len): New variable. Contains lengths of system_dirs
11213 strings.
11214 (fillin_rpath): Rewrite for systems_dirs being a simple string.
11215 Improve string comparisons. Change parameter trusted to be a flag.
11216 Change all callers.
11217 (_dt_init_paths): Improve using new format for system_dirs.
11218
11219 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
11220 $ORIGIN for SUID binaries.
11221
11222 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
11223
11224 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11225
11226 * sunrpc/Makefile: Generate dependencies for all flavors of
11227 librpcsvc objects.
11228 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
11229 invocations.
11230
11231 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11232
11233 * elf/dlopenold.c: Move #if down after includes to get
11234 dependencies right.
11235
11236 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11237
11238 * sysdeps/generic/bzero.c: Undefine __bzero.
11239
11240 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
11241
11242 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
11243 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
11244 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
11245 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
11246
11247 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
11248 parameter to struct gaih_servtuple *. Adapt appropriately.
11249 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
11250 This fixes a memory leak.
11251 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
11252
11253 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
11254 and fpregset_t definition. They are defined in ucontext.h.
11255
11256 1999-04-14 Scott Bambrough <scottb@netwinder.org>
11257
11258 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
11259 and struct ether_header must be packed on the ARM. The default
11260 alignment constraints add padding to the end of the structures.
11261
11262 1999-04-14 Scott Bambrough <scottb@netwinder.org>
11263
11264 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
11265 default alignment constraints add padding to the end of the
11266 structure and between members.
11267
11268 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
11269
11270 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
11271 _dl_cache_libcmp instead of strcmp.
11272
11273 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
11274 fails on a file.
11275 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
11276
11277 1998-03-30 Joel Klecker <espy@debian.org>
11278
11279 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
11280 (sysdep-others,install-bin): Add lddlibc4.
11281
11282 1999-05-02 H.J. Lu <hjl@gnu.org>
11283
11284 * timezone/zic.c (dolink): Remove the symlink destination first.
11285
11286 * catgets/open_catalog.c (__open_catalog): Set catalog->status
11287 to "nonexisting" if failed to open the file.
11288
11289 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
11290
11291 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
11292 gcc3.
11293
11294 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
11295 Prevent warnings from multiplication with 0x01010101 by another cast.
11296
11297 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11298
11299 * string/bits/string2.h (memset): Revert to previous version if
11300 unaligned writes are not available.
11301
11302 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
11303
11304 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
11305 better code in presence of the asm.
11306
11307 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11308
11309 * stdlib/fmtmsg.c (keywords): Increase array size for faster
11310 indexing.
11311
11312 * locale/localeinfo.h (_nl_category_names): Increase array element
11313 size for faster indexing.
11314 * locale/setlocale.c (_nl_category_names): Adjusted.
11315
11316 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11317
11318 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
11319
11320 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11321
11322 * sysdeps/m68k/stackinfo.h: New file.
11323
11324 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
11325
11326 * string/tester.c (test_strchrnul): New function.
11327 (test_memset): Test one more special case.
11328
11329 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
11330 25% of all cases.
11331
11332 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
11333 base types.
11334
11335 * string/bits/string2.h: Fix bugs I introduced in last change.
11336
11337 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
11338 register stall.
11339 Extend memset optimization.
11340 Correct i686 version of memchr.
11341
11342 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
11343
11344 * sysdeps/i386/bzero.c: Add #undef __bzero.
11345
11346 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
11347 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
11348 exec server simulated a SIGTRAP before we even started up, so gdb is
11349 already happy.
11350
11351 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
11352
11353 * nss/digits_dots.c: Always initialize not_ok.
11354
11355 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
11356
11357 * string/bits/string2.h (memset): Avoid arithmetic overflow at
11358 compile time, which produces obnoxious warnings. If GCCv2 is
11359 in use, map __bzero to __builtin_memset to enable that
11360 optimization.
11361
11362 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
11363
11364 * string/bits/string2.h: Add more memset optimizations.
11365
11366 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
11367
11368 * resolv/inet_pton.c (inet_pton4): Little optimizations.
11369 (inet_pton6): Likewise.
11370
11371 * nss/getXXbyYY_r.c: Include assert.h.
11372 * nss/getXXbyYY.c: Likewise.
11373
11374 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11375
11376 * termios/tcgetsid.c (tcgetsid): Rename variable to
11377 tiocgsid_does_not_work.
11378
11379 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
11380
11381 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
11382
11383 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11384
11385 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
11386 This allows e.g. gethostbyname to accept "10.1234".
11387 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
11388
11389 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
11390 non quad IPv4 numbers.
11391
11392 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11393
11394 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
11395
11396 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
11397
11398 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
11399 * argp/argp-parse.c (_argp_hang): Likewise.
11400 * argp/argp-pv.c (argp_program_version): Likewise.
11401 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
11402 * inet/ether_hton.c (ether_hton, startp): Likewise.
11403 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
11404 * inet/getnetgrent_r.c (setup, startp): Likewise.
11405 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
11406 * intl/localealias.c (string_space, string_space_act, string_space_max,
11407 nmap, maxmap): Likewise.
11408 * libio/iopopen.c (proc_file_chain): Likewise.
11409 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
11410 * locale/lc-collate.c (__collate_table, __collate_extra,
11411 __collate_element_hash, __collate_element_strings,
11412 __collate_element_values): Likewise.
11413 * malloc/mcheck.c (mcheck_used): Likewise.
11414 * malloc/mtrace.c (added_atexit_handler): Likewise.
11415 * malloc/set-freeres.c (already_called): Likewise.
11416 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
11417 * misc/syslog.c (LogStat, LogTag): Likewise.
11418 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
11419 * nss/getXXbyYY_r.c (startp): Likewise.
11420 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
11421 * posix/regex.c (init_syntax_once) [done]: Likewise.
11422 (debug): Likewise.
11423 * string/strfry.c (init): Likewise.
11424 * sunrpc/svc_run.c (svc_top): Likewise.
11425 * posix/euidaccess.c (have_ids): Likewise.
11426 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
11427 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
11428 * time/getdate.c (getdate_err): Likewise.
11429 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
11430 Likewise.
11431 * time/tzset.c (old_tz, is_initialized): Likewise.
11432
11433 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
11434 of static data with zero.
11435 * signal/allocrtsig.c (init): Likewise.
11436
11437 * string/Makefile (routines): Add strchrnul.
11438 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
11439 * string/string.c: Add strchrnul prototype.
11440 * include/string.h: Add __strchrnul prototype.
11441 * sysdeps/generic/strchrnul.c: New file.
11442 * sysdeps/i386/strchrnul.S: New file.
11443 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
11444 * sysdeps/i386/i486/bits/string.c: Likewise.
11445 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
11446 * inet/ether_line.c (ether_line): Likewise.
11447 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
11448 * nss/nsswitch.c (nss_parse_file): Likewise.
11449 * posix/execvp.c (execvp): Likewise.
11450 * posix/fnmatch.c (internal_fnmatch): Likewise.
11451 * resolv/res_hconf.c (_res_hconv_init): Likewise.
11452 * resolv/res_init.c (res_init): Likewise.
11453 * stdlib/fmtmsg.c (init): Likewise.
11454 * stdlib/getsubopt.c (getsubopt): Likewise.
11455
11456 * catgets/catgets.c (catopen): Only allocate one memory block.
11457 (catclose): Only one free call necessary.
11458
11459 * catgets/open_catalog.c (__open_catalog): Simplify handling of
11460 file descriptor.
11461
11462 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
11463 of real functions. Simplify _tolower and _toupper.
11464
11465 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
11466 variable.
11467
11468 * iconv/gconv.h (struct gconv_info): Change data element from pointer
11469 to array of size 0.
11470 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
11471 * iconv/gconv_close.c (__gconv_close): Don't free data.
11472
11473 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
11474 insert new alias.
11475
11476 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
11477 for error while inserting in tree.
11478
11479 * include/time.h: Pretty print.
11480
11481 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
11482 in table and lots of relocations.
11483 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
11484 string pointers in table and lots of relocations.
11485
11486 * intl/finddomain.c: Remove definition of strchr macro.
11487
11488 * io/ftw.c (nftw_arr, ftw_arr): Make const.
11489
11490 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
11491
11492 * locale/localeinfo.h (_nl_category_names): Change into an array with
11493 fixed width char string elements.
11494 * locale/setlocale.c (_nl_category_names): Likewise.
11495 (_nl_current): Make global.
11496 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
11497
11498 * malloc/Makefile (distribute): Add stackinfo.h.
11499 * sysdeps/generic/stackinfo.h: New file.
11500 * sysdeps/i386/stackinfo.h: New file.
11501 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
11502 * posix/execle.c: Likewise.
11503 * posix/execlp.c: Likewise.
11504
11505 * nis/nis_table.c (__create_ib_request): Always use realloc.
11506
11507 * posix/execvp.c (execute): Rename to script_execute and keep only
11508 code to execute using shell.
11509 (execvp): Call execv directly and only fall back on script_execute.
11510
11511 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
11512 and always use xdigits instead.
11513
11514 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
11515 where appropriate.
11516
11517 * stdlib/fpioconst.h (__tens): New declaration.
11518 (struct mp_power): Remove array, add arrayoff element.
11519 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
11520 __tens array and add in _fpioconst_pow10 offsets into __tens.
11521 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
11522 * stdlib/strtod.c: Likewise.
11523
11524 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
11525
11526 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
11527 of the list.
11528 * stdlib/atexit.c (__exit_funcs): Don't initialize.
11529
11530 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
11531
11532 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
11533 a single and an array with offsets.
11534
11535 * sunrpc/des_soft.c (partab): Make it const.
11536
11537 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
11538 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
11539 (__key_decryptsession_pk_LOCAL): Likewise.
11540 (__key_gendes_LOCAL): Likewise.
11541 (MESSENGER): Mark const.
11542 (key_call_private_main): Don't initialize with 0.
11543 (use_keyenvoy): Don't initialize with 0.
11544 (key_call): Rewrite to reverse logic of use_doors variable.
11545
11546 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
11547 (startp): Don't initialize with zero.
11548
11549 * sunrpc/openchild.c (_openchild): Make first argument const.
11550
11551 * sunrpc/pmap_rmt.c (timeout): Mark const.
11552 * sunrpc/xcrypt.c (hex): Likewise.
11553
11554 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
11555 initialization of global variables.
11556 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
11557 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11558 * termios/tcgetsid.c: Likewise.
11559
11560 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
11561 fxsr to osfxsr.
11562
11563 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
11564 block. Add function to free memory if wanted.
11565 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
11566
11567 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
11568
11569 * wcsmbs/wmemset.c: Little code optimization.
11570
11571 1999-04-23 Paul Eggert <eggert@twinsun.com>
11572
11573 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
11574 ifdef _LIBC.
11575
11576 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
11577
11578 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
11579 implementation and just always fail with ENOSYS. This entry point is
11580 obsolete. Add link warning to that effect.
11581
11582 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
11583
11584 * hurd/get-host.c: Include <hurd/lookup.h>.
11585
11586 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
11587
11588 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
11589 is != NULL.
11590
11591 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11592
11593 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
11594 ISO C9x and Unix98.
11595
11596 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
11597
11598 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
11599 Patch by Peter Miller <millerp@canb.auug.org.au>.
11600
11601 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
11602
11603 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
11604 prefers loopback device.
11605
11606 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
11607
11608 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
11609 no_leading_period change.
11610
11611 * posix/testfnm.c: More test cases.
11612
11613 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
11614
11615 * include/dirent.h: Remove __getdirentries declaration, add __getdents
11616 and __getdents64.
11617 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
11618 * sysdeps/unix/readdir_r.c: Likewise.
11619 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11620 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
11621 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
11622 __getdirentries. Remove fourth argument.
11623 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
11624 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
11625 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
11626 Add getdirentries and getdirentries64.
11627 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
11628
11629 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
11630 pointer in case of an invalid [[: expression.
11631
11632 * posix/testfnm.c: Add more test cases.
11633
11634 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
11635
11636 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
11637 set, pass EXEC_SIGTRAP flag in exec RPC.
11638
11639 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
11640
11641 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
11642 extra parameter. Fix several more bugs involving wildcard and
11643 ranges.
11644 (fnmatch): New function. Call internal_fnmatch.
11645
11646 * posix/testfnm.c: More test cases.
11647
11648 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11649
11650 * manual/install.texi (Configuring and compiling): Explain that
11651 files are changed in the source directory.
11652 Closes PR libc/981.
11653 (Configuring and compiling): Explain situation with PARALLELMFLAGS
11654 in the source directory.
11655
11656 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11657
11658 * locale/programs/ld-ctype.c: Spelling fixes.
11659 (ctype_finish): Fix argument of error message format.
11660 * locale/programs/ld-messages.c: Spelling fixes.
11661 * locale/programs/ld-monetary.c: Spelling fixes.
11662 * locale/programs/ld-time.c (time_finish): Make sure that name and
11663 format of era_entries are adjacent.
11664 (time_output): Reduce the size of the io vector.
11665
11666 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11667
11668 * manual/filesys.texi (Attribute Meanings): Move a misplaced
11669 paragraph.
11670
11671 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11672
11673 * locale/programs/ld-collate.c (collate_output): Convert
11674 undefined_offset to an array index. Fix computation of other
11675 endian extra table.
11676
11677 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
11678
11679 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
11680 return success with empty value.
11681
11682 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
11683
11684 * posix/fnmatch.c: Include string.h also for glibc.
11685 (fnmatch, case '?'): Optimize if cascades a bit.
11686 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
11687
11688 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
11689
11690 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
11691
11692 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
11693 * iconv/gconv_int.h: Declare UTF16 functions.
11694 * iconv/gconv_simple.c: Add UTF16 conversion functions.
11695
11696 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11697
11698 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
11699 be used correctly as parameter for parse_dollars/parse_tilde.
11700
11701 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11702
11703 * manual/conf.texi (Utility Limits): Remove duplicate description
11704 of BC_DIM_MAX.
11705
11706 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
11707
11708 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
11709 outbufend for dst==NULL.
11710
11711 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
11712
11713 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
11714 for dst==NULL.
11715 Fixes PR libc/1084.
11716
11717 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
11718 Fixes PR libc/1083.
11719
11720 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
11721
11722 * sunrpc/Makefile: Remove special handling of bootparam.x,
11723 add rpcsvc/bootparam.h to headers.
11724 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
11725 * sunrpc/rpcsvc/bootparam.x: Renamed to...
11726 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
11727
11728 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
11729
11730 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
11731 detect and handle invalid descriptors.
11732
11733 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
11734
11735 * timezone/zic.c (dolink): Append complete path not only filename
11736 to ../ list.
11737
11738 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11739
11740 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
11741
11742 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
11743
11744 * iconvdata/gconv-modules: Rename CP874 to IBM874.
11745 * iconvdata/Makefile: Likewise.
11746 * iconvdata/cp874.h: Removed.
11747 * iconvdata/cp874.c: Renamed to...
11748 * iconvdata/ibm874.c: ...this.
11749
11750 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
11751
11752 * sysdeps/unix/sysv/linux/bits/types.h: Correct
11753 signed/unsigned-ness of blkcnt and fsblkcnt.
11754 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
11755 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
11756
11757 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
11758 SOL_AAL, and SOL_IRDA.
11759
11760 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11761
11762 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
11763 include "linux_fsinfo.h".
11764 Based on a patch by H.J. Lu <hjl@gnu.org>.
11765
11766 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
11767
11768 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
11769
11770 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
11771
11772 * nscd/cache.c (prune_cache): Only disable file checking for
11773 future if the file does not exist.
11774 Update file_mtime if cache was flushed.
11775
11776 1999-04-15 David S. Miller <davem@redhat.com>
11777
11778 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
11779 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
11780
11781 1999-04-15 Scott Bambrough <scottb@netwinder.org>
11782
11783 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
11784 compilation of file.
11785
11786 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
11787
11788 * Versions.def: Add GLIBC_2.1.1 to libpthread.
11789
11790 * iconvdata/Makefile (modules): Add KOI8-U.
11791 (distribute): Add koi8-u.c.
11792 (gen-8bit-gap-modules): Add koi8-u.
11793 * iconvdata/gconv-modules: Add KOI8-U entries.
11794 * iconvdata/koi8-u.c: New file.
11795
11796 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
11797
11798 * sunrpc/auth_des.c: 64bit fixes, security fixes.
11799 * sunrpc/auth_none.c: Pretty print.
11800 * sunrpc/auth_unix.c: Likewise.
11801 * sunrpc/authdes_prot.c: Likewise.
11802 * sunrpc/authuxprot.c: Likewise.
11803 * sunrpc/bindrsvprt.c: Likewise.
11804 * sunrpc/clnt_gen.c: Likewise.
11805 * sunrpc/rpc/xdr.h: Likewise.
11806 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
11807 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
11808 * sunrpc/rtime.c: Use new rpc_timeval.
11809 * sunrpc/svc_authux.c: Don't use *long pointers.
11810 * sunrpc/svcauth_des.c: Likewise + security fixes.
11811 * sunrpc/xdr_mem.c: Don't use *long pointers.
11812 * sunrpc/xdr_rec.c: Likewise.
11813 * sunrpc/xdr_sizeof.c: Likewise.
11814 * sunrpc/xdr_stdio.c: Likewise.
11815
11816 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
11817
11818 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
11819 so that it is redone for each sending.
11820
11821 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11822
11823 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
11824
11825 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
11826
11827 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
11828 known to not exist don't try to load shared objects.
11829 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
11830
11831 * nscd/cache.c (prune_cache): The table might not be unused. In
11832 this case do nothing.
11833
11834 * catgets/gencat.c (read_input_file): Don't drop white spaces
11835 between number/identifier and string.
11836 Patch by Dima Barsky <dima@pwd.hp.com>.
11837 If no white space at all follows number/identifier remove existing
11838 message with the number/identifier.
11839
11840 1999-04-14 H.J. Lu <hjl@gnu.org>
11841
11842 * sunrpc/clnt_udp.c (is_network_up): New function.
11843 (clntudp_call): Call is_network_up () to check if any network
11844 interface is up in case of timeout.
11845
11846 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11847
11848 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
11849 * wctype/Makefile (tests): Add test_wcfuncs.
11850
11851 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
11852
11853 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
11854 architectures.
11855 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
11856 instead of CFLAGS.
11857 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
11858 instead of CFLAGS. For gnulib and string directories use
11859 -Wa,-Av9a gcc ASFLAGS.
11860 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
11861 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
11862 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
11863 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
11864 the same way as sparc-*.
11865
11866 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
11867
11868 * locale/programs/locfile.c (locfile_read): Fix typo.
11869 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
11870
11871 1999-04-14 Scott Bambrough <scottb@netwinder.org>
11872
11873 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
11874 restarted after being interrupted by a signal. The parameters on
11875 the stack were corrupted by the signal handler.
11876
11877 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
11878 restarted after being interrupted by a signal. The parameters on
11879 the stack were corrupted by the signal handler.
11880
11881 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11882
11883 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
11884 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
11885
11886 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
11887
11888 * posix/wordexp-test.c: In field-splitting test cases where
11889 subshells were involved, unset IFS first: some shells (ash) use
11890 IFS even when no expansion is performed.
11891
11892 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11893
11894 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
11895 the real end of the chunk, not some random point inbetween.
11896 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
11897 obstack when growing. Use fast version of obstack_blank when
11898 shrinking.
11899 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
11900 allocating the vtable pointer.
11901 (_IO_obstack_vprintf): Adjust for above change and avoid
11902 unnecessary casts. Use fast version of obstack_blank when
11903 shrinking.
11904 Fixes PR libc/1075.
11905
11906 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
11907
11908 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
11909 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
11910
11911 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
11912
11913 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
11914 is seen, as well as fixing semantics. Don't reset the word count
11915 to zero when an invalid character is seen, but leave it as it was
11916 (this makes a difference with WRDE_APPEND).
11917
11918 * posix/wordexp-test.c: More test cases.
11919
11920 * posix/wordexp.c (parse_param): In words like ${var#pattern},
11921 always expand pattern when it is needed. Also, handle quoting in
11922 pattern properly.
11923
11924 1999-04-12 Philip Blundell <philb@gnu.org>
11925
11926 * elf/elf.h: Update ARM definitions to match current gas2.
11927
11928 * sysdeps/arm/bits/endian.h: Support big endian operation.
11929
11930 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
11931 Don't bother range checking the port number.
11932
11933 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
11934
11935 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
11936 the syscall name in assembler output for ease of debugging.
11937
11938 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
11939 compiler behaviour.
11940 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
11941 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
11942 (sysdep_routines): Add sigrestorer.
11943
11944 * string/tester.c (test_strcpy): Add new tests for unaligned
11945 arguments.
11946 * sysdeps/arm/bits/string.h: Delete inline implementations of
11947 strcpy and stpcpy.
11948
11949 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
11950
11951 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
11952
11953 1999-04-10 Mark Kettenis <kettenis@gnu.org>
11954
11955 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
11956
11957 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
11958
11959 * iconvdata/Makefile (modules): Add TIS-620.
11960 (distribute): Add tis-620.c.
11961 (gen-8bit-gap-modules): tis-620.
11962 * iconvdata/tis-620.c: New file.
11963 * iconvdata/gconv-modules: Add TIS-620 entries.
11964
11965 * iconvdata/asmo_449.c: Correct comment.
11966
11967 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11968
11969 * manual/install.texi (Configuring and compiling): Comment out
11970 description of --disable-static since this doesn't work currently
11971 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
11972
11973 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
11974
11975 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
11976 use binary search.
11977 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
11978
11979 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11980
11981 * scripts/test-installation.pl (installation_problem): Skip
11982 libnss1_* libraries from glibc-compat add-on.
11983
11984 1999-04-07 H.J. Lu <hjl@gnu.org>
11985
11986 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
11987 libstdc++ 2.7.2.
11988 * posix/Versions (__waitpid): Likewise.
11989
11990 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11991
11992 * manual/install.texi (Reporting Bugs): Add section about reported
11993 bugs and correct email address of glibcbug script.
11994
11995 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
11996
11997 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
11998 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
11999 xdr_u_longlong_t. Based on patch from Dan Shechter
12000 <damageboy@isdn.net.il>.
12001 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
12002 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
12003
12004 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
12005
12006 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12007
12008 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
12009 directly if getdents returns with error set.
12010
12011 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12012
12013 * locale/langinfo.h (THOUSEP): Rename second occurence of
12014 THOUSANDS_SEP to THOUSEP.
12015 Reported by Roman Belenov <roman@nstl.nnov.ru>.
12016
12017 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
12018
12019 * hurd/STATUS: File removed. Moved items that are still relevant into
12020 TODO list in hurd source.
12021
12022 1999-03-26 Mark Kettenis <kettenis@gnu.org>
12023
12024 * sysdeps/mach/hurd/bits/time.h: New file.
12025 * sysdeps/mach/hurd/getrusage.c: New file.
12026 * sysdeps/mach/hurd/clk_tck.c: New file.
12027 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
12028 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
12029 (sysdep_routines): Add clk_tck.
12030 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
12031 implemented.
12032
12033 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
12034
12035 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
12036 (closelog): But instead here.
12037 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
12038
12039 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12040
12041 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
12042 the source directory. Fixes PR libc/1059.
12043
12044 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12045
12046 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
12047 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12048
12049 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
12050
12051 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
12052 * iconvdata/testdata/ISO-8859-14: New file.
12053 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
12054 * iconvdata/testdata/ISO-8859-15: New file.
12055 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
12056
12057 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
12058
12059 * iconvdata/testdata/CP1258: New file.
12060 * iconvdata/testdata/CP1258..UTF8: New file.
12061 * iconvdata/TESTS: Add CP1258 entry.
12062
12063 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
12064
12065 * timezone/africa: Update from tzdata1999d.
12066 * timezone/europe: Likewise.
12067 * timezone/northamerica: Likewise.
12068
12069 1999-03-31 Mark Kettenis <kettenis@gnu.org>
12070
12071 * login/programs/pt_chown.c (main): Save effective user ID before
12072 dropping priviliges and use this to check if the program is
12073 properly installed.
12074
12075 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
12076
12077 * iconvdata/testdata/CP1254: Update for charmap changes.
12078 * iconvdata/testdata/CP1254..UTF8: Likewise.
12079 * iconvdata/testdata/CP1255: Likewise.
12080 * iconvdata/testdata/CP1255..UTF8: Likewise.
12081 * iconvdata/testdata/CP1256: Likewise.
12082 * iconvdata/testdata/CP1256..UTF8: Likewise.
12083 * iconvdata/testdata/CP1257: Likewise.
12084 * iconvdata/testdata/CP1257..UTF8: Likewise.
12085
12086 * iconvdata/Makefile (distribute): Remove cp1258.h.
12087 (gen-8bit-gap-modules): Add cp1258.
12088 * iconvdata/cp1258.h: Removed.
12089
12090 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
12091
12092 * timezone/tst-timezone.c (tests): Add more cases.
12093 (check_tzvars): Mark errors clearer.
12094 (main): Likewise.
12095
12096 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
12097
12098 * login/programs/pt_chown.c: Drop privileges if invoked with
12099 arguments. Don't close the master pty.
12100
12101 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
12102
12103 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
12104 Minor optimization.
12105
12106 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
12107
12108 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
12109 relocation for SUID binaries.
12110
12111 1999-03-29 Paul Eggert <eggert@twinsun.com>
12112
12113 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
12114 while in child process.
12115
12116 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
12117
12118 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
12119 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
12120 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
12121 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
12122 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
12123
12124 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
12125 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
12126 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
12127 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
12128 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
12129 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
12130 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
12131 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
12132 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
12133 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
12134 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
12135 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
12136 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
12137 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
12138 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
12139 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
12140 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
12141 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
12142 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
12143 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
12144 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
12145 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
12146 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
12147 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
12148 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
12149 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
12150
12151 * sysdeps/sparc/sparc32/bcopy.c: New file.
12152 * sysdeps/sparc/sparc32/bzero.c: New file.
12153 * sysdeps/sparc/sparc32/memchr.S: New file.
12154 * sysdeps/sparc/sparc32/memcpy.S: New file.
12155 * sysdeps/sparc/sparc32/memmove.c: New file.
12156 * sysdeps/sparc/sparc32/memset.S: New file.
12157 * sysdeps/sparc/sparc32/stpcpy.S: New file.
12158 * sysdeps/sparc/sparc32/strchr.S: New file.
12159 * sysdeps/sparc/sparc32/strrchr.c: New file.
12160 * sysdeps/sparc/sparc32/strcpy.S: New file.
12161 * sysdeps/sparc/sparc32/strlen.S: New file.
12162 * sysdeps/sparc/sparc32/strcat.S: New file.
12163 * sysdeps/sparc/sparc32/strcmp.S: New file.
12164
12165 * sysdeps/sparc/sparc64/bcopy.c: New file.
12166 * sysdeps/sparc/sparc64/bzero.c: New file.
12167 * sysdeps/sparc/sparc64/memchr.S: New file.
12168 * sysdeps/sparc/sparc64/memcmp.S: New file.
12169 * sysdeps/sparc/sparc64/memcpy.S: New file.
12170 * sysdeps/sparc/sparc64/memset.S: New file.
12171 * sysdeps/sparc/sparc64/stpcpy.S: New file.
12172 * sysdeps/sparc/sparc64/strcat.S: New file.
12173 * sysdeps/sparc/sparc64/strchr.S: New file.
12174 * sysdeps/sparc/sparc64/strcmp.S: New file.
12175 * sysdeps/sparc/sparc64/strcpy.S: New file.
12176 * sysdeps/sparc/sparc64/strcspn.S: New file.
12177 * sysdeps/sparc/sparc64/strlen.S: New file.
12178 * sysdeps/sparc/sparc64/strncpy.S: New file.
12179 * sysdeps/sparc/sparc64/strpbrk.S: New file.
12180 * sysdeps/sparc/sparc64/strrchr.c: New file.
12181 * sysdeps/sparc/sparc64/strspn.S: New file.
12182 * sysdeps/sparc/sparc64/stpncpy.S: New file.
12183 * sysdeps/sparc/sparc64/strncmp.S: New file.
12184
12185 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
12186 Append -fPIC, don't replace.
12187
12188 * configure.in: Recognize sparcv8plus / sparcv9.
12189
12190 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12191
12192 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
12193 char * to avoid C++ warning.
12194 Patch by yasushi@cs.washington.edu [PR libc/1035].
12195
12196 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12197
12198 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
12199 declared in stdlib.h, correct return value of mkstemp.
12200 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
12201
12202 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
12203 from Linux 2.2.5.
12204
12205 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12206
12207 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
12208 C++ warning.
12209
12210 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
12211 inline functions. Closes PR libc/1049.
12212
12213 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12214
12215 * timezone/README: Update from tzdata1999c and tzcode1999c.
12216
12217 * timezone/africa: Update from tzdata1999c.
12218 * timezone/antarctica: Likewise.
12219 * timezone/asia: Likewise.
12220 * timezone/australasia: Likewise.
12221 * timezone/europe: Likewise.
12222 * timezone/northamerica: Likewise.
12223 * timezone/southamerica: Likewise.
12224 * timezone/zone.tab: Likewise.
12225
12226 * timezone/zic.c: Update from tzcode1999c.
12227
12228 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12229
12230 * Makerules: Add $(common-objpfx)Versions.all to common-generated
12231 outside of ifndef avoid-generated.
12232
12233 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
12234 in iofdopen.c.
12235 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
12236 iofopen.c.
12237 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
12238 in iofclose.c.
12239 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
12240 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
12241
12242 1999-03-26 Mark Kettenis <kettenis@gnu.org>
12243
12244 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
12245 if we build the profiled library.
12246
12247 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12248
12249 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
12250 Jaeger <aj@arthur.rhein-neckar.de>
12251
12252 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
12253
12254 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
12255 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
12256 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
12257
12258 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
12259
12260 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
12261 works properly in subdirs.
12262
12263 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
12264
12265 * sysdeps/mach/hurd/Makefile: Undo last change.
12266 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
12267 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
12268
12269 * mach/Machrules (+preinit, +postinit, +interp,
12270 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
12271 linked just like other shared libraries.
12272 (interface.so): Fix typo in defn, so it works.
12273 ($(objpfx)$(interface.so)): Make it depend on libc.so.
12274
12275 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
12276
12277 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
12278 $(link-rpcuserlibs).
12279
12280 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12281
12282 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
12283 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
12284 targets if not building shared libraries.
12285
12286 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12287
12288 * configure.in: Also look in $PATH when searching for
12289 install-info. Remove autoconf bug workaround and require autoconf
12290 2.13.
12291
12292 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12293
12294 * db/Makefile: Don't try to install shared library link if not
12295 building with shared libs.
12296
12297 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12298
12299 * rt/Makefile: Link against static library if no shared lib is
12300 available.
12301
12302 * localedata/Makefile: The shells scripts implementing the test
12303 require the dynamic linker which is not available with
12304 --disable-shared. Skip the test if --disable-shared is given.
12305
12306 * linuxthreads/Makefile: Link test against static libpthread if no
12307 shared lib is available.
12308
12309 * iconvdata/Makefile (tests): Run iconv-test only if we're
12310 building shared libraries.
12311 * elf/Makefile (tests): Likewise for elf tests.
12312
12313 * posix/Makefile: The test frameworks globtest and wordexp-test
12314 require the dynamic linker which is not available with
12315 --disable-shared. Skip the test if --disable-shared is given.
12316
12317 * grp/Makefile (otherlibs): For static nss build link against
12318 necessary libs.
12319
12320 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12321
12322 * debug/Makefile (install-bin): Install and build catchsegv only
12323 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
12324 libc/965].
12325
12326 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12327
12328 * time/tzfile.c (__tzfile_read): Handle the case where there are
12329 transitions but no DST.
12330
12331 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
12332
12333 * mach/Machrules (extra-libs-others): Add $(interface-library) here
12334 too, so it gets built in the others pass rather than the lib pass.
12335 This is necessary since the RPC libraries need to be linked against
12336 libc.
12337
12338 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
12339
12340 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
12341 _itoa_word decl.
12342
12343 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
12344 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
12345 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
12346 versions of lib{mach,hurd}user.so without reference to libc.so,
12347 then link libc.so against that to get deps and symbol versions, then
12348 finally link real lib*user.so against libc.so.
12349
12350 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
12351 Support whole-file locking (only) by using the file_lock RPC. This
12352 has very wrong semantics, but is better than nothing for the time
12353 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
12354 protocols that will be somewhat hairy to specify.)
12355
12356 1999-03-17 Mark Kettenis <kettenis@gnu.org>
12357
12358 * sysdeps/mach/hurd/ptsname.c: New file.
12359
12360 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12361
12362 * timezone/asia: Fix rule in Asia/Nicosia entry.
12363
12364 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12365
12366 * manual/getopt.texi (Using Getopt): Explain "::" in option
12367 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
12368
12369 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
12370
12371 * sunrpc/clnt_unix.c: Fix creation of parameters for
12372 sendmsg/recvmsg on non intel platforms.
12373 * sunrpc/svc_unix.c: Likewise.
12374
12375 1999-03-18 Philip Blundell <philb@gnu.org>
12376
12377 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
12378 implementation.
12379
12380 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12381
12382 * timezone/africa: Update from tzdata1999b.
12383 * timezone/asia: Likewise.
12384 * timezone/australasia: Likewise.
12385 * timezone/europe: Likewise.
12386 * timezone/northamerica: Likewise.
12387 * timezone/southamerica: Likewise.
12388 * timezone/zone.tab: Likewise.
12389
12390 * timezone/README: Mention tzdata1999b.
12391
12392 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
12393
12394 * sysdeps/generic/segfault.c (write_strsignal): New function.
12395 (catch_segfault): Use it instead of calling strsignal.
12396
12397 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12398
12399 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
12400 char to avoid warning.
12401
12402 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
12403
12404 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
12405
12406 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
12407 outbuf to unsigned char to avoid warning.
12408
12409 1999-03-11 David S. Miller <davem@redhat.com>
12410
12411 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
12412 masks.
12413 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
12414
12415 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
12416
12417 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
12418 `unsigned char'.
12419 (gconv_step_data): Likewise.
12420 * iconv/gconv_int.h (__gconv): Likewise.
12421 (__BUILINT_TRANS): Likewise.
12422 * iconv/gconv.c (__gconv): Likewise.
12423 * iconv/iconv.c (iconv): Add casts for call of __gconv.
12424 * iconv/skeleton.c: Change local parameters and variable from `char' to
12425 `unsigned char'. Remove casts from calls into modules.
12426 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
12427 `char' to `unsigned char'.
12428 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
12429 * wcsmbs/mbrtowc.c: Likewise.
12430 * wcsmbs/mbsnrtowcs.c: Likewise.
12431 * wcsmbs/mbsrtowcs.c: Likewise.
12432 * wcsmbs/wcrtomb.c: Likewise.
12433 * wcsmbs/wcsnrtombs.c: Likewise.
12434 * wcsmbs/wcsrtombs.c: Likewise.
12435 * wcsmbs/wctob.c: Likewise.
12436
12437 1999-03-15 Mark Kettenis <kettenis@gnu.org>
12438
12439 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
12440 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
12441 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
12442 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
12443 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
12444 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
12445
12446 1999-03-15 Mark Kettenis <kettenis@gnu.org>
12447
12448 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
12449 _hurd_select if TIMEMOUT is -1.
12450
12451 1999-03-15 Mark Kettenis <kettenis@gnu.org>
12452
12453 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
12454
12455 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
12456
12457 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
12458 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
12459
12460 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12461
12462 * manual/libc.texinfo: Undo last change for now.
12463
12464 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
12465
12466 * intl/locale.alias: Add entries for Croatian.
12467 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
12468
12469 1999-03-13 Mark Kettenis <kettenis@gnu.org>
12470
12471 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
12472 if the opened master pty really is a pty. `isatty' checks for
12473 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
12474 if we are out of pty's.
12475
12476 1999-03-13 Mark Kettenis <kettenis@gnu.org>
12477
12478 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
12479 opened file is closed on exec.
12480 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
12481 opened socket.
12482
12483 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12484
12485 * manual/llio.texi (File Position Primitive): Reformat @end
12486 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
12487
12488 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
12489
12490 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
12491 entry is found.
12492 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12493 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
12494
12495 * locale/programs/localedef.c (main): Initialize `cat' to please
12496 the compiler.
12497
12498 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
12499
12500 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
12501 check for root-owned symlinks and reject them too.
12502
12503 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12504
12505 * stdio-common/printf_fphex.c: Move to ...
12506 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
12507 extended precision number.
12508 * sysdeps/m68k/printf_fphex.c: New file.
12509
12510 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12511
12512 * manual/stdio.texi: Fix typos.
12513
12514 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
12515
12516 * version.h (VERSION): Bump to 2.1.1.
12517
12518 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
12519
12520 * nis/ypclnt.c: Try only twice to connect to NIS server.
12521
12522 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
12523
12524 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
12525
12526 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12527
12528 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
12529 (DENORM_EXP): New define. Use it as the exponent for a denormal.
12530 * stdlib/strtold.c: Moved to ...
12531 * sysdeps/generic/strtold.c: ... here.
12532 * sysdeps/m68k/strtold.c: New file.
12533
12534 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12535
12536 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
12537 point if the precision is zero, even if the mantissa is non-zero.
12538
12539 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
12540
12541 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
12542 arguments into the request message buffer inside `send_rpc'
12543 subfunction. We must repeat the marshalling when retrying the RPC
12544 after a SIGTTOU delivery.
12545
12546 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
12547 path when there is no ctty port.
12548 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
12549 Move sigstate check inside loop so we recheck after handling a signal.
12550
12551 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12552
12553 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
12554 O_EXLOCK are BSD extensions.
12555 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
12556
12557 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
12558
12559 * manual/signal.texi (Termination in Handler): Correct example.
12560 Install default handler before reraising the signal.
12561 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
12562
12563 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
12564
12565 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
12566 null, in which case send an empty string.
12567
12568 1999-03-02 Mark Kettenis <kettenis@gnu.org>
12569
12570 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
12571 backward compatibility EH functions to be linked when using
12572 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
12573
12574 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12575
12576 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
12577 /dev/pts status may change during runtime.
12578
12579 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12580
12581 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
12582 change. /dev/pts status can change during runtime.
12583
12584 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
12585
12586 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
12587 poll reports error.
12588 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
12589 add some more sanity checks.
12590 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
12591 parser prototype.
12592
12593 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
12594
12595 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
12596 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
12597 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
12598 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
12599 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
12600 for x_getint32.
12601 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
12602 * nis/nis_print.c: Fix ctime argument for platforms where
12603 sizeof (time_t) != sizeof (int).
12604
12605 1999-03-07 Mark Kettenis <kettenis@gnu.org>
12606
12607 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
12608 CLOCKS_PER_SEC instead of CLK_TCK.
12609
12610 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
12611
12612 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
12613 whether /dev/pts is available.
12614 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
12615 dev_pts_available.
12616
12617 * posix/globtest.sh: Make common_objpfx path absolute and and db2
12618 and hesiod directory to library path [PR libc/1007].
12619
12620 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12621
12622 * resolv/inet_addr.c (inet_aton): Don't allow componets >
12623 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
12624
12625 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
12626
12627 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
12628 DT_PLTGOT has already been relocated.
12629 (__elf_machine_fixup_plt): Likewise.
12630 Minor cleanups.
12631
12632 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
12633
12634 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
12635
12636 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
12637
12638 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
12639 and fold string to uppercase [PR libc/1005].
12640
12641 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12642
12643 * elf/dl-load.c (lose): Fix return type.
12644
12645 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
12646
12647 * sysdeps/mach/hurd/bits/fcntl.h
12648 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
12649 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
12650 set O_NOTRANS as well.
12651 (__hurd_file_name_lookup_retry): At successful end of lookup,
12652 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
12653 it is a translated node not owned by root.
12654 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
12655 on the file name passed to LOOKUP.
12656
12657 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
12658
12659 * manual/time.texi (High Resolution Timer): Correct computation in
12660 example. Reported by jjf@devel.cemsys.com.
12661
12662 1999-03-02 Philip Blundell <pb@nexus.co.uk>
12663
12664 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
12665 entry is already relocated.
12666
12667 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12668
12669 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
12670 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
12671
12672 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12673
12674 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
12675 uc_link which is the right name according to Unix98.
12676 Reported by Craig Metz [PR libc/1001].
12677 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
12678 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
12679 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
12680 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
12681 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
12682 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
12683
12684 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12685
12686 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
12687 @ifinfo.
12688
12689 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12690
12691 * iconvdata/Makefile: Always include iconv-rules, but disable rule
12692 to regenerate it if avoid-generated.
12693
12694 * Makeconfig: Always include sys-dirs, but disable rule to
12695 regenerate it when avoid-generated.
12696
12697 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
12698 rule to generate sysd-syscalls.
12699
12700 * elf/Makefile (generated): Remove $(objpfx) from names.
12701
12702 1999-02-28 Mark Kettenis <kettenis@gnu.org>
12703
12704 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
12705 actual length if the adress length is smaller than the input
12706 value. Change type of *LEN paramater to socklen_t.
12707 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
12708 * sysdeps/mach/hurd/accept.c (accept): Likewise.
12709 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
12710 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
12711 paramater to socklen_t.
12712
12713 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
12714
12715 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
12716 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
12717 with the RPC.
12718
12719 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
12720
12721 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
12722 __get_phys_pages): Cast &HBI to silence warning.
12723
12724 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
12725 * hurd/hurdchdir.c: New file.
12726 * hurd/hurdfchdir.c: New file.
12727 * sysdeps/mach/hurd/chroot.c: Call
12728 _hurd_change_directory_port_from_name to do the work.
12729 * sysdeps/mach/hurd/chdir.c: Likewise.
12730 * sysdeps/mach/hurd/fchdir.c: Call
12731 _hurd_change_directory_port_from_fd to do the work.
12732 * hurd/fchroot.c: Likewise.
12733 * hurd/hurd.h: Declare them.
12734
12735 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
12736
12737 * elf/dl-load.c (lose): Add more comments to explain the `why'.
12738 (_dl_map_object): Remove redundant test.
12739
12740 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
12741
12742 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
12743 try to _hurd_port_free a lower-numbered descriptor that was not in any
12744 fd_set.
12745
12746 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12747
12748 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
12749 declaration for ____wcstod_l_internal.
12750
12751 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
12752 __strtod_internal prototype.
12753 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
12754 (____strtold_l_internal): Add prototype declaration.
12755 (__strtold_l): Call correct function.
12756
12757 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
12758
12759 * elf/elf.h: Add 32bit HPPA definitions.
12760
12761 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12762
12763 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
12764 non-checked heap is restored when malloc checking was requested by
12765 the user.
12766 (struct malloc_state): Add using_malloc_checking.
12767 (MALLOC_STATE_VERSION): Increment minor.
12768 (using_malloc_checking, disallow_malloc_check): New variables.
12769 (__malloc_check_init): Use them.
12770 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
12771 that it can the chunk is properly instrumented when malloc
12772 checking is enabled. Set the new using_malloc_checking field.
12773 (malloc_hook_ini): Correct signature when _LIBC is not defined.
12774
12775 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12776
12777 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
12778 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
12779 time.
12780
12781 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
12782 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
12783 if ld.so is the main program.
12784
12785 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
12786
12787 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
12788 large for work_buffer, allocate new buffer.
12789 (printf_unknown): Likewise. [PR libc/988]
12790
12791 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
12792
12793 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
12794 instead of stat and fstat.
12795 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12796
12797 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
12798
12799 * elf/dl-error.c (_dl_signal_cerror): New function.
12800 (_dl_signal_error): Don't call receiver function.
12801 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
12802 instead of _dl_signal_error when reporting references to undefined
12803 symbols or versions.
12804 (_dl_lookup_versioned_symbol): Likewise.
12805 (_dl_lookup_versioned_symbol_skip): Likewise.
12806 * elf/dl-version.c (match_symbol): Likewise.
12807
12808 * elf/ldsodefs.h: Declare _dl_signal_cerror.
12809
12810 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
12811
12812 * misc/getttyent.c (getttyent): Release lock on stream later to
12813 also protect global variable zapchar.
12814
12815 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
12816 __times [PR libc/990].
12817
12818 1999-02-21 David S. Miller <davem@redhat.com>
12819
12820 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
12821 parentheses in Feb 2 changes.
12822 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
12823
12824 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12825
12826 * sysdeps/generic/glob.c (glob): Save previous errno.
12827
12828 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
12829
12830 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
12831 lookup functions if it is too small.
12832
12833 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
12834
12835 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
12836 for tracing to the scope lists.
12837 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
12838 DT_SYMTAB is always available according to ELF spec.
12839
12840 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
12841 call test whether there is any scope left.
12842 (_dl_lookup_versioned_symbol_skip): Likewise.
12843
12844 * elf/Makefile (distribute): Add do-lookup.h.
12845 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
12846 * elf/dl-lookup.c: Move do_lookup function in separate file and
12847 include the file twice, for handling versioning and without it.
12848
12849 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
12850 entry is already relocated.
12851 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
12852 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
12853 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
12854 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
12855 Likewise.
12856 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
12857 Likewise.
12858 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
12859 Likewise.
12860
12861 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
12862 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
12863 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
12864 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
12865 rel and rela relocations can both happen and skip one test if this
12866 is not possible.
12867 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
12868 appropriately.
12869 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
12870 already relocated.
12871 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
12872 relocated.
12873 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
12874 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
12875 (_dl_map_object): DT_STRTAB entry is already relocated.
12876 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
12877 already relocated.
12878 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
12879 relocated.
12880 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
12881 DT_VERSYM entries are already relocated.
12882 (profile_fixup): Likewise.
12883 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
12884 all users.
12885 (match_symbol): DT_STRTAB entry is already relocated.
12886 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
12887 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
12888 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
12889 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
12890 (find_needed): DT_STRTAB entry is already relocated.
12891 (dl_main): Pass extra argument to elf_get_dynamic_info.
12892 DT_STRTAB entry is already relocated.
12893 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
12894 DT_PLTGOT entries are already relocated.
12895 (elf_machine_rela): Likewise for DT_SYMTAB.
12896 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
12897 relocated.
12898 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12899 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12900 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12901 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12902 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
12903 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
12904 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
12905 * sysdeps/mips/mips64/dl-machine.h: Likewise.
12906
12907 * grp/initgroups.c (initgroups): If function in current module was
12908 successful don't stop but continue to process to get all the groups.
12909
12910 * elf/dl-load.c (_dl_map_object_from_fd): Use global
12911 _dl_pf_to_proot array to convert p_flags value.
12912 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12913
12914 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
12915 loop to clear `info'.
12916
12917 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
12918 do the work and don't use inline assembler.
12919
12920 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
12921
12922 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
12923 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
12924 noreturn, and prevent it from being inlined.
12925 Define LOSE appropriately.
12926 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
12927 Optimize decoding of p_flags for certain platforms.
12928
12929 1999-02-19 Philip Blundell <pb@nexus.co.uk>
12930
12931 * Makeconfig (link-libc): When doing a static link, make sure that
12932 libgcc.a is included both before and after libc.a.
12933
12934 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
12935
12936 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
12937 sp_warn, sp_inact, sp_expire and sp_flag.
12938
12939 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
12940
12941 * elf/link.h (link_map): Add l_dev and l_ino.
12942 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
12943 loaded shared object with all loaded objects. Initialize l_ino
12944 and l_dev in case it's new.
12945 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
12946 object.
12947 * elf/Makefile: Compile and run new test.
12948 * elf/multiload.c: New file.
12949
12950 * nss/nsswitch.h (service_user): Change name field from const char *
12951 to char[0].
12952 (name_database_entry): Likewise.
12953 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
12954 for change of `service_user'.
12955 (nss_getline): Adjust memory allocation for change of
12956 `name_database_entry'.
12957
12958 * catgets/catgets.c: Correctly handle NLSPATH from environment
12959 [PR libc/980].
12960
12961 * io/Makefile (routines): Add lock64.
12962 * io/Versions: Add lockf64 for GLIBC_2.1.1.
12963 * sysdeps/generic/lockf64.c: New file.
12964
12965 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12966
12967 * string/bits/string2.h: Only use strncmp optimization if count
12968 argument is constant.
12969
12970 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
12971
12972 * sysdeps/mach/hurd/revoke.c: New file.
12973
12974 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12975
12976 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
12977 int to avoid warning about `ISO C restricts enumerator values to
12978 range of `int''.
12979
12980 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12981
12982 * elf/dlfcn.h: Fix typo.
12983 * sysdeps/generic/bits/dlfcn.h: Likewise.
12984 * sysdeps/mips/bits/dlfcn.h: Likewise.
12985
12986 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
12987
12988 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
12989 for the case N == 0.
12990
12991 * db2/Makefile (distribute): Add LICENSE.
12992
12993 1999-02-03 Jeff Bailey <jbailey@nisa.net>
12994
12995 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
12996 generated files.
12997
12998 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
12999
13000 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
13001
13002 * time/mktime.c: Use ISO C form for function definitions and
13003 remove unnecessary prototypes.
13004
13005 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
13006
13007 * time/time.h: Avoid unneccesary #ifdef.
13008
13009 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
13010
13011 * stdio-common/_itoa.c (_itoa): Correct parameters to
13012 udiv_qrnnd_preinv.
13013
13014 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
13015
13016 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
13017 before (e.g. in glob.h).
13018 Closes PR libc/959.
13019
13020 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
13021
13022 * sysdeps/mips/fpu_control.h: Fix typo.
13023 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
13024 Remove __setfpucw.
13025
13026 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
13027
13028 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
13029 the "unused" ends of the sockets. Let pipes be bidirectional.
13030
13031 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
13032
13033 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
13034 invalid ai_flags.
13035
13036 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
13037
13038 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
13039 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
13040
13041 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
13042 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
13043
13044 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
13045
13046 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
13047
13048 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
13049
13050 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
13051 check for priority mask.
13052
13053 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
13054
13055 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
13056 Reported by Craig Metz <cmetz@inner.net> .
13057
13058 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
13059
13060 * stdio-common/Makefile (tests): tllformat added.
13061
13062 * stdio-common/tllformat.c: New program, based on tiformat.c with
13063 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
13064
13065 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
13066
13067 * posix/test-vfork.c: Fix exit status test.
13068
13069 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
13070
13071 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
13072 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
13073
13074 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
13075
13076 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
13077 of separare explicit comparisons.
13078
13079 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
13080
13081 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
13082 defined.
13083
13084 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
13085 defined.
13086
13087 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
13088
13089 * po/el.po: Update from translation team.
13090
13091 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
13092
13093 * intl/locale.alias: Fix slovenian entry [PR libc/948].
13094
13095 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
13096
13097 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
13098 * inet/ruserpass.c: Likewise.
13099 * locale/programs/stringtrans.c: Likewise.
13100 * locale/programs/localedef.c: Likewise.
13101 * nscd/grpcache.c: Likewise.
13102 * nss/nss_files/files-XXX.c: Likewise.
13103 * stdlib/canonicalize.c: Likewise.
13104 * sysdeps/posix/sigwait.c: Likewise.
13105
13106 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
13107
13108 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
13109 even on 64 bit platforms.
13110
13111 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
13112 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
13113
13114 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
13115
13116 * intl/dcgettext.c: Include locale.h is available.
13117
13118 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
13119
13120 * po/nl.po: Update from translation team.
13121
13122 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
13123
13124 * Makefile: Allow calling goals for po subdir.
13125
13126 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
13127 signal definitions.
13128
13129 * po/el.po: New file.
13130
13131 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
13132
13133 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
13134 when processing DT_SYMBOLIC objects.
13135
13136 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
13137
13138 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
13139 program headers without PT_PHDR only require that they are
13140 contained within one of the loaded segments. Don't use assert,
13141 since that would be a bug in the object, not the dynamic linker.
13142
13143 1999-02-08 Richard Henderson <rth@cygnus.com>
13144
13145 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
13146 restore all call-clobbered fp regs.
13147
13148 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
13149
13150 * po/cs.po: New file.
13151
13152 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
13153 SUID binaries.
13154
13155 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
13156
13157 * signal/signal.h: Don't declare __libc_allocate_rtsig.
13158 * include/signal.h: Declare __libc_allocate_rtsig here.
13159
13160 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
13161 point functions, not do_lookup since the later can be called more
13162 than once.
13163
13164 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
13165
13166 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
13167 macro, so that architectures which need to add some special
13168 offset to stack pointer can share this file.
13169
13170 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
13171 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
13172 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
13173 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
13174
13175 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
13176 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
13177 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
13178 between sparc32 and sparc64.
13179
13180 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
13181 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
13182 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
13183 between sparc32 and sparc64.
13184
13185 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
13186 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
13187 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
13188 between sparc32 and sparc64.
13189
13190 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
13191 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
13192 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
13193 between sparc32 and sparc64.
13194
13195 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
13196
13197 * Versions.def: New version GLIBC_2.1.1 for libc.
13198 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
13199 * stdlib/labs.c: Moved to...
13200 * sysdeps/generic/labs.c: ...here.
13201 * stdlib/llabs.c: Moved to...
13202 * sysdeps/generic/llabs.c: ...here.
13203 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
13204 header. Declare _Exit.
13205 * sysdeps/generic/_exit.c: Add alias _Exit.
13206 * sysdeps/mach/hurd/_exit.c: Likewise.
13207 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
13208 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
13209 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
13210 * sysdeps/unix/_exit.c: Likewise.
13211 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
13212 imaxdiv and imaxabs. Declare lldiv_t if necessary.
13213 * sysdeps/wordsize-64/inttypes.h: Likewise.
13214 * sysdeps/wordsize-32/llabs.c: New file.
13215 * sysdeps/wordsize-32/lldiv.c: New file.
13216 * sysdeps/wordsize-64/labs.c: New file.
13217 * sysdeps/wordsize-64/ldiv.c: New file.
13218 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
13219 * manual/startup.texi: Document _Exit.
13220
13221 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
13222
13223 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
13224
13225 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
13226
13227 * Versions.def: Add versions for ld.so.
13228 * csu/Versions: Remove __libc_stack_end here.
13229 * elf/Versions: Split libc definitions in libc and ld.so definitions.
13230 * elf/Makefile (ld-map): Change to ld.so.map.
13231 * scripts/versions.awk: Recognize dot in library names.
13232
13233 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
13234 Don't use __tolower and __toupper in inline functions.
13235 Add optimizing macros for tolower and toupper.
13236 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
13237 (_toupper): Don't use __toupper.
13238 * ctype/ctype.c (tolower): Don't use __tolower.
13239 (toupper): Don't use toupper.
13240
13241 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
13242
13243 * resolv/Versions (libresolv): Export __ns_name_unpack and
13244 __ns_name_ntop.
13245 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
13246 make it global. Change all users. Similar for ns_name_ntop.
13247 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
13248 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
13249 directly to detect too small buffer.
13250 * resolv/nss_dns/dns-network.c: Likewise.
13251
13252 * stdio-common/Makefile (tests): Add scanf12.
13253 * stdio-common/scanf12.c: New file.
13254 * stdio-common/scanf12.input: New file.
13255 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
13256 floating-point correctly if the number is invalid.
13257
13258 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
13259 functions.
13260 * stdio-common/printf_fp.c: Likewise.
13261 * stdio-common/printf_fphex.c: Likewise.
13262 * stdio-common/vfprintf.c: Likewise.
13263
13264
13265 See ChangeLog.9 for earlier changes.