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