]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Update.
[thirdparty/glibc.git] / ChangeLog
1 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
2
3 * version.h (VERSION): Bump to 2.1.90.
4 (RELEASE): Mark as development.
5
6 * stdio-common/vfprintf.c (vfprintf): Don't implement special
7 handling for long long if it is the same as long.
8 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
9
10 * stdlib/strtol.c: Moved to ...
11 * sysdeps/generic/strtol.c: ...here.
12 * stdlib/strtoul.c: Moved to ...
13 * sysdeps/generic/strtoul.c: ...here.
14 * stdlib/strtoll.c: Moved to ...
15 * sysdeps/generic/strtoll.c: ...here.
16 * stdlib/strtoull.c: Moved to ...
17 * sysdeps/generic/strtoull.c: ...here.
18 * stdlib/strtol_l.c: Moved to ...
19 * sysdeps/generic/strtol_l.c: ...here.
20 * stdlib/strtoul_l.c: Moved to ...
21 * sysdeps/generic/strtoul_l.c: ...here.
22 * stdlib/strtoll_l.c: Moved to ...
23 * sysdeps/generic/strtoll_l.c: ...here.
24 * stdlib/strtoull_l.c: Moved to ...
25 * sysdeps/generic/strtoull_l.c: ...here.
26
27 * sysdeps/wordexp-64/strtol.c: New file.
28 * sysdeps/wordexp-64/strtoul.c: New file.
29 * sysdeps/wordexp-64/strtoll.c: New file.
30 * sysdeps/wordexp-64/strtoull.c: New file.
31 * sysdeps/wordexp-64/strtol_l.c: New file.
32 * sysdeps/wordexp-64/strtoul_l.c: New file.
33 * sysdeps/wordexp-64/strtoll_l.c: New file.
34 * sysdeps/wordexp-64/strtoull_l.c: New file.
35
36 * wcsmbs/wcstol.c: Moved to ...
37 * sysdeps/generic/wcstol.c: ...here.
38 * wcsmbs/wcstoul.c: Moved to ...
39 * sysdeps/generic/wcstoul.c: ...here.
40 * wcsmbs/wcstoll.c: Moved to ...
41 * sysdeps/generic/wcstoll.c: ...here.
42 * wcsmbs/wcstoull.c: Moved to ...
43 * sysdeps/generic/wcstoull.c: ...here.
44 * wcsmbs/wcstol_l.c: Moved to ...
45 * sysdeps/generic/wcstol_l.c: ...here.
46 * wcsmbs/wcstoul_l.c: Moved to ...
47 * sysdeps/generic/wcstoul_l.c: ...here.
48 * wcsmbs/wcstoll_l.c: Moved to ...
49 * sysdeps/generic/wcstoll_l.c: ...here.
50 * wcsmbs/wcstoull_l.c: Moved to ...
51 * sysdeps/generic/wcstoull_l.c: ...here.
52
53 * sysdeps/wordexp-64/wcstol.c: New file.
54 * sysdeps/wordexp-64/wcstoul.c: New file.
55 * sysdeps/wordexp-64/wcstoll.c: New file.
56 * sysdeps/wordexp-64/wcstoull.c: New file.
57 * sysdeps/wordexp-64/wcstol_l.c: New file.
58 * sysdeps/wordexp-64/wcstoul_l.c: New file.
59 * sysdeps/wordexp-64/wcstoll_l.c: New file.
60 * sysdeps/wordexp-64/wcstoull_l.c: New file.
61
62 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
63
64 * sysdeps/sparc/bits/wordsize.h: New file.
65 * sysdeps/sparc/fpu/bits/fenv.h: New file.
66 * sysdeps/sparc/fpu/fpu_control.h: New file.
67 * sysdeps/sparc/gmp-mparam.h: New file.
68
69 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
70 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
71 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
72 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
73 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
74 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
75
76 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
77 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
78 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
79 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
80
81 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
82 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
83 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
84 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
85 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
86
87 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
88
89 * login/openpty.c (openpty): Make sure pty does not because
90 controlling TTY.
91
92 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
93
94 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
95
96 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
97 Do proper error return.
98
99 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
100
101 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
102 of __P in the rest of glibc; define __MALLOC_PMT and use it.
103 Reported by Stephan Kulow <coolo@kde.org>.
104
105 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
106
107 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
108
109 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
110
111 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
112
113 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
114 names to protect from user's macro namespace.
115 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
116 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
117 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
118 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
119 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
120 Adapted.
121 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
122 sysdeps/arm/fpu/fesetenv.c: Likewise.
123 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
124 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
125 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
126 * sysdeps/mips/fesetenv.c: Likewise.
127
128 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
129
130 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
131
132 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
133
134 * configure.in: Recognize and allow gcc 2.95.
135
136 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
137
138 * sysdeps/generic/bits/elfclass.h: Version common to
139 wordsize-32 and wordsize-64.
140 * sysdeps/generic/bits/environments.h: Ditto.
141 * sysdeps/generic/stdint.h: Ditto.
142 * sysdeps/generic/inttypes.h: Ditto.
143
144 * sysdeps/generic/bits/wordsize.h: New file.
145 * stdlib/Makefile: Add bits/wordsize.h to headers.
146
147 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
148
149 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
150 headers to be used for 32bit and 64bit ABI compilations.
151 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
152 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
153 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
154 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
155 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
156
157 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
158 * sysdeps/wordsize-64/bits/environments.h: Remove.
159 * sysdeps/wordsize-64/stdint.h: Remove.
160 * sysdeps/wordsize-64/inttypes.h: Remove.
161 * sysdeps/wordsize-64/bits/wordsize.h: New file.
162
163 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
164 * sysdeps/wordsize-32/bits/environments.h: Remove.
165 * sysdeps/wordsize-32/stdint.h: Remove.
166 * sysdeps/wordsize-32/inttypes.h: Remove.
167 * sysdeps/wordsize-32/bits/wordsize.h: New file.
168
169 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
170
171 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
172 __align_cpy_16): New functions.
173 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
174
175 * sysdeps/sparc/sparc32/Versions: New file.
176 * sysdeps/sparc/sparc64/Versions: New file.
177 * sysdeps/sparc/Versions: Remove.
178
179 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
180
181 * sysdeps/unix/sysv/linux/configure.in:
182 On sparc64-*-linux*, set slibdir to /lib64 if prefix
183 is /usr, plus set libdir to ${exec_prefix}/lib64.
184 * sysdeps/unix/sysv/linux/configure: Regenerated.
185 * config.make.in: Propagate libdir settings from configure
186 to the Makefiles.
187 * shlib-versions: sparc64-*-linux* dynamic linker is
188 /lib64/ld-linux.so.2.
189
190 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
191
192 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
193 RPC connection.
194
195 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
196
197 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
198 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
199
200 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
201 contains garbage in bits 8-63.
202 * sysdeps/sparc/sparc64/memset.S: Ditto.
203 * sysdeps/sparc/sparc64/strchr.S: Ditto.
204
205 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
206
207 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
208
209 1999-05-17 David S. Miller <davem@redhat.com>
210
211 * sysdeps/sparc/sparc32/atomicity.h: New file.
212 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
213 * sysdeps/sparc/sparc64/atomicity.h: New file.
214 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
215 sysdep-CFLAGS.
216
217 1999-05-18 Richard Henderson <rth@twiddle.net>
218
219 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
220
221 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
222
223 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
224 posix/sys/types.h: Handle the case of __GNUC__=3,
225 __GNUC_MINOR__=(anything).
226
227 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
228
229 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
230 if _FORCE_INLINES.
231
232 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
233
234 * elf/Makefile (distribute): Remove dl-origin.h.
235 Add dl-dst.h and gen-trusted-dirs.awk.
236
237 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
238
239 * sysdeps/i386/i486/Versions: New file with inline functions from
240 sysdeps/i386/i486/bits/string.h for now.
241
242 * sysdeps/i386/Versions: Add inline functions from
243 sysdeps/i386/bits/string.h.
244
245 * string/Versions: Add inline functions from <bits/string2.h>.
246
247 * string/Makefile (routines): Add string-inlines.
248 * string/string-inlines.c: New file, used for implementation of
249 extern inline functions.
250
251 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
252 non inlined versions of functions.
253 * string/bits/string2.h: Likewise.
254 * sysdeps/i386/bits/string.h: Likewise.
255
256 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
257
258 * inet/arpa/tftp.h: Add second packed attribute.
259
260 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
261
262 * malloc/malloc.c: Cleanup to bring in line with released
263 stand-alone version `ptmalloc'. Update some comments.
264 (internal_function): Move fallback definition so that the source
265 compiles outside of libc, and use it in more places.
266 (malloc_atfork): Fix when malloc_check is in use.
267
268 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
269
270 * stdlib/tst-strtod.c: Fix typo.
271
272 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
273
274 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
275 const incorrectness.
276
277 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
278
279 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
280
281 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
282
283 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
284 * sunrpc/key_call.c: Fix memory leak, close file handle.
285 * nis/nis_creategroup.c: Use malloc instead of calloc,
286 set ctime and mtime.
287 * nis/nis_subr.c: Check for realloc result.
288 * nis/nis_file.c: Fix memory leak.
289 * nis/nis_table.c: Pretty print.
290 * nis/nis_getservlist.c: Likewise.
291 * nis/nis_ismember.c: Likewise.
292 * nis/nis_lookup.c: Likewise.
293 * nis/nis_ping.c: Likewise.
294 * nis/nis_removemember.c: Likewise.
295 * nis/nis_util.c: Likewise, check calloc result.
296
297 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
298
299 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
300 * sysdeps/generic/sys/socketvar.h: ... here.
301 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
302 * sysdeps/generic/netinet/in_systm.h: ... here.
303 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
304 sys/socketvar.h.
305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
306 * inet/Makefile (headers): Add netinet/in_systm.h here.
307 * socket/Makefile (headers): Add sys/socketvar.h here.
308
309 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
310
311 * stdlib/strtol.c: Optimize inner loop of long long versions.
312
313 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
314 Unix98. Add forward declaration of struct utmp.
315
316 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
317
318 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
319 calloc.
320
321 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
322 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
323 memory allocation results.
324
325 1999-05-14 Mark Kettenis <kettenis@gnu.org>
326
327 * sysdeps/generic/getutmp.c: Include <string.h>
328 (getutmp): Rewrite to only copy those members that are really
329 present in `struct utmp'.
330 * sysdeps/generic/getutmpx.c: Likewise.
331
332 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
333
334 * nss/getXXbyYY.c: Add free_mem function which disposes all
335 statically allocated memory when debugging.
336 * nss/getXXent.c: Likewise.
337 * nss/nsswitch.c: Likewise.
338
339 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
340
341 * sysdeps/gnu/getutmpx.c: New file.
342 * sysdeps/gnu/getutmp.c: New file.
343
344 1999-05-13 H.J. Lu <hjl@gnu.org>
345
346 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
347 (getutmp): Likewise.
348
349 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
350 getutmpx for login.
351
352 * sysdeps/gnu/utmpx.h (getutmp): Added.
353 (getutmpx): Likewise.
354
355 * sysdeps/generic/getutmp.c: New file.
356
357 * sysdeps/generic/getutmpx.c: New file.
358
359 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
360
361 * glibcbug.in (BUGGLIBC): Change address to
362 libc-alpha@sourceware.cygnus.com.
363
364 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
365
366 * resolv/arpa/nameser.h: Add C++ protectors.
367
368 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
369
370 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
371 Elad Tsur <eladts@post.tau.ac.il>.
372
373 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
374
375 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
376 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
377 lazily if LD_BIND_NOW is not set.
378 * elf/dl-support.c (_dl_lazy): New variable.
379 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
380 * elf/rtld.c (_dl_lazy): new global variable.
381 ( dl_main): Remove lazy, replace it by _dl_lazy.
382
383 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
384
385 * locale/setlocale.c (new_composite_name): Check also whether the
386 first category name differs.
387
388 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
389
390 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
391 the generic one.
392
393 1999-05-11 Philip Blundell <pb@nexus.co.uk>
394
395 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
396 structure; storage suitable for any socket address.
397 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
398 Likewise.
399 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
400 sockaddr_storage): Likewise.
401
402 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
403 platform.
404
405 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
406
407 * hesiod/Versions: Change _nss_hesiod_getpwuid and
408 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
409 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
410
411 1999-05-09 Mark Kettenis <kettenis@gnu.org>
412
413 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
414 if the file is empty.
415
416 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
417
418 * elf/do-lookup.h: Fix typo in comment.
419
420 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
421 f_bsize to help some broken programs.
422
423 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
424
425 * stdio-common/vfprintf.c: Fix typo.
426
427 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
428
429 * elf/link.h (struct link_map): New field l_phdr_allocated.
430 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
431 the program header being part of any loaded segment. If it is not
432 allocate memory and set l_phdr_allocated flag.
433 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
434
435 * nss/digits_dots.c: Correct return value interpretation of
436 inet_ntoa. Fix PR libc/1109.
437
438 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
439
440 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
441
442 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
443
444 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
445 * stdlib/fpioconst.c: Move #endif before end of struct.
446
447 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
448
449 * Versions.def (ld.so): Add GLIBC_2.1.1.
450 * elf/Makefile (routines): Add dl-origin.
451 (tests): Add origtest. Add dependencies for the program.
452 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
453 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
454 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
455 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
456 DT_AUXILIARY, and DT_FILTER filenames.
457 * elf/dl-load.c (expand_dynamic_string_token): Explode into
458 two functions and three macros.
459 (_dl_dst_count, _dl_dst_substitute): New functions.
460 * elf/dl-dst.h: New file.
461 * elf/dl-open.c (_dl_open): Take extra parameter with address of
462 caller. Pass address in args structure.
463 (dl_open_worker): Recognize and expand DSTs in filename.
464 * elf/ldsodefs.h (_dl_open): Adapt prototype.
465 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
466 (__dlopen_check): Pass caller address to dlopen_doit in args.
467 * elf/dlopendoit.c: Likewise.
468 * iconv/gconv_dl.c: Adapt call of _dl_open.
469 * nss/nsswitch.c: Likewise.
470 * elf/origtest.c: New file.
471 * sysdeps/generic/dl-origin.h: Moved to...
472 * sysdeps/generic/dl-origin.c: ...here.
473 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
474 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
475
476 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
477 with specific bases and only few bits set in second word.
478
479 * timezone/Makefile (install-others): Create target directory
480 before creating tzfiles.
481
482 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
483
484 * nis/nis_file.c (readColdStartFile): Allocate memory only after
485 the file is opened successfully.
486
487 * nis/nis_table.c: Fix some memory leaks.
488
489 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
490
491 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
492 variable.
493
494 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
495 around DST. Correctly ignore ORIGIN IN SUID binaries.
496
497 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
498
499 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
500 * sysdeps/generic/strtok.c: Likewise.
501
502 * string/tester.c: Add test of rawmemchr.
503
504 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
505 specification. It's not necessary.
506
507 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
508 * elf/gen-trusted-dirs.awk: New file.
509 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
510 from SYSTEM_DIRS macro.
511 (system_dirs_len): New variable. Contains lengths of system_dirs
512 strings.
513 (fillin_rpath): Rewrite for systems_dirs being a simple string.
514 Improve string comparisons. Change parameter trusted to be a flag.
515 Change all callers.
516 (_dt_init_paths): Improve using new format for system_dirs.
517
518 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
519 $ORIGIN for SUID binaries.
520
521 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
522
523 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
524
525 * sunrpc/Makefile: Generate dependencies for all flavors of
526 librpcsvc objects.
527 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
528 invocations.
529
530 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
531
532 * elf/dlopenold.c: Move #if down after includes to get
533 dependencies right.
534
535 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
536
537 * sysdeps/generic/bzero.c: Undefine __bzero.
538
539 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
540
541 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
542 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
543 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
544 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
545
546 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
547 parameter to struct gaih_servtuple *. Adapt appropriately.
548 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
549 This fixes a memory leak.
550 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
551
552 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
553 and fpregset_t definition. They are defined in ucontext.h.
554
555 1999-04-14 Scott Bambrough <scottb@netwinder.org>
556
557 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
558 and struct ether_header must be packed on the ARM. The default
559 alignment constraints add padding to the end of the structures.
560
561 1999-04-14 Scott Bambrough <scottb@netwinder.org>
562
563 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
564 default alignment constraints add padding to the end of the
565 structure and between members.
566
567 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
568
569 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
570 _dl_cache_libcmp instead of strcmp.
571
572 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
573 fails on a file.
574 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
575
576 1998-03-30 Joel Klecker <espy@debian.org>
577
578 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
579 (sysdep-others,install-bin): Add lddlibc4.
580
581 1999-05-02 H.J. Lu <hjl@gnu.org>
582
583 * timezone/zic.c (dolink): Remove the symlink destination first.
584
585 * catgets/open_catalog.c (__open_catalog): Set catalog->status
586 to "nonexisting" if failed to open the file.
587
588 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
589
590 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
591 gcc3.
592
593 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
594 Prevent warnings from multiplication with 0x01010101 by another cast.
595
596 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
597
598 * string/bits/string2.h (memset): Revert to previous version if
599 unaligned writes are not available.
600
601 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
602
603 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
604 better code in presence of the asm.
605
606 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
607
608 * stdlib/fmtmsg.c (keywords): Increase array size for faster
609 indexing.
610
611 * locale/localeinfo.h (_nl_category_names): Increase array element
612 size for faster indexing.
613 * locale/setlocale.c (_nl_category_names): Adjusted.
614
615 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
616
617 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
618
619 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
620
621 * sysdeps/m68k/stackinfo.h: New file.
622
623 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
624
625 * string/tester.c (test_strchrnul): New function.
626 (test_memset): Test one more special case.
627
628 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
629 25% of all cases.
630
631 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
632 base types.
633
634 * string/bits/string2.h: Fix bugs I introduced in last change.
635
636 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
637 register stall.
638 Extend memset optimization.
639 Correct i686 version of memchr.
640
641 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
642
643 * sysdeps/i386/bzero.c: Add #undef __bzero.
644
645 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
646 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
647 exec server simulated a SIGTRAP before we even started up, so gdb is
648 already happy.
649
650 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
651
652 * nss/digits_dots.c: Always initialize not_ok.
653
654 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
655
656 * string/bits/string2.h (memset): Avoid arithmetic overflow at
657 compile time, which produces obnoxious warnings. If GCCv2 is
658 in use, map __bzero to __builtin_memset to enable that
659 optimization.
660
661 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
662
663 * string/bits/string2.h: Add more memset optimizations.
664
665 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
666
667 * resolv/inet_pton.c (inet_pton4): Little optimizations.
668 (inet_pton6): Likewise.
669
670 * nss/getXXbyYY_r.c: Include assert.h.
671 * nss/getXXbyYY.c: Likewise.
672
673 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
674
675 * termios/tcgetsid.c (tcgetsid): Rename variable to
676 tiocgsid_does_not_work.
677
678 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
679
680 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
681
682 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
683
684 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
685 This allows e.g. gethostbyname to accept "10.1234".
686 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
687
688 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
689 non quad IPv4 numbers.
690
691 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
692
693 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
694
695 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
696
697 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
698 * argp/argp-parse.c (_argp_hang): Likewise.
699 * argp/argp-pv.c (argp_program_version): Likewise.
700 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
701 * inet/ether_hton.c (ether_hton, startp): Likewise.
702 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
703 * inet/getnetgrent_r.c (setup, startp): Likewise.
704 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
705 * intl/localealias.c (string_space, string_space_act, string_space_max,
706 nmap, maxmap): Likewise.
707 * libio/iopopen.c (proc_file_chain): Likewise.
708 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
709 * locale/lc-collate.c (__collate_table, __collate_extra,
710 __collate_element_hash, __collate_element_strings,
711 __collate_element_values): Likewise.
712 * malloc/mcheck.c (mcheck_used): Likewise.
713 * malloc/mtrace.c (added_atexit_handler): Likewise.
714 * malloc/set-freeres.c (already_called): Likewise.
715 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
716 * misc/syslog.c (LogStat, LogTag): Likewise.
717 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
718 * nss/getXXbyYY_r.c (startp): Likewise.
719 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
720 * posix/regex.c (init_syntax_once) [done]: Likewise.
721 (debug): Likewise.
722 * string/strfry.c (init): Likewise.
723 * sunrpc/svc_run.c (svc_top): Likewise.
724 * posix/euidaccess.c (have_ids): Likewise.
725 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
726 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
727 * time/getdate.c (getdate_err): Likewise.
728 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
729 Likewise.
730 * time/tzset.c (old_tz, is_initialized): Likewise.
731
732 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
733 of static data with zero.
734 * signal/allocrtsig.c (init): Likewise.
735
736 * string/Makefile (routines): Add strchrnul.
737 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
738 * string/string.c: Add strchrnul prototype.
739 * include/string.h: Add __strchrnul prototype.
740 * sysdeps/generic/strchrnul.c: New file.
741 * sysdeps/i386/strchrnul.S: New file.
742 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
743 * sysdeps/i386/i486/bits/string.c: Likewise.
744 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
745 * inet/ether_line.c (ether_line): Likewise.
746 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
747 * nss/nsswitch.c (nss_parse_file): Likewise.
748 * posix/execvp.c (execvp): Likewise.
749 * posix/fnmatch.c (internal_fnmatch): Likewise.
750 * resolv/res_hconf.c (_res_hconv_init): Likewise.
751 * resolv/res_init.c (res_init): Likewise.
752 * stdlib/fmtmsg.c (init): Likewise.
753 * stdlib/getsubopt.c (getsubopt): Likewise.
754
755 * catgets/catgets.c (catopen): Only allocate one memory block.
756 (catclose): Only one free call necessary.
757
758 * catgets/open_catalog.c (__open_catalog): Simplify handling of
759 file descriptor.
760
761 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
762 of real functions. Simplify _tolower and _toupper.
763
764 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
765 variable.
766
767 * iconv/gconv.h (struct gconv_info): Change data element from pointer
768 to array of size 0.
769 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
770 * iconv/gconv_close.c (__gconv_close): Don't free data.
771
772 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
773 insert new alias.
774
775 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
776 for error while inserting in tree.
777
778 * include/time.h: Pretty print.
779
780 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
781 in table and lots of relocations.
782 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
783 string pointers in table and lots of relocations.
784
785 * intl/finddomain.c: Remove definition of strchr macro.
786
787 * io/ftw.c (nftw_arr, ftw_arr): Make const.
788
789 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
790
791 * locale/localeinfo.h (_nl_category_names): Change into an array with
792 fixed width char string elements.
793 * locale/setlocale.c (_nl_category_names): Likewise.
794 (_nl_current): Make global.
795 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
796
797 * malloc/Makefile (distribute): Add stackinfo.h.
798 * sysdeps/generic/stackinfo.h: New file.
799 * sysdeps/i386/stackinfo.h: New file.
800 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
801 * posix/execle.c: Likewise.
802 * posix/execlp.c: Likewise.
803
804 * nis/nis_table.c (__create_ib_request): Always use realloc.
805
806 * posix/execvp.c (execute): Rename to script_execute and keep only
807 code to execute using shell.
808 (execvp): Call execv directly and only fall back on script_execute.
809
810 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
811 and always use xdigits instead.
812
813 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
814 where appropriate.
815
816 * stdlib/fpioconst.h (__tens): New declaration.
817 (struct mp_power): Remove array, add arrayoff element.
818 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
819 __tens array and add in _fpioconst_pow10 offsets into __tens.
820 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
821 * stdlib/strtod.c: Likewise.
822
823 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
824
825 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
826 of the list.
827 * stdlib/atexit.c (__exit_funcs): Don't initialize.
828
829 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
830
831 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
832 a single and an array with offsets.
833
834 * sunrpc/des_soft.c (partab): Make it const.
835
836 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
837 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
838 (__key_decryptsession_pk_LOCAL): Likewise.
839 (__key_gendes_LOCAL): Likewise.
840 (MESSENGER): Mark const.
841 (key_call_private_main): Don't initialize with 0.
842 (use_keyenvoy): Don't initialize with 0.
843 (key_call): Rewrite to reverse logic of use_doors variable.
844
845 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
846 (startp): Don't initialize with zero.
847
848 * sunrpc/openchild.c (_openchild): Make first argument const.
849
850 * sunrpc/pmap_rmt.c (timeout): Mark const.
851 * sunrpc/xcrypt.c (hex): Likewise.
852
853 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
854 initialization of global variables.
855 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
856 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
857 * termios/tcgetsid.c: Likewise.
858
859 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
860 fxsr to osfxsr.
861
862 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
863 block. Add function to free memory if wanted.
864 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
865
866 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
867
868 * wcsmbs/wmemset.c: Little code optimization.
869
870 1999-04-23 Paul Eggert <eggert@twinsun.com>
871
872 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
873 ifdef _LIBC.
874
875 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
876
877 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
878 implementation and just always fail with ENOSYS. This entry point is
879 obsolete. Add link warning to that effect.
880
881 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
882
883 * hurd/get-host.c: Include <hurd/lookup.h>.
884
885 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
886
887 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
888 is != NULL.
889
890 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
891
892 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
893 ISO C9x and Unix98.
894
895 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
896
897 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
898 Patch by Peter Miller <millerp@canb.auug.org.au>.
899
900 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
901
902 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
903 prefers loopback device.
904
905 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
906
907 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
908 no_leading_period change.
909
910 * posix/testfnm.c: More test cases.
911
912 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
913
914 * include/dirent.h: Remove __getdirentries declaration, add __getdents
915 and __getdents64.
916 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
917 * sysdeps/unix/readdir_r.c: Likewise.
918 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
919 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
920 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
921 __getdirentries. Remove fourth argument.
922 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
923 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
924 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
925 Add getdirentries and getdirentries64.
926 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
927
928 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
929 pointer in case of an invalid [[: expression.
930
931 * posix/testfnm.c: Add more test cases.
932
933 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
934
935 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
936 set, pass EXEC_SIGTRAP flag in exec RPC.
937
938 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
939
940 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
941 extra parameter. Fix several more bugs involving wildcard and
942 ranges.
943 (fnmatch): New function. Call internal_fnmatch.
944
945 * posix/testfnm.c: More test cases.
946
947 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
948
949 * manual/install.texi (Configuring and compiling): Explain that
950 files are changed in the source directory.
951 Closes PR libc/981.
952 (Configuring and compiling): Explain situation with PARALLELMFLAGS
953 in the source directory.
954
955 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
956
957 * locale/programs/ld-ctype.c: Spelling fixes.
958 (ctype_finish): Fix argument of error message format.
959 * locale/programs/ld-messages.c: Spelling fixes.
960 * locale/programs/ld-monetary.c: Spelling fixes.
961 * locale/programs/ld-time.c (time_finish): Make sure that name and
962 format of era_entries are adjacent.
963 (time_output): Reduce the size of the io vector.
964
965 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
966
967 * manual/filesys.texi (Attribute Meanings): Move a misplaced
968 paragraph.
969
970 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
971
972 * locale/programs/ld-collate.c (collate_output): Convert
973 undefined_offset to an array index. Fix computation of other
974 endian extra table.
975
976 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
977
978 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
979 return success with empty value.
980
981 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
982
983 * posix/fnmatch.c: Include string.h also for glibc.
984 (fnmatch, case '?'): Optimize if cascades a bit.
985 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
986
987 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
988
989 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
990
991 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
992 * iconv/gconv_int.h: Declare UTF16 functions.
993 * iconv/gconv_simple.c: Add UTF16 conversion functions.
994
995 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
996
997 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
998 be used correctly as parameter for parse_dollars/parse_tilde.
999
1000 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1001
1002 * manual/conf.texi (Utility Limits): Remove duplicate description
1003 of BC_DIM_MAX.
1004
1005 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
1006
1007 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
1008 outbufend for dst==NULL.
1009
1010 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
1011
1012 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
1013 for dst==NULL.
1014 Fixes PR libc/1084.
1015
1016 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
1017 Fixes PR libc/1083.
1018
1019 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
1020
1021 * sunrpc/Makefile: Remove special handling of bootparam.x,
1022 add rpcsvc/bootparam.h to headers.
1023 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
1024 * sunrpc/rpcsvc/bootparam.x: Renamed to...
1025 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
1026
1027 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
1028
1029 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
1030 detect and handle invalid descriptors.
1031
1032 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
1033
1034 * timezone/zic.c (dolink): Append complete path not only filename
1035 to ../ list.
1036
1037 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1038
1039 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
1040
1041 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
1042
1043 * iconvdata/gconv-modules: Rename CP874 to IBM874.
1044 * iconvdata/Makefile: Likewise.
1045 * iconvdata/cp874.h: Removed.
1046 * iconvdata/cp874.c: Renamed to...
1047 * iconvdata/ibm874.c: ...this.
1048
1049 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
1050
1051 * sysdeps/unix/sysv/linux/bits/types.h: Correct
1052 signed/unsigned-ness of blkcnt and fsblkcnt.
1053 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1054 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1055
1056 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
1057 SOL_AAL, and SOL_IRDA.
1058
1059 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1060
1061 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
1062 include "linux_fsinfo.h".
1063 Based on a patch by H.J. Lu <hjl@gnu.org>.
1064
1065 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
1066
1067 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
1068
1069 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
1070
1071 * nscd/cache.c (prune_cache): Only disable file checking for
1072 future if the file does not exist.
1073 Update file_mtime if cache was flushed.
1074
1075 1999-04-15 David S. Miller <davem@redhat.com>
1076
1077 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
1078 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
1079
1080 1999-04-15 Scott Bambrough <scottb@netwinder.org>
1081
1082 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
1083 compilation of file.
1084
1085 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1086
1087 * Versions.def: Add GLIBC_2.1.1 to libpthread.
1088
1089 * iconvdata/Makefile (modules): Add KOI8-U.
1090 (distribute): Add koi8-u.c.
1091 (gen-8bit-gap-modules): Add koi8-u.
1092 * iconvdata/gconv-modules: Add KOI8-U entries.
1093 * iconvdata/koi8-u.c: New file.
1094
1095 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
1096
1097 * sunrpc/auth_des.c: 64bit fixes, security fixes.
1098 * sunrpc/auth_none.c: Pretty print.
1099 * sunrpc/auth_unix.c: Likewise.
1100 * sunrpc/authdes_prot.c: Likewise.
1101 * sunrpc/authuxprot.c: Likewise.
1102 * sunrpc/bindrsvprt.c: Likewise.
1103 * sunrpc/clnt_gen.c: Likewise.
1104 * sunrpc/rpc/xdr.h: Likewise.
1105 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
1106 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
1107 * sunrpc/rtime.c: Use new rpc_timeval.
1108 * sunrpc/svc_authux.c: Don't use *long pointers.
1109 * sunrpc/svcauth_des.c: Likewise + security fixes.
1110 * sunrpc/xdr_mem.c: Don't use *long pointers.
1111 * sunrpc/xdr_rec.c: Likewise.
1112 * sunrpc/xdr_sizeof.c: Likewise.
1113 * sunrpc/xdr_stdio.c: Likewise.
1114
1115 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1116
1117 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
1118 so that it is redone for each sending.
1119
1120 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1121
1122 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
1123
1124 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1125
1126 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
1127 known to not exist don't try to load shared objects.
1128 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
1129
1130 * nscd/cache.c (prune_cache): The table might not be unused. In
1131 this case do nothing.
1132
1133 * catgets/gencat.c (read_input_file): Don't drop white spaces
1134 between number/identifier and string.
1135 Patch by Dima Barsky <dima@pwd.hp.com>.
1136 If no white space at all follows number/identifier remove existing
1137 message with the number/identifier.
1138
1139 1999-04-14 H.J. Lu <hjl@gnu.org>
1140
1141 * sunrpc/clnt_udp.c (is_network_up): New function.
1142 (clntudp_call): Call is_network_up () to check if any network
1143 interface is up in case of timeout.
1144
1145 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1146
1147 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
1148 * wctype/Makefile (tests): Add test_wcfuncs.
1149
1150 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
1151
1152 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
1153 architectures.
1154 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
1155 instead of CFLAGS.
1156 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
1157 instead of CFLAGS. For gnulib and string directories use
1158 -Wa,-Av9a gcc ASFLAGS.
1159 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
1160 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
1161 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
1162 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
1163 the same way as sparc-*.
1164
1165 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
1166
1167 * locale/programs/locfile.c (locfile_read): Fix typo.
1168 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
1169
1170 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1171
1172 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
1173 restarted after being interrupted by a signal. The parameters on
1174 the stack were corrupted by the signal handler.
1175
1176 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
1177 restarted after being interrupted by a signal. The parameters on
1178 the stack were corrupted by the signal handler.
1179
1180 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1181
1182 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
1183 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
1184
1185 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
1186
1187 * posix/wordexp-test.c: In field-splitting test cases where
1188 subshells were involved, unset IFS first: some shells (ash) use
1189 IFS even when no expansion is performed.
1190
1191 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1192
1193 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
1194 the real end of the chunk, not some random point inbetween.
1195 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
1196 obstack when growing. Use fast version of obstack_blank when
1197 shrinking.
1198 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
1199 allocating the vtable pointer.
1200 (_IO_obstack_vprintf): Adjust for above change and avoid
1201 unnecessary casts. Use fast version of obstack_blank when
1202 shrinking.
1203 Fixes PR libc/1075.
1204
1205 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
1206
1207 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
1208 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
1209
1210 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
1211
1212 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
1213 is seen, as well as fixing semantics. Don't reset the word count
1214 to zero when an invalid character is seen, but leave it as it was
1215 (this makes a difference with WRDE_APPEND).
1216
1217 * posix/wordexp-test.c: More test cases.
1218
1219 * posix/wordexp.c (parse_param): In words like ${var#pattern},
1220 always expand pattern when it is needed. Also, handle quoting in
1221 pattern properly.
1222
1223 1999-04-12 Philip Blundell <philb@gnu.org>
1224
1225 * elf/elf.h: Update ARM definitions to match current gas2.
1226
1227 * sysdeps/arm/bits/endian.h: Support big endian operation.
1228
1229 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
1230 Don't bother range checking the port number.
1231
1232 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
1233
1234 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
1235 the syscall name in assembler output for ease of debugging.
1236
1237 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
1238 compiler behaviour.
1239 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
1240 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
1241 (sysdep_routines): Add sigrestorer.
1242
1243 * string/tester.c (test_strcpy): Add new tests for unaligned
1244 arguments.
1245 * sysdeps/arm/bits/string.h: Delete inline implementations of
1246 strcpy and stpcpy.
1247
1248 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
1249
1250 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
1251
1252 1999-04-10 Mark Kettenis <kettenis@gnu.org>
1253
1254 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
1255
1256 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
1257
1258 * iconvdata/Makefile (modules): Add TIS-620.
1259 (distribute): Add tis-620.c.
1260 (gen-8bit-gap-modules): tis-620.
1261 * iconvdata/tis-620.c: New file.
1262 * iconvdata/gconv-modules: Add TIS-620 entries.
1263
1264 * iconvdata/asmo_449.c: Correct comment.
1265
1266 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1267
1268 * manual/install.texi (Configuring and compiling): Comment out
1269 description of --disable-static since this doesn't work currently
1270 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
1271
1272 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
1273
1274 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
1275 use binary search.
1276 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
1277
1278 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1279
1280 * scripts/test-installation.pl (installation_problem): Skip
1281 libnss1_* libraries from glibc-compat add-on.
1282
1283 1999-04-07 H.J. Lu <hjl@gnu.org>
1284
1285 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
1286 libstdc++ 2.7.2.
1287 * posix/Versions (__waitpid): Likewise.
1288
1289 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1290
1291 * manual/install.texi (Reporting Bugs): Add section about reported
1292 bugs and correct email address of glibcbug script.
1293
1294 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
1295
1296 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
1297 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
1298 xdr_u_longlong_t. Based on patch from Dan Shechter
1299 <damageboy@isdn.net.il>.
1300 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
1301 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
1302
1303 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
1304
1305 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1306
1307 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
1308 directly if getdents returns with error set.
1309
1310 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1311
1312 * locale/langinfo.h (THOUSEP): Rename second occurence of
1313 THOUSANDS_SEP to THOUSEP.
1314 Reported by Roman Belenov <roman@nstl.nnov.ru>.
1315
1316 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
1317
1318 * hurd/STATUS: File removed. Moved items that are still relevant into
1319 TODO list in hurd source.
1320
1321 1999-03-26 Mark Kettenis <kettenis@gnu.org>
1322
1323 * sysdeps/mach/hurd/bits/time.h: New file.
1324 * sysdeps/mach/hurd/getrusage.c: New file.
1325 * sysdeps/mach/hurd/clk_tck.c: New file.
1326 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
1327 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
1328 (sysdep_routines): Add clk_tck.
1329 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
1330 implemented.
1331
1332 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
1333
1334 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
1335 (closelog): But instead here.
1336 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
1337
1338 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1339
1340 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
1341 the source directory. Fixes PR libc/1059.
1342
1343 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1344
1345 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
1346 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1347
1348 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
1349
1350 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
1351 * iconvdata/testdata/ISO-8859-14: New file.
1352 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
1353 * iconvdata/testdata/ISO-8859-15: New file.
1354 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
1355
1356 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
1357
1358 * iconvdata/testdata/CP1258: New file.
1359 * iconvdata/testdata/CP1258..UTF8: New file.
1360 * iconvdata/TESTS: Add CP1258 entry.
1361
1362 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
1363
1364 * timezone/africa: Update from tzdata1999d.
1365 * timezone/europe: Likewise.
1366 * timezone/northamerica: Likewise.
1367
1368 1999-03-31 Mark Kettenis <kettenis@gnu.org>
1369
1370 * login/programs/pt_chown.c (main): Save effective user ID before
1371 dropping priviliges and use this to check if the program is
1372 properly installed.
1373
1374 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
1375
1376 * iconvdata/testdata/CP1254: Update for charmap changes.
1377 * iconvdata/testdata/CP1254..UTF8: Likewise.
1378 * iconvdata/testdata/CP1255: Likewise.
1379 * iconvdata/testdata/CP1255..UTF8: Likewise.
1380 * iconvdata/testdata/CP1256: Likewise.
1381 * iconvdata/testdata/CP1256..UTF8: Likewise.
1382 * iconvdata/testdata/CP1257: Likewise.
1383 * iconvdata/testdata/CP1257..UTF8: Likewise.
1384
1385 * iconvdata/Makefile (distribute): Remove cp1258.h.
1386 (gen-8bit-gap-modules): Add cp1258.
1387 * iconvdata/cp1258.h: Removed.
1388
1389 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
1390
1391 * timezone/tst-timezone.c (tests): Add more cases.
1392 (check_tzvars): Mark errors clearer.
1393 (main): Likewise.
1394
1395 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1396
1397 * login/programs/pt_chown.c: Drop privileges if invoked with
1398 arguments. Don't close the master pty.
1399
1400 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
1401
1402 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
1403 Minor optimization.
1404
1405 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
1406
1407 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
1408 relocation for SUID binaries.
1409
1410 1999-03-29 Paul Eggert <eggert@twinsun.com>
1411
1412 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
1413 while in child process.
1414
1415 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
1416
1417 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
1418 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
1419 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
1420 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
1421 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
1422
1423 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
1424 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
1425 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
1426 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
1427 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
1428 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
1429 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
1430 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
1431 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
1432 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
1433 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
1434 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
1435 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
1436 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
1437 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
1438 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
1439 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
1440 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
1441 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
1442 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
1443 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
1444 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
1445 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
1446 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
1447 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
1448 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
1449
1450 * sysdeps/sparc/sparc32/bcopy.c: New file.
1451 * sysdeps/sparc/sparc32/bzero.c: New file.
1452 * sysdeps/sparc/sparc32/memchr.S: New file.
1453 * sysdeps/sparc/sparc32/memcpy.S: New file.
1454 * sysdeps/sparc/sparc32/memmove.c: New file.
1455 * sysdeps/sparc/sparc32/memset.S: New file.
1456 * sysdeps/sparc/sparc32/stpcpy.S: New file.
1457 * sysdeps/sparc/sparc32/strchr.S: New file.
1458 * sysdeps/sparc/sparc32/strrchr.c: New file.
1459 * sysdeps/sparc/sparc32/strcpy.S: New file.
1460 * sysdeps/sparc/sparc32/strlen.S: New file.
1461 * sysdeps/sparc/sparc32/strcat.S: New file.
1462 * sysdeps/sparc/sparc32/strcmp.S: New file.
1463
1464 * sysdeps/sparc/sparc64/bcopy.c: New file.
1465 * sysdeps/sparc/sparc64/bzero.c: New file.
1466 * sysdeps/sparc/sparc64/memchr.S: New file.
1467 * sysdeps/sparc/sparc64/memcmp.S: New file.
1468 * sysdeps/sparc/sparc64/memcpy.S: New file.
1469 * sysdeps/sparc/sparc64/memset.S: New file.
1470 * sysdeps/sparc/sparc64/stpcpy.S: New file.
1471 * sysdeps/sparc/sparc64/strcat.S: New file.
1472 * sysdeps/sparc/sparc64/strchr.S: New file.
1473 * sysdeps/sparc/sparc64/strcmp.S: New file.
1474 * sysdeps/sparc/sparc64/strcpy.S: New file.
1475 * sysdeps/sparc/sparc64/strcspn.S: New file.
1476 * sysdeps/sparc/sparc64/strlen.S: New file.
1477 * sysdeps/sparc/sparc64/strncpy.S: New file.
1478 * sysdeps/sparc/sparc64/strpbrk.S: New file.
1479 * sysdeps/sparc/sparc64/strrchr.c: New file.
1480 * sysdeps/sparc/sparc64/strspn.S: New file.
1481 * sysdeps/sparc/sparc64/stpncpy.S: New file.
1482 * sysdeps/sparc/sparc64/strncmp.S: New file.
1483
1484 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
1485 Append -fPIC, don't replace.
1486
1487 * configure.in: Recognize sparcv8plus / sparcv9.
1488
1489 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1490
1491 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
1492 char * to avoid C++ warning.
1493 Patch by yasushi@cs.washington.edu [PR libc/1035].
1494
1495 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1496
1497 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
1498 declared in stdlib.h, correct return value of mkstemp.
1499 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
1500
1501 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
1502 from Linux 2.2.5.
1503
1504 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1505
1506 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
1507 C++ warning.
1508
1509 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
1510 inline functions. Closes PR libc/1049.
1511
1512 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1513
1514 * timezone/README: Update from tzdata1999c and tzcode1999c.
1515
1516 * timezone/africa: Update from tzdata1999c.
1517 * timezone/antarctica: Likewise.
1518 * timezone/asia: Likewise.
1519 * timezone/australasia: Likewise.
1520 * timezone/europe: Likewise.
1521 * timezone/northamerica: Likewise.
1522 * timezone/southamerica: Likewise.
1523 * timezone/zone.tab: Likewise.
1524
1525 * timezone/zic.c: Update from tzcode1999c.
1526
1527 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1528
1529 * Makerules: Add $(common-objpfx)Versions.all to common-generated
1530 outside of ifndef avoid-generated.
1531
1532 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
1533 in iofdopen.c.
1534 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
1535 iofopen.c.
1536 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
1537 in iofclose.c.
1538 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
1539 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
1540
1541 1999-03-26 Mark Kettenis <kettenis@gnu.org>
1542
1543 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
1544 if we build the profiled library.
1545
1546 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1547
1548 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
1549 Jaeger <aj@arthur.rhein-neckar.de>
1550
1551 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
1552
1553 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
1554 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
1555 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
1556
1557 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
1558
1559 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
1560 works properly in subdirs.
1561
1562 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
1563
1564 * sysdeps/mach/hurd/Makefile: Undo last change.
1565 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
1566 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
1567
1568 * mach/Machrules (+preinit, +postinit, +interp,
1569 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
1570 linked just like other shared libraries.
1571 (interface.so): Fix typo in defn, so it works.
1572 ($(objpfx)$(interface.so)): Make it depend on libc.so.
1573
1574 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
1575
1576 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
1577 $(link-rpcuserlibs).
1578
1579 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1580
1581 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
1582 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
1583 targets if not building shared libraries.
1584
1585 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1586
1587 * configure.in: Also look in $PATH when searching for
1588 install-info. Remove autoconf bug workaround and require autoconf
1589 2.13.
1590
1591 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1592
1593 * db/Makefile: Don't try to install shared library link if not
1594 building with shared libs.
1595
1596 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1597
1598 * rt/Makefile: Link against static library if no shared lib is
1599 available.
1600
1601 * localedata/Makefile: The shells scripts implementing the test
1602 require the dynamic linker which is not available with
1603 --disable-shared. Skip the test if --disable-shared is given.
1604
1605 * linuxthreads/Makefile: Link test against static libpthread if no
1606 shared lib is available.
1607
1608 * iconvdata/Makefile (tests): Run iconv-test only if we're
1609 building shared libraries.
1610 * elf/Makefile (tests): Likewise for elf tests.
1611
1612 * posix/Makefile: The test frameworks globtest and wordexp-test
1613 require the dynamic linker which is not available with
1614 --disable-shared. Skip the test if --disable-shared is given.
1615
1616 * grp/Makefile (otherlibs): For static nss build link against
1617 necessary libs.
1618
1619 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1620
1621 * debug/Makefile (install-bin): Install and build catchsegv only
1622 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
1623 libc/965].
1624
1625 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1626
1627 * time/tzfile.c (__tzfile_read): Handle the case where there are
1628 transitions but no DST.
1629
1630 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
1631
1632 * mach/Machrules (extra-libs-others): Add $(interface-library) here
1633 too, so it gets built in the others pass rather than the lib pass.
1634 This is necessary since the RPC libraries need to be linked against
1635 libc.
1636
1637 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
1638
1639 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
1640 _itoa_word decl.
1641
1642 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
1643 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
1644 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
1645 versions of lib{mach,hurd}user.so without reference to libc.so,
1646 then link libc.so against that to get deps and symbol versions, then
1647 finally link real lib*user.so against libc.so.
1648
1649 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
1650 Support whole-file locking (only) by using the file_lock RPC. This
1651 has very wrong semantics, but is better than nothing for the time
1652 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
1653 protocols that will be somewhat hairy to specify.)
1654
1655 1999-03-17 Mark Kettenis <kettenis@gnu.org>
1656
1657 * sysdeps/mach/hurd/ptsname.c: New file.
1658
1659 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1660
1661 * timezone/asia: Fix rule in Asia/Nicosia entry.
1662
1663 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1664
1665 * manual/getopt.texi (Using Getopt): Explain "::" in option
1666 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
1667
1668 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
1669
1670 * sunrpc/clnt_unix.c: Fix creation of parameters for
1671 sendmsg/recvmsg on non intel platforms.
1672 * sunrpc/svc_unix.c: Likewise.
1673
1674 1999-03-18 Philip Blundell <philb@gnu.org>
1675
1676 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
1677 implementation.
1678
1679 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1680
1681 * timezone/africa: Update from tzdata1999b.
1682 * timezone/asia: Likewise.
1683 * timezone/australasia: Likewise.
1684 * timezone/europe: Likewise.
1685 * timezone/northamerica: Likewise.
1686 * timezone/southamerica: Likewise.
1687 * timezone/zone.tab: Likewise.
1688
1689 * timezone/README: Mention tzdata1999b.
1690
1691 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
1692
1693 * sysdeps/generic/segfault.c (write_strsignal): New function.
1694 (catch_segfault): Use it instead of calling strsignal.
1695
1696 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1697
1698 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
1699 char to avoid warning.
1700
1701 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1702
1703 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
1704
1705 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
1706 outbuf to unsigned char to avoid warning.
1707
1708 1999-03-11 David S. Miller <davem@redhat.com>
1709
1710 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
1711 masks.
1712 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
1713
1714 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1715
1716 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
1717 `unsigned char'.
1718 (gconv_step_data): Likewise.
1719 * iconv/gconv_int.h (__gconv): Likewise.
1720 (__BUILINT_TRANS): Likewise.
1721 * iconv/gconv.c (__gconv): Likewise.
1722 * iconv/iconv.c (iconv): Add casts for call of __gconv.
1723 * iconv/skeleton.c: Change local parameters and variable from `char' to
1724 `unsigned char'. Remove casts from calls into modules.
1725 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
1726 `char' to `unsigned char'.
1727 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
1728 * wcsmbs/mbrtowc.c: Likewise.
1729 * wcsmbs/mbsnrtowcs.c: Likewise.
1730 * wcsmbs/mbsrtowcs.c: Likewise.
1731 * wcsmbs/wcrtomb.c: Likewise.
1732 * wcsmbs/wcsnrtombs.c: Likewise.
1733 * wcsmbs/wcsrtombs.c: Likewise.
1734 * wcsmbs/wctob.c: Likewise.
1735
1736 1999-03-15 Mark Kettenis <kettenis@gnu.org>
1737
1738 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
1739 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
1740 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
1741 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
1742 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
1743 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
1744
1745 1999-03-15 Mark Kettenis <kettenis@gnu.org>
1746
1747 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
1748 _hurd_select if TIMEMOUT is -1.
1749
1750 1999-03-15 Mark Kettenis <kettenis@gnu.org>
1751
1752 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
1753
1754 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1755
1756 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
1757 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
1758
1759 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1760
1761 * manual/libc.texinfo: Undo last change for now.
1762
1763 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1764
1765 * intl/locale.alias: Add entries for Croatian.
1766 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
1767
1768 1999-03-13 Mark Kettenis <kettenis@gnu.org>
1769
1770 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
1771 if the opened master pty really is a pty. `isatty' checks for
1772 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
1773 if we are out of pty's.
1774
1775 1999-03-13 Mark Kettenis <kettenis@gnu.org>
1776
1777 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
1778 opened file is closed on exec.
1779 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
1780 opened socket.
1781
1782 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1783
1784 * manual/llio.texi (File Position Primitive): Reformat @end
1785 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
1786
1787 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
1788
1789 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
1790 entry is found.
1791 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1792 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
1793
1794 * locale/programs/localedef.c (main): Initialize `cat' to please
1795 the compiler.
1796
1797 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
1798
1799 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
1800 check for root-owned symlinks and reject them too.
1801
1802 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1803
1804 * stdio-common/printf_fphex.c: Move to ...
1805 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
1806 extended precision number.
1807 * sysdeps/m68k/printf_fphex.c: New file.
1808
1809 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1810
1811 * manual/stdio.texi: Fix typos.
1812
1813 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
1814
1815 * version.h (VERSION): Bump to 2.1.1.
1816
1817 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
1818
1819 * nis/ypclnt.c: Try only twice to connect to NIS server.
1820
1821 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
1822
1823 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
1824
1825 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1826
1827 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
1828 (DENORM_EXP): New define. Use it as the exponent for a denormal.
1829 * stdlib/strtold.c: Moved to ...
1830 * sysdeps/generic/strtold.c: ... here.
1831 * sysdeps/m68k/strtold.c: New file.
1832
1833 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1834
1835 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
1836 point if the precision is zero, even if the mantissa is non-zero.
1837
1838 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
1839
1840 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
1841 arguments into the request message buffer inside `send_rpc'
1842 subfunction. We must repeat the marshalling when retrying the RPC
1843 after a SIGTTOU delivery.
1844
1845 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
1846 path when there is no ctty port.
1847 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1848 Move sigstate check inside loop so we recheck after handling a signal.
1849
1850 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1851
1852 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
1853 O_EXLOCK are BSD extensions.
1854 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
1855
1856 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
1857
1858 * manual/signal.texi (Termination in Handler): Correct example.
1859 Install default handler before reraising the signal.
1860 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
1861
1862 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
1863
1864 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
1865 null, in which case send an empty string.
1866
1867 1999-03-02 Mark Kettenis <kettenis@gnu.org>
1868
1869 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
1870 backward compatibility EH functions to be linked when using
1871 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1872
1873 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1874
1875 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
1876 /dev/pts status may change during runtime.
1877
1878 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1879
1880 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
1881 change. /dev/pts status can change during runtime.
1882
1883 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
1884
1885 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
1886 poll reports error.
1887 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
1888 add some more sanity checks.
1889 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
1890 parser prototype.
1891
1892 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
1893
1894 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
1895 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
1896 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
1897 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
1898 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
1899 for x_getint32.
1900 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
1901 * nis/nis_print.c: Fix ctime argument for platforms where
1902 sizeof (time_t) != sizeof (int).
1903
1904 1999-03-07 Mark Kettenis <kettenis@gnu.org>
1905
1906 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
1907 CLOCKS_PER_SEC instead of CLK_TCK.
1908
1909 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
1910
1911 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
1912 whether /dev/pts is available.
1913 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
1914 dev_pts_available.
1915
1916 * posix/globtest.sh: Make common_objpfx path absolute and and db2
1917 and hesiod directory to library path [PR libc/1007].
1918
1919 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1920
1921 * resolv/inet_addr.c (inet_aton): Don't allow componets >
1922 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
1923
1924 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
1925
1926 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
1927 DT_PLTGOT has already been relocated.
1928 (__elf_machine_fixup_plt): Likewise.
1929 Minor cleanups.
1930
1931 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
1932
1933 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
1934
1935 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
1936
1937 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
1938 and fold string to uppercase [PR libc/1005].
1939
1940 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1941
1942 * elf/dl-load.c (lose): Fix return type.
1943
1944 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
1945
1946 * sysdeps/mach/hurd/bits/fcntl.h
1947 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
1948 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
1949 set O_NOTRANS as well.
1950 (__hurd_file_name_lookup_retry): At successful end of lookup,
1951 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
1952 it is a translated node not owned by root.
1953 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
1954 on the file name passed to LOOKUP.
1955
1956 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
1957
1958 * manual/time.texi (High Resolution Timer): Correct computation in
1959 example. Reported by jjf@devel.cemsys.com.
1960
1961 1999-03-02 Philip Blundell <pb@nexus.co.uk>
1962
1963 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
1964 entry is already relocated.
1965
1966 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1967
1968 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
1969 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
1970
1971 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1972
1973 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
1974 uc_link which is the right name according to Unix98.
1975 Reported by Craig Metz [PR libc/1001].
1976 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
1977 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
1978 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
1979 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
1980 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
1981 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
1982
1983 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1984
1985 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
1986 @ifinfo.
1987
1988 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1989
1990 * iconvdata/Makefile: Always include iconv-rules, but disable rule
1991 to regenerate it if avoid-generated.
1992
1993 * Makeconfig: Always include sys-dirs, but disable rule to
1994 regenerate it when avoid-generated.
1995
1996 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
1997 rule to generate sysd-syscalls.
1998
1999 * elf/Makefile (generated): Remove $(objpfx) from names.
2000
2001 1999-02-28 Mark Kettenis <kettenis@gnu.org>
2002
2003 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
2004 actual length if the adress length is smaller than the input
2005 value. Change type of *LEN paramater to socklen_t.
2006 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
2007 * sysdeps/mach/hurd/accept.c (accept): Likewise.
2008 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2009 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
2010 paramater to socklen_t.
2011
2012 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
2013
2014 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
2015 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
2016 with the RPC.
2017
2018 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
2019
2020 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
2021 __get_phys_pages): Cast &HBI to silence warning.
2022
2023 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
2024 * hurd/hurdchdir.c: New file.
2025 * hurd/hurdfchdir.c: New file.
2026 * sysdeps/mach/hurd/chroot.c: Call
2027 _hurd_change_directory_port_from_name to do the work.
2028 * sysdeps/mach/hurd/chdir.c: Likewise.
2029 * sysdeps/mach/hurd/fchdir.c: Call
2030 _hurd_change_directory_port_from_fd to do the work.
2031 * hurd/fchroot.c: Likewise.
2032 * hurd/hurd.h: Declare them.
2033
2034 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
2035
2036 * elf/dl-load.c (lose): Add more comments to explain the `why'.
2037 (_dl_map_object): Remove redundant test.
2038
2039 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
2040
2041 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
2042 try to _hurd_port_free a lower-numbered descriptor that was not in any
2043 fd_set.
2044
2045 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2046
2047 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
2048 declaration for ____wcstod_l_internal.
2049
2050 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
2051 __strtod_internal prototype.
2052 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
2053 (____strtold_l_internal): Add prototype declaration.
2054 (__strtold_l): Call correct function.
2055
2056 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
2057
2058 * elf/elf.h: Add 32bit HPPA definitions.
2059
2060 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2061
2062 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
2063 non-checked heap is restored when malloc checking was requested by
2064 the user.
2065 (struct malloc_state): Add using_malloc_checking.
2066 (MALLOC_STATE_VERSION): Increment minor.
2067 (using_malloc_checking, disallow_malloc_check): New variables.
2068 (__malloc_check_init): Use them.
2069 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
2070 that it can the chunk is properly instrumented when malloc
2071 checking is enabled. Set the new using_malloc_checking field.
2072 (malloc_hook_ini): Correct signature when _LIBC is not defined.
2073
2074 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2075
2076 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
2077 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
2078 time.
2079
2080 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
2081 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
2082 if ld.so is the main program.
2083
2084 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
2085
2086 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
2087 large for work_buffer, allocate new buffer.
2088 (printf_unknown): Likewise. [PR libc/988]
2089
2090 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
2091
2092 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
2093 instead of stat and fstat.
2094 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2095
2096 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2097
2098 * elf/dl-error.c (_dl_signal_cerror): New function.
2099 (_dl_signal_error): Don't call receiver function.
2100 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
2101 instead of _dl_signal_error when reporting references to undefined
2102 symbols or versions.
2103 (_dl_lookup_versioned_symbol): Likewise.
2104 (_dl_lookup_versioned_symbol_skip): Likewise.
2105 * elf/dl-version.c (match_symbol): Likewise.
2106
2107 * elf/ldsodefs.h: Declare _dl_signal_cerror.
2108
2109 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
2110
2111 * misc/getttyent.c (getttyent): Release lock on stream later to
2112 also protect global variable zapchar.
2113
2114 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
2115 __times [PR libc/990].
2116
2117 1999-02-21 David S. Miller <davem@redhat.com>
2118
2119 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
2120 parentheses in Feb 2 changes.
2121 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2122
2123 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2124
2125 * sysdeps/generic/glob.c (glob): Save previous errno.
2126
2127 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
2128
2129 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
2130 lookup functions if it is too small.
2131
2132 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
2133
2134 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
2135 for tracing to the scope lists.
2136 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
2137 DT_SYMTAB is always available according to ELF spec.
2138
2139 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
2140 call test whether there is any scope left.
2141 (_dl_lookup_versioned_symbol_skip): Likewise.
2142
2143 * elf/Makefile (distribute): Add do-lookup.h.
2144 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
2145 * elf/dl-lookup.c: Move do_lookup function in separate file and
2146 include the file twice, for handling versioning and without it.
2147
2148 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
2149 entry is already relocated.
2150 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
2151 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
2152 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
2153 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
2154 Likewise.
2155 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
2156 Likewise.
2157 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
2158 Likewise.
2159
2160 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
2161 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
2162 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
2163 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
2164 rel and rela relocations can both happen and skip one test if this
2165 is not possible.
2166 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
2167 appropriately.
2168 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
2169 already relocated.
2170 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
2171 relocated.
2172 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
2173 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
2174 (_dl_map_object): DT_STRTAB entry is already relocated.
2175 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
2176 already relocated.
2177 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
2178 relocated.
2179 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
2180 DT_VERSYM entries are already relocated.
2181 (profile_fixup): Likewise.
2182 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
2183 all users.
2184 (match_symbol): DT_STRTAB entry is already relocated.
2185 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
2186 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
2187 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
2188 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
2189 (find_needed): DT_STRTAB entry is already relocated.
2190 (dl_main): Pass extra argument to elf_get_dynamic_info.
2191 DT_STRTAB entry is already relocated.
2192 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
2193 DT_PLTGOT entries are already relocated.
2194 (elf_machine_rela): Likewise for DT_SYMTAB.
2195 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
2196 relocated.
2197 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2198 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
2199 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2200 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2201 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
2202 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
2203 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
2204 * sysdeps/mips/mips64/dl-machine.h: Likewise.
2205
2206 * grp/initgroups.c (initgroups): If function in current module was
2207 successful don't stop but continue to process to get all the groups.
2208
2209 * elf/dl-load.c (_dl_map_object_from_fd): Use global
2210 _dl_pf_to_proot array to convert p_flags value.
2211 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2212
2213 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
2214 loop to clear `info'.
2215
2216 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
2217 do the work and don't use inline assembler.
2218
2219 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
2220
2221 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
2222 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
2223 noreturn, and prevent it from being inlined.
2224 Define LOSE appropriately.
2225 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
2226 Optimize decoding of p_flags for certain platforms.
2227
2228 1999-02-19 Philip Blundell <pb@nexus.co.uk>
2229
2230 * Makeconfig (link-libc): When doing a static link, make sure that
2231 libgcc.a is included both before and after libc.a.
2232
2233 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
2234
2235 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
2236 sp_warn, sp_inact, sp_expire and sp_flag.
2237
2238 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
2239
2240 * elf/link.h (link_map): Add l_dev and l_ino.
2241 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
2242 loaded shared object with all loaded objects. Initialize l_ino
2243 and l_dev in case it's new.
2244 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
2245 object.
2246 * elf/Makefile: Compile and run new test.
2247 * elf/multiload.c: New file.
2248
2249 * nss/nsswitch.h (service_user): Change name field from const char *
2250 to char[0].
2251 (name_database_entry): Likewise.
2252 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
2253 for change of `service_user'.
2254 (nss_getline): Adjust memory allocation for change of
2255 `name_database_entry'.
2256
2257 * catgets/catgets.c: Correctly handle NLSPATH from environment
2258 [PR libc/980].
2259
2260 * io/Makefile (routines): Add lock64.
2261 * io/Versions: Add lockf64 for GLIBC_2.1.1.
2262 * sysdeps/generic/lockf64.c: New file.
2263
2264 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2265
2266 * string/bits/string2.h: Only use strncmp optimization if count
2267 argument is constant.
2268
2269 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
2270
2271 * sysdeps/mach/hurd/revoke.c: New file.
2272
2273 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2274
2275 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
2276 int to avoid warning about `ISO C restricts enumerator values to
2277 range of `int''.
2278
2279 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2280
2281 * elf/dlfcn.h: Fix typo.
2282 * sysdeps/generic/bits/dlfcn.h: Likewise.
2283 * sysdeps/mips/bits/dlfcn.h: Likewise.
2284
2285 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2286
2287 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
2288 for the case N == 0.
2289
2290 * db2/Makefile (distribute): Add LICENSE.
2291
2292 1999-02-03 Jeff Bailey <jbailey@nisa.net>
2293
2294 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
2295 generated files.
2296
2297 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
2298
2299 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2300
2301 * time/mktime.c: Use ISO C form for function definitions and
2302 remove unnecessary prototypes.
2303
2304 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
2305
2306 * time/time.h: Avoid unneccesary #ifdef.
2307
2308 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
2309
2310 * stdio-common/_itoa.c (_itoa): Correct parameters to
2311 udiv_qrnnd_preinv.
2312
2313 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2314
2315 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
2316 before (e.g. in glob.h).
2317 Closes PR libc/959.
2318
2319 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2320
2321 * sysdeps/mips/fpu_control.h: Fix typo.
2322 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
2323 Remove __setfpucw.
2324
2325 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
2326
2327 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
2328 the "unused" ends of the sockets. Let pipes be bidirectional.
2329
2330 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
2331
2332 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
2333 invalid ai_flags.
2334
2335 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2336
2337 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
2338 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
2339
2340 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
2341 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
2342
2343 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
2344
2345 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
2346
2347 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2348
2349 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
2350 check for priority mask.
2351
2352 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
2353
2354 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
2355 Reported by Craig Metz <cmetz@inner.net> .
2356
2357 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2358
2359 * stdio-common/Makefile (tests): tllformat added.
2360
2361 * stdio-common/tllformat.c: New program, based on tiformat.c with
2362 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2363
2364 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2365
2366 * posix/test-vfork.c: Fix exit status test.
2367
2368 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2369
2370 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
2371 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
2372
2373 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2374
2375 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
2376 of separare explicit comparisons.
2377
2378 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2379
2380 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
2381 defined.
2382
2383 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
2384 defined.
2385
2386 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
2387
2388 * po/el.po: Update from translation team.
2389
2390 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2391
2392 * intl/locale.alias: Fix slovenian entry [PR libc/948].
2393
2394 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2395
2396 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
2397 * inet/ruserpass.c: Likewise.
2398 * locale/programs/stringtrans.c: Likewise.
2399 * locale/programs/localedef.c: Likewise.
2400 * nscd/grpcache.c: Likewise.
2401 * nss/nss_files/files-XXX.c: Likewise.
2402 * stdlib/canonicalize.c: Likewise.
2403 * sysdeps/posix/sigwait.c: Likewise.
2404
2405 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2406
2407 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
2408 even on 64 bit platforms.
2409
2410 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
2411 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
2412
2413 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
2414
2415 * intl/dcgettext.c: Include locale.h is available.
2416
2417 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
2418
2419 * po/nl.po: Update from translation team.
2420
2421 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
2422
2423 * Makefile: Allow calling goals for po subdir.
2424
2425 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
2426 signal definitions.
2427
2428 * po/el.po: New file.
2429
2430 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2431
2432 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
2433 when processing DT_SYMBOLIC objects.
2434
2435 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2436
2437 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
2438 program headers without PT_PHDR only require that they are
2439 contained within one of the loaded segments. Don't use assert,
2440 since that would be a bug in the object, not the dynamic linker.
2441
2442 1999-02-08 Richard Henderson <rth@cygnus.com>
2443
2444 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
2445 restore all call-clobbered fp regs.
2446
2447 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
2448
2449 * po/cs.po: New file.
2450
2451 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
2452 SUID binaries.
2453
2454 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
2455
2456 * signal/signal.h: Don't declare __libc_allocate_rtsig.
2457 * include/signal.h: Declare __libc_allocate_rtsig here.
2458
2459 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
2460 point functions, not do_lookup since the later can be called more
2461 than once.
2462
2463 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
2464
2465 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
2466 macro, so that architectures which need to add some special
2467 offset to stack pointer can share this file.
2468
2469 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
2470 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
2471 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
2472 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
2473
2474 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
2475 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
2476 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
2477 between sparc32 and sparc64.
2478
2479 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
2480 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
2481 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
2482 between sparc32 and sparc64.
2483
2484 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
2485 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
2486 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
2487 between sparc32 and sparc64.
2488
2489 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
2490 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
2491 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
2492 between sparc32 and sparc64.
2493
2494 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
2495
2496 * Versions.def: New version GLIBC_2.1.1 for libc.
2497 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
2498 * stdlib/labs.c: Moved to...
2499 * sysdeps/generic/labs.c: ...here.
2500 * stdlib/llabs.c: Moved to...
2501 * sysdeps/generic/llabs.c: ...here.
2502 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
2503 header. Declare _Exit.
2504 * sysdeps/generic/_exit.c: Add alias _Exit.
2505 * sysdeps/mach/hurd/_exit.c: Likewise.
2506 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
2507 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
2508 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
2509 * sysdeps/unix/_exit.c: Likewise.
2510 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
2511 imaxdiv and imaxabs. Declare lldiv_t if necessary.
2512 * sysdeps/wordsize-64/inttypes.h: Likewise.
2513 * sysdeps/wordsize-32/llabs.c: New file.
2514 * sysdeps/wordsize-32/lldiv.c: New file.
2515 * sysdeps/wordsize-64/labs.c: New file.
2516 * sysdeps/wordsize-64/ldiv.c: New file.
2517 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
2518 * manual/startup.texi: Document _Exit.
2519
2520 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2521
2522 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
2523
2524 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
2525
2526 * Versions.def: Add versions for ld.so.
2527 * csu/Versions: Remove __libc_stack_end here.
2528 * elf/Versions: Split libc definitions in libc and ld.so definitions.
2529 * elf/Makefile (ld-map): Change to ld.so.map.
2530 * scripts/versions.awk: Recognize dot in library names.
2531
2532 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
2533 Don't use __tolower and __toupper in inline functions.
2534 Add optimizing macros for tolower and toupper.
2535 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
2536 (_toupper): Don't use __toupper.
2537 * ctype/ctype.c (tolower): Don't use __tolower.
2538 (toupper): Don't use toupper.
2539
2540 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
2541
2542 * resolv/Versions (libresolv): Export __ns_name_unpack and
2543 __ns_name_ntop.
2544 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
2545 make it global. Change all users. Similar for ns_name_ntop.
2546 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
2547 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
2548 directly to detect too small buffer.
2549 * resolv/nss_dns/dns-network.c: Likewise.
2550
2551 * stdio-common/Makefile (tests): Add scanf12.
2552 * stdio-common/scanf12.c: New file.
2553 * stdio-common/scanf12.input: New file.
2554 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
2555 floating-point correctly if the number is invalid.
2556
2557 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
2558 functions.
2559 * stdio-common/printf_fp.c: Likewise.
2560 * stdio-common/printf_fphex.c: Likewise.
2561 * stdio-common/vfprintf.c: Likewise.
2562
2563
2564 See ChangeLog.9 for earlier changes.