]> sourceware.org Git - glibc.git/blob - ChangeLog
* sysdeps/mach/hurd/siglist.h: Use #include_next.
[glibc.git] / ChangeLog
1 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
2
3 * sysdeps/gnu/siglist.h: File moved to ...
4 * sysdeps/generic/siglist.h: ... here. This file should be usable for
5 any platform, since it just associates the SIG* macros with text names
6 and descriptions. For any signal macros do not exist on every
7 platform, we can use #ifdef tests here and still use this single
8 common file for all platforms.
9 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
10 should be usable for all platforms after the binary compatibility
11 stuff in the current sysdeps/gnu version is no longer required.
12 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
13 * sysdeps/generic/make_siglist.c: File removed.
14 * sysdeps/mach/hurd/siglist.h: Use #include_next.
15 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
16
17 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
18
19 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
20 * sysdeps/gnu/siglist.c: ... here.
21 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
22 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
23 * sysdeps/gnu/siglist.h: New file, contents from linux version.
24 Add entry for SIGLOST protected by #ifdef.
25 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
26 and define OLD_SIGLIST_SIZE_STR.
27 * sysdeps/mach/hurd/siglist.h: New file, likewise.
28
29 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
30
31 * include/features.h: Define new macros __GNUC_PREREQ and
32 __GLIBC_PREREQ which can be used to test the version of gcc
33 and glibc respectively.
34
35 * assert/assert.h: Use __GNUC_PREREQ.
36 * intl/libintl.h: Likewise.
37 * math/complex.h: Likewise.
38 * math/tgmath.h: Likewise.
39 * misc/sys/cdefs.h: Likewise.
40 * posix/sys/types.h: Likewise.
41 * socket/sys/socket.h: Likewise.
42 * string/bits/string2.h: Likewise.
43 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
44 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
45
46 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
47
48 * include/libintl.h: Declare _libc_intl_domainname here.
49 Define _ and N_ here.
50 * include/libc-symbols.h: Don't include <libintl.h>. Don't
51 define _ and N_. Don't declare _libc_intl_domainname.
52 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
53
54 * db2/config.h: Don't include sys/stat.h or define
55 HAVE_ST_BLKSIZE here...
56 * db2/compat.h: ...do it here.
57
58 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
59 other headers.
60 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
61 * iconv/iconv.c: Include stddef.h for NULL.
62 * malloc/malloc.h: Include features.h.
63 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
64
65 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
66 into the generated file.
67 * sysdeps/gnu/errlist.awk: Likewise.
68 * sysdeps/gnu/errlist.c: Rebuilt.
69
70 * assert/assert-perr.c: Include libintl.h.
71 * assert/assert.c: Likewise.
72 * elf/dl-open.c: Likewise.
73 * elf/dlsym.c: Likewise.
74 * elf/dlvsym.c: Likewise.
75 * iconv/iconv_prog.c: Likewise.
76 * inet/rcmd.c: Likewise.
77 * inet/ruserpass.c: Likewise.
78 * locale/programs/charset.c: Likewise.
79 * locale/programs/ld-collate.c: Likewise.
80 * locale/programs/ld-ctype.c: Likewise.
81 * locale/programs/ld-messages.c: Likewise.
82 * locale/programs/ld-monetary.c: Likewise.
83 * locale/programs/ld-numeric.c: Likewise.
84 * locale/programs/ld-time.c: Likewise.
85 * locale/programs/locfile.c: Likewise.
86 * locale/programs/repertoire.c: Likewise.
87 * login/programs/database.c: Likewise.
88 * login/programs/request.c: Likewise.
89 * malloc/mcheck.c: Likewise.
90 * misc/error.c: Likewise.
91 * nis/nis_call.c: Likewise.
92 * nis/nis_callback.c: Likewise.
93 * nis/nis_error.c: Likewise.
94 * nis/nis_local_names.c: Likewise.
95 * nis/nis_print.c: Likewise.
96 * nis/nis_print_group_entry.c: Likewise.
97 * nis/ypclnt.c: Likewise.
98 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
99 * nscd/cache.c: Likewise.
100 * nscd/connections.c: Likewise.
101 * nscd/grpcache.c: Likewise.
102 * nscd/hstcache.c: Likewise.
103 * nscd/nscd_conf.c: Likewise.
104 * nscd/nscd_stat.c: Likewise.
105 * nscd/pwdcache.c: Likewise.
106 * posix/id.c: Likewise.
107 * resolv/herror.c: Likewise.
108 * stdio-common/psignal.c: Likewise.
109 * string/strsignal.c: Likewise.
110 * sunrpc/auth_unix.c: Likewise.
111 * sunrpc/clnt_perr.c: Likewise.
112 * sunrpc/clnt_raw.c: Likewise.
113 * sunrpc/clnt_tcp.c: Likewise.
114 * sunrpc/clnt_udp.c: Likewise.
115 * sunrpc/clnt_unix.c: Likewise.
116 * sunrpc/get_myaddr.c: Likewise.
117 * sunrpc/pm_getmaps.c: Likewise.
118 * sunrpc/pmap_clnt.c: Likewise.
119 * sunrpc/pmap_rmt.c: Likewise.
120 * sunrpc/rpc_main.c: Likewise.
121 * sunrpc/rpc_scan.c: Likewise.
122 * sunrpc/svc_run.c: Likewise.
123 * sunrpc/svc_simple.c: Likewise.
124 * sunrpc/svc_tcp.c: Likewise.
125 * sunrpc/svc_udp.c: Likewise.
126 * sunrpc/svc_unix.c: Likewise.
127 * sunrpc/xdr_rec.c: Likewise.
128 * sunrpc/xdr_ref.c: Likewise.
129 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
130 * sysdeps/posix/gai_strerror.c: Likewise.
131 * sysdeps/unix/siglist.c: Likewise.
132 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
133 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
134 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
135 * timezone/zic.c: Likewise.
136
137 1999-06-18 H.J. Lu <hjl@gnu.org>
138
139 * localedata/Makefile (charmaps): Exclude SCCS.
140 (locales): Likewise.
141 (repertoiremaps): Likewise.
142
143 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
144
145 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
146 * sysdeps/generic/bsd-setjmp.c: Likewise.
147
148 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
149
150 * iconv/gconv_open.c: Include string.h for memset prototype.
151
152 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
153 definitions.
154
155 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
156 assignment to avoid warning on 64bit platforms.
157
158 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
159
160 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
161
162 * nss/getXXbyYY_r.c: Return error code not -1.
163 * nss/getXXent_r.c: Likewise.
164 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
165 small.
166 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
167 value > 0 for error.
168 * nscd/nscd_gethst_r.c: Likewise.
169 * nscd/nscd_getpw_r.c: Likewise.
170
171 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
172
173 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
174 disciplines.
175
176 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
177
178 * nscd/nscd_nischeck.c: Fix typos.
179
180 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
181
182 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
183 always when oact is NULL.
184 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
185
186 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
187
188 * math/libm-test.c (jn_test): Adjust delta.
189
190 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
191
192 * libio/vwprintf.c: Include <wchar.h> for prototypes.
193 * libio/wprintf.c: Likewise.
194
195 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
196
197 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
198 to not write beyond allocated memory.
199 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
200
201 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
202
203 * malloc/mtrace.c: Keep lock while printing output lines.
204 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
205
206 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
207
208 * configure.in: Add warnings about broken code.
209
210 * Versions.def: Add GLIBC_2.2 for libc.
211
212 * iconv/gconv.h: Make header suitable for inclusion in public header
213 by protecting all names with __.
214 * iconv/gconv.c: Adapt for symbol name changes.
215 * iconv/gconv.h: Likewise.
216 * iconv/gconv_builtin.c: Likewise.
217 * iconv/gconv_close.c: Likewise.
218 * iconv/gconv_db.c: Likewise.
219 * iconv/gconv_dl.c: Likewise.
220 * iconv/gconv_int.h: Likewise.
221 * iconv/gconv_open.c: Likewise.
222 * iconv/gconv_simple.c: Likewise.
223 * iconv/iconv.c: Likewise.
224 * iconv/iconv_close.c: Likewise.
225 * iconv/iconv_open.c: Likewise.
226 * iconv/loop.c: Likewise.
227 * iconv/skeleton.c: Likewise.
228 * iconvdata/8bit-gap.c: Likewise.
229 * iconvdata/8bit-generic.c: Likewise.
230 * iconvdata/ansi_x3.110.c: Likewise.
231 * iconvdata/big5.c: Likewise.
232 * iconvdata/cns11643.h: Likewise.
233 * iconvdata/cns11643l1.h: Likewise.
234 * iconvdata/euc-cn.c: Likewise.
235 * iconvdata/euc-jp.c: Likewise.
236 * iconvdata/euc-kr.c: Likewise.
237 * iconvdata/euc-tw.c: Likewise.
238 * iconvdata/gb2312.h: Likewise.
239 * iconvdata/iso-2022-jp.c: Likewise.
240 * iconvdata/iso-2022-kr.c: Likewise.
241 * iconvdata/iso646.c: Likewise.
242 * iconvdata/iso8859-1.c: Likewise.
243 * iconvdata/iso_6937-2.c: Likewise.
244 * iconvdata/iso_6937.c: Likewise.
245 * iconvdata/jis0201.h: Likewise.
246 * iconvdata/jis0208.h: Likewise.
247 * iconvdata/jis0212.h: Likewise.
248 * iconvdata/johab.c: Likewise.
249 * iconvdata/ksc5601.h: Likewise.
250 * iconvdata/sjis.c: Likewise.
251 * iconvdata/t.61.c: Likewise.
252 * iconvdata/uhc.c: Likewise.
253 * stdlib/mblen.c: Likewise.
254 * stdlib/mbtowc.c: Likewise.
255 * stdlib/wctomb.c: Likewise.
256 * wcsmbs/btowc.c: Likewise.
257 * wcsmbs/mbrtowc.c: Likewise.
258 * wcsmbs/mbsnrtowcs.c: Likewise.
259 * wcsmbs/mbsrtowcs.c: Likewise.
260 * wcsmbs/wchar.h: Likewise.
261 * wcsmbs/wcrtomb.c: Likewise.
262 * wcsmbs/wcsmbsload.c: Likewise.
263 * wcsmbs/wcsmbsload.h: Likewise.
264 * wcsmbs/wcsnrtombs.c: Likewise.
265 * wcsmbs/wcsrtombs.c: Likewise.
266 * wcsmbs/wctob.c: Likewise.
267
268 * include/limits.h (MB_LEN_MAX): Increase to 16.
269
270 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
271 _G_iconv_t.
272 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
273 * include/wchar.h: Change mbstate_t to __mbstate_t.
274
275 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
276 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
277 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
278 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
279 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
280 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
281 and iofwide.
282 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
283 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
284 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
285 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
286 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
287 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
288 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
289 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
290 GLIBC_2.2 for libc.
291 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
292 Extend _IO_file contain pointer to codecvt, widedata and mode.
293 (_IO_getwc_unlocked): New macro.
294 (_IO_putwc_unlocked): New macro.
295 (_IO_fwide): New macro.
296 * libio/libioP.h: Add new prototypes and adjust existing declarations.
297 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
298 buffers based on mode.
299 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
300 oriented.
301 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
302 flag to be enough to signal unallocated buffer. For wide oriented
303 stream don't make it linebuffered. Don't use _IO_do_flush, use
304 _IO_new_do_write directly.
305 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
306 (_IO_file_seek): Likewise.
307 * libio/genops.c (_IO_least_marker): Make global.
308 (__underflow): Orient stream if not already done.
309 (__uflow): Likewise.
310 (_IO_default_seekpos): Change to type _IO_off64_t.
311 (_IO_default_seekoff): Likewise.
312 (_IO_default_seek): Likewise.
313 (_IO_no_init): New function. Similar to _IO_init but allows to orient
314 in initialization.
315 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
316 to use _IO_off64_t.
317 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
318 char stream.
319 * libio/ftello64.c: Likewise.
320 * libio/ioftell.c: Likewise.
321 * libio/iofopncook.c: Likewise.
322 * libio/ioseekoff.c: Likewise.
323 * libio/ioseekpos.c: Likewise.
324 * libio/oldfileops.c: Likewise.
325 * libio/iofgetpos.c: Store state of conversion if necessary.
326 * libio/iofgetpos64.c: Likewise.
327 * libio/iofsetpos.c: Restore conversion state if necessary.
328 * libio/iofsetpos64.c: Likewise.
329 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
330 * libio/iofopen.c: Likewise.
331 * libio/iofopen64.c: Likewise.
332 * libio/iopopen.c: Likewise.
333 * libio/iovdprintf.c: Likewise.
334 * libio/iovsprintf.c: Likewise.
335 * libio/iovsscanf.c: Likewise.
336 * libio/memstream.c: Likewise.
337 * libio/obprintf.c: Likewise.
338 * libio/iofputs.c: Orient stream if not already happened.
339 * libio/iofputs_u.c: Likewise.
340 * libio/iofwrite.c: Likewise.
341 * libio/iofwrite_u.c: Likewise.
342 * libio/ioputs.c: Likewise.
343 * libio/iosetbuffer.c: Handle not yet oriented stream.
344 * libio/iosetvbuf.c: Likewise.
345 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
346 * libio/stdfiles.c: Likewise.
347 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
348 failed allocation.
349 (_IO_str_seekoff): Use _IO_off64_t.
350 * libio/vasprintf.c: Pre-orient stream.
351 * libio/vsnprintf.c: Likewise.
352 * libio/fputwc.c: New file.
353 * libio/fputwc_u.c: New file.
354 * libio/fwprintf.c: New file.
355 * libio/fwscanf.c: New file.
356 * libio/getwc.c: New file.
357 * libio/getwc_u.c: New file.
358 * libio/getwchar.c: New file.
359 * libio/getwchar_u.c: New file.
360 * libio/iofgetws.c: New file.
361 * libio/iofgetws_u.c: New file.
362 * libio/iofputws.c: New file.
363 * libio/iofputws_u.c: New file.
364 * libio/iofwide.c: New file.
365 * libio/iogetwline.c: New file.
366 * libio/ioungetwc.c: New file.
367 * libio/iovswscanf.c: New file.
368 * libio/iowpadn.c: New file.
369 * libio/oldiofgetpos.c: New file.
370 * libio/oldiofgetpos64.c: New file.
371 * libio/oldiofsetpos.c: New file.
372 * libio/oldiofsetpos64.c: New file.
373 * libio/putwc.c: New file.
374 * libio/putwc_u.c: New file.
375 * libio/putwchar.c: New file.
376 * libio/putwchar_u.c: New file.
377 * libio/swprintf.c: New file.
378 * libio/swscanf.c: New file.
379 * libio/tst_swprintf.c: New file.
380 * libio/tst_swscanf.c: New file.
381 * libio/tst_wprintf.c: New file.
382 * libio/tst_wscanf.c: New file.
383 * libio/tst_wscanf.input: New file.
384 * libio/vswprintf.c: New file.
385 * libio/vwprintf.c: New file.
386 * libio/vwscanf.c: New file.
387 * libio/wfiledoalloc.c: New file.
388 * libio/wfileops.c: New file.
389 * libio/wgenops.c: New file.
390 * libio/wprintf.c: New file.
391 * libio/wscanf.c: New file.
392 * libio/wstrops.c: New file.
393 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
394 vfwprintf, and vfwscanf.
395 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
396 make global.
397 * stdio-common/_itowa.c: New file.
398 * stdio-common/_itowa.h: New file.
399 * stdio-common/itoa-digits.c: Minimal optimization.
400 * stdio-common/itowa-digits.c: New file.
401 * stdio-common/printf-parse.h: Allow use in wide character context.
402 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
403 * stdio-common/printf.h (printf_info): Add wide bit.
404 * stdio-common/printf_fp.c: Determine from wide bit whether stream
405 is wide oriented or not.
406 * stdio-common/printf_size.c: Likewise.
407 * sysdeps/generic/printf_fphex.c: Likewise.
408 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
409 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
410 context.
411 * stdio-common/vfscand.c: Likewise.
412 * stdio-common/vfwprintf.c: New file.
413 * stdio-common/vfwscanf.c: New file.
414
415 * time/Makefile (routines): Add wcsftime.
416 (tests): Add tst_wcsftime.
417 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
418 * time/strftime.c: Make usable as wcsftime.
419 * time/wcsftime.c: New file.
420 * time/tst_wcsftime.c: New file.
421
422 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
423 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
424 * wcsmbs/wcschrnul.c: New file.
425 * wcsmbs/wmemcpy.c: New file.
426 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
427 * wcsmbs/wmemmove.c: Likewise for wmemmove.
428
429 * manual/stdio.texi: Document is_char and wide element if printf_info.
430
431 * manual/time.texi: Document wcsftime.
432
433 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
434 __wmemmove, __wcschrnul, and __vfwscanf.
435
436 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
437 * locale/C-time.c: Adapt for above change.
438 * locale/categories.def: Likewise.
439 * locale/localeinfo.h: Likewise.
440 * localedata/Makefile: Don't run tests for now.
441
442 * manual/errno.texi: Fix typos.
443 * manual/memory.texi: Likewise.
444 * manual/ctype.texi: Likewise.
445 Patches by Brian Youmans <3diff@gnu.org>.
446
447 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
448
449 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
450
451 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
452
453 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
454 word order.
455 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
456 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
457
458 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
459
460 * db2/db/db.c: Restore __nss_db_open alias.
461 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
462 include.
463 * db2/os/os_rw.c (__os_write): Maintain const correctness.
464 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
465
466 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
467
468 * stdio-common/printf-parse.h (parse_one_spec): Don't set
469 is_longlong if not necessary.
470
471 1999-06-15 H.J. Lu <hjl@gnu.org>
472
473 * Make-dist (sysdep_dirs): Exclude SCCS.
474 * MakeTAGS (sysdep_dirs): Likewise.
475
476 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
477
478 * posix/regex.c (re_error_msgid): Remove extra commas.
479
480 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
481
482 * stdlib/tst-strtoll.c: New file.
483 * stdlib/Makefile (tests): Add tst-strtoll.c
484 * stdlib/strtol.c: It is not generally true that if
485 (unsigned)a*(unsigned)b overflows, then the result is
486 less than 'a'.
487
488 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
489
490 * nscd/connections.c (handle_request): Only root is allowed to
491 send GETSTAT request in non secure mode.
492 * nscd/nscd.c: Print error message if other then root try to
493 use getstat.
494
495 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
496
497 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
498
499 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
500
501 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
502 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
503
504 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
505
506 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
507 for character to search, to help the compiler.
508 * sysdeps/generic/strchrnul.c: Likewise.
509 * sysdeps/generic/memchr.c: Likewise.
510 * sysdeps/generic/memccpy.c: Likewise.
511 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
512
513 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
514
515 * sysdeps/m68k/memchr.S: New file.
516 * sysdeps/m68k/rawmemchr.S: New file.
517 * sysdeps/m68k/strchr.S: New file.
518 * sysdeps/m68k/strchrnul.S: New file.
519
520 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
521
522 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
523 add `memory' clobber; optimise for constant `val'.
524 (atomic_add): Likewise.
525 (test_and_set): Remove `volatile'; add `memory' clobber; be more
526 like the original `test_and_set'.
527 (compare_and_swap): Remove `volatile'; add `memory' clobber;
528 optimise for constant `oldval'.
529 (always_swap): Remove `volatile'; add `memory' clobber.
530
531 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
532
533 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
534 functions for gcc <= 2.7.x.
535
536 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
537
538 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
539 change.
540
541 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
542
543 * db2/Makefile (distribute): Remove files which do not exist
544 anymore.
545
546 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
547 definitions to calm down gcc.
548
549 * db2/db.h: Update from db 2.7.5.
550 * db2/db_185.h: Likewise.
551 * db2/db_int.h: Likewise.
552 * db2/btree/bt_compare.c: Likewise.
553 * db2/btree/bt_conv.c: Likewise.
554 * db2/btree/bt_curadj.c: Likewise.
555 * db2/btree/bt_cursor.c: Likewise.
556 * db2/btree/bt_delete.c: Likewise.
557 * db2/btree/bt_open.c: Likewise.
558 * db2/btree/bt_page.c: Likewise.
559 * db2/btree/bt_put.c: Likewise.
560 * db2/btree/bt_rec.c: Likewise.
561 * db2/btree/bt_recno.c: Likewise.
562 * db2/btree/bt_rsearch.c: Likewise.
563 * db2/btree/bt_search.c: Likewise.
564 * db2/btree/bt_split.c: Likewise.
565 * db2/btree/bt_stat.c: Likewise.
566 * db2/btree/btree_auto.c: Likewise.
567 * db2/common/db_appinit.c: Likewise.
568 * db2/common/db_apprec.c: Likewise.
569 * db2/common/db_err.c: Likewise.
570 * db2/common/db_region.c: Likewise.
571 * db2/common/db_salloc.c: Likewise.
572 * db2/db/db.c: Likewise.
573 * db2/db/db.src: Likewise.
574 * db2/db/db_am.c: Likewise.
575 * db2/db/db_auto.c: Likewise.
576 * db2/db/db_dispatch.c: Likewise.
577 * db2/db/db_dup.c: Likewise.
578 * db2/db/db_iface.c: Likewise.
579 * db2/db/db_join.c: Likewise.
580 * db2/db/db_overflow.c: Likewise.
581 * db2/db/db_pr.c: Likewise.
582 * db2/db/db_rec.c: Likewise.
583 * db2/db/db_ret.c: Likewise.
584 * db2/db185/db185.c: Likewise.
585 * db2/dbm/dbm.c: Likewise.
586 * db2/hash/hash.c: Likewise.
587 * db2/hash/hash_auto.c: Likewise.
588 * db2/hash/hash_dup.c: Likewise.
589 * db2/hash/hash_page.c: Likewise.
590 * db2/hash/hash_rec.c: Likewise.
591 * db2/hash/hash_stat.c: Likewise.
592 * db2/include/btree.h: Likewise.
593 * db2/include/btree_ext.h: Likewise.
594 * db2/include/clib_ext.h: Likewise.
595 * db2/include/common_ext.h: Likewise.
596 * db2/include/db_am.h: Likewise.
597 * db2/include/db_auto.h: Likewise.
598 * db2/include/db_cxx.h: Likewise.
599 * db2/include/db_ext.h: Likewise.
600 * db2/include/db_join.h: Likewise.
601 * db2/include/db_page.h: Likewise.
602 * db2/include/hash.h: Likewise.
603 * db2/include/hash_ext.h: Likewise.
604 * db2/include/lock.h: Likewise.
605 * db2/include/lock_ext.h: Likewise.
606 * db2/include/log.h: Likewise.
607 * db2/include/log_ext.h: Likewise.
608 * db2/include/mp.h: Likewise.
609 * db2/include/mp_ext.h: Likewise.
610 * db2/include/os.h: Likewise.
611 * db2/include/os_ext.h: Likewise.
612 * db2/include/os_func.h: Likewise.
613 * db2/include/txn.h: Likewise.
614 * db2/include/txn_auto.h: Likewise.
615 * db2/include/txn_ext.h: Likewise.
616 * db2/include/xa.h: Likewise.
617 * db2/include/xa_ext.h: Likewise.
618 * db2/lock/lock.c: Likewise.
619 * db2/lock/lock_conflict.c: Likewise.
620 * db2/lock/lock_deadlock.c: Likewise.
621 * db2/lock/lock_region.c: Likewise.
622 * db2/lock/lock_util.c: Likewise.
623 * db2/log/log.c: Likewise.
624 * db2/log/log_archive.c: Likewise.
625 * db2/log/log_auto.c: Likewise.
626 * db2/log/log_findckp.c: Likewise.
627 * db2/log/log_get.c: Likewise.
628 * db2/log/log_put.c: Likewise.
629 * db2/log/log_rec.c: Likewise.
630 * db2/log/log_register.c: Likewise.
631 * db2/mp/mp_bh.c: Likewise.
632 * db2/mp/mp_fget.c: Likewise.
633 * db2/mp/mp_fopen.c: Likewise.
634 * db2/mp/mp_fput.c: Likewise.
635 * db2/mp/mp_fset.c: Likewise.
636 * db2/mp/mp_open.c: Likewise.
637 * db2/mp/mp_pr.c: Likewise.
638 * db2/mp/mp_region.c: Likewise.
639 * db2/mp/mp_sync.c: Likewise.
640 * db2/mutex/mutex.c: Likewise.
641 * db2/mutex/uts4_cc.s: Likewise.
642 * db2/os/os_abs.c: Likewise.
643 * db2/os/os_alloc.c: Likewise.
644 * db2/os/os_config.c: Likewise.
645 * db2/os/os_dir.c: Likewise.
646 * db2/os/os_fid.c: Likewise.
647 * db2/os/os_fsync.c: Likewise.
648 * db2/os/os_map.c: Likewise.
649 * db2/os/os_oflags.c: Likewise.
650 * db2/os/os_open.c: Likewise.
651 * db2/os/os_rw.c: Likewise.
652 * db2/os/os_seek.c: Likewise.
653 * db2/os/os_sleep.c: Likewise.
654 * db2/os/os_spin.c: Likewise.
655 * db2/os/os_stat.c: Likewise.
656 * db2/os/os_tmpdir.c: Likewise.
657 * db2/os/os_unlink.c: Likewise.
658 * db2/progs/db_archive/db_archive.c: Likewise.
659 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
660 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
661 * db2/progs/db_dump/db_dump.c: Likewise.
662 * db2/progs/db_load/db_load.c: Likewise.
663 * db2/progs/db_printlog/README: Likewise.
664 * db2/progs/db_printlog/commit.awk: Likewise.
665 * db2/progs/db_printlog/count.awk: Likewise.
666 * db2/progs/db_printlog/db_printlog.c: Likewise.
667 * db2/progs/db_printlog/pgno.awk: Likewise.
668 * db2/progs/db_printlog/range.awk: Likewise.
669 * db2/progs/db_printlog/status.awk: Likewise.
670 * db2/progs/db_printlog/txn.awk: Likewise.
671 * db2/progs/db_recover/db_recover.c: Likewise.
672 * db2/progs/db_stat/db_stat.c: Likewise.
673 * db2/txn/txn.c: Likewise.
674 * db2/txn/txn.src: Likewise.
675 * db2/txn/txn_auto.c: Likewise.
676 * db2/txn/txn_rec.c: Likewise.
677 * db2/xa/xa.c: Likewise.
678 * db2/xa/xa_db.c: Likewise.
679 * db2/xa/xa_map.c: Likewise.
680
681 * db2/btree/bt_close.c: Removed.
682 * db2/db/db_thread.c: Likewise.
683 * db2/hash/hash_debug.c: Likewise.
684 * db2/include/db.h.src: Likewise.
685 * db2/include/db_int.h.src: Likewise.
686 * db2/include/os_jump.h: Likewise.
687 * db2/mutex/alpha.dec: Likewise.
688 * db2/mutex/alpha.gcc: Likewise.
689 * db2/mutex/parisc.hp: Likewise.
690 * db2/mutex/uts4.cc.s: Likewise.
691
692 * db2/Makefile: Add new routines, remove old for 2.7.5.
693 * db2/Versions: Add internal function names for the helper programs.
694 * db2/makedb.c: Update for new cursor callback.
695 * Versions.def: Define versions for libdb.
696
697 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
698
699 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
700 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
701 * nscd/nscd_nischeck.c: New file.
702 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
703
704 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
705
706 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
707 MSG_* flags from Linux 2.2.9.
708
709 1999-06-12 Mark Kettenis <kettenis@gnu.org>
710
711 * Makeconfig (static-start-installed-name): Set to
712 $(start-installed-name) if not defined.
713 (+link-static): Use $(static-start-installed-name) instead of
714 $(start-installed-name).
715 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
716 Set to crt0.o.
717
718 1999-06-12 Mark Kettenis <kettenis@gnu.org>
719
720 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
721 inserting a send right into the child instead of unconditionally
722 copying the send right.
723
724 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
725
726 * locale/lc-time.c: Add free_mem function to free if necessary
727 statically allocated memory.
728
729 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
730
731 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
732 bias from the raw exponent.
733
734 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
735
736 * inet/arpa/tftp.h: Move attribute declaration in right position.
737
738 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
739
740 * nscd/nscd.c: Add -S options for separate caching of data for
741 every user. So one user couldn't see the data another user
742 has gotten with his credentials.
743 * nscd/nscd.h: Add new prototypes.
744 * nscd/cache.c: Compare owner of cache entry if in secure mode.
745 * nscd/connections.c: Check on shutdown if caller really was root.
746 In secure mode get uid of caller.
747 * nscd/grpcache.c: Add support for new secure group mode.
748 * nscd/hstcache.c: Add support for new secure hosts mode.
749 * nscd/pwdcache.c: Add support for new secure passwd mode.
750
751 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
752
753 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
754 of user-provided buffer.
755
756 1999-06-11 Mark Kettenis <kettenis@gnu.org>
757
758 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
759 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
760
761 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
762
763 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
764 and A format.
765
766 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
767 returning after last entry.
768 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
769
770 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
771
772 * misc/sysexits.h: Remove advertising clause of copyright.
773 * resolv/getnetnamadr.c: Likewise.
774 * sysdeps/vax/bcopy.s: Likewise.
775 * sysdeps/vax/bzero.s: Likewise.
776 * sysdeps/vax/ffs.s: Likewise.
777 * sysdeps/vax/memchr.s: Likewise.
778 * sysdeps/vax/memcmp.s: Likewise.
779 * sysdeps/vax/memmove.s: Likewise.
780 * sysdeps/vax/memset.s: Likewise.
781 * sysdeps/vax/strcat.s: Likewise.
782 * sysdeps/vax/strchr.s: Likewise.
783 * sysdeps/vax/strcmp.s: Likewise.
784 * sysdeps/vax/strcpy.s: Likewise.
785 * sysdeps/vax/strcspn.s: Likewise.
786 * sysdeps/vax/strlen.s: Likewise.
787 * sysdeps/vax/strncat.s: Likewise.
788 * sysdeps/vax/strncmp.s: Likewise.
789 * sysdeps/vax/strncpy.s: Likewise.
790 * sysdeps/vax/strpbrk.s: Likewise.
791 * sysdeps/vax/strrchr.s: Likewise.
792 * sysdeps/vax/strsep.s: Likewise.
793 * sysdeps/vax/strspn.s: Likewise.
794 * sysdeps/vax/strstr.s: Likewise.
795
796 * libio/iofopncook.c: Adjust for renaming of structure elements.
797 * libio/libio.h: Define cookie functions with all the names.
798
799 * pwd/fgetpwent_r.c: Set errno in the correct way.
800 * shadow/fgetspent_r.c: Likewise.
801 * pwd/fgetpwent.c: Handle long lines correctly. Little
802 optimizations. Free static buffer when debugging memory handling.
803 * shadow/fgetspent.c: Likewise.
804
805 * grp/fgetgrent.c: Little optimization in loop.
806
807 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
808
809 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
810 in a different way.
811
812 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
813
814 * stdlib/longlong.h: gas changed sethi handling when without
815 %hi(). Fix assembly.
816 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
817 port specific cache id checks.
818 * sysdeps/generic/dl-cache.h: New file.
819 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
820
821 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
822
823 * gmon/gmon.c: Remove advertising clause of copyright.
824 * gmon/mcount.c: Likewise.
825 * gmon/sys/gmon.h: Likewise.
826 * inet/arpa/ftp.h: Likewise.
827 * inet/arpa/telnet.h: Likewise.
828 * inet/arpa/tftp.h: Likewise.
829 * inet/inet_lnaof.c: Likewise.
830 * inet/inet_mkadr.c: Likewise.
831 * inet/inet_net.c: Likewise.
832 * inet/inet_netof.c: Likewise.
833 * inet/protocols/routed.h: Likewise.
834 * inet/protocols/rwhod.h: Likewise.
835 * inet/protocols/talkd.h: Likewise.
836 * inet/protocols/timed.h: Likewise.
837 * inet/rcmd.c: Likewise.
838 * inet/rexec.c: Likewise.
839 * inet/ruserpass.c: Likewise.
840 * io/fts.c: Likewise.
841 * io/fts.h: Likewise.
842 * login/login_tty.c: Likewise.
843 * misc/fstab.h: Likewise.
844 * misc/getttyent.c: Likewise.
845 * misc/getusershell.c: Likewise.
846 * misc/sys/queue.h: Likewise.
847 * misc/sys/syslog.h: Likewise.
848 * misc/syslog.c: Likewise.
849 * misc/ttyent.h: Likewise.
850 * misc/ttyslot.c: Likewise.
851 * resolv/arpa/nameser.h: Likewise.
852 * resolv/gethnamaddr.c: Likewise.
853 * resolv/herror.c: Likewise.
854 * resolv/inet_addr.c: Likewise.
855 * resolv/mapv4v6addr.h: Likewise.
856 * resolv/mapv4v6hostent.h: Likewise
857 * resolv/nss_dns/dns-host.c: Likewise.
858 * resolv/nss_dns/dns-network.c: Likewise.
859 * resolv/res_comp.c: Likewise.
860 * resolv/res_data.c: Likewise.
861 * resolv/res_debug.c: Likewise.
862 * resolv/res_init.c: Likewise.
863 * resolv/res_mkquery.c: Likewise.
864 * resolv/res_query.c: Likewise.
865 * resolv/res_send.c: Likewise.
866 * resolv/resolv.h: Likewise.
867 * sysdeps/generic/div.c: Likewise.
868 * sysdeps/generic/netinet/ip.h: Likewise.
869 * sysdeps/generic/netinet/tcp.h: Likewise.
870 * sysdeps/generic/paths.h: Likewise.
871 * sysdeps/generic/prof-freq.c: Likewise.
872 * sysdeps/generic/sys/ttydefaults.h: Likewise.
873 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
874 * sysdeps/gnu/netinet/tcp.h: Likewise.
875 * sysdeps/ieee754/support.c: Likewise.
876 * sysdeps/mach/hurd/sys/param.h: Likewise.
877 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
878 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
879 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
880 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
881 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
882 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
883 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
884 * sysdeps/unix/sysv/linux/paths.h: Likewise.
885 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
886 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
887 * sysdeps/vax/DEFS.h: Likewise.
888 * termios/sys/ttychars.h: Likewise.
889 * misc/daemon.c: Likewise. Call fork.
890
891 * grp/fgetgrent.c (buffer): Make file local variable.
892 (free_mem): New function. Call for malloc debugging.
893
894 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
895
896 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
897
898 * grp/Makefile: Add rules for tst_fgetgrent.
899
900 * grp/tst_fgetgrent.c: Rewritten to read only one file.
901
902 * grp/tst_fgetgrent.sh: New file.
903
904 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
905
906 * grp/Makefile (tests): Add tst_fgetgrent.
907 * grp/tst_fgetgrent.c: New file.
908 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
909
910 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
911
912 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
913 be POSIX compliant. Prior definition was broken for Hurd.
914 Reported by Mark Kettenis <kettenis@gnu.org>.
915
916 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
917
918 * ctype/ctype.h: Protect __tobody code by __extension__.
919
920 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
921
922 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
923 reading and reset in case the buffer was too small.
924
925 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
926 of EOF.
927
928 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
929
930 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
931 another SIOGIFNAME typo.
932
933 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
934
935 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
936
937 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
938 bit.
939
940 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
941
942 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
943 the precision if the mantissa is zero.
944
945 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
946
947 * manual/lang.texi (Floating Point Parameters): GCC already
948 supports long double for a long time.
949
950 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
951
952 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
953 yn_test): Increase some epsilons.
954
955 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
956
957 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
958 parameters.
959
960 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
961
962 * sysdeps/unix/sysv/linux/kernel-features.h: Define
963 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
964 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
965 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
966
967 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
968 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
969 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
970 * sysdeps/libm-ieee754/w_j1.c: Likewise.
971 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
972 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
973 * sysdeps/libm-ieee754/w_jn.c: Likewise.
974 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
975 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
976
977 * stdio-common/vfprintf.c: Correct typos.
978
979 * math/libm-test.c (jn_test): Adjust delta.
980 (y1_test): Likewise.
981 (yn_test): Likewise.
982
983 * elf/do-lookup.h: It should never happen that if we expect a versioned
984 symbol from a file the file has no version table. This should have
985 been checked in dl-version.c.
986 * elf/dl-lookup.c: Include assert.h.
987
988 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
989 function handling.
990
991 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
992
993 1999-06-06 Andi Kleen <ak@muc.de>
994
995 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
996 SA_RESTORER flag.
997
998 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
999
1000 * math/libm-test.c (yn_test): Change one delta.
1001 (jn_test): Likewise.
1002 (j1_test): Likewise.
1003 (y0_test): Likewise.
1004
1005 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
1006
1007 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
1008 avoid multiple calls to getpagesize() which might be a syscall.
1009
1010 1999-06-06 Philip Blundell <philb@gnu.org>
1011
1012 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
1013
1014 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1015
1016 * manual/install.texi (Running make install): Correct typo in
1017 dynamic linker invocation.
1018
1019 1999-06-05 Philip Blundell <philb@gnu.org>
1020
1021 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
1022 problems with GOT addressing.
1023
1024 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
1025
1026 * malloc/malloc.c (check_action): Change into bitmap so that both
1027 diagnostic and abort can be requested by setting it to 3.
1028 (mALLOC_SET_STATe): Disable malloc checking if necessary.
1029
1030 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
1031
1032 * configure.in: Few changes for HPUX.
1033
1034 * scripts/config.guess: Update from latest version.
1035 * scripts/config.sub: Likewise.
1036
1037 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1038
1039 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
1040 map files. Closes PR libc/1147.
1041
1042 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1043
1044 * math/libm-test.c (main): Add new test functions.
1045 (jn_test): New tests.
1046 (j1_test): Add some more tests.
1047 (j0_test): Add some more tests.
1048 (y0_test): Add some more tests.
1049 (y1_test): Add some more tests.
1050
1051 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1052
1053 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
1054 Patch by mhagger@dera.gov.uk [PR libc/1145].
1055
1056 * math/libm-test.c (y1_test): New tests.
1057 (y0_test): Likewise.
1058 (j1_test): Likewise.
1059 (j0_test): Likewise.
1060 (main): Added new tests.
1061
1062 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
1063
1064 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
1065 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
1066 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
1067 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
1068 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
1069 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
1070
1071 1999-06-02 David S. Miller <davem@redhat.com>
1072
1073 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
1074 pointers properly.
1075
1076 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
1077
1078 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
1079 and elide compatibility code if possible.
1080
1081 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
1082
1083 * manual/llio.texi: Remove menu entry for removed section.
1084
1085 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1086
1087 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
1088 variables.
1089
1090 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1091
1092 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
1093 (from Linux 2.3.4).
1094
1095 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
1096
1097 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
1098
1099 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1100
1101 * manual/stdio.texi: Fix some typos.
1102
1103 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1104
1105 * malloc/malloc.h: Properly handle future GCC versions.
1106
1107 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1108
1109 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
1110 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
1111 text of error message.
1112
1113 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
1114
1115 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
1116
1117 * manual/filesys.texi: Extend (f)truncate documentation.
1118 * manual/llio.texi: Remove duplicate (f)truncate definition.
1119
1120 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1121
1122 * manual/stdio.texi (Formatted Output Functions): Mention
1123 semantics of snprintf in glibc 2.0.
1124 Reported by Ben Pfaff <pfaffben@msu.edu>.
1125
1126 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
1127
1128 * include/features.h (__GLIBC_MINOR__): Bump to 2.
1129
1130 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
1131
1132 * math/libm-test.c: Adjust a few more deltas for the poor ARM
1133 FPU emulator.
1134
1135 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1136
1137 * configure.in: Fix typo.
1138
1139 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1140
1141 * manual/socket.texi (Host Names): Remove statement that h_errno
1142 needs to be declared since this isn't true anymore.
1143 Closes PR libc/1138.
1144
1145 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
1146
1147 * config.h.in: Add __LINUX_KERNEL_VERSION.
1148 * configure.in: Recognize --enable-kernel.
1149 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
1150 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
1151 appropriately.
1152 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
1153 given perform runtime test.
1154
1155 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
1156 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
1157 minimal supported kernel is known to have the feature.
1158 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1159 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1160 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1161 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1162 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1163 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
1164 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1165 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1166 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1167 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1168 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1169 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
1170 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
1171 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
1172 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
1173
1174 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
1175
1176 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
1177
1178 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
1179
1180 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
1181
1182 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
1183 Optimized sparc64 routines.
1184
1185 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
1186
1187 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
1188 they are the same as ints.
1189 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1190
1191 * version.h (VERSION): Bump to 2.1.90.
1192 (RELEASE): Mark as development.
1193
1194 * stdio-common/vfprintf.c (vfprintf): Don't implement special
1195 handling for long long if it is the same as long.
1196 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1197
1198 * stdlib/strtol.c: Moved to ...
1199 * sysdeps/generic/strtol.c: ...here.
1200 * stdlib/strtoul.c: Moved to ...
1201 * sysdeps/generic/strtoul.c: ...here.
1202 * stdlib/strtoll.c: Moved to ...
1203 * sysdeps/generic/strtoll.c: ...here.
1204 * stdlib/strtoull.c: Moved to ...
1205 * sysdeps/generic/strtoull.c: ...here.
1206 * stdlib/strtol_l.c: Moved to ...
1207 * sysdeps/generic/strtol_l.c: ...here.
1208 * stdlib/strtoul_l.c: Moved to ...
1209 * sysdeps/generic/strtoul_l.c: ...here.
1210 * stdlib/strtoll_l.c: Moved to ...
1211 * sysdeps/generic/strtoll_l.c: ...here.
1212 * stdlib/strtoull_l.c: Moved to ...
1213 * sysdeps/generic/strtoull_l.c: ...here.
1214
1215 * sysdeps/wordsize-64/strtol.c: New file.
1216 * sysdeps/wordsize-64/strtoul.c: New file.
1217 * sysdeps/wordsize-64/strtoll.c: New file.
1218 * sysdeps/wordsize-64/strtoull.c: New file.
1219 * sysdeps/wordsize-64/strtol_l.c: New file.
1220 * sysdeps/wordsize-64/strtoul_l.c: New file.
1221 * sysdeps/wordsize-64/strtoll_l.c: New file.
1222 * sysdeps/wordsize-64/strtoull_l.c: New file.
1223
1224 * wcsmbs/wcstol.c: Moved to ...
1225 * sysdeps/generic/wcstol.c: ...here.
1226 * wcsmbs/wcstoul.c: Moved to ...
1227 * sysdeps/generic/wcstoul.c: ...here.
1228 * wcsmbs/wcstoll.c: Moved to ...
1229 * sysdeps/generic/wcstoll.c: ...here.
1230 * wcsmbs/wcstoull.c: Moved to ...
1231 * sysdeps/generic/wcstoull.c: ...here.
1232 * wcsmbs/wcstol_l.c: Moved to ...
1233 * sysdeps/generic/wcstol_l.c: ...here.
1234 * wcsmbs/wcstoul_l.c: Moved to ...
1235 * sysdeps/generic/wcstoul_l.c: ...here.
1236 * wcsmbs/wcstoll_l.c: Moved to ...
1237 * sysdeps/generic/wcstoll_l.c: ...here.
1238 * wcsmbs/wcstoull_l.c: Moved to ...
1239 * sysdeps/generic/wcstoull_l.c: ...here.
1240
1241 * sysdeps/wordsize-64/wcstol.c: New file.
1242 * sysdeps/wordsize-64/wcstoul.c: New file.
1243 * sysdeps/wordsize-64/wcstoll.c: New file.
1244 * sysdeps/wordsize-64/wcstoull.c: New file.
1245 * sysdeps/wordsize-64/wcstol_l.c: New file.
1246 * sysdeps/wordsize-64/wcstoul_l.c: New file.
1247 * sysdeps/wordsize-64/wcstoll_l.c: New file.
1248 * sysdeps/wordsize-64/wcstoull_l.c: New file.
1249
1250 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
1251
1252 * sysdeps/sparc/bits/wordsize.h: New file.
1253 * sysdeps/sparc/fpu/bits/fenv.h: New file.
1254 * sysdeps/sparc/fpu/fpu_control.h: New file.
1255 * sysdeps/sparc/gmp-mparam.h: New file.
1256
1257 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
1258 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
1259 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
1260 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
1261 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
1262 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
1263
1264 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
1265 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
1266 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
1267 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
1268
1269 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
1270 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
1271 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
1272 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
1273 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
1274
1275 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
1276
1277 * login/openpty.c (openpty): Make sure pty does not because
1278 controlling TTY.
1279
1280 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
1281
1282 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
1283
1284 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
1285 Do proper error return.
1286
1287 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1288
1289 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
1290 of __P in the rest of glibc; define __MALLOC_PMT and use it.
1291 Reported by Stephan Kulow <coolo@kde.org>.
1292
1293 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
1294
1295 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
1296
1297 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
1298
1299 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1300
1301 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
1302 names to protect from user's macro namespace.
1303 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
1304 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
1305 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
1306 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
1307 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
1308 Adapted.
1309 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
1310 sysdeps/arm/fpu/fesetenv.c: Likewise.
1311 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
1312 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
1313 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1314 * sysdeps/mips/fesetenv.c: Likewise.
1315
1316 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
1317
1318 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
1319
1320 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
1321
1322 * configure.in: Recognize and allow gcc 2.95.
1323
1324 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
1325
1326 * sysdeps/generic/bits/elfclass.h: Version common to
1327 wordsize-32 and wordsize-64.
1328 * sysdeps/generic/bits/environments.h: Ditto.
1329 * sysdeps/generic/stdint.h: Ditto.
1330 * sysdeps/generic/inttypes.h: Ditto.
1331
1332 * sysdeps/generic/bits/wordsize.h: New file.
1333 * stdlib/Makefile: Add bits/wordsize.h to headers.
1334
1335 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
1336
1337 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
1338 headers to be used for 32bit and 64bit ABI compilations.
1339 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
1340 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
1341 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
1342 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
1343 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
1344
1345 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
1346 * sysdeps/wordsize-64/bits/environments.h: Remove.
1347 * sysdeps/wordsize-64/stdint.h: Remove.
1348 * sysdeps/wordsize-64/inttypes.h: Remove.
1349 * sysdeps/wordsize-64/bits/wordsize.h: New file.
1350
1351 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
1352 * sysdeps/wordsize-32/bits/environments.h: Remove.
1353 * sysdeps/wordsize-32/stdint.h: Remove.
1354 * sysdeps/wordsize-32/inttypes.h: Remove.
1355 * sysdeps/wordsize-32/bits/wordsize.h: New file.
1356
1357 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
1358
1359 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
1360 __align_cpy_16): New functions.
1361 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
1362
1363 * sysdeps/sparc/sparc32/Versions: New file.
1364 * sysdeps/sparc/sparc64/Versions: New file.
1365 * sysdeps/sparc/Versions: Remove.
1366
1367 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
1368
1369 * sysdeps/unix/sysv/linux/configure.in:
1370 On sparc64-*-linux*, set slibdir to /lib64 if prefix
1371 is /usr, plus set libdir to ${exec_prefix}/lib64.
1372 * sysdeps/unix/sysv/linux/configure: Regenerated.
1373 * config.make.in: Propagate libdir settings from configure
1374 to the Makefiles.
1375 * shlib-versions: sparc64-*-linux* dynamic linker is
1376 /lib64/ld-linux.so.2.
1377
1378 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
1379
1380 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
1381 RPC connection.
1382
1383 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
1384
1385 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
1386 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
1387
1388 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
1389 contains garbage in bits 8-63.
1390 * sysdeps/sparc/sparc64/memset.S: Ditto.
1391 * sysdeps/sparc/sparc64/strchr.S: Ditto.
1392
1393 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
1394
1395 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
1396
1397 1999-05-17 David S. Miller <davem@redhat.com>
1398
1399 * sysdeps/sparc/sparc32/atomicity.h: New file.
1400 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
1401 * sysdeps/sparc/sparc64/atomicity.h: New file.
1402 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
1403 sysdep-CFLAGS.
1404
1405 1999-05-18 Richard Henderson <rth@twiddle.net>
1406
1407 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
1408
1409 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
1410
1411 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
1412 posix/sys/types.h: Handle the case of __GNUC__=3,
1413 __GNUC_MINOR__=(anything).
1414
1415 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1416
1417 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
1418 if _FORCE_INLINES.
1419
1420 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
1421
1422 * elf/Makefile (distribute): Remove dl-origin.h.
1423 Add dl-dst.h and gen-trusted-dirs.awk.
1424
1425 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1426
1427 * sysdeps/i386/i486/Versions: New file with inline functions from
1428 sysdeps/i386/i486/bits/string.h for now.
1429
1430 * sysdeps/i386/Versions: Add inline functions from
1431 sysdeps/i386/bits/string.h.
1432
1433 * string/Versions: Add inline functions from <bits/string2.h>.
1434
1435 * string/Makefile (routines): Add string-inlines.
1436 * string/string-inlines.c: New file, used for implementation of
1437 extern inline functions.
1438
1439 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
1440 non inlined versions of functions.
1441 * string/bits/string2.h: Likewise.
1442 * sysdeps/i386/bits/string.h: Likewise.
1443
1444 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
1445
1446 * inet/arpa/tftp.h: Add second packed attribute.
1447
1448 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
1449
1450 * malloc/malloc.c: Cleanup to bring in line with released
1451 stand-alone version `ptmalloc'. Update some comments.
1452 (internal_function): Move fallback definition so that the source
1453 compiles outside of libc, and use it in more places.
1454 (malloc_atfork): Fix when malloc_check is in use.
1455
1456 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1457
1458 * stdlib/tst-strtod.c: Fix typo.
1459
1460 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1461
1462 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
1463 const incorrectness.
1464
1465 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
1466
1467 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
1468
1469 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
1470
1471 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
1472 * sunrpc/key_call.c: Fix memory leak, close file handle.
1473 * nis/nis_creategroup.c: Use malloc instead of calloc,
1474 set ctime and mtime.
1475 * nis/nis_subr.c: Check for realloc result.
1476 * nis/nis_file.c: Fix memory leak.
1477 * nis/nis_table.c: Pretty print.
1478 * nis/nis_getservlist.c: Likewise.
1479 * nis/nis_ismember.c: Likewise.
1480 * nis/nis_lookup.c: Likewise.
1481 * nis/nis_ping.c: Likewise.
1482 * nis/nis_removemember.c: Likewise.
1483 * nis/nis_util.c: Likewise, check calloc result.
1484
1485 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
1486
1487 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
1488 * sysdeps/generic/sys/socketvar.h: ... here.
1489 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
1490 * sysdeps/generic/netinet/in_systm.h: ... here.
1491 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
1492 sys/socketvar.h.
1493 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
1494 * inet/Makefile (headers): Add netinet/in_systm.h here.
1495 * socket/Makefile (headers): Add sys/socketvar.h here.
1496
1497 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
1498
1499 * stdlib/strtol.c: Optimize inner loop of long long versions.
1500
1501 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
1502 Unix98. Add forward declaration of struct utmp.
1503
1504 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
1505
1506 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
1507 calloc.
1508
1509 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
1510 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
1511 memory allocation results.
1512
1513 1999-05-14 Mark Kettenis <kettenis@gnu.org>
1514
1515 * sysdeps/generic/getutmp.c: Include <string.h>
1516 (getutmp): Rewrite to only copy those members that are really
1517 present in `struct utmp'.
1518 * sysdeps/generic/getutmpx.c: Likewise.
1519
1520 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
1521
1522 * nss/getXXbyYY.c: Add free_mem function which disposes all
1523 statically allocated memory when debugging.
1524 * nss/getXXent.c: Likewise.
1525 * nss/nsswitch.c: Likewise.
1526
1527 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
1528
1529 * sysdeps/gnu/getutmpx.c: New file.
1530 * sysdeps/gnu/getutmp.c: New file.
1531
1532 1999-05-13 H.J. Lu <hjl@gnu.org>
1533
1534 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
1535 (getutmp): Likewise.
1536
1537 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
1538 getutmpx for login.
1539
1540 * sysdeps/gnu/utmpx.h (getutmp): Added.
1541 (getutmpx): Likewise.
1542
1543 * sysdeps/generic/getutmp.c: New file.
1544
1545 * sysdeps/generic/getutmpx.c: New file.
1546
1547 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1548
1549 * glibcbug.in (BUGGLIBC): Change address to
1550 libc-alpha@sourceware.cygnus.com.
1551
1552 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1553
1554 * resolv/arpa/nameser.h: Add C++ protectors.
1555
1556 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1557
1558 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
1559 Elad Tsur <eladts@post.tau.ac.il>.
1560
1561 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
1562
1563 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
1564 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
1565 lazily if LD_BIND_NOW is not set.
1566 * elf/dl-support.c (_dl_lazy): New variable.
1567 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
1568 * elf/rtld.c (_dl_lazy): new global variable.
1569 ( dl_main): Remove lazy, replace it by _dl_lazy.
1570
1571 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1572
1573 * locale/setlocale.c (new_composite_name): Check also whether the
1574 first category name differs.
1575
1576 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1577
1578 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
1579 the generic one.
1580
1581 1999-05-11 Philip Blundell <pb@nexus.co.uk>
1582
1583 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
1584 structure; storage suitable for any socket address.
1585 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
1586 Likewise.
1587 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
1588 sockaddr_storage): Likewise.
1589
1590 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
1591 platform.
1592
1593 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
1594
1595 * hesiod/Versions: Change _nss_hesiod_getpwuid and
1596 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
1597 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
1598
1599 1999-05-09 Mark Kettenis <kettenis@gnu.org>
1600
1601 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
1602 if the file is empty.
1603
1604 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
1605
1606 * elf/do-lookup.h: Fix typo in comment.
1607
1608 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
1609 f_bsize to help some broken programs.
1610
1611 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
1612
1613 * stdio-common/vfprintf.c: Fix typo.
1614
1615 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
1616
1617 * elf/link.h (struct link_map): New field l_phdr_allocated.
1618 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
1619 the program header being part of any loaded segment. If it is not
1620 allocate memory and set l_phdr_allocated flag.
1621 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
1622
1623 * nss/digits_dots.c: Correct return value interpretation of
1624 inet_ntoa. Fix PR libc/1109.
1625
1626 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
1627
1628 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
1629
1630 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
1631
1632 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
1633 * stdlib/fpioconst.c: Move #endif before end of struct.
1634
1635 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
1636
1637 * Versions.def (ld.so): Add GLIBC_2.1.1.
1638 * elf/Makefile (routines): Add dl-origin.
1639 (tests): Add origtest. Add dependencies for the program.
1640 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
1641 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
1642 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
1643 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
1644 DT_AUXILIARY, and DT_FILTER filenames.
1645 * elf/dl-load.c (expand_dynamic_string_token): Explode into
1646 two functions and three macros.
1647 (_dl_dst_count, _dl_dst_substitute): New functions.
1648 * elf/dl-dst.h: New file.
1649 * elf/dl-open.c (_dl_open): Take extra parameter with address of
1650 caller. Pass address in args structure.
1651 (dl_open_worker): Recognize and expand DSTs in filename.
1652 * elf/ldsodefs.h (_dl_open): Adapt prototype.
1653 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
1654 (__dlopen_check): Pass caller address to dlopen_doit in args.
1655 * elf/dlopendoit.c: Likewise.
1656 * iconv/gconv_dl.c: Adapt call of _dl_open.
1657 * nss/nsswitch.c: Likewise.
1658 * elf/origtest.c: New file.
1659 * sysdeps/generic/dl-origin.h: Moved to...
1660 * sysdeps/generic/dl-origin.c: ...here.
1661 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
1662 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
1663
1664 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
1665 with specific bases and only few bits set in second word.
1666
1667 * timezone/Makefile (install-others): Create target directory
1668 before creating tzfiles.
1669
1670 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
1671
1672 * nis/nis_file.c (readColdStartFile): Allocate memory only after
1673 the file is opened successfully.
1674
1675 * nis/nis_table.c: Fix some memory leaks.
1676
1677 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
1678
1679 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
1680 variable.
1681
1682 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
1683 around DST. Correctly ignore ORIGIN IN SUID binaries.
1684
1685 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
1686
1687 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
1688 * sysdeps/generic/strtok.c: Likewise.
1689
1690 * string/tester.c: Add test of rawmemchr.
1691
1692 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
1693 specification. It's not necessary.
1694
1695 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
1696 * elf/gen-trusted-dirs.awk: New file.
1697 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
1698 from SYSTEM_DIRS macro.
1699 (system_dirs_len): New variable. Contains lengths of system_dirs
1700 strings.
1701 (fillin_rpath): Rewrite for systems_dirs being a simple string.
1702 Improve string comparisons. Change parameter trusted to be a flag.
1703 Change all callers.
1704 (_dt_init_paths): Improve using new format for system_dirs.
1705
1706 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
1707 $ORIGIN for SUID binaries.
1708
1709 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
1710
1711 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1712
1713 * sunrpc/Makefile: Generate dependencies for all flavors of
1714 librpcsvc objects.
1715 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
1716 invocations.
1717
1718 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1719
1720 * elf/dlopenold.c: Move #if down after includes to get
1721 dependencies right.
1722
1723 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1724
1725 * sysdeps/generic/bzero.c: Undefine __bzero.
1726
1727 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
1728
1729 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
1730 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
1731 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
1732 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
1733
1734 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
1735 parameter to struct gaih_servtuple *. Adapt appropriately.
1736 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
1737 This fixes a memory leak.
1738 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
1739
1740 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
1741 and fpregset_t definition. They are defined in ucontext.h.
1742
1743 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1744
1745 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
1746 and struct ether_header must be packed on the ARM. The default
1747 alignment constraints add padding to the end of the structures.
1748
1749 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1750
1751 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
1752 default alignment constraints add padding to the end of the
1753 structure and between members.
1754
1755 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
1756
1757 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
1758 _dl_cache_libcmp instead of strcmp.
1759
1760 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
1761 fails on a file.
1762 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
1763
1764 1998-03-30 Joel Klecker <espy@debian.org>
1765
1766 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
1767 (sysdep-others,install-bin): Add lddlibc4.
1768
1769 1999-05-02 H.J. Lu <hjl@gnu.org>
1770
1771 * timezone/zic.c (dolink): Remove the symlink destination first.
1772
1773 * catgets/open_catalog.c (__open_catalog): Set catalog->status
1774 to "nonexisting" if failed to open the file.
1775
1776 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
1777
1778 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
1779 gcc3.
1780
1781 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
1782 Prevent warnings from multiplication with 0x01010101 by another cast.
1783
1784 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1785
1786 * string/bits/string2.h (memset): Revert to previous version if
1787 unaligned writes are not available.
1788
1789 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
1790
1791 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
1792 better code in presence of the asm.
1793
1794 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1795
1796 * stdlib/fmtmsg.c (keywords): Increase array size for faster
1797 indexing.
1798
1799 * locale/localeinfo.h (_nl_category_names): Increase array element
1800 size for faster indexing.
1801 * locale/setlocale.c (_nl_category_names): Adjusted.
1802
1803 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1804
1805 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
1806
1807 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1808
1809 * sysdeps/m68k/stackinfo.h: New file.
1810
1811 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
1812
1813 * string/tester.c (test_strchrnul): New function.
1814 (test_memset): Test one more special case.
1815
1816 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
1817 25% of all cases.
1818
1819 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
1820 base types.
1821
1822 * string/bits/string2.h: Fix bugs I introduced in last change.
1823
1824 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
1825 register stall.
1826 Extend memset optimization.
1827 Correct i686 version of memchr.
1828
1829 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
1830
1831 * sysdeps/i386/bzero.c: Add #undef __bzero.
1832
1833 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
1834 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
1835 exec server simulated a SIGTRAP before we even started up, so gdb is
1836 already happy.
1837
1838 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
1839
1840 * nss/digits_dots.c: Always initialize not_ok.
1841
1842 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
1843
1844 * string/bits/string2.h (memset): Avoid arithmetic overflow at
1845 compile time, which produces obnoxious warnings. If GCCv2 is
1846 in use, map __bzero to __builtin_memset to enable that
1847 optimization.
1848
1849 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
1850
1851 * string/bits/string2.h: Add more memset optimizations.
1852
1853 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
1854
1855 * resolv/inet_pton.c (inet_pton4): Little optimizations.
1856 (inet_pton6): Likewise.
1857
1858 * nss/getXXbyYY_r.c: Include assert.h.
1859 * nss/getXXbyYY.c: Likewise.
1860
1861 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1862
1863 * termios/tcgetsid.c (tcgetsid): Rename variable to
1864 tiocgsid_does_not_work.
1865
1866 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
1867
1868 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
1869
1870 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1871
1872 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
1873 This allows e.g. gethostbyname to accept "10.1234".
1874 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
1875
1876 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
1877 non quad IPv4 numbers.
1878
1879 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1880
1881 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
1882
1883 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1884
1885 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
1886 * argp/argp-parse.c (_argp_hang): Likewise.
1887 * argp/argp-pv.c (argp_program_version): Likewise.
1888 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
1889 * inet/ether_hton.c (ether_hton, startp): Likewise.
1890 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
1891 * inet/getnetgrent_r.c (setup, startp): Likewise.
1892 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
1893 * intl/localealias.c (string_space, string_space_act, string_space_max,
1894 nmap, maxmap): Likewise.
1895 * libio/iopopen.c (proc_file_chain): Likewise.
1896 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
1897 * locale/lc-collate.c (__collate_table, __collate_extra,
1898 __collate_element_hash, __collate_element_strings,
1899 __collate_element_values): Likewise.
1900 * malloc/mcheck.c (mcheck_used): Likewise.
1901 * malloc/mtrace.c (added_atexit_handler): Likewise.
1902 * malloc/set-freeres.c (already_called): Likewise.
1903 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
1904 * misc/syslog.c (LogStat, LogTag): Likewise.
1905 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
1906 * nss/getXXbyYY_r.c (startp): Likewise.
1907 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
1908 * posix/regex.c (init_syntax_once) [done]: Likewise.
1909 (debug): Likewise.
1910 * string/strfry.c (init): Likewise.
1911 * sunrpc/svc_run.c (svc_top): Likewise.
1912 * posix/euidaccess.c (have_ids): Likewise.
1913 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
1914 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
1915 * time/getdate.c (getdate_err): Likewise.
1916 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
1917 Likewise.
1918 * time/tzset.c (old_tz, is_initialized): Likewise.
1919
1920 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
1921 of static data with zero.
1922 * signal/allocrtsig.c (init): Likewise.
1923
1924 * string/Makefile (routines): Add strchrnul.
1925 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
1926 * string/string.c: Add strchrnul prototype.
1927 * include/string.h: Add __strchrnul prototype.
1928 * sysdeps/generic/strchrnul.c: New file.
1929 * sysdeps/i386/strchrnul.S: New file.
1930 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
1931 * sysdeps/i386/i486/bits/string.c: Likewise.
1932 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
1933 * inet/ether_line.c (ether_line): Likewise.
1934 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
1935 * nss/nsswitch.c (nss_parse_file): Likewise.
1936 * posix/execvp.c (execvp): Likewise.
1937 * posix/fnmatch.c (internal_fnmatch): Likewise.
1938 * resolv/res_hconf.c (_res_hconv_init): Likewise.
1939 * resolv/res_init.c (res_init): Likewise.
1940 * stdlib/fmtmsg.c (init): Likewise.
1941 * stdlib/getsubopt.c (getsubopt): Likewise.
1942
1943 * catgets/catgets.c (catopen): Only allocate one memory block.
1944 (catclose): Only one free call necessary.
1945
1946 * catgets/open_catalog.c (__open_catalog): Simplify handling of
1947 file descriptor.
1948
1949 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
1950 of real functions. Simplify _tolower and _toupper.
1951
1952 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
1953 variable.
1954
1955 * iconv/gconv.h (struct gconv_info): Change data element from pointer
1956 to array of size 0.
1957 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
1958 * iconv/gconv_close.c (__gconv_close): Don't free data.
1959
1960 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
1961 insert new alias.
1962
1963 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
1964 for error while inserting in tree.
1965
1966 * include/time.h: Pretty print.
1967
1968 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
1969 in table and lots of relocations.
1970 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
1971 string pointers in table and lots of relocations.
1972
1973 * intl/finddomain.c: Remove definition of strchr macro.
1974
1975 * io/ftw.c (nftw_arr, ftw_arr): Make const.
1976
1977 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
1978
1979 * locale/localeinfo.h (_nl_category_names): Change into an array with
1980 fixed width char string elements.
1981 * locale/setlocale.c (_nl_category_names): Likewise.
1982 (_nl_current): Make global.
1983 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
1984
1985 * malloc/Makefile (distribute): Add stackinfo.h.
1986 * sysdeps/generic/stackinfo.h: New file.
1987 * sysdeps/i386/stackinfo.h: New file.
1988 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
1989 * posix/execle.c: Likewise.
1990 * posix/execlp.c: Likewise.
1991
1992 * nis/nis_table.c (__create_ib_request): Always use realloc.
1993
1994 * posix/execvp.c (execute): Rename to script_execute and keep only
1995 code to execute using shell.
1996 (execvp): Call execv directly and only fall back on script_execute.
1997
1998 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
1999 and always use xdigits instead.
2000
2001 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
2002 where appropriate.
2003
2004 * stdlib/fpioconst.h (__tens): New declaration.
2005 (struct mp_power): Remove array, add arrayoff element.
2006 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
2007 __tens array and add in _fpioconst_pow10 offsets into __tens.
2008 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
2009 * stdlib/strtod.c: Likewise.
2010
2011 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
2012
2013 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
2014 of the list.
2015 * stdlib/atexit.c (__exit_funcs): Don't initialize.
2016
2017 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
2018
2019 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
2020 a single and an array with offsets.
2021
2022 * sunrpc/des_soft.c (partab): Make it const.
2023
2024 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
2025 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
2026 (__key_decryptsession_pk_LOCAL): Likewise.
2027 (__key_gendes_LOCAL): Likewise.
2028 (MESSENGER): Mark const.
2029 (key_call_private_main): Don't initialize with 0.
2030 (use_keyenvoy): Don't initialize with 0.
2031 (key_call): Rewrite to reverse logic of use_doors variable.
2032
2033 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
2034 (startp): Don't initialize with zero.
2035
2036 * sunrpc/openchild.c (_openchild): Make first argument const.
2037
2038 * sunrpc/pmap_rmt.c (timeout): Mark const.
2039 * sunrpc/xcrypt.c (hex): Likewise.
2040
2041 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
2042 initialization of global variables.
2043 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
2044 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2045 * termios/tcgetsid.c: Likewise.
2046
2047 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
2048 fxsr to osfxsr.
2049
2050 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
2051 block. Add function to free memory if wanted.
2052 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
2053
2054 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
2055
2056 * wcsmbs/wmemset.c: Little code optimization.
2057
2058 1999-04-23 Paul Eggert <eggert@twinsun.com>
2059
2060 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
2061 ifdef _LIBC.
2062
2063 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
2064
2065 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
2066 implementation and just always fail with ENOSYS. This entry point is
2067 obsolete. Add link warning to that effect.
2068
2069 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
2070
2071 * hurd/get-host.c: Include <hurd/lookup.h>.
2072
2073 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2074
2075 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
2076 is != NULL.
2077
2078 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2079
2080 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
2081 ISO C9x and Unix98.
2082
2083 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2084
2085 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
2086 Patch by Peter Miller <millerp@canb.auug.org.au>.
2087
2088 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
2089
2090 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
2091 prefers loopback device.
2092
2093 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2094
2095 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
2096 no_leading_period change.
2097
2098 * posix/testfnm.c: More test cases.
2099
2100 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
2101
2102 * include/dirent.h: Remove __getdirentries declaration, add __getdents
2103 and __getdents64.
2104 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
2105 * sysdeps/unix/readdir_r.c: Likewise.
2106 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2107 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2108 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
2109 __getdirentries. Remove fourth argument.
2110 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
2111 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
2112 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
2113 Add getdirentries and getdirentries64.
2114 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
2115
2116 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
2117 pointer in case of an invalid [[: expression.
2118
2119 * posix/testfnm.c: Add more test cases.
2120
2121 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
2122
2123 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
2124 set, pass EXEC_SIGTRAP flag in exec RPC.
2125
2126 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
2127
2128 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
2129 extra parameter. Fix several more bugs involving wildcard and
2130 ranges.
2131 (fnmatch): New function. Call internal_fnmatch.
2132
2133 * posix/testfnm.c: More test cases.
2134
2135 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2136
2137 * manual/install.texi (Configuring and compiling): Explain that
2138 files are changed in the source directory.
2139 Closes PR libc/981.
2140 (Configuring and compiling): Explain situation with PARALLELMFLAGS
2141 in the source directory.
2142
2143 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2144
2145 * locale/programs/ld-ctype.c: Spelling fixes.
2146 (ctype_finish): Fix argument of error message format.
2147 * locale/programs/ld-messages.c: Spelling fixes.
2148 * locale/programs/ld-monetary.c: Spelling fixes.
2149 * locale/programs/ld-time.c (time_finish): Make sure that name and
2150 format of era_entries are adjacent.
2151 (time_output): Reduce the size of the io vector.
2152
2153 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2154
2155 * manual/filesys.texi (Attribute Meanings): Move a misplaced
2156 paragraph.
2157
2158 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2159
2160 * locale/programs/ld-collate.c (collate_output): Convert
2161 undefined_offset to an array index. Fix computation of other
2162 endian extra table.
2163
2164 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
2165
2166 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
2167 return success with empty value.
2168
2169 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
2170
2171 * posix/fnmatch.c: Include string.h also for glibc.
2172 (fnmatch, case '?'): Optimize if cascades a bit.
2173 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
2174
2175 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
2176
2177 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
2178
2179 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
2180 * iconv/gconv_int.h: Declare UTF16 functions.
2181 * iconv/gconv_simple.c: Add UTF16 conversion functions.
2182
2183 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2184
2185 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
2186 be used correctly as parameter for parse_dollars/parse_tilde.
2187
2188 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2189
2190 * manual/conf.texi (Utility Limits): Remove duplicate description
2191 of BC_DIM_MAX.
2192
2193 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
2194
2195 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
2196 outbufend for dst==NULL.
2197
2198 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
2199
2200 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
2201 for dst==NULL.
2202 Fixes PR libc/1084.
2203
2204 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
2205 Fixes PR libc/1083.
2206
2207 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
2208
2209 * sunrpc/Makefile: Remove special handling of bootparam.x,
2210 add rpcsvc/bootparam.h to headers.
2211 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
2212 * sunrpc/rpcsvc/bootparam.x: Renamed to...
2213 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
2214
2215 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
2216
2217 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
2218 detect and handle invalid descriptors.
2219
2220 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
2221
2222 * timezone/zic.c (dolink): Append complete path not only filename
2223 to ../ list.
2224
2225 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2226
2227 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
2228
2229 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
2230
2231 * iconvdata/gconv-modules: Rename CP874 to IBM874.
2232 * iconvdata/Makefile: Likewise.
2233 * iconvdata/cp874.h: Removed.
2234 * iconvdata/cp874.c: Renamed to...
2235 * iconvdata/ibm874.c: ...this.
2236
2237 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
2238
2239 * sysdeps/unix/sysv/linux/bits/types.h: Correct
2240 signed/unsigned-ness of blkcnt and fsblkcnt.
2241 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2242 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2243
2244 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
2245 SOL_AAL, and SOL_IRDA.
2246
2247 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2248
2249 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
2250 include "linux_fsinfo.h".
2251 Based on a patch by H.J. Lu <hjl@gnu.org>.
2252
2253 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
2254
2255 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
2256
2257 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
2258
2259 * nscd/cache.c (prune_cache): Only disable file checking for
2260 future if the file does not exist.
2261 Update file_mtime if cache was flushed.
2262
2263 1999-04-15 David S. Miller <davem@redhat.com>
2264
2265 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
2266 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
2267
2268 1999-04-15 Scott Bambrough <scottb@netwinder.org>
2269
2270 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
2271 compilation of file.
2272
2273 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
2274
2275 * Versions.def: Add GLIBC_2.1.1 to libpthread.
2276
2277 * iconvdata/Makefile (modules): Add KOI8-U.
2278 (distribute): Add koi8-u.c.
2279 (gen-8bit-gap-modules): Add koi8-u.
2280 * iconvdata/gconv-modules: Add KOI8-U entries.
2281 * iconvdata/koi8-u.c: New file.
2282
2283 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
2284
2285 * sunrpc/auth_des.c: 64bit fixes, security fixes.
2286 * sunrpc/auth_none.c: Pretty print.
2287 * sunrpc/auth_unix.c: Likewise.
2288 * sunrpc/authdes_prot.c: Likewise.
2289 * sunrpc/authuxprot.c: Likewise.
2290 * sunrpc/bindrsvprt.c: Likewise.
2291 * sunrpc/clnt_gen.c: Likewise.
2292 * sunrpc/rpc/xdr.h: Likewise.
2293 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
2294 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
2295 * sunrpc/rtime.c: Use new rpc_timeval.
2296 * sunrpc/svc_authux.c: Don't use *long pointers.
2297 * sunrpc/svcauth_des.c: Likewise + security fixes.
2298 * sunrpc/xdr_mem.c: Don't use *long pointers.
2299 * sunrpc/xdr_rec.c: Likewise.
2300 * sunrpc/xdr_sizeof.c: Likewise.
2301 * sunrpc/xdr_stdio.c: Likewise.
2302
2303 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
2304
2305 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
2306 so that it is redone for each sending.
2307
2308 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2309
2310 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
2311
2312 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
2313
2314 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
2315 known to not exist don't try to load shared objects.
2316 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
2317
2318 * nscd/cache.c (prune_cache): The table might not be unused. In
2319 this case do nothing.
2320
2321 * catgets/gencat.c (read_input_file): Don't drop white spaces
2322 between number/identifier and string.
2323 Patch by Dima Barsky <dima@pwd.hp.com>.
2324 If no white space at all follows number/identifier remove existing
2325 message with the number/identifier.
2326
2327 1999-04-14 H.J. Lu <hjl@gnu.org>
2328
2329 * sunrpc/clnt_udp.c (is_network_up): New function.
2330 (clntudp_call): Call is_network_up () to check if any network
2331 interface is up in case of timeout.
2332
2333 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2334
2335 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
2336 * wctype/Makefile (tests): Add test_wcfuncs.
2337
2338 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
2339
2340 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
2341 architectures.
2342 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
2343 instead of CFLAGS.
2344 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
2345 instead of CFLAGS. For gnulib and string directories use
2346 -Wa,-Av9a gcc ASFLAGS.
2347 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
2348 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
2349 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
2350 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
2351 the same way as sparc-*.
2352
2353 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
2354
2355 * locale/programs/locfile.c (locfile_read): Fix typo.
2356 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
2357
2358 1999-04-14 Scott Bambrough <scottb@netwinder.org>
2359
2360 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
2361 restarted after being interrupted by a signal. The parameters on
2362 the stack were corrupted by the signal handler.
2363
2364 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
2365 restarted after being interrupted by a signal. The parameters on
2366 the stack were corrupted by the signal handler.
2367
2368 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2369
2370 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
2371 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
2372
2373 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
2374
2375 * posix/wordexp-test.c: In field-splitting test cases where
2376 subshells were involved, unset IFS first: some shells (ash) use
2377 IFS even when no expansion is performed.
2378
2379 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2380
2381 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
2382 the real end of the chunk, not some random point inbetween.
2383 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
2384 obstack when growing. Use fast version of obstack_blank when
2385 shrinking.
2386 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
2387 allocating the vtable pointer.
2388 (_IO_obstack_vprintf): Adjust for above change and avoid
2389 unnecessary casts. Use fast version of obstack_blank when
2390 shrinking.
2391 Fixes PR libc/1075.
2392
2393 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
2394
2395 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
2396 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
2397
2398 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
2399
2400 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
2401 is seen, as well as fixing semantics. Don't reset the word count
2402 to zero when an invalid character is seen, but leave it as it was
2403 (this makes a difference with WRDE_APPEND).
2404
2405 * posix/wordexp-test.c: More test cases.
2406
2407 * posix/wordexp.c (parse_param): In words like ${var#pattern},
2408 always expand pattern when it is needed. Also, handle quoting in
2409 pattern properly.
2410
2411 1999-04-12 Philip Blundell <philb@gnu.org>
2412
2413 * elf/elf.h: Update ARM definitions to match current gas2.
2414
2415 * sysdeps/arm/bits/endian.h: Support big endian operation.
2416
2417 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
2418 Don't bother range checking the port number.
2419
2420 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
2421
2422 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
2423 the syscall name in assembler output for ease of debugging.
2424
2425 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
2426 compiler behaviour.
2427 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
2428 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
2429 (sysdep_routines): Add sigrestorer.
2430
2431 * string/tester.c (test_strcpy): Add new tests for unaligned
2432 arguments.
2433 * sysdeps/arm/bits/string.h: Delete inline implementations of
2434 strcpy and stpcpy.
2435
2436 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
2437
2438 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
2439
2440 1999-04-10 Mark Kettenis <kettenis@gnu.org>
2441
2442 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
2443
2444 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
2445
2446 * iconvdata/Makefile (modules): Add TIS-620.
2447 (distribute): Add tis-620.c.
2448 (gen-8bit-gap-modules): tis-620.
2449 * iconvdata/tis-620.c: New file.
2450 * iconvdata/gconv-modules: Add TIS-620 entries.
2451
2452 * iconvdata/asmo_449.c: Correct comment.
2453
2454 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2455
2456 * manual/install.texi (Configuring and compiling): Comment out
2457 description of --disable-static since this doesn't work currently
2458 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
2459
2460 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
2461
2462 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
2463 use binary search.
2464 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
2465
2466 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2467
2468 * scripts/test-installation.pl (installation_problem): Skip
2469 libnss1_* libraries from glibc-compat add-on.
2470
2471 1999-04-07 H.J. Lu <hjl@gnu.org>
2472
2473 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
2474 libstdc++ 2.7.2.
2475 * posix/Versions (__waitpid): Likewise.
2476
2477 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2478
2479 * manual/install.texi (Reporting Bugs): Add section about reported
2480 bugs and correct email address of glibcbug script.
2481
2482 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
2483
2484 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
2485 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
2486 xdr_u_longlong_t. Based on patch from Dan Shechter
2487 <damageboy@isdn.net.il>.
2488 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
2489 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
2490
2491 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
2492
2493 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2494
2495 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
2496 directly if getdents returns with error set.
2497
2498 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2499
2500 * locale/langinfo.h (THOUSEP): Rename second occurence of
2501 THOUSANDS_SEP to THOUSEP.
2502 Reported by Roman Belenov <roman@nstl.nnov.ru>.
2503
2504 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
2505
2506 * hurd/STATUS: File removed. Moved items that are still relevant into
2507 TODO list in hurd source.
2508
2509 1999-03-26 Mark Kettenis <kettenis@gnu.org>
2510
2511 * sysdeps/mach/hurd/bits/time.h: New file.
2512 * sysdeps/mach/hurd/getrusage.c: New file.
2513 * sysdeps/mach/hurd/clk_tck.c: New file.
2514 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
2515 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
2516 (sysdep_routines): Add clk_tck.
2517 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
2518 implemented.
2519
2520 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
2521
2522 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
2523 (closelog): But instead here.
2524 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
2525
2526 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2527
2528 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
2529 the source directory. Fixes PR libc/1059.
2530
2531 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2532
2533 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
2534 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2535
2536 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
2537
2538 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
2539 * iconvdata/testdata/ISO-8859-14: New file.
2540 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
2541 * iconvdata/testdata/ISO-8859-15: New file.
2542 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
2543
2544 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
2545
2546 * iconvdata/testdata/CP1258: New file.
2547 * iconvdata/testdata/CP1258..UTF8: New file.
2548 * iconvdata/TESTS: Add CP1258 entry.
2549
2550 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
2551
2552 * timezone/africa: Update from tzdata1999d.
2553 * timezone/europe: Likewise.
2554 * timezone/northamerica: Likewise.
2555
2556 1999-03-31 Mark Kettenis <kettenis@gnu.org>
2557
2558 * login/programs/pt_chown.c (main): Save effective user ID before
2559 dropping priviliges and use this to check if the program is
2560 properly installed.
2561
2562 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
2563
2564 * iconvdata/testdata/CP1254: Update for charmap changes.
2565 * iconvdata/testdata/CP1254..UTF8: Likewise.
2566 * iconvdata/testdata/CP1255: Likewise.
2567 * iconvdata/testdata/CP1255..UTF8: Likewise.
2568 * iconvdata/testdata/CP1256: Likewise.
2569 * iconvdata/testdata/CP1256..UTF8: Likewise.
2570 * iconvdata/testdata/CP1257: Likewise.
2571 * iconvdata/testdata/CP1257..UTF8: Likewise.
2572
2573 * iconvdata/Makefile (distribute): Remove cp1258.h.
2574 (gen-8bit-gap-modules): Add cp1258.
2575 * iconvdata/cp1258.h: Removed.
2576
2577 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
2578
2579 * timezone/tst-timezone.c (tests): Add more cases.
2580 (check_tzvars): Mark errors clearer.
2581 (main): Likewise.
2582
2583 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
2584
2585 * login/programs/pt_chown.c: Drop privileges if invoked with
2586 arguments. Don't close the master pty.
2587
2588 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
2589
2590 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
2591 Minor optimization.
2592
2593 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
2594
2595 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
2596 relocation for SUID binaries.
2597
2598 1999-03-29 Paul Eggert <eggert@twinsun.com>
2599
2600 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
2601 while in child process.
2602
2603 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
2604
2605 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
2606 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
2607 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
2608 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
2609 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
2610
2611 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
2612 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
2613 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
2614 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
2615 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
2616 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
2617 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
2618 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
2619 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
2620 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
2621 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
2622 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
2623 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
2624 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
2625 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
2626 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
2627 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
2628 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
2629 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
2630 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
2631 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
2632 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
2633 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
2634 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
2635 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
2636 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
2637
2638 * sysdeps/sparc/sparc32/bcopy.c: New file.
2639 * sysdeps/sparc/sparc32/bzero.c: New file.
2640 * sysdeps/sparc/sparc32/memchr.S: New file.
2641 * sysdeps/sparc/sparc32/memcpy.S: New file.
2642 * sysdeps/sparc/sparc32/memmove.c: New file.
2643 * sysdeps/sparc/sparc32/memset.S: New file.
2644 * sysdeps/sparc/sparc32/stpcpy.S: New file.
2645 * sysdeps/sparc/sparc32/strchr.S: New file.
2646 * sysdeps/sparc/sparc32/strrchr.c: New file.
2647 * sysdeps/sparc/sparc32/strcpy.S: New file.
2648 * sysdeps/sparc/sparc32/strlen.S: New file.
2649 * sysdeps/sparc/sparc32/strcat.S: New file.
2650 * sysdeps/sparc/sparc32/strcmp.S: New file.
2651
2652 * sysdeps/sparc/sparc64/bcopy.c: New file.
2653 * sysdeps/sparc/sparc64/bzero.c: New file.
2654 * sysdeps/sparc/sparc64/memchr.S: New file.
2655 * sysdeps/sparc/sparc64/memcmp.S: New file.
2656 * sysdeps/sparc/sparc64/memcpy.S: New file.
2657 * sysdeps/sparc/sparc64/memset.S: New file.
2658 * sysdeps/sparc/sparc64/stpcpy.S: New file.
2659 * sysdeps/sparc/sparc64/strcat.S: New file.
2660 * sysdeps/sparc/sparc64/strchr.S: New file.
2661 * sysdeps/sparc/sparc64/strcmp.S: New file.
2662 * sysdeps/sparc/sparc64/strcpy.S: New file.
2663 * sysdeps/sparc/sparc64/strcspn.S: New file.
2664 * sysdeps/sparc/sparc64/strlen.S: New file.
2665 * sysdeps/sparc/sparc64/strncpy.S: New file.
2666 * sysdeps/sparc/sparc64/strpbrk.S: New file.
2667 * sysdeps/sparc/sparc64/strrchr.c: New file.
2668 * sysdeps/sparc/sparc64/strspn.S: New file.
2669 * sysdeps/sparc/sparc64/stpncpy.S: New file.
2670 * sysdeps/sparc/sparc64/strncmp.S: New file.
2671
2672 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
2673 Append -fPIC, don't replace.
2674
2675 * configure.in: Recognize sparcv8plus / sparcv9.
2676
2677 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2678
2679 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
2680 char * to avoid C++ warning.
2681 Patch by yasushi@cs.washington.edu [PR libc/1035].
2682
2683 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2684
2685 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
2686 declared in stdlib.h, correct return value of mkstemp.
2687 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
2688
2689 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
2690 from Linux 2.2.5.
2691
2692 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2693
2694 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
2695 C++ warning.
2696
2697 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
2698 inline functions. Closes PR libc/1049.
2699
2700 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2701
2702 * timezone/README: Update from tzdata1999c and tzcode1999c.
2703
2704 * timezone/africa: Update from tzdata1999c.
2705 * timezone/antarctica: Likewise.
2706 * timezone/asia: Likewise.
2707 * timezone/australasia: Likewise.
2708 * timezone/europe: Likewise.
2709 * timezone/northamerica: Likewise.
2710 * timezone/southamerica: Likewise.
2711 * timezone/zone.tab: Likewise.
2712
2713 * timezone/zic.c: Update from tzcode1999c.
2714
2715 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2716
2717 * Makerules: Add $(common-objpfx)Versions.all to common-generated
2718 outside of ifndef avoid-generated.
2719
2720 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
2721 in iofdopen.c.
2722 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
2723 iofopen.c.
2724 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
2725 in iofclose.c.
2726 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
2727 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
2728
2729 1999-03-26 Mark Kettenis <kettenis@gnu.org>
2730
2731 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
2732 if we build the profiled library.
2733
2734 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2735
2736 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
2737 Jaeger <aj@arthur.rhein-neckar.de>
2738
2739 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
2740
2741 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
2742 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
2743 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
2744
2745 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
2746
2747 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
2748 works properly in subdirs.
2749
2750 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
2751
2752 * sysdeps/mach/hurd/Makefile: Undo last change.
2753 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
2754 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
2755
2756 * mach/Machrules (+preinit, +postinit, +interp,
2757 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
2758 linked just like other shared libraries.
2759 (interface.so): Fix typo in defn, so it works.
2760 ($(objpfx)$(interface.so)): Make it depend on libc.so.
2761
2762 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
2763
2764 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
2765 $(link-rpcuserlibs).
2766
2767 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2768
2769 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
2770 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
2771 targets if not building shared libraries.
2772
2773 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2774
2775 * configure.in: Also look in $PATH when searching for
2776 install-info. Remove autoconf bug workaround and require autoconf
2777 2.13.
2778
2779 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2780
2781 * db/Makefile: Don't try to install shared library link if not
2782 building with shared libs.
2783
2784 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2785
2786 * rt/Makefile: Link against static library if no shared lib is
2787 available.
2788
2789 * localedata/Makefile: The shells scripts implementing the test
2790 require the dynamic linker which is not available with
2791 --disable-shared. Skip the test if --disable-shared is given.
2792
2793 * linuxthreads/Makefile: Link test against static libpthread if no
2794 shared lib is available.
2795
2796 * iconvdata/Makefile (tests): Run iconv-test only if we're
2797 building shared libraries.
2798 * elf/Makefile (tests): Likewise for elf tests.
2799
2800 * posix/Makefile: The test frameworks globtest and wordexp-test
2801 require the dynamic linker which is not available with
2802 --disable-shared. Skip the test if --disable-shared is given.
2803
2804 * grp/Makefile (otherlibs): For static nss build link against
2805 necessary libs.
2806
2807 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2808
2809 * debug/Makefile (install-bin): Install and build catchsegv only
2810 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
2811 libc/965].
2812
2813 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2814
2815 * time/tzfile.c (__tzfile_read): Handle the case where there are
2816 transitions but no DST.
2817
2818 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
2819
2820 * mach/Machrules (extra-libs-others): Add $(interface-library) here
2821 too, so it gets built in the others pass rather than the lib pass.
2822 This is necessary since the RPC libraries need to be linked against
2823 libc.
2824
2825 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
2826
2827 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
2828 _itoa_word decl.
2829
2830 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
2831 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
2832 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
2833 versions of lib{mach,hurd}user.so without reference to libc.so,
2834 then link libc.so against that to get deps and symbol versions, then
2835 finally link real lib*user.so against libc.so.
2836
2837 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
2838 Support whole-file locking (only) by using the file_lock RPC. This
2839 has very wrong semantics, but is better than nothing for the time
2840 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
2841 protocols that will be somewhat hairy to specify.)
2842
2843 1999-03-17 Mark Kettenis <kettenis@gnu.org>
2844
2845 * sysdeps/mach/hurd/ptsname.c: New file.
2846
2847 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2848
2849 * timezone/asia: Fix rule in Asia/Nicosia entry.
2850
2851 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2852
2853 * manual/getopt.texi (Using Getopt): Explain "::" in option
2854 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
2855
2856 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
2857
2858 * sunrpc/clnt_unix.c: Fix creation of parameters for
2859 sendmsg/recvmsg on non intel platforms.
2860 * sunrpc/svc_unix.c: Likewise.
2861
2862 1999-03-18 Philip Blundell <philb@gnu.org>
2863
2864 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
2865 implementation.
2866
2867 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2868
2869 * timezone/africa: Update from tzdata1999b.
2870 * timezone/asia: Likewise.
2871 * timezone/australasia: Likewise.
2872 * timezone/europe: Likewise.
2873 * timezone/northamerica: Likewise.
2874 * timezone/southamerica: Likewise.
2875 * timezone/zone.tab: Likewise.
2876
2877 * timezone/README: Mention tzdata1999b.
2878
2879 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
2880
2881 * sysdeps/generic/segfault.c (write_strsignal): New function.
2882 (catch_segfault): Use it instead of calling strsignal.
2883
2884 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2885
2886 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
2887 char to avoid warning.
2888
2889 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2890
2891 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
2892
2893 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
2894 outbuf to unsigned char to avoid warning.
2895
2896 1999-03-11 David S. Miller <davem@redhat.com>
2897
2898 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
2899 masks.
2900 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
2901
2902 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2903
2904 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
2905 `unsigned char'.
2906 (gconv_step_data): Likewise.
2907 * iconv/gconv_int.h (__gconv): Likewise.
2908 (__BUILINT_TRANS): Likewise.
2909 * iconv/gconv.c (__gconv): Likewise.
2910 * iconv/iconv.c (iconv): Add casts for call of __gconv.
2911 * iconv/skeleton.c: Change local parameters and variable from `char' to
2912 `unsigned char'. Remove casts from calls into modules.
2913 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
2914 `char' to `unsigned char'.
2915 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
2916 * wcsmbs/mbrtowc.c: Likewise.
2917 * wcsmbs/mbsnrtowcs.c: Likewise.
2918 * wcsmbs/mbsrtowcs.c: Likewise.
2919 * wcsmbs/wcrtomb.c: Likewise.
2920 * wcsmbs/wcsnrtombs.c: Likewise.
2921 * wcsmbs/wcsrtombs.c: Likewise.
2922 * wcsmbs/wctob.c: Likewise.
2923
2924 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2925
2926 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
2927 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
2928 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
2929 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
2930 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
2931 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
2932
2933 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2934
2935 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
2936 _hurd_select if TIMEMOUT is -1.
2937
2938 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2939
2940 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
2941
2942 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2943
2944 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
2945 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
2946
2947 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2948
2949 * manual/libc.texinfo: Undo last change for now.
2950
2951 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2952
2953 * intl/locale.alias: Add entries for Croatian.
2954 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
2955
2956 1999-03-13 Mark Kettenis <kettenis@gnu.org>
2957
2958 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
2959 if the opened master pty really is a pty. `isatty' checks for
2960 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
2961 if we are out of pty's.
2962
2963 1999-03-13 Mark Kettenis <kettenis@gnu.org>
2964
2965 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
2966 opened file is closed on exec.
2967 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
2968 opened socket.
2969
2970 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2971
2972 * manual/llio.texi (File Position Primitive): Reformat @end
2973 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
2974
2975 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
2976
2977 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
2978 entry is found.
2979 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2980 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2981
2982 * locale/programs/localedef.c (main): Initialize `cat' to please
2983 the compiler.
2984
2985 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
2986
2987 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
2988 check for root-owned symlinks and reject them too.
2989
2990 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2991
2992 * stdio-common/printf_fphex.c: Move to ...
2993 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
2994 extended precision number.
2995 * sysdeps/m68k/printf_fphex.c: New file.
2996
2997 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2998
2999 * manual/stdio.texi: Fix typos.
3000
3001 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
3002
3003 * version.h (VERSION): Bump to 2.1.1.
3004
3005 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
3006
3007 * nis/ypclnt.c: Try only twice to connect to NIS server.
3008
3009 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
3010
3011 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
3012
3013 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3014
3015 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
3016 (DENORM_EXP): New define. Use it as the exponent for a denormal.
3017 * stdlib/strtold.c: Moved to ...
3018 * sysdeps/generic/strtold.c: ... here.
3019 * sysdeps/m68k/strtold.c: New file.
3020
3021 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3022
3023 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
3024 point if the precision is zero, even if the mantissa is non-zero.
3025
3026 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
3027
3028 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
3029 arguments into the request message buffer inside `send_rpc'
3030 subfunction. We must repeat the marshalling when retrying the RPC
3031 after a SIGTTOU delivery.
3032
3033 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
3034 path when there is no ctty port.
3035 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
3036 Move sigstate check inside loop so we recheck after handling a signal.
3037
3038 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3039
3040 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
3041 O_EXLOCK are BSD extensions.
3042 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
3043
3044 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
3045
3046 * manual/signal.texi (Termination in Handler): Correct example.
3047 Install default handler before reraising the signal.
3048 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
3049
3050 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
3051
3052 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
3053 null, in which case send an empty string.
3054
3055 1999-03-02 Mark Kettenis <kettenis@gnu.org>
3056
3057 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
3058 backward compatibility EH functions to be linked when using
3059 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
3060
3061 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3062
3063 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
3064 /dev/pts status may change during runtime.
3065
3066 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3067
3068 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
3069 change. /dev/pts status can change during runtime.
3070
3071 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
3072
3073 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
3074 poll reports error.
3075 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
3076 add some more sanity checks.
3077 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
3078 parser prototype.
3079
3080 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
3081
3082 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
3083 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
3084 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
3085 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
3086 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
3087 for x_getint32.
3088 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
3089 * nis/nis_print.c: Fix ctime argument for platforms where
3090 sizeof (time_t) != sizeof (int).
3091
3092 1999-03-07 Mark Kettenis <kettenis@gnu.org>
3093
3094 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
3095 CLOCKS_PER_SEC instead of CLK_TCK.
3096
3097 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
3098
3099 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
3100 whether /dev/pts is available.
3101 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
3102 dev_pts_available.
3103
3104 * posix/globtest.sh: Make common_objpfx path absolute and and db2
3105 and hesiod directory to library path [PR libc/1007].
3106
3107 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3108
3109 * resolv/inet_addr.c (inet_aton): Don't allow componets >
3110 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
3111
3112 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
3113
3114 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
3115 DT_PLTGOT has already been relocated.
3116 (__elf_machine_fixup_plt): Likewise.
3117 Minor cleanups.
3118
3119 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
3120
3121 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
3122
3123 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
3124
3125 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
3126 and fold string to uppercase [PR libc/1005].
3127
3128 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3129
3130 * elf/dl-load.c (lose): Fix return type.
3131
3132 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
3133
3134 * sysdeps/mach/hurd/bits/fcntl.h
3135 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
3136 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
3137 set O_NOTRANS as well.
3138 (__hurd_file_name_lookup_retry): At successful end of lookup,
3139 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
3140 it is a translated node not owned by root.
3141 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
3142 on the file name passed to LOOKUP.
3143
3144 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
3145
3146 * manual/time.texi (High Resolution Timer): Correct computation in
3147 example. Reported by jjf@devel.cemsys.com.
3148
3149 1999-03-02 Philip Blundell <pb@nexus.co.uk>
3150
3151 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
3152 entry is already relocated.
3153
3154 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3155
3156 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
3157 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
3158
3159 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3160
3161 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
3162 uc_link which is the right name according to Unix98.
3163 Reported by Craig Metz [PR libc/1001].
3164 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
3165 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
3166 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
3167 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
3168 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
3169 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
3170
3171 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3172
3173 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
3174 @ifinfo.
3175
3176 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3177
3178 * iconvdata/Makefile: Always include iconv-rules, but disable rule
3179 to regenerate it if avoid-generated.
3180
3181 * Makeconfig: Always include sys-dirs, but disable rule to
3182 regenerate it when avoid-generated.
3183
3184 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
3185 rule to generate sysd-syscalls.
3186
3187 * elf/Makefile (generated): Remove $(objpfx) from names.
3188
3189 1999-02-28 Mark Kettenis <kettenis@gnu.org>
3190
3191 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
3192 actual length if the adress length is smaller than the input
3193 value. Change type of *LEN paramater to socklen_t.
3194 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
3195 * sysdeps/mach/hurd/accept.c (accept): Likewise.
3196 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
3197 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
3198 paramater to socklen_t.
3199
3200 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
3201
3202 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
3203 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
3204 with the RPC.
3205
3206 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
3207
3208 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
3209 __get_phys_pages): Cast &HBI to silence warning.
3210
3211 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
3212 * hurd/hurdchdir.c: New file.
3213 * hurd/hurdfchdir.c: New file.
3214 * sysdeps/mach/hurd/chroot.c: Call
3215 _hurd_change_directory_port_from_name to do the work.
3216 * sysdeps/mach/hurd/chdir.c: Likewise.
3217 * sysdeps/mach/hurd/fchdir.c: Call
3218 _hurd_change_directory_port_from_fd to do the work.
3219 * hurd/fchroot.c: Likewise.
3220 * hurd/hurd.h: Declare them.
3221
3222 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
3223
3224 * elf/dl-load.c (lose): Add more comments to explain the `why'.
3225 (_dl_map_object): Remove redundant test.
3226
3227 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
3228
3229 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
3230 try to _hurd_port_free a lower-numbered descriptor that was not in any
3231 fd_set.
3232
3233 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3234
3235 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
3236 declaration for ____wcstod_l_internal.
3237
3238 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
3239 __strtod_internal prototype.
3240 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
3241 (____strtold_l_internal): Add prototype declaration.
3242 (__strtold_l): Call correct function.
3243
3244 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
3245
3246 * elf/elf.h: Add 32bit HPPA definitions.
3247
3248 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3249
3250 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
3251 non-checked heap is restored when malloc checking was requested by
3252 the user.
3253 (struct malloc_state): Add using_malloc_checking.
3254 (MALLOC_STATE_VERSION): Increment minor.
3255 (using_malloc_checking, disallow_malloc_check): New variables.
3256 (__malloc_check_init): Use them.
3257 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
3258 that it can the chunk is properly instrumented when malloc
3259 checking is enabled. Set the new using_malloc_checking field.
3260 (malloc_hook_ini): Correct signature when _LIBC is not defined.
3261
3262 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3263
3264 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
3265 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
3266 time.
3267
3268 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
3269 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
3270 if ld.so is the main program.
3271
3272 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
3273
3274 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
3275 large for work_buffer, allocate new buffer.
3276 (printf_unknown): Likewise. [PR libc/988]
3277
3278 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
3279
3280 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
3281 instead of stat and fstat.
3282 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3283
3284 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3285
3286 * elf/dl-error.c (_dl_signal_cerror): New function.
3287 (_dl_signal_error): Don't call receiver function.
3288 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
3289 instead of _dl_signal_error when reporting references to undefined
3290 symbols or versions.
3291 (_dl_lookup_versioned_symbol): Likewise.
3292 (_dl_lookup_versioned_symbol_skip): Likewise.
3293 * elf/dl-version.c (match_symbol): Likewise.
3294
3295 * elf/ldsodefs.h: Declare _dl_signal_cerror.
3296
3297 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
3298
3299 * misc/getttyent.c (getttyent): Release lock on stream later to
3300 also protect global variable zapchar.
3301
3302 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
3303 __times [PR libc/990].
3304
3305 1999-02-21 David S. Miller <davem@redhat.com>
3306
3307 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
3308 parentheses in Feb 2 changes.
3309 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3310
3311 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3312
3313 * sysdeps/generic/glob.c (glob): Save previous errno.
3314
3315 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
3316
3317 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
3318 lookup functions if it is too small.
3319
3320 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
3321
3322 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
3323 for tracing to the scope lists.
3324 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
3325 DT_SYMTAB is always available according to ELF spec.
3326
3327 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
3328 call test whether there is any scope left.
3329 (_dl_lookup_versioned_symbol_skip): Likewise.
3330
3331 * elf/Makefile (distribute): Add do-lookup.h.
3332 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
3333 * elf/dl-lookup.c: Move do_lookup function in separate file and
3334 include the file twice, for handling versioning and without it.
3335
3336 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
3337 entry is already relocated.
3338 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
3339 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
3340 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
3341 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
3342 Likewise.
3343 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
3344 Likewise.
3345 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
3346 Likewise.
3347
3348 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
3349 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
3350 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
3351 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
3352 rel and rela relocations can both happen and skip one test if this
3353 is not possible.
3354 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
3355 appropriately.
3356 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
3357 already relocated.
3358 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
3359 relocated.
3360 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
3361 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
3362 (_dl_map_object): DT_STRTAB entry is already relocated.
3363 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
3364 already relocated.
3365 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
3366 relocated.
3367 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
3368 DT_VERSYM entries are already relocated.
3369 (profile_fixup): Likewise.
3370 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
3371 all users.
3372 (match_symbol): DT_STRTAB entry is already relocated.
3373 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
3374 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
3375 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
3376 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
3377 (find_needed): DT_STRTAB entry is already relocated.
3378 (dl_main): Pass extra argument to elf_get_dynamic_info.
3379 DT_STRTAB entry is already relocated.
3380 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
3381 DT_PLTGOT entries are already relocated.
3382 (elf_machine_rela): Likewise for DT_SYMTAB.
3383 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
3384 relocated.
3385 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3386 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
3387 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3388 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3389 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
3390 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
3391 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
3392 * sysdeps/mips/mips64/dl-machine.h: Likewise.
3393
3394 * grp/initgroups.c (initgroups): If function in current module was
3395 successful don't stop but continue to process to get all the groups.
3396
3397 * elf/dl-load.c (_dl_map_object_from_fd): Use global
3398 _dl_pf_to_proot array to convert p_flags value.
3399 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3400
3401 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
3402 loop to clear `info'.
3403
3404 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
3405 do the work and don't use inline assembler.
3406
3407 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
3408
3409 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
3410 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
3411 noreturn, and prevent it from being inlined.
3412 Define LOSE appropriately.
3413 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
3414 Optimize decoding of p_flags for certain platforms.
3415
3416 1999-02-19 Philip Blundell <pb@nexus.co.uk>
3417
3418 * Makeconfig (link-libc): When doing a static link, make sure that
3419 libgcc.a is included both before and after libc.a.
3420
3421 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
3422
3423 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
3424 sp_warn, sp_inact, sp_expire and sp_flag.
3425
3426 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
3427
3428 * elf/link.h (link_map): Add l_dev and l_ino.
3429 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
3430 loaded shared object with all loaded objects. Initialize l_ino
3431 and l_dev in case it's new.
3432 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
3433 object.
3434 * elf/Makefile: Compile and run new test.
3435 * elf/multiload.c: New file.
3436
3437 * nss/nsswitch.h (service_user): Change name field from const char *
3438 to char[0].
3439 (name_database_entry): Likewise.
3440 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
3441 for change of `service_user'.
3442 (nss_getline): Adjust memory allocation for change of
3443 `name_database_entry'.
3444
3445 * catgets/catgets.c: Correctly handle NLSPATH from environment
3446 [PR libc/980].
3447
3448 * io/Makefile (routines): Add lock64.
3449 * io/Versions: Add lockf64 for GLIBC_2.1.1.
3450 * sysdeps/generic/lockf64.c: New file.
3451
3452 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
3453
3454 * string/bits/string2.h: Only use strncmp optimization if count
3455 argument is constant.
3456
3457 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
3458
3459 * sysdeps/mach/hurd/revoke.c: New file.
3460
3461 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
3462
3463 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
3464 int to avoid warning about `ISO C restricts enumerator values to
3465 range of `int''.
3466
3467 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3468
3469 * elf/dlfcn.h: Fix typo.
3470 * sysdeps/generic/bits/dlfcn.h: Likewise.
3471 * sysdeps/mips/bits/dlfcn.h: Likewise.
3472
3473 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
3474
3475 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
3476 for the case N == 0.
3477
3478 * db2/Makefile (distribute): Add LICENSE.
3479
3480 1999-02-03 Jeff Bailey <jbailey@nisa.net>
3481
3482 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
3483 generated files.
3484
3485 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
3486
3487 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
3488
3489 * time/mktime.c: Use ISO C form for function definitions and
3490 remove unnecessary prototypes.
3491
3492 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
3493
3494 * time/time.h: Avoid unneccesary #ifdef.
3495
3496 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
3497
3498 * stdio-common/_itoa.c (_itoa): Correct parameters to
3499 udiv_qrnnd_preinv.
3500
3501 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3502
3503 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
3504 before (e.g. in glob.h).
3505 Closes PR libc/959.
3506
3507 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3508
3509 * sysdeps/mips/fpu_control.h: Fix typo.
3510 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
3511 Remove __setfpucw.
3512
3513 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
3514
3515 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
3516 the "unused" ends of the sockets. Let pipes be bidirectional.
3517
3518 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
3519
3520 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
3521 invalid ai_flags.
3522
3523 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3524
3525 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
3526 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
3527
3528 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
3529 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
3530
3531 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
3532
3533 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
3534
3535 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3536
3537 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
3538 check for priority mask.
3539
3540 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
3541
3542 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
3543 Reported by Craig Metz <cmetz@inner.net> .
3544
3545 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3546
3547 * stdio-common/Makefile (tests): tllformat added.
3548
3549 * stdio-common/tllformat.c: New program, based on tiformat.c with
3550 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3551
3552 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3553
3554 * posix/test-vfork.c: Fix exit status test.
3555
3556 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3557
3558 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
3559 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
3560
3561 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3562
3563 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
3564 of separare explicit comparisons.
3565
3566 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3567
3568 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
3569 defined.
3570
3571 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
3572 defined.
3573
3574 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
3575
3576 * po/el.po: Update from translation team.
3577
3578 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3579
3580 * intl/locale.alias: Fix slovenian entry [PR libc/948].
3581
3582 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3583
3584 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
3585 * inet/ruserpass.c: Likewise.
3586 * locale/programs/stringtrans.c: Likewise.
3587 * locale/programs/localedef.c: Likewise.
3588 * nscd/grpcache.c: Likewise.
3589 * nss/nss_files/files-XXX.c: Likewise.
3590 * stdlib/canonicalize.c: Likewise.
3591 * sysdeps/posix/sigwait.c: Likewise.
3592
3593 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3594
3595 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
3596 even on 64 bit platforms.
3597
3598 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3599 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
3600
3601 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
3602
3603 * intl/dcgettext.c: Include locale.h is available.
3604
3605 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
3606
3607 * po/nl.po: Update from translation team.
3608
3609 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
3610
3611 * Makefile: Allow calling goals for po subdir.
3612
3613 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
3614 signal definitions.
3615
3616 * po/el.po: New file.
3617
3618 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3619
3620 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
3621 when processing DT_SYMBOLIC objects.
3622
3623 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3624
3625 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
3626 program headers without PT_PHDR only require that they are
3627 contained within one of the loaded segments. Don't use assert,
3628 since that would be a bug in the object, not the dynamic linker.
3629
3630 1999-02-08 Richard Henderson <rth@cygnus.com>
3631
3632 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
3633 restore all call-clobbered fp regs.
3634
3635 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
3636
3637 * po/cs.po: New file.
3638
3639 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
3640 SUID binaries.
3641
3642 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
3643
3644 * signal/signal.h: Don't declare __libc_allocate_rtsig.
3645 * include/signal.h: Declare __libc_allocate_rtsig here.
3646
3647 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
3648 point functions, not do_lookup since the later can be called more
3649 than once.
3650
3651 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
3652
3653 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
3654 macro, so that architectures which need to add some special
3655 offset to stack pointer can share this file.
3656
3657 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
3658 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
3659 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
3660 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
3661
3662 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
3663 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
3664 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
3665 between sparc32 and sparc64.
3666
3667 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
3668 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
3669 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
3670 between sparc32 and sparc64.
3671
3672 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
3673 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
3674 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
3675 between sparc32 and sparc64.
3676
3677 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
3678 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
3679 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
3680 between sparc32 and sparc64.
3681
3682 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
3683
3684 * Versions.def: New version GLIBC_2.1.1 for libc.
3685 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
3686 * stdlib/labs.c: Moved to...
3687 * sysdeps/generic/labs.c: ...here.
3688 * stdlib/llabs.c: Moved to...
3689 * sysdeps/generic/llabs.c: ...here.
3690 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
3691 header. Declare _Exit.
3692 * sysdeps/generic/_exit.c: Add alias _Exit.
3693 * sysdeps/mach/hurd/_exit.c: Likewise.
3694 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
3695 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
3696 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
3697 * sysdeps/unix/_exit.c: Likewise.
3698 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
3699 imaxdiv and imaxabs. Declare lldiv_t if necessary.
3700 * sysdeps/wordsize-64/inttypes.h: Likewise.
3701 * sysdeps/wordsize-32/llabs.c: New file.
3702 * sysdeps/wordsize-32/lldiv.c: New file.
3703 * sysdeps/wordsize-64/labs.c: New file.
3704 * sysdeps/wordsize-64/ldiv.c: New file.
3705 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
3706 * manual/startup.texi: Document _Exit.
3707
3708 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3709
3710 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
3711
3712 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
3713
3714 * Versions.def: Add versions for ld.so.
3715 * csu/Versions: Remove __libc_stack_end here.
3716 * elf/Versions: Split libc definitions in libc and ld.so definitions.
3717 * elf/Makefile (ld-map): Change to ld.so.map.
3718 * scripts/versions.awk: Recognize dot in library names.
3719
3720 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
3721 Don't use __tolower and __toupper in inline functions.
3722 Add optimizing macros for tolower and toupper.
3723 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
3724 (_toupper): Don't use __toupper.
3725 * ctype/ctype.c (tolower): Don't use __tolower.
3726 (toupper): Don't use toupper.
3727
3728 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
3729
3730 * resolv/Versions (libresolv): Export __ns_name_unpack and
3731 __ns_name_ntop.
3732 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
3733 make it global. Change all users. Similar for ns_name_ntop.
3734 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
3735 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
3736 directly to detect too small buffer.
3737 * resolv/nss_dns/dns-network.c: Likewise.
3738
3739 * stdio-common/Makefile (tests): Add scanf12.
3740 * stdio-common/scanf12.c: New file.
3741 * stdio-common/scanf12.input: New file.
3742 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
3743 floating-point correctly if the number is invalid.
3744
3745 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
3746 functions.
3747 * stdio-common/printf_fp.c: Likewise.
3748 * stdio-common/printf_fphex.c: Likewise.
3749 * stdio-common/vfprintf.c: Likewise.
3750
3751
3752 See ChangeLog.9 for earlier changes.
This page took 0.175946 seconds and 6 git commands to generate.