]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
7c97addd
UD
11999-01-13 Ulrich Drepper <drepper@cygnus.com>
2
3 * sysdeps/i386/bits/string.h: Correct several bugs in various
4 functions which never worked.
5 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6
d731df03
UD
71999-01-12 Ulrich Drepper <drepper@cygnus.com>
8
9 * manual/charset.texi: Add many corrections.
10 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
11
c1b2d472
UD
121999-01-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
13
14 * manual/charset.texi: Fix some typos.
15
281631fb
UD
161999-01-12 Ulrich Drepper <drepper@cygnus.com>
17
18 * login/programs/pt_chown.c (main): Update copyright year.
19
390955cb
UD
201999-01-11 Ulrich Drepper <drepper@cygnus.com>
21
18fd611b
UD
22 * sysdeps/posix/tempname.c: Open files with mode 0600.
23
390955cb
UD
24 * ctype/Versions [GLIBC_2.0]: Export __ctype32_b.
25 * include/wctype.h: Declare __iswctype.
26 * stdio-common/vfscanf.c (__vfscanf): Use __iswspace instead of
27 iswspace.
28 * wctype/Makefile (routines): Add wcextra_l.
29 * wctype/wcextra.c (iswblank): Implement function here and don't use
30 __iswctype.
31 (__iswblank_l): Move definition to...
32 * wctype/wcextra_l.c: ...here. New file.
33 * wctype/wcfuncs.c: Really implement functions and don't call
34 __iswctype or __towctrans.
35 * wctype/wctype.h: Change isw* and tow* macros. Don't call
36 __iswctype or __towctrans. Instead optimize constant argument case.
37
38 * iconv/gconv.h: Fix typos.
39
40 * iconv/skeleton.c: Fix typos. Optimize init function a bit.
41 Correctly emit escape sequence to return to initial state in
42 conversion function.
43
44 * iconvdata/iso-2022-jp.c (gconv_init): Correctly initialize
45 max_needed_to element.
46
47 * manual/mbyte.texi: Removed. This is now described in charset.texi.
48 * manual/charset.texi: New file.
49 * manual/Makefile (chapters): Replace mbyte by charset.
50 * manual/ctype.texi: Document wide character functions.
51 * manual/intro.texi: Fix reference to mbyte chapter.
52 * manual/lang.texi: Likewise.
53 * manual/locale.texi: Likewise.
54 * manual/stdio.texi: Likewise.
55 * manual/string.texi: Fix @node line for new charset chapter.
56 * manual/libc.texinfo (UPDATED): Updated. Also update copyright years.
57 * manual/memory.texi (savestring): Optimize code to give a good
58 example.
59
60 * manual/filesys.texi: Fix wording. Patches by Jim Meyering.
61
62 * nscd/nscd_getgr_r.c: Include stdint.h to get uintptr_t definition.
63 * nscd/nscd_getpw_r.c: Likewise.
64 * nscd/nscd_gethst_r.c: Likewise.
65
66 * stdlib/stdtold_l.c: Always include xlocale.h.
67
681999-01-11 Geoffrey Keating <geoffk@ozemail.com.au>
69
70 * stdlib/fpioconst.h (LDBL_MAX_10_EXP_LOG): Define to be same as
71 DBL_MAX_10_EXP_LOG if there is no long double.
72 (_fpioconst_pow10): Always use size as LDBL_MAX_10_EXP_LOG to match
73 printf_fp.c.
74
751999-01-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
76
77 * timezone/Makefile ($(testdata)/GB): Changed to ...
78 ($(testdata)/Europe/London): ... for tst-timezone test.
79 ($(objpfx)tst-timezone.out): Change GB to Europe/London.
80
81 * timezone/tst-timezone.c (main): Enable DST switching test,
82 change GB to Europe/London.
83
841999-01-10 Philip Blundell <philb@gnu.org>
85
86 * socket/Makefile (headers): Remove bits/sockunion.h.
87
881999-01-09 Philip Blundell <philb@gnu.org>
89
90 * socket/sys/socket.h: Don't include <bits/sockunion.h>.
91 * sysdeps/generic/bits/sockunion.h: Deleted.
92 * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
93
941999-01-08 H.J. Lu <hjl@gnu.org>
95
96 * io/fts.c (fts_close): Don't access memory after having it freed.
97
68ef28ed
UD
981998-01-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
99
100 * manual/Makefile (stamp-summary): Remove space after -t option
101 for compatibility with non-GNU sort programs.
102
1031999-01-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
104
105 * manual/search.texi (Comparison Functions): Fix compare_doubles
106 example.
107
1081999-01-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
109
110 * Makerules (do-tests-clean): Remove reference to obsolete
111 variable tests-static.
112
997d6467
UD
1131999-01-07 Ulrich Drepper <drepper@cygnus.com>
114
fc4157da
UD
115 * sysdeps/unix/sysv/linux/ntp_adjtime.c: Removed. It's an alias
116 for adjtimex.
117 * sysdeps/unix/sysv/linux/Dist: Add ntp_gettime.c.
118 * sysdeps/unix/sysv/linux/Makefile [subdir=time] (sysdep_routines):
119 Remove ntp_adjtime.
120 * sysdeps/unix/sysv/linux/syscalls.list: Add alias ntp_adjtime to
121 adjtimex.
122 * sysdeps/unix/sysv/linux/sys/timex.h: Correct prototype for
123 ntp_adjtime.
124
6923133b
UD
125 * sysdeps/i386/i686/mempcpy.S: Fix typos.
126
7ffe2de6
UD
127 * sysdeps/i386/i686/memset.S: New file.
128 * sysdeps/i386/i686/bzero.S: New file.
6923133b
UD
129 * sysdeps/i386/i686/strcmp.S: New file.
130 * sysdeps/i386/i686/memcpy.S: New file.
7ffe2de6 131
997d6467
UD
132 * sysdeps/unix/sysv/linux/Makefile [subdir=time] (sysdep_routines):
133 Add ntp_adjtime and ntp_gettime.
134 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add ntp_adjtime and
135 ntp_gettime.
136
1371998-12-29 Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
138
139 * manual/time.texi (Precision Time): Add documentation for
140 ntp_gettime and ntp_adjtime.
141
1421998-12-28 Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
143
144 * sysdeps/unix/sysv/linux/ntp_gettime.c: Created new file
145
146 * sysdeps/unix/sysv/linux/ntp_adjtime.c: Created new file
147
148 * sysdeps/unix/sysv/linux/sys/timex.h (struct ntptimeval): Added.
149 Add prototypes for ntp_adjtime and ntp_gettime.
150
34992338
UD
1511999-01-07 Ulrich Drepper <drepper@cygnus.com>
152
153 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove early clobbers
154 from c and D register output.
155
1561999-01-07 Philip Blundell <philb@gnu.org>
157
158 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Fix bug in last change.
159
1601999-01-07 Ulrich Drepper <drepper@cygnus.com>
161
162 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Correct type for
163 __fsfilcnt_t. Patch by Bruce Elliott <bde@nwlink.com>.
164
1651999-01-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
166
167 * manual/conf.texi: Remove pointers from first @node. Move old
168 @node spec inside comment.
169 * manual/lang.texi: Likewise.
170 * manual/libc-texinfo.sh: Also find `@node.*Top' in a comment.
171 * manual/stdio.texi: Fix typo.
172
1731999-01-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
174
175 * wcsmbs/btowc.c: Accept all values in the range [SCHAR_MIN
176 .. UCHAR_MAX]. Local var buf renamed to result and its type
177 changed from char[] to wchar_t to get proper alignment.
178
179 * posix/fnmatch.c: Also cast the arguments of the other ctype
180 functions to unsigned char.
181
1821999-01-07 Ulrich Drepper <drepper@cygnus.com>
183
184 * Rules: Add rules for empty.{o,os,op} back.
185
50976cad
UD
1861999-01-05 Ulrich Drepper <drepper@cygnus.com>
187
1686c452
UD
188 * Makerules (common-mostlyclean): Add missing parentheses.
189
50976cad
UD
190 * Rules: Add back rules for empty.o generation.
191
5dc230dc
UD
1921999-01-05 Philip Blundell <philb@gnu.org>
193
194 * sysdeps/unix/sysv/linux/net/if_arp.h: Add new ARPHRD definitions
195 from latest (2.2.0pre4) kernel.
196
7ffe2de6 1971999-01-05 Scott Bambrough <scottb@corelcomputer.com>
5dc230dc
UD
198
199 * sysdeps/unix/sysv/linux/arm/sys/user.h : New file. Fixes problem
200 on ARM platforms with programs that include <sys/user.h> and
201 <sys/ptrace.h>. Solution suggested by Geoff Keating earlier with
202 fix for same problem on the PowerPC platform.
203
fb19a1ec
UD
2041999-01-04 Philip Blundell <philb@gnu.org>
205
206 * sysdeps/unix/sysv/linux/arm/register-dump.h: Correct widths of
207 register values.
208 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: New file.
209
3c5edd4d
UD
2101999-01-04 Ulrich Drepper <drepper@cygnus.com>
211
fb19a1ec 212 * csu/version.c (banner): Update date.
3c5edd4d
UD
213 * catgets/gencat.c: Update year in copyright message text.
214 * db2/makedb.c: Likewise.
215 * debug/catchsegv.sh: Likewise.
216 * elf/ldd.bash.in: Likewise.
fb19a1ec 217 * elf/sprof.c: Likewise.
3c5edd4d
UD
218 * iconv/iconv_prog.c: Likewise.
219 * locale/programs/locale.c: Likewise.
220 * locale/programs/localedef.c: Likewise.
fb19a1ec 221 * login/programs/utmpd.c: Likewise.
3c5edd4d
UD
222 * malloc/mtrace.pl: Likewise.
223 * nscd/nscd.c: Likewise.
fb19a1ec
UD
224 * nss/getent.c: Likewise.
225 * posix/getconf.c: Likewise.
3c5edd4d
UD
226
2271999-01-02 Philip Blundell <philb@gnu.org>
228
229 * sunrpc/Makefile: Ensure that we really use the right path for cpp.
230
2311999-01-03 Philip Blundell <philb@gnu.org>
232
46a2401f 233 * Makefile (tests-clean): New target to delete test output files.
3c5edd4d
UD
234 * Makerules (do-tests-clean): New rule to support the above.
235 * Rules (subdir_testclean): Likewise.
236
2371999-01-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
238
239 * iconv/Makefile: Use install-others instead of explicit
240 dependency on subdir_install.
241
2421999-01-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
243
244 * iconv/gconv_db.c (find_derivation): Release lock before
245 returning.
246 (__gconv_find_transform): Likewise.
247
2481999-01-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
249
250 * inet/ether_ntoa.c (ether_ntoa): Make `asc' static since that's
251 what we return.
252
2531999-01-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
254
255 * Makerules: Remove all references to obsolete variables
256 tests-static and test-srcs-static.
257 * Make-dist: Likewise.
fb19a1ec 258 * Rules: Likewise. Remove rules to generate obsolete empty.{c,o*}.
3c5edd4d
UD
259
2601999-01-03 Philip Blundell <philb@gnu.org>
261
262 * sysdeps/unix/sysv/linux/arm/pread.c: Use the i386 implementation.
263 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
264 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
265 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
266
259163b8
AS
2671998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
268
269 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Reorder expression
270 to avoid accessing global data in the usual case.
271
28e9818f
UD
2721999-01-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
273
274 * wcsmbs/wcstold_l.c: Correct last patch to include wchar.h from
275 system path.
276
118bad87
UD
2771998-12-31 Ulrich Drepper <drepper@cygnus.com>
278
279 * iconvdata/Makefile: Use rpath $ORIGIN for modules which use any of
280 the conversion libraries.
281
282 * include/features.h: Mention latest extensions in _POSIX_C_SOURCE
283 description.
284
285 * libio/genops.c (list_all_lock): New variable.
286 (_IO_un_link, _IO_link_in): Acquire lock before modifying _IO_list_all.
287 [PR libc/911].
288
289 * sysdeps/i386/i686/strtok.s: Add missing cld.
290
291 * sysdeps/i386/i686/mempcpy.S: New file.
292
2931998-12-30 Geoff Keating <geoffk@ozemail.com.au>
294
295 Suppress parentheses warnings:
296 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
297 (DL_FIND_ARG_COMPONENTS): here,
298 * sysdeps/powerpc/dl-machine.c: here,
299 * sysdeps/powerpc/fclrexcpt.c (feclearexcept): here,
300 * sysdeps/powerpc/fesetround.c (fesetround): here,
301 * sysdeps/powerpc/feupdateenv.c (feupdateenv): here,
302 * sysdeps/powerpc/fraiseexcpt.c (feraiseexcept): here,
303 * sysdeps/powerpc/fsetexcptflg.c (fesetexceptflag): here,
304 * sysdeps/powerpc/s_rint.c (__rint): here,
305 * sysdeps/powerpc/s_rintf.c (__rintf): here,
306 * sysdeps/powerpc/w_sqrt.c (__sqrt): here,
307 * sysdeps/powerpc/w_sqrtf.c (__sqrtf): and here.
308
3091998-12-30 Geoff Keating <geoffk@ozemail.com.au>
310
311 * wcsmbs/wcstold.c [__NO_LONG_DOUBLE_MATH]: Include wchar.h.
312 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Likewise. Also define
313 appropropriate prototypes, correct procedure names.
314
3151998-12-30 Geoff Keating <geoffk@ozemail.com.au>
316
317 * sysdeps/generic/crypt-entry.c: Prototype __crypt_r, suppress
318 warning.
319 (__crypt_r): Add __restrict.
320 * sysdeps/generic/crypt.h: Remove internal routine. Add __restrict.
321
3221998-12-31 Ulrich Drepper <drepper@cygnus.com>
323
324 * stdlib/longlong.h: Add missing #else in SPARC definitions.
325
3261998-12-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
327
328 Patches by Ralf Baechle <ralf@gnu.org>:
329 * sysdeps/unix/sysv/linux/mips/sgidefs.h: Removed.
330 * sysdeps/unix/sysv/linux/mips/sys/asm.h: Removed.
331 * sysdeps/unix/sysv/linux/mips/sys/regdef.h: Removed.
332 * sysdeps/unix/sysv/linux/mips/sys/fpregdef.h: Removed.
333 * sysdeps/unix/sysv/linux/mips/regdef.h: Removed.
334 * sysdeps/unix/sysv/linux/mips/fpregdef.h: Removed.
335
336 * sysdeps/unix/sysv/linux/mips/Makefile: Remove delete files.
337 * sysdeps/unix/sysv/linux/mips/Dist: Remove deleted files.
338
339 * sysdeps/mips/sys/fpregdef.h: New files, enhanced versions of deleted
340 linux specific files.
341 * sysdeps/mips/sys/asm.h: Likewise.
342 * sysdeps/mips/sgidefs.h: Likewise.
343 * sysdeps/mips/fpregdef.h: Likewise.
344 * sysdeps/mips/regdef.h: Likewise.
345
346 * sysdeps/mips/Makefile: Add new headers.
347 * sysdeps/mips/Dist: Add new files.
348
349 * sysdeps/mips/fpu_control.h (_FPU_DEFAULT): Change value.
350
3511998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
352
353 * iconvdata/Makefile: Remove variable assignments and rules that
354 are now auto-generated. Include $(objpfx)iconv-rules instead.
355 Btw, that removes a few typos.
356 (charmaps): New variable.
357 ($(objpfx)iconv-rules): New target.
358 (gen-8bit-modules): Renamed from sed-generated-headers, remove .h
359 suffixes.
360 (gen-8bit-gap-modules): Renamed from awk-generated-headers, remove
361 .h suffixes.
362 (gen-special-modules): New variable.
363 (generated-modules): New variable.
364 (headers): Use it.
365 (before-compile): Likewise.
366 (generated): Likewise, and add iconv-rules.
367 * iconvdata/euc-cn.c: Renamed from euccn.c.
368 * iconvdata/euc-jp.c: Renamed from eucjp.c.
369 * iconvdata/euc-kr.c: Renamed from euckr.c.
370 * iconvdata/euc-tw.c: Renamed from euctw.c.
371 * iconvdata/iso_6937.c: Renamed from iso6937.c.
372 * iconvdata/iso_6937-2.c: Renamed from iso6937-2.c.
373 * iconvdata/t.61.c: Renamed from t61.c.
374 * iconvdata/Makefile (distribute): Adjusted for those renames.
375 Remove $(objpfx) from names.
376
3771998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
378
379 * sysdeps/generic/hp-timing.h: Fix comment.
380 * sysdeps/generic/dl-hash.h: Likewise.
381 * sysdeps/i386/i686/hp-timing.h: Likewise.
382
3831998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
384
385 * posix/fnmatch.c (fnmatch): Always pass unsigned char values to
386 FOLD macro.
387
3881998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
389
390 * nss/db-Makefile ($(VAR_DB)/shadow.db): Fix last change.
391
3921998-12-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
393
394 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Sync with
395 current Linux 2.1.132 kernel sources.
396
3971998-12-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
398
399 Patches by Ralf Baechle <ralf@gnu.org> for Linux/MIPS:
400 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add ipc, change
401 pread/pwrite and llseek calls.
402
403 * sysdeps/unix/sysv/linux/mips/sysdep.S: New file.
404
4051998-12-29 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
406
407 * malloc/thread-m.h [_LIBC] : Fix for NO_THREADS case.
408
76235ed4
UD
4091998-12-28 Ulrich Drepper <drepper@cygnus.com>
410
3a4aae98
UD
411 * version.h (VERSION): Bump to 2.0.109.
412
e4192acb
UD
413 * Makefile (distribute): Add INTERFACE and CONFORMANCE.
414 * elf/Makefile (distribute): Add hp-timing.h.
415 * sysdeps/i386/i686/Dist: New file.
416
edbe9101
UD
417 * mach/Versions: Add mach_msg_send and mach_msg_receive.
418 Patch by UCHIYAMA Yasushi <uch@nop.or.jp>.
419
db60f6f9
UD
420 * sysdeps/unix/sysv/linux/netipx/ipx.h (SIOCIPXNCPCONN): New macro
421 from latest kernel.
422
76235ed4
UD
423 * stdlib/fpioconst.c: If __NO_LONG_DOUBLE_MATH don't define constants
424 beyond range of double.
425 * stdlib/fpioconst.h (_fpioconst_pow10): Reduce size according to
426 fpioconst.c change.
427 * stdlib/strtold.c: Fall back on double functions if
428 __NO_LONG_DOUBLE_MATH.
429 * stdlib/strtold_l.c: Likewise.
430 * wcsmbs/wcstold.c: Likewise.
431 * wcsmbs/wcstold_l.c: Likewise.
432 * sysdeps/ieee754/ldbl2mpn.c: Don't generate code if
433 __NO_LONG_DOUBLE_MATH.
434 * sysdeps/ieee754/mpn2ldbl.c: Likewise.
435
4361998-12-28 Geoff Keating <geoffk@ozemail.com.au>
437
438 * sysdeps/powerpc/bits/endian.h: Use #warning, not #error, if
439 the endianness can't be determined, for makedepend.
440
db276fa1
UD
4411998-12-27 Ulrich Drepper <drepper@cygnus.com>
442
443 * elf/dl-lookup.c (_dl_num_relocations): New variable.
444 (do_lookup): Increment _dl_num_relocations for every call.
445 * elf/rtld.c (print_statistics): New function.
446 (_dl_debug_statistics): New variable. Set when statistics are asked
447 for.
448 (rtld_total_time, relocate_time, load_time): New variables. Used
449 in print_statistics.
450 (_dl_start): Record start and end time of startup. Call
451 print_statistics if needed.
452 (dk_main): Record times for relocations and loading.
453 (process_dl_debug): Recognize statistics.
454
548f2408 455 Low-level, low-overhead, high-precision timing functionality.
db276fa1
UD
456 * sysdeps/generic/hp-timing.h: New file.
457 * sysdeps/i386/i686/Makefile: New file.
458 * sysdeps/i386/i686/hp-timing.h: New file.
459 * sysdeps/i386/i686/hp-timing.c: New file.
460
461 * sysdeps/i386/dl-machine.h (elf_machine_rel): Reverse order of OR
462 clauses to avoid accessing global variables during rtld relocation.
463
464 * sunrpc/rpc_main.c: Unify messages.
465
466 * sysdeps/unix/sysv/linux/arm/Dist: Add ioperm.c and sys/io.h.
467
47b33891
RM
4681998-12-27 Roland McGrath <roland@baalperazim.frob.com>
469
470 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
471 Remove __ from member names; rename __unused to f_spare.
472
4731998-12-21 Mark Kettenis <kettenis@phys.uva.nl>
474
475 Implement fstatvfs and statvfs on the Hurd.
476 * sysdeps/mach/hurd/bits/statfs.h: New file.
477 * sysdeps/mach/hurd/bits/statvfs.h: New file.
478 * sysdeps/mach/hurd/fstatvfs.c: New file.
479 * sysdeps/mach/hurd/statvfs.c: New file.
480
481 * sysdeps/generic/fstatfs64.c: Changed into stub.
482 Moved previous contents to...
483 * sysdeps/unix/sysv/linux/fstatfs64.c: ...here.
484 * sysdeps/generic/fstatvfs64.c: Likewise.
485 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
486 * sysdeps/generic/statfs64.c: Likewise.
487 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
488 * sysdeps/generic/statvfs64.c: Likewise.
489 * sysdeps/unix/sysv/linux/statvfs64.c: Likewise.
490
85f72e9c
UD
4911998-12-25 Ulrich Drepper <drepper@cygnus.com>
492
493 * elf/dl-hash.h: Move to...
494 * sysdeps/generic/dl-hash.h: ...here. Correct parameter type (must
495 be unsigned char). Remove conditional from inner loop and rearrange
496 binary operations (12-22% performance increase).
548f2408 497 * sysdeps/i386/i686/dl-hash.h: New file. Another 10% faster than
85f72e9c
UD
498 optimized generic version.
499
f1f0edfe
UD
5001998-12-23 Ulrich Drepper <drepper@cygnus.com>
501
65c64a0b
UD
502 * elf/dl-lookup.c (do_lookup): If looking up an unversioned symbol
503 but the object file only contains versioned definitions than
504 accept the definition if there is exactly one even if the version
505 number is not the default version. This helps dlsym() to find
506 newly introduced symbols.
507
f1f0edfe
UD
508 * locale/programs/ld-collate.c: Unify messages and correct typos.
509 * locale/programs/ld-monetary.c: Likewise.
510 * locale/programs/ld-numeric.c: Likewise.
511 * locale/programs/ld-time.c: Likewise.
512 * manual/errno.texi: Likewise.
513 * nis/nis_error.c: Likewise.
514 * nis/nis_print.c: Likewise.
515 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
516 * sunrpc/rpc_main.c: Likewise.
517
edb570bb
UD
5181998-12-20 Philip Blundell <philb@gnu.org>
519
520 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add
521 implementation.
522 * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove wrappers for
523 now-inlined calls.
f1f0edfe 524
edb570bb
UD
5251998-12-22 Philip Blundell <pb@nexus.co.uk>
526
527 * sysdeps/unix/sysv/linux/arm/ioperm.c: New file.
528 Implementation of inb, outb etc for ARM systems.
529 * sysdeps/unix/sysv/linux/arm/sys/io.h: Likewise.
530 * sysdeps/unix/sysv/linux/arm/Versions: Add appropriate
531 entries for the above.
532
d17a729b
UD
5331998-12-21 Ulrich Drepper <drepper@cygnus.com>
534
361d49e6
UD
535 * nss/db-Makefile (shadow.db): Create file with correct protections.
536 Based on a patch by Joel Klecker <espy@debian.org>.
537
d17a729b
UD
538 * inet/gethstbynm_r.c: Remove NEED__RES definition since we do this
539 anyway for digits_dots.c.
540 * nss/getXXbyYY.c: Initialize _res before using digits_dots.c
541 functions.
542 * nss/getXXbyYY_r.c: Likewise.
543
47b33891
RM
5441998-12-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
545
546 * sunrpc/key_call.c (getkeyserv_handle): Use __fcntl instead of
d17a729b 547 fcntl.
47b33891
RM
548
5491998-12-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
550
551 * locale/weight.h (get_weight): Extract string elements as
552 unsigned values.
553
6ac73ea7
RM
5541998-12-06 Mark Kettenis <kettenis@phys.uva.nl>
555
556 Reverse the change of 1998-04-22. Providing a struct dirent with
557 different members when __USE_FILE_OFFSET64 is defined is asking
558 for trouble. Instead add the necessary LFS magic to the 4.4BSD
559 header.
560 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Add LFS definitions.
561 * sysdeps/mach/hurd/bits/dirent.h: Removed.
562 * sysdeps/mach/hurd/readdir64.c: Removed.
563 * sysdeps/mach/hurd/readdir64_r.c: Removed.
564
c5720a93
RM
5651998-12-20 Roland McGrath <roland@baalperazim.frob.com>
566
6ac73ea7
RM
567 * sysdeps/generic/bits/mman.h [__USE_MISC] (MAP_ANONYMOUS): Define as
568 alias for MAP_ANON.
569
570 * stdio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr):
571 Remove decls. They don't exist at all on the Hurd.
572
c5720a93
RM
573 * sunrpc/svc_unix.c, sunrpc/clnt_unix.c: Avoid using `struct cmsghdr'
574 and `struct ucred' #ifndef SCM_CREDENTIALS.
575
576 * sunrpc/publickey.c (getsecretkey): Use `&errno' instead of
577 `__errno_location ()'; means the same, works for Hurd.
578
579 * sysdeps/mach/hurd/Makefile (subdirs): Don't elide sunrpc.
580
ff7059bf
UD
5811998-12-18 Ulrich Drepper <drepper@cygnus.com>
582
c730d678
UD
583 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Include
584 features.h and stddef.h.
585 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h (struct
586 sigaltstack): Move ss_size field at the end.
587 Patches by Jeff Bailey <jbailey@nisa.net>.
588
51c68755
UD
589 * time/getdate.c (check_mday): tm_mon contains values from 0 to 11,
590 not 1 to 12.
591
ff7059bf
UD
592 * manual/texinfo.tex: Update to latest version.
593
594 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add ipc.
595 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
596 Patch by Cristian Gafton <gafton@redhat.com>.
597
4798763f
UD
5981998-12-17 Ulrich Drepper <drepper@cygnus.com>
599
277f73d1
UD
600 * iconvdata/gconv-modules: Add remaining aliases from Internet
601 standards.
602
8c479619
UD
603 * iconv/gconv_int.h (gconv_module): Add new element from_regex_mem.
604 * iconv/gconv_conf.c (module_compare): Make s1 and s2 const.
605 (detect_conflict): New function.
606 (add_alias): Call detect_conflict to see whether there is already
607 a module for the new name.
608 (add_module): Make sure there is no alias for the new name.
609 (read_conf_file): Call add_alias with new argument.
610 (__gconv_read_conf): Don't destroy module tree immediately after
611 walking it. We need it to test the internal conversions for
612 conflicts.
613 * iconv/gconv_db.c (find_derivation): Don't allocate memory for
614 regular expression. There is now room in the module descriptor.
615 (free_mem): Don't free memory for regular expression.
616
c5b0e13e
UD
617 * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_IRDA, PF_IRDA and
618 MSG_TRYHARD.
619
c0b50509
UD
620 * sunrpc/clnt_unix.c (clntunix_destroy): Use __close not close.
621 * libio/oldtmpfile.c: Likewise.
622 * libio/oldiofdopen.c: Use __fcntl instead fcntl.
623 * sysdeps/posix/profil.c: Use __sigaction instead of sigaction.
624
09376451
UD
625 * iconvdata/iso646.c (gconv_init): Return correct error value if we
626 run out of memory.
627 * iconvdata/iso-2022-jp.c: Likewise.
628
c7ec9d75
UD
629 * iconv/gconv_db.c (gen_steps): Respect error return value from
630 init functions and abort.
631
4798763f
UD
632 * iconvdata/iso646.c: Recognize NF_Z_62-010_1973 as charset name.
633
6341998-12-17 H.J. Lu <hjl@gnu.org>
536d7038
UD
635
636 * sunrpc/rpc/xdr.h (XDR_DESTROY): Add ';'.
637 (xdr_destroy): Likewise.
638
68185625
UD
6391998-12-17 Ulrich Drepper <drepper@cygnus.com>
640
c0b50509 641 * login/login.c: Determine pts/3 as terminal name if path is
68185625
UD
642 /dev/pts/3. This is consistent with getlogin. [PR libc/906]
643
04166d6e
UD
6441998-12-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
645
646 * sysdeps/posix/tempname.c (__path_search): Add casts for format
647 string.
648
6491998-12-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
650
651 * sunrpc/rpc/xdr.h (XDR_DESTROY, xdr_destroy): Avoid dangling else
652 problem.
653 (IXDR_PUT_INT32): Fully parenthesize parameters.
654 (IXDR_GET_LONG, IXDR_PUT_LONG): Mark GCC extension. Fully
655 parenthesize parameter.
656
b76e5a4e
UD
6571998-12-16 Ulrich Drepper <drepper@cygnus.com>
658
659 * iconvdata/gconv-modules: Add some of the charset name aliases
660 used in Internet standards.
661
133d3d30
UD
6621998-12-16 Ulrich Drepper <drepper@cygnus.com>
663
664 * version.h (VERSION): Bump to 2.0.107.
665
666 * sysdeps/i386/i486/bits/string.h: Pretty printing.
667
d8a167a5
UD
6681998-12-16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
669
670 * sunrpc/rpc/xdr.h: Revert patch from 1998-12-14, partly revert
671 patch from 1998-12-01.
672
d735bcf4
RM
6731998-12-16 Roland McGrath <roland@baalperazim.frob.com>
674
675 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Define this #ifdef
676 __USE_BSD as well as #ifdef __USE_GNU, so MAXSYMLINKS can use it.
677 Reported by UCHIYAMA Yasushi <uch@nop.or.jp>
678
88fd9830
UD
6791998-12-16 Ulrich Drepper <drepper@cygnus.com>
680
681 * iconvdata/ibm866.c: New file.
682 * iconvdata/cp1258.c: New file.
683 * iconvdata/cp1258.h: New file.
684 * iconvdata/mac-uk.c: New file.
685 * iconvdata/gconv-modules: Add rules for new modules.
686 * iconvdata/Makefile: Likewise.
687
688 * sysdeps/gnu/bits/ipc.h: Move libc internal bits to...
689 * include/bits/ipc.h: ..here. New file.
690
d735bcf4
RM
6911998-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
692
693 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Don't change
694 read-only struct termios_p* but change k_termios member directly.
695
a3fc1f71
UD
6961998-12-15 H.J. Lu <hjl@gnu.org>
697
698 * sysdeps/posix/tempname.c (__path_search): Fix the maximum
699 string length.
700
5a7cb1a2
UD
7011998-12-15 Ulrich Drepper <drepper@cygnus.com>
702
e9dcb080
UD
703 * sysdeps/unix/sysv/linux/msgctl.c: Use INLINE_SYSCALL.
704 * sysdeps/unix/sysv/linux/msgget.c: Likewise.
705 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
706 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
707 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
708 * sysdeps/unix/sysv/linux/semget.c: Likewise.
709 * sysdeps/unix/sysv/linux/semop.c: Likewise.
710 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
711 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
712 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
713 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
714 * sysdeps/unix/sysv/linux/syscalls.list: Remove ipc syscall here.
715 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add ipc syscall here.
716
717 * time/strftime.c: Remove 'f' format.
718
719 * time/strptime.c (get_number): Ignore trailing whitespace.
720 (strptime_internal): Handle 'F' and 'k' formats.
721
5a7cb1a2
UD
722 * sysdeps/posix/tempname.c (__path_search): Add second part of the
723 patch by Andreas Jaeger.
724
7251998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
726
727 * stdio-common/tst-tmpnam.c (main): Use void as parameter to avoid
728 warnings about unused args. Fix comment.
729
7301998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
731
732 * sysdeps/posix/tempname.c (__path_search): Correct last patch.
733
c870d249
UD
7341998-12-14 Ulrich Drepper <drepper@cygnus.com>
735
736 * sunrpc/rpc/xdr.h (IXDR_GET_INT32): Case pointer before reading from
737 it.
738 (IXDR_PUT_INT32): Likewise for writing.
181a8546 739 Patch by Bruce Elliott <bde@nwlink.com>.
c870d249 740
5a7cb1a2
UD
7411998-12-08 H.J. Lu <hjl@gnu.org>
742
743 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Don't clear
744 the IBAUD0 bit in c_iflag.
745
746 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear the
747 the IBAUD0 bit in c_iflag.
748
6269e521
UD
7491998-12-14 Ulrich Drepper <drepper@cygnus.com>
750
751 * time/Makefile (tests): Add tst-strptime.
752 * time/tst-strptime.c: New file.
753 * time/strptime.c: Correct bugs in weekday and yearday computation.
754
59036602
UD
7551998-12-14 Ulrich Drepper <drepper@cygnus.com>
756
c2cfb512
UD
757 * time/strptime.c (strptime_internal): Set tm_wday and tm_yday in
758 any of tm_year, tm_mon, or tm_mday was changed and the value
759 itself wasn't specified.
760
60876a75
UD
761 * include/stdio.h: Add new parameter to __path_search.
762 * libio/oldtmpfile.c: Add 0 as new parameter to __path_search.
763 * stdio-common/tmpfile.c: Likewise.
764 * stdio-common/tmpfile64.c: Likewise.
765 * stdio-common/tmpnam.c: Likewise.
766 * stdio-common/tmpnam_r.c: Likewise.
767 * stdio-common/tempnam.c: Add 1 as new parameter to __path_search.
768 * sysdeps/posix/tempname.c: Add new parameter. If value is nonzero
769 consider TMPDIR environment variable and dir parameter. Otherwise not.
770 * stdio-common/Makefile (tests): Add tst-tmpnam.
771 * stdio-common/tst-tmpnam.c: New file.
772
59036602
UD
773 * po/es.po: Update from translation team.
774
4260bc74 7751998-12-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
59036602 776
4260bc74
UD
777 * timezone/Makefile: Protect inclusion of z.* by avoid-generated
778 and inhibit_timezone_rules instead of no_deps.
779 * Make-dist: Pass inhibit_timezone_rules=t when making
780 echo-distinfo.
59036602 781
4260bc74 7821998-12-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
59036602 783
4260bc74 784 * manual/Makefile (distribute): Remove dir-add.texinfo.
59036602 785
4260bc74
UD
786 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/procfs.h and
787 sys/user.h.
59036602 788
4260bc74 7891998-12-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
59036602 790
4260bc74
UD
791 * manual/Makefile (stamp-summary): Use ^L as separator for
792 sorting.
793 * manual/arith.texi: Add comments before all @deffoox lines to get
794 them added to the summary.
795 * manual/creature.texi: Likewise.
796 * manual/math.texi: Likewise.
59036602 797
4260bc74 7981998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
59036602 799
4260bc74
UD
800 * math/libm-test.c: Remove macro ISINF. Change all usages of
801 ISINF to isinf.
59036602 802
550be6cd
UD
8031998-12-13 Ulrich Drepper <drepper@cygnus.com>
804
805 * sysdeps/posix/tempname.c: Use __xstat instead of __stat.
806 * sysdeps/unix/grantpt.c: Likewise.
807 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
808 * sysvipc/ftok.c: Likewise.
809 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
810
a3f4b50b
UD
811 * stdlib/test-canon.c: Define PATH_MAX if the system does not.
812 * string/stratcliff.c: Use MAP_ANON instead of MAP_ANONYMOUS.
813 Patch by UCHIYAMA Yasushi <uch@nop.or.jp>.
814
4260bc74 8151998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
59036602 816
4260bc74 817 * sysdeps/alpha/fpu/fsetexcptflg.c: Avoid -Wparentheses warning.
59036602 818
4260bc74
UD
819 * sysdeps/libm-ieee754/s_expm1.c (__expm1): Avoid -Wparentheses
820 warning.
821 * sysdeps/libm-ieee754/s_log1p.c (__log1p): Likewise.
822 * sysdeps/libm-ieee754/e_logf.c (__ieee754_logf): Likewise.
823 * sysdeps/libm-ieee754/s_expm1f.c (__expm1f): Likewise.
824 * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Likewise.
825 * sysdeps/libm-ieee754/s_log1pf.c (__log1pf): Likewise.
3bb266e0 826
4260bc74 8271998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
59036602 828
4260bc74
UD
829 * sunrpc/svc_udp.c (svcudp_bufcreate): Declare len as socklen_t.
830 (svcudp_recv): Likewise.
59036602 831
4260bc74 8321998-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
59036602 833
4260bc74
UD
834 * nis/nss-nisplus.h: Change some mappings of NIS+ errors to
835 NSS error codes to avoid endless loops.
59036602 836
70b0abba
UD
8371998-12-13 Ulrich Drepper <drepper@cygnus.com>
838
839 * iconvdata/gconv-modules: Correct aliases for ISO-8859-13 and add
840 aliases for ISO-8859-14.
841
4260bc74 8421998-12-12 Geoff Keating <geoffk@ozemail.com.au>
59036602 843
4260bc74
UD
844 * posix/fnmatch.c (fnmatch): Arguments to FOLD must not have
845 side-effects.
59036602 846
c090aa15
UD
8471998-12-12 Ulrich Drepper <drepper@cygnus.com>
848
849 * iconvdata/iso-8859-11.h: ISO 8859-11 conversion data.
850 * iconvdata/iso-8859-11.c: ISO 8859-11 conversion module.
851 * iconvdata/iso-8859-13.c: Likewise for 8859-13.
852 * iconvdata/iso-8859-14.c: Likewise for 8859-14.
853 * iconvdata/iso-8859-15.c: Likewise for 8859-15.
854 * iconvdata/gconv-modules: Add rules for new modules.
855 * iconvdata/Makefile: Likewise.
856
f98b4bbd
UD
8571998-12-12 Ulrich Drepper <drepper@cygnus.com>
858
859 * stdio-common/printf_fp.c: #ifdef out long double handling code if
860 __NO_LONG_DOUBLE_MATH is defined to avoid warnings.
861 * stdio-common/printf_fphex.c: Likewise.
862 * stdio-common/printf-size.c: Likewise.
863
8641998-12-12 Ulrich Drepper <drepper@cygnus.com>
865
866 * login/Makefile: Install pt_chown using INSTALL_PROGRAM.
867 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
868
bc15f0f8
UD
8691998-12-11 Ulrich Drepper <drepper@cygnus.com>
870
c2a32973
UD
871 * sysdeps/powerpc/dl-machine.h (elf_machine_matches_host): Mark
872 static inline, not extern inline.
873 (elf_machine_dynamic): Likewise.
874 (elf_machine_lazy_rel): Likewise.
875 (elf_machine_plt_value): Likewise.
876 * sysdeps/powerpc/backtrace.c: Include stddef.h to get NULL
877 definition.
f98b4bbd 878 Patchess by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
c2a32973 879
486fa0b7
UD
880 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fixl_addr parameter
881 type. Reported by job bogan <job@piquin.uchicago.edu>.
882
bc15f0f8
UD
883 * sysdeps/unix/opendir.c (__opendir): Use __xstat instead of
884 __stat.
885
724049ba
UD
8861998-12-11 Kunihiro Ishiguro <kunihiro@zebra.org>
887
888 * inet/netinet/in.h: Change obsolete structure member
889 ipv6mr_ifindex to new ipv6mr_interface.
890
981993e1
UD
8911998-12-11 Ulrich Drepper <drepper@cygnus.com>
892
893 * sysdeps/ieee754/dbl2mpn.c: Changed '#include "ieee754.h"' to
894 '#include <ieee754.h>'. ARM port has its own version of 'ieee754.h'
895 due to its big endian floating point format.
896 * sysdeps/ieee754/ldbl2mpn.c: Likewise.
897 * sysdeps/ieee754/mpn2dbl.c: Likewise.
898 * sysdeps/ieee754/mpn2ldbl.c: Likewise.
899 * sysdeps/ieee754/mpn2flt.c: Likewise.
900 Patch by Scott Bambrough <scottb@corelcomputer.com>.
901
631f2dd0
UD
9021998-12-10 Ulrich Drepper <drepper@cygnus.com>
903
a6e3a56a
UD
904 * sysdeps/unix/sysv/linux/adjtime.c: Undo last change.
905
631f2dd0
UD
906 * posix/PTESTS: Fix typo.
907
adc9be5c 908 * po/es.po: Update from translation team.
f2bbe1fd 909 * po/fr.po: Likewise.
adc9be5c 910
04c216a8
UD
9111998-12-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
912
631f2dd0 913 * nis/nss_compat/compat-pwd.c: Fix handling of +/- entries.
04c216a8 914
38e11096
UD
9151998-12-10 Ulrich Drepper <drepper@cygnus.com>
916
917 * sunrpc/Makefile: Call rpcgen program which -Y parameter so that
918 it can find the preprocessor.
919
648c1337
UD
9201998-12-09 Geoff Keating <geoffk@ozemail.com.au>
921
922 * sysdeps/unix/sysv/linux/sys/procfs.h: Use sys/user.h not
923 asm/user.h.
924 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
925
926 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: New file,
927 like linux/sys/procfs.h but uses uid_t and gid_t.
928 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: New file,
929 don't include <linux/ptrace.h>.
930
9311998-12-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
932
933 * posix/runptests.c (main): Check that regcomp did not succeed
934 unexpectedly.
935 * posix/runtests.c (run_a_test): Likewise. Return appropriate
936 exit code.
937 * posix/TESTS: Regexp "a[b-a]" should not compile.
938 * posix/PTESTS: Comment out bogus tests GA113(2), GA145(2) and
939 GA147(2).
940
9411998-12-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
942
943 * locale/programs/ld-ctype.c (allocate_arrays): Don't crash if
944 there is no codeset name.
945 * locale/programs/ld-collate.c (collate_output): Don't crash if a
946 character has no weight.
947
b77e6cd6
UD
9481998-12-10 Ulrich Drepper <drepper@cygnus.com>
949
950 * inet/getnetgrent_r.c (innetgr): Check host and domain name with
951 strcasecmp, not strcmp. [PR libc/894].
952
9531998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
954
955 * posix/regex.h: Declare re_comp, re_exec if compiling for libc to
956 get prototypes.
957
958 * wctype/wctype.h: Add prototypes for __iswblank_l and iswblank.
959
9601998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
961
962 * sysdeps/unix/sysv/linux/gethostid.c: Include <netdb.h> to get
963 prototype for __gethostbyname_r.
964
965 * include/time.h: Add declarations of internal interfaces.
966
967 * time/tzset.c: Remove declarations of internal interfaces.
968 * time/gmtime.c: Likewise.
969 * time/localtime.c: Likewise.
970 * time/offtime.c: Likewise.
971 * time/tzfile.c: Likewise.
972
c3c95a7b
UD
9731998-12-01 09:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
974
975 * sysdeps/unix/sysv/linux/sys/timex.h: Copy out
976 user-space-relevant definitions from linux/timex.h of kernel
977 2.1.130 and remove include of kernel header.
978
979 * sysdeps/unix/sysv/linux/adjtime.c: Remove portability crud.
980
5c2a0669
UD
9811998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
982
983 * posix/regex.c: Get regex.h from system path, not from local
984 directory.
985
986 * posix/regex.h: Move internal interfaces to ...
987 * include/regex.h: ...here.
988
989 * posix/unistd.h: Move internal interfaces to ...
990 * include/unistd.h: ...here.
991
992 * math/math.h: Move internal interfaces to ...
993 * include/math.h: ...here.
994
995 * posix/glob.h: Move internal interfaces to ...
996 * include/glob.h: ...here.
997
998 * string/string.h: Move internal interfaces to ...
999 * include/string.h: ...here.
1000
1001 * time/sys/time.h: Move internal interfaces to ...
1002 * include/sys/time.h: ...here.
1003
1004 * resolv/netdb.h: Move internal interfaces to ...
1005 * include/netdb.h: ...here.
1006
10071998-12-08 Ulrich Drepper <drepper@cygnus.com>
1008
1009 * iconvdata/eucjp.c: Handle Yen in overscore conversion from ISO 10646
1010 correctly.
1011 * iconvdata/iso-2022-jp.c: Handle Kana in 2022-JP2 correctly
1012 Fix various bugs in conversion routine.
1013 * iconvdata/jis0201.h: Correct variable name.
1014 * iconvdata/jis0208.c: Correct script to generate tables and regenerate
1015 them.
1016 * iconvdata/jis0208.h: Likewise.
1017 * iconvdata/jis0212.c: Likewise.
1018 * iconvdata/sjis.c: Likewise.
1019 Patch by HANATAKA Shinya <hanataka@abyss.rim.or.jp>.
1020
5470bc9f
UD
10211998-12-07 Ulrich Drepper <drepper@cygnus.com>
1022
a94b2ac0
UD
1023 * sysdeps/unix/sysv/linux/speed.c (IBAUD0): New definition. Bit
1024 set in c_iflag if cfsetispeed is call with SPEED set to zero.
1025 (cfgetispeed): Return zero if prior if IBAUD0 is set.
1026 (cfsetospeed): Clear IBAUD0 bit.
1027 (cfgetispeed): Set IBAUD0 bit if necessary.
1028 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear
1029 the IBAUD0 bit in c_iflag when making the system call.
1030 Work around a Linux kernel bug which silently changes the
1031 PARENB/CREAD/CSIZE bits in c_cflag on pty.
5470bc9f
UD
1032 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Make a real
1033 function. Don't set speed is SPEED parameter is zero since this
1034 means set it to the output speed.
a94b2ac0 1035 Based on a patch by H.J. Lu <hjl@gnu.org>.
5470bc9f
UD
1036
1037 * version.h (VERSION): Bump to 2.0.106.
1038
a94b2ac0
UD
1039 * Makeconfig (link-libc-static): Don't use link-libc since this
1040 includes the shared object. Use gnulib only.
1041
b38bb8ca
UD
1042 * configure.in: Disable --disable-static.
1043
5470bc9f
UD
10441998-12-07 12:06 Ulrich Drepper <drepper@cygnus.com>
1045
1046 * po/de.po: Update from translation team.
1047 * po/ko.po: Likewise.
1048
10491998-12-07 Richard Henderson <rth@cygnus.com>
1050
1051 * sysdeps/unix/sysv/linux/alpha/select.S: Save a4 through
1052 both paths.
1053
0d3eb016
RM
10541998-12-05 Roland McGrath <roland@baalperazim.frob.com>
1055
1056 * sysdeps/mach/hurd/pselect.c: New file.
1057
1058 * sysdeps/mach/hurd/poll.c: New file.
1059
1060 * hurd/Makefile (routines): Add hurdselect.
1061 * hurd/hurdselect.c: New file.
1062 (_hurd_select): New function, guts taken from ...
1063 * sysdeps/mach/hurd/select.c (__select): ... here.
1064 Now work by just calling _hurd_select.
1065 * hurd/hurd/fd.h: Declare _hurd_select.
1066
10671998-12-05 Roland McGrath <roland@baalperazim.frob.com>
1068
1069 * time/strptime.c: Fix unterminated comment in last change.
1070
31604a65
UD
10711998-12-05 Ulrich Drepper <drepper@cygnus.com>
1072
6685edd3 1073 * ctype/ctype.h (_ISbit): Protect use of parameter with
9c8cfaf5 1074 parentheses.
6685edd3 1075 * wctype/wctype.h (_ISwbit): Likewise.
9c8cfaf5 1076
83ce8c14
UD
1077 * locale/Versions: Make experimental locale interface available in
1078 GLIBC_2.1.
1079
69c7e1dd 1080 * sysdeps/gnu/bits/utmp.h (struct exit_status): Define members
31604a65 1081 without leading __ only for __USE_GNU.
69c7e1dd 1082 * sysdeps/gnu/bits/utmpx.h (struct __exit_status): Likewise.
31604a65 1083
a6ff34d7
UD
10841998-12-04 Ulrich Drepper <drepper@cygnus.com>
1085
0d3eb016 1086 * argp/argp.h: Add __restrict.
a6ff34d7
UD
1087 * dirent/dirent.h: Likewise.
1088 * elf/dlfcn.h: Likewise.
1089 * grp/grp.h: Likewise.
1090 * iconv/iconv.h: Likewise.
1091 * inet/aliases.h: Likewise.
1092 * libio/libio.h: Likewise.
1093 * libio/stdio.h: Likewise.
1094 * locale/locale.h: Likewise.
1095 * misc/mntent.h: Likewise.
1096 * posix/wordexp.h: Likewise.
1097 * pwd/pwd.h: Likewise.
1098 * resolv/netdb.h: Likewise.
1099 * rt/aio.h: Likewise.
1100 * stdio-common/printf.h: Likewise.
1101 * stdlib/monetary.h: Likewise.
1102 * stdlib/stdlib.h: Likewise.
1103 * string/argz.h: Likewise.
1104 * string/envz.h: Likewise.
1105 * string/string.h: Likewise.
1106 * time/time.h: Likewise.
1107
11081998-12-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
1109
1110 * misc/sys/cdefs.h: Only include features.h if _FEATURES_H isn't
1111 defined. gcc's redundant include optimizer isn't clever enough to
1112 prevent a reinclusion here.
1113 Define __restrict to the empty string only if not GCC or
1114 GCC version less than 2.92.
1115
11161998-12-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1117
1118 * sysdeps/unix/sysv/linux/configure.in: Fix last change.
1119
11201998-12-03 Mark Kettenis <kettenis@phys.uva.nl>
1121
1122 * time/strptime.c (strptime_internal): Make use of `%C' format
1123 specifier if it is seen together with the `%y' specifier.
1124
11251998-12-04 Ulrich Drepper <drepper@cygnus.com>
1126
1127 * po/sk.po: New file.
1128
11291998-12-03 Scott Bambrough <scottb@corelcomputer.com>
1130
1131 * sysdeps/arm/dl-machine.h (dl_start_user): Incorrect address
1132 for _dl_main_searchlist passed to _dl_init_next.
1133
11341998-12-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1135
1136 * math/libm-test.c: Expand literal tabs in strings. Normalize
1137 whitespace.
1138
11391998-12-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1140
1141 * sysdeps/unix/sysv/linux/sys/fsuid.h: Fix spelling.
1142
aab217f3 11431998-12-04 Mark Kettenis <kettenis@phys.uva.nl>
c31fd66e 1144
aab217f3
RM
1145 Provide backwards binary compatibility for the Hurd.
1146 * hurd/geteuids.c [PIC && DO_VERSIONING]: Make __getuids a weak
1147 alias for geteuids.
1148 * hurd/Versions [GLIBC_2.0]: Add __getuids,
1149 __hurd_file_name_lookup and _hurd_umask.
1150 [GLIBC_2.1]: Add _hurd_proc_init.
1151 * hurd/Makefile [versioning] (routines): Add compat-20.
1152 (shared-only-routines): Likewise.
1153 * hurd/hurdinit.c (_hurd_new_proc_init): Renamed from
1154 _hurd_proc_init. Use it as the default _hurd_proc_init version
1155 for GLIBC_2.1.
1156 * hurd/compat-20.c: New file.
1157 * mach/Versions [GLIBC_2.0]: Add __vm_allocate.
c31fd66e 1158
eeabe877
UD
11591998-12-02 Ulrich Drepper <drepper@cygnus.com>
1160
1161 * elf/elf.h: Add R_MIPS_JALR and adjust R_MIPS_NUM appropriately.
1162
11631998-12-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1164
1165 * inet/Versions: Remove inet6_isipv4mapped.
1166
11671998-12-02 Philip Blundell <pb@nexus.co.uk>
1168
1169 * inet/in6_addr.c (inet6_isipv4mapped): Obsolete, deleted.
1170
11711998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1172
1173 * manual/time.texi (Formatting Date and Time): Fix typo.
1174
11751998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1176
1177 * sysdeps/unix/sysv/linux/configure.in: Only check for symlinks
1178 when configuring natively. Use autoconf macros instead of rolling
1179 our own. Handle defaulted prefix.
1180
19c6b9c8
UD
11811998-12-01 Ulrich Drepper <drepper@cygnus.com>
1182
1183 * version.h (VERSION): Bump to 2.0.105.
1184
1185 * sysdeps/generic/Dist: Add bits/libc-tsd.h.
1186
1187 * sysdeps/mach/hurd/Dist: Add bits/libc-tsd.h.
1188
1189 * sysdeps/unix/sysv/linux/mips/Dist: Add xstatconv.c.
1190
628a0aa1
UD
11911998-11-29 1998 H.J. Lu <hjl@gnu.org>
1192
1193 * libio/genops.c (_IO_unbuffer_write): Renamed from
1194 _IO_unbuffer_all.
1195 (_IO_cleanup): Call _IO_unbuffer_write instead of
1196 _IO_unbuffer_all.
1197
11981998-12-01 Ulrich Drepper <drepper@cygnus.com>
1199
1200 * intl/localealias.c: Use *_unlocked version of stdio function if
1201 _LIBC_REENTRANT is defined, not _LIBC.
1202
12031998-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1204
1205 * include/grp.h: Add prototypes for internal functions
1206 __getgrgid_r and __getgrnam_r.
1207
1208 * inet/herrno.c: Include <netdb.h> for prototype, undef h_errno.
1209
1210 * resolv/nsap_addr.c: Include <arpa/inet.h> for inet_nsap_addr and
1211 inet_nsap_ntoa prototypes.
1212
62595351
UD
12131998-12-01 Ulrich Drepper <drepper@cygnus.com>
1214
628a0aa1
UD
1215 * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Pass -I option
1216 to gcc to have it find the correct system header.
1217 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1218
62595351 1219 * Makefile (postclean): Add sysd-sorted.
628a0aa1 1220 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
62595351 1221
ee586e0e
UD
12221998-12-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1223
1224 * sunrpc/auth_des.c: Use new XDR int32 functions for integers.
1225 * sunrpc/rpc/xdr.h: Add IXDR INT32 functions.
1226 * sunrpc/rpc_hout.c: Remove (u_long) casts in defines to avoid
1227 conflicts with new solaris version.
1228 * sunrpc/rpc_main.c: Fix bug in generating Makefile name (malloc
1229 doesn't zero allocated memory).
1230 * sunrpc/rpc_svcout.c: Local variables now starts with a _ to avoid
1231 conflicts with xdr functions. Solves PR libc/877.
1232 * nis/rpcsvc/nis.x: Use always uint32_t.
1233 * nis/rpcsvc/nis.h: Likewise.
1234 * nis/rpcsvc/nis_object.x: Likewise.
1235
12361998-12-01 Ulrich Drepper <drepper@cygnus.com>
1237
1238 * math/libm-test.c: Various cleanups. Patch by Zack Weinberg.
1239
1240 * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use correct type for
1241 parameter. Patch by Christian Gafton.
1242
1243 * string/envz.h: Add prototype for envz_remove.
1244 Reported by Andreas Jaeger.
1245
42ee0538
RM
12461998-11-30 Mark Kettenis <kettenis@phys.uva.nl>
1247
1248 * mach/Versions [libc, GLIBC_2.0]: Add __spin_lock,
1249 __spin_lock_init, __mutex_lock, __mutex_trylock,
1250 __mutex_unlock.
1251 Remove get_priviliged_ports. Moved to hurd/Versions.
1252
1253 * hurd/Versions [libc, GLIBC_2.0]: Add _end. This makes the Hurd
1254 brk implementation see the end of the data segment of the program
1255 instead of the shared library.
1256 Add __hurd_errno_location. This inline function is used in user
1257 programs.
1258 Add _hurd_critical_section_lock, _hurd_critical_section_unlock,
1259 _hurd_fd_get, _hurd_port_free, _hurd_port_get,
1260 _hurd_port_locked_get. These inline functions are used by macros
1261 used in mail.local in the Hurd distribution.
1262 Add get_privileged_ports. Moved here from mach/Versions.
1263 Remove __hurd_file_name_lookup, __hurd_file_name_lookup_retry,
1264 __hurd_file_name_split, __hurd_file_name_path_lookup. These are
1265 not used outside libc.
1266
12671998-11-30 Mark Kettenis <kettenis@phys.uva.nl>
1268
1269 * hurd/hurdstartup.c: Really include set-hooks.h with <> instead
1270 of "".
1271
5713a71e
UD
12721998-11-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1273
1274 * sunrpc/Makefile: Add xdr_intXX_t to routines.
1275 * sunrpc/Versions: Add xdr_int8_t, xdr_uint8_t, xdr_in16_t and
1276 xdr_uint16_t.
1277 * sunrpc/rpc/xdr.h: Add prototypes for new xdr_intXX_t functions.
1278 * sunrpc/xdr.c: Remove xdr_int32_t and xdr_uint32_t.
1279 * sunrpc/xdr_intXX_t.c: New, contains all xdr_intXX_t functions.
1280
1281 * nis/Depend: New.
1282 * nis/nss_nis/nis-service.c: Include generated prototype for parser.
1283
348ed515
UD
12841998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1285
1286 * nscd/nscd_getpw_r.c: Include nscd_proto.h for prototypes.
1287
1288 * sysdeps/generic/errno-loc.c: Include <errno.h> for prototype,
1289 undefine errno to get variable.
1290
1291 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Include <sys/fsuid.h>
1292 instead of <unistd.h> for prototype.
1293 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1294
12951998-11-30 Ulrich Drepper <drepper@cygnus.com>
1296
1297 * misc/err.h: Correct comments and use protected attribute keywords.
1298 Reported by Joseph Myers <jsm28@cam.ac.uk>.
1299
13001998-11-29 Roland McGrath <roland@baalperazim.frob.com>
1301
1302 * malloc/thread-m.h [_LIBC]: Include <bits/libc-tsd.h>, and
1303 remove tsd stuff from pthreads/cthreads libc sections.
1304 Use __libc_tsd_define for MALLOC key.
1305 [_LIBC] (tsd_key_t, tsd_key_create): Define to a zero-size type and a
1306 no-op, respectively.
1307 [_LIBC] (tsd_setspecific, tsd_getspecific): Use __libc_tsd_get/set.
1308
1309 * elf/dl-error.c: Include <bits/libc-tsd.h>.
1310 Use __libc_tsd_define for DL_ERROR key.
1311 (tsd_setspecific, tsd_getspecific): Rewritten using __libc_tsd_get/set.
1312
1313 * sysdeps/mach/hurd/bits/libc-tsd.h: New file.
1314 * sysdeps/generic/bits/libc-tsd.h: New file.
1315 * Makefile (distribute): Add bits/libc-tsd.h.
1316
13171998-10-12 Roland McGrath <roland@baalperazim.frob.com>
1318
1319 * elf/dl-error.c: Remove kludge to check for ld.so load address.
1320 There is no need if weak undefined symbols are not used in ld.so;
1321 see linuxthreads/ChangeLog for changes to files
1322 linuxthreads/sysdeps/pthread/bits/libc-lock.h and
1323 linuxthreads/sysdeps/pthread/bits/libc-tsd.h.
1324
13251998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1326
1327 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo (s->__s).
1328
1329 * sysdeps/i386/i486/bits/string.h: Add prototypes for all new
1330 inline functions.
1331 * sysdeps/i386/bits/string.h: Likewise.
1332
13331998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1334
1335 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Remove ipc_kludge.
1336
13371998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1338
1339 * db2/progs/db_load/db_load.c (main): Avoid -Wparentheses warning.
1340
3dc9c979
RM
13411998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
1342
1343 * sysdeps/mach/hurd/dl-sysdep.c: Do not define
1344 __hurd_threadvar_max. Add comment explaining why we define
1345 __hurd_threadvar_stack_offset and __hurd_threadvar_stack_mask here.
1346
13471998-07-29 Mark Kettenis <kettenis@phys.uva.nl>
1348
1349 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
1350 __hurd_sigthread_stack_end, __hurd_sigthread_variables): Define to
1351 prevent inclusion of Hurd signal handling code.
1352 (__libc_write): New function.
1353 (_dl_sysdep_output): Removed. The implementation in
1354 `elf/dl-misc.c' now also works for the Hurd.
1355
f69139ec
RM
13561998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
1357
1358 * hurd/hurdstartup.c: Do not include hurdmalloc.h; _hurd_startup
1359 does not use any of malloc/realloc/free anymore. Include
1360 set-hooks.h with <> instead of "".
1361
0c4db20b
RM
13621998-11-29 Roland McGrath <roland@baalperazim.frob.com>
1363
1364 * sunrpc/svc_unix.c (__msgread): Move ON local var inside block
1365 within #ifdef SO_PASSCRED. Avoids unused var when no SO_PASSCRED.
1366 * sunrpc/clnt_unix.c (__msgread): Likewise.
1367
cbef6235
RM
13681998-11-28 Roland McGrath <roland@baalperazim.frob.com>
1369
1370 * hurd/setuids.c: Renamed to ...
1371 * hurd/seteuids.c: this.
1372 (setuids): Renamed to seteuids.
1373 * hurd/getuids.c: Renamed to ...
1374 * hurd/geteuids.c: this.
1375 (__getuids): Renamed to geteuids, no aliases.
1376 * hurd/hurd.h (geteuids, seteuids): Declare them.
1377 * hurd/Versions: Replace getuids; __getuids with geteuids; seteuids.
1378 * hurd/Makefile (routines): Updated.
1379
5f75d1e2
UD
13801998-11-29 Ulrich Drepper <drepper@cygnus.com>
1381
1382 * sysdeps/generic/segfault.c (install_handler): Correct test for
1383 SEGFAULT_HANDLER=all.
1384 Patch by Zack Weinberg.
1385
cbef6235
RM
13861998-11-28 23:23 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1387
1388 * sysdeps/unix/sysv/linux/configure.in: Test for symlinks in
1389 $prefix/include that may be clobbered on installation.
1390
6d4752d8
UD
13911998-11-27 Philip Blundell <pb@nexus.co.uk>
1392
1393 Fixes to allow compilation with static NSS:
1394 * nss/Makefile: Make explicit the dependency of getent on
1395 libnss_files.a.
1396 [build_static_nss]: Define $(otherlibs) appropriately.
1397 * nss/Depend: Add a dependency on `resolv'.
1398
13991998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1400
1401 Partial support for MIPS ISO C 9x exception handling:
1402 * sysdeps/mips/fclrexcpt.c: New file.
1403 * sysdeps/mips/ftestexcept.c: New file.
1404 * sysdeps/mips/fgetexcptflg.c: New file.
1405 * sysdeps/mips/fesetround.c: New file.
1406 * sysdeps/mips/fegetround.c: New file.
1407 * sysdeps/mips/fegetenv.c: New file.
1408 * sysdeps/mips/fesetenv.c: New file.
1409 * sysdeps/mips/feupdateenv.c: Likewise.
1410 * sysdeps/mips/bits/fenv.h: New file.
1411
14121998-11-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1413
1414 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Remove inclusion of
1415 <asm/signal.h> and add needed symbols from <asm/signal.h>; bring
1416 in sync with linux specific version.
1417
1418 Patches by Ralf Baechle <ralf@uni-koblenz.de> for mips-linux:
1419
1420 * sysdeps/unix/mips/sysdep.S: Define _errno as weak_alias, rewrite
1421 errno declaration.
1422
1423 * sysdeps/unix/sysv/linux/mips/ustat.c: Use INLINE_SYSCALL instead
1424 of calling __syscall_*.
1425 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
1426
1427 * sysdeps/unix/sysv/linux/mips/syscalls.list: Update entries.
1428
1429 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add missing SYS_*
1430 constants, correct values according to Linux 2.1.130.
1431
1432 * sysdeps/unix/sysv/linux/mips/pwrite.c: New file.
1433 * sysdeps/unix/sysv/linux/mips/pwrite64.c: New file.
1434 * sysdeps/unix/sysv/linux/mips/pread.c: New file.
1435 * sysdeps/unix/sysv/linux/mips/pread64.c: New file.
1436
1437 * sysdeps/mips/Makefile (sysdep_routines): Use += instead of a
1438 :=.
1439
1440 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Remove ipc_kludge.
1441
1442 * sysdeps/unix/sysv/linux/mips/xstatconv.c: New file.
1443
1444 * sysdeps/unix/sysv/linux/mips/xstat.c: Removed.
1445
1446 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: New file.
1447
1448 * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Add copyright
1449 message, change name of include protection, remove inclusion of
1450 <bits/termios.h>.
1451
1452 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
1453 (old_kernel_sigaction): Define.
1454 (struct kernel_sigaction): Rename sa_handler to k_sa_handler.
1455
1456 * sysdeps/unix/sysv/linux/mips/bits/time.h: Removed, we can use
1457 the general linux version.
1458 * sysdeps/unix/sysv/linux/mips/bits/stat.h (_STAT_VER_KERNEL): Added.
1459
1460 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Update file.
1461
14621998-09-03 Philip Blundell <pb@nexus.co.uk>
1463
1464 * sysdeps/arm/bits/endian.h (__FLOAT_WORD_ORDER): Define to big
1465 endian.
1466 * math/math_private.h: Use __FLOAT_WORD_ORDER rather than
1467 BYTE_ORDER.
1468 * string/endian.h: If __FLOAT_WORD_ORDER wasn't defined by
1469 <bits/endian.h>, make it the same as __BYTE_ORDER.
1470
48252123
UD
14711998-11-27 Ulrich Drepper <drepper@cygnus.com>
1472
1473 * math/math.h: Avoid using long double functions in generic macros
1474 if __NO_LONG_DOUBLE_MATH.
1475
1476 * sysdeps/arm/dl-machine.h: Fix handling of weak undefined symbols
1477 during bootstrapping.
1478 * scripts/config.sub: Add Netwinder specific matches.
1479 Patch by Scott Bambrough <scottb@corelcomputer.com>.
1480
6d4752d8
UD
14811998-11-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1482
1483 * Makeconfig ($(common-objpfx)sysd-dirs): Use automatic variables
1484 if possible.
1485 ($(common-objpfx)sysd-sorted): Likewise.
1486
14871998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1488
1489 * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Add declaration of
1490 local variables t1,t2 only if needed.
1491
48252123
UD
1492 * sysdeps/libm-ieee754/e_atan2.c: Added braces to avoid compiler
1493 warnings.
6d4752d8
UD
1494 * sysdeps/libm-ieee754/s_truncf.c (__truncf): Likewise.
1495 * sysdeps/libm-ieee754/s_trunc.c (__trunc): Likewise.
1496
1497 * sysdeps/mips/mul_1.S (Loop): Add closing comment to avoid
1498 warning.
1499
15001998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1501
1502 * math/math.h: Add brace to correct #if expression.
1503
15041998-11-26 Philip Blundell <philb@gnu.org>
1505
1506 Undo change of 1998-11-12:
1507 * sysdeps/unix/sysv/linux/netlink/netlink.h: Deleted.
1508 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1509 netlink/netlink.h.
1510 * sysdeps/unix/sysv/linux/Dist: Likewise.
1511
15121998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1513
1514 * nis/nis_print.c (nis_print_entry): Changes to match Solaris output.
1515
cb0509a8
UD
15161998-11-26 Ulrich Drepper <drepper@cygnus.com>
1517
1518 * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): New defined macro.
1519 (elf_machine_got_rel): Remove scope variable. Use scope from the map.
1520 Don't modify _dl_global_scope_end in the end.
1521 (__dl_runtime_resolv): Also use scope from the map.
1522 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1523 * elf/dl-runtime.c: Don't define fixup and profile_fixup if
1524 ELF_MACHINE_NO_PLT is defined.
1525 * sysdeps/mips/sys/ucontext.h: New file.
1526 Patches by kaz Kojima <kkojima@rr.iij4u.or.jp>.
1527
6d4752d8
UD
15281998-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1529
1530 * sysdeps/generic/pselect.c (__pselect): Change interface,
1531 set/restore sigmask.
1532
1533 * misc/sys/select.h: Change declaration according to Stevens' Unix
1534 Network Programming.
1535 * include/sys/select.h (__pselect): Likewise.
1536 Reported by <bwelling@anomaly.munge.com> [PR libc/872].
1537
1538 * include/fpu_control.h: New file, contains __setfpucw
1539 declaration.
1540
1541 * sysdeps/generic/fpu_control.h: Remove __setfpucw declaration,
1542 it's an internal symbol.
1543 * sysdeps/alpha/fpu/fpu_control.h: Likewise.
1544 * sysdeps/arm/fpu/fpu_control.h: Likewise.
1545 * sysdeps/i386/fpu_control.h: Likewise.
1546 * sysdeps/m68k/fpu_control.h: Likewise.
1547 * sysdeps/powerpc/fpu_control.h: Likewise.
1548 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Likewise.
1549 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
1550
0155a773
UD
15511998-11-25 Ulrich Drepper <drepper@cygnus.com>
1552
1553 * version.h (VERSION): Bump to 2.0.104.
1554
15551998-11-25 Mark Kettenis <kettenis@phys.uva.nl>
1556
1557 * libio/bits/stdio.h (fread_unlocked): Add missing parentheses
1558 around parameter n.
1559
15601998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1561
1562 * time/tzfile.c (__tzfile_read): Fix comment.
1563
15641998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1565
1566 * Makerules (build-shlib): Pass -O1 down to linker to get
1567 optimized shared libraries.
1568
15691998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1570
1571 * Makeconfig ($(common-objpfx)sysd-dirs): Cope with no Subdirs
1572 file. Strip "-" from inhibited subdir name. Combine into a
1573 single awk program.
1574 ($(common-objpfx)sysd-sorted): Fix sed command.
1575
77dd7355
RM
15761998-11-25 Roland McGrath <roland@baalperazim.frob.com>
1577
1578 * sysdeps/mach/hurd/i386/init-first.c (init): Restored as inline fn.
1579 Use constant _HURD_THREADVARS_MAX for temporary array size.
1580
1581 * Makeconfig ($(common-objpfx)sysd-sorted): Use @ instead of / as sed
1582 s separator, since $(..) might contain a /.
1583
45b3d8ad
UD
15841998-11-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1585
1586 * configure.in (mips): Fix typo (Replace ,, by ;;).
1587
1588 * libio/Versions: Clean up entries.
1589
33127459
UD
15901998-11-23 Ulrich Drepper <drepper@cygnus.com>
1591
1592 * sysdeps/i386/fpu/bits/mathinline.h: Add optimizations for lrint
1593 and llrint.
1594
a42134a7
UD
15951998-11-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1596
1597 * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Removed. There are too
1598 many differences between the Linux 2.0 and 2.1 versions of this
1599 file and it's too difficult to convert all calls. The file should
1600 only be needed by the ipfw program which has to take care of the
1601 correct kernel version and include files.
1602
1603 * sysdeps/unix/sysv/linux/Dist: Remove netinet/ip_fw.h.
1604 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
1605
7d6a8338
UD
16061998-11-23 Ulrich Drepper <drepper@cygnus.com>
1607
1608 * Makeconfig: Don't read sysd-sorted unless sysd-dirs is read.
1609 Patch by Zack Weinberg.
1610
1611 * math/bits/mathcalls.h: Adjust comments. Remove gamma_r prototype.
1612
1613 * sysdeps/i386/fpu/bits/mathinline.h: Make log2 only available if
1614 __USE_ISOC9X is defined. Provide rint optimization.
1615
16161998-11-21 H.J. Lu <hjl@gnu.org>
1617
1618 * libio/Versions (_IO_popen, _IO_proc_open, _IO_proc_close,
1619 popen, pclose): Add to GLIBC_2.1.
1620
1621 * libio/Makefile (routines): Add oldiopopen and oldpclose.
1622 (shared-only-routines): Likewise.
1623
1624 * libio/pclose.c (pclose): Make it default for GLIBC_2.1.
1625 * libio/iopopen.c (_IO_proc_open, _IO_popen, popen,
1626 _IO_proc_close): Likewise.
1627
1628 * libio/iolibio.h (_IO_new_popen, _IO_old_popen, __new_pclose,
1629 __old_pclose): New prototypes.
1630
1631 * libio/libioP.h (_IO_new_file_jumps): Removed.
1632 (_IO_old_proc_jumps): Added.
1633 (_IO_new_proc_open, _IO_old_proc_open): New prototypes.
1634
1635 * libio/oldiopopen.c: New file.
1636
1637 * libio/oldpclose.c: New file.
1638
16391998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1640
1641 * nss/Makefile: Build and install getent.
1642 * nss/getent.c: New, get entries from administrative database.
1643
1521f3a5
RM
16441998-11-22 Roland McGrath <roland@baalperazim.frob.com>
1645
1646 * sysdeps/mach/hurd/i386/init-first.c (init): Provide temporary storage
1647 for the per-thread variables of the main user thread to make it
1648 possible to use malloc as soon as _hurd_preinit_hook has been run.
1649 For cthreads, copy values to new stack from there.
1650 For non-cthreads, malloc threadvar array here and copy from temp space.
1651 (init1): No longer initialize threadvars here.
1652 (doinit1): Made static void at top level.
1653 (init): Folded into [PIC] _init or [!PIC] doinit1, since GCC cannot
1654 inline a function that uses dynamic auto arrays.
1655
5edb9387
UD
16561998-11-20 Ulrich Drepper <drepper@cygnus.com>
1657
d89e7a96
UD
1658 * version.h (VERSION): Bump to 2.0.103.
1659
5edb9387
UD
1660 * aclocal.m4 (LIBC_PROG_BINUTILS): Also add AR and RANLIB using the
1661 same method.
1662 * configure.in: Don't define AR and RANLIB here.
1663
1664 * inet/gethstbyad_r.c: Define NEED__RES_HCONV and POSTPROCESS for
1665 host name res_hconf code.
1666 * inet/gethstbynm_r.c: Likewise.
1667 * nss/getXXbyYY_r.c: Include resolv/res_hconf.h if NEED__RES_HCONF
1668 is defined. Call res_hconf_init if necessary. If POSTPROCESS is
1669 defined execute the code.
1670 * resolv/Makefile (routines): Add res_hconf.
1671 (headers): Add res_hconf.h.
1672 * resolv/res_hconf.c: Pretty print.
1673 * resolv/res_hconf.h: Likewise.
1674
16751998-11-20 Ulrich Drepper <drepper@cygnus.com>
1676
1677 * sysdeps/generic/bits/byteswap.h: Fix typos in non-GCC
1678 definitions. Reported by Scott Bambrough <scottb@corelcomputer.com>.
1679
16801998-11-20 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1681
1682 * math/libm-test.c: Raise some epsilons a bit.
1683
16841998-11-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1685
1686 * Makeconfig ($(common-objpfx)sysd-sorted): Fix portability problems.
1687
16881998-11-20 Ulrich Drepper <drepper@cygnus.com>
1689
1690 * Makefile (distribute): Add scripts/gen-sorted.awk.
1691
bece5ca7
UD
16921998-11-19 Ulrich Drepper <drepper@cygnus.com>
1693
1694 * posix/regex.c (regex_compile): Handle extra long class names
1695 correctly.
1696
50463d27
UD
16971998-11-19 Geoff Keating <geoffk@ozemail.com.au>
1698
1699 * elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so
1700 correctly.
1701
1da99555
UD
17021998-11-19 Ulrich Drepper <drepper@cygnus.com>
1703
b0428320
UD
1704 * misc/error.c: Undo last change.
1705
1da99555
UD
1706 * ctype/Versions: Add _tolower and _toupper.
1707
f1317ef5
UD
17081998-11-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1709
1710 * sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and
1711 POLLNVAL.
1712
bb41a976
UD
17131998-11-19 Ulrich Drepper <drepper@cygnus.com>
1714
1715 * Makeconfig: Add comment to all-subdirs definition.
1716 Add rule to generate sysd-sorted. Include this file and and set
1717 subdirs value to $(sorted-subdirs).
1718 * scripts/gen-sorted.awk: New file.
1719 * Make-dist (+tsrcs): Add Depend.
1720 * nscd/Depend: New file.
1721 * nss/Depend: New file.
1722 * rt/Depend: New file.
1723
090ca000
UD
17241998-11-18 Ulrich Drepper <drepper@cygnus.com>
1725
dfd2464b
UD
1726 * sysdeps/unix/bsd/poll.c (__poll): Add code to extend sets if any
1727 passed file descriptor exceeds the size determined by
1728 getdtablesize.
1729
1730 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Update
1731 from inline version in bits/socket.h.
1732
1733 * sysdeps/unix/sysv/linux/bits/socket.h: Define __cmsg_nxthdr as
1734 inline function only is __USE_EXTERN_INLINES is defined.
1735
1736 * time/strftime.c (my_strftime): Make code a bit clearer.
1737 Patch by Paul Eggert <eggert@twinsun.com>.
1738
090ca000
UD
1739 * io/Makefile (CFLAGS-ftw.c): Removed.
1740
b0428320 1741 * manual/errno.texi: Change the short text for ENODEV to
bb41a976
UD
1742 "No such device".
1743
090ca000
UD
17441998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1745
1746 * io/Makefile (tests): Make sure that the test program has an
1747 explicit directory part.
1748
17491998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1750
1751 * configure.in: Fix last change.
1752
17531998-11-18 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1754
1755 * sunrpc/Makefile (routines): Add create_xid.
1756
1757 * sunrpc/clnt_tcp.c: Use non-guessable xid.
1758 * sunrpc/clnt_udp.c: Likewise.
1759 * sunrpc/clnt_unix.c: Likewise.
1760 * sunrpc/pmap_rmt.c: Likewise.
1761 * sunrpc/create_xid.c: New, create non-guessable xid.
1762
1763 * sunrpc/svc_tcp.c: Remove patch from 1998-06-15, use poll instead
1764 of select.
1765 * sunrpc/svc_unix.c: Use poll instead of select.
1766
d8cceb4f
UD
17671998-11-17 Ulrich Drepper <drepper@cygnus.com>
1768
45a9a50e 1769 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Make Unix98 compliant
dfd2464b 1770 by removing SIG_IGN handler for SIGCHLD if necessary.
45a9a50e
UD
1771 Patch by H.J. Lu <hjl@lucon.org>.
1772
d8cceb4f
UD
1773 * stdio-common/printf_fphex.c (__printf_fphex): Correct printing
1774 of denormalized numbers.
1775
17761998-10-06 Geoff Keating <geoffk@ozemail.com.au>
1777
1778 * sysdeps/powerpc/dl-machine.h (elf_machine_load_address): Suppress
1779 another parentheses warning, make nano-optimisation.
1780
1781 * sysdeps/powerpc/dl-machine.h (_dl_runtime_resolve): Preserve
1782 saved LR on stack so _mcount works.
1783 (_dl_prof_resolve): Likewise.
1784 * sysdeps/powerpc/register-dump.h: Print FPRs. Adjust for correct
1785 signal handler calling convention.
1786 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Adjust for
1787 correct signal handler calling convention---more like x86 linux and
1788 mklinux, less like linux-ppc versions between 2.1 and 2.1.126.
1789
17901998-11-17 Ulrich Drepper <drepper@cygnus.com>
1791
1792 * configure.in: Correct allowed makeinfo version.
1793
17941998-11-17 Philip Blundell <pb@nexus.co.uk>
1795
1796 * sysdeps/generic/bits/mathdef.h: Fix typo.
1797
cae88996
UD
17981998-11-17 Geoff Keating <geoffk@ozemail.com.au>
1799
1800 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall
1801 under the right name (squish warning).
1802 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1803
18041998-11-17 Geoff Keating <geoffk@ozemail.com.au>
1805
1806 * stdio-common/_itoa.c (_itoa): Add redundant parentheses to
1807 prevent warnings.
1808
9d1efe33
UD
18091998-11-16 Ulrich Drepper <drepper@cygnus.com>
1810
d8cceb4f 1811 * intl/locale.alias: Change `japanese' alias to match X11R6's.
9d1efe33
UD
1812 Add `japanese.euc' alias.
1813
1814 * manual/Makefile (%.info): Set LANGUAGE and LC_ALL explicitly to C
1815 before running makeinfo.
1816
1817 * math/Makefile (libm-routines): $(strip) entire value.
1818
1819 * nss/nss_db/db-XXX.c (internal_setent): Rewrite to avoid warning.
1820
18211998-10-24 H.J. Lu <hjl@gnu.org>
1822
1823 * libio/libio.h (_IO_cookie_io_functions_t): Protect with __USE_GNU.
1824 (_IO_cookie_file): Likewise.
1825
18261998-11-16 Philip Blundell <philb@gnu.org>
1827
1828 * inet/netinet/icmp6.h: Correct naming of constants.
1829
8b7fb588
UD
18301998-11-16 Ulrich Drepper <drepper@cygnus.com>
1831
1832 * sysdeps/unix/opendir.c: Use o_directory_works differently. Treat
1833 zero value as uninitialized so that variable can go into .bss.
1834
1835 * dirent/opendir-tst1.c: Print error strings to stdout.
1836
1837 * sysdeps/unix/sysv/linux/mmap64.c: New file. Empty.
1838 * sysdeps/unix/sysv/linux/syscalls.list: Add mmap with mmap64 alias.
1839 * sysdeps/unix/sysv/linux/arm/mmap.S: Add mmap64 alias.
1840 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1841 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1842
18431998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1844
1845 * time/tzfile.c (__tzfile_read): Check that types[i].isdst is in
1846 range.
1847
18481998-11-16 Ulrich Drepper <drepper@cygnus.com>
1849
1850 * libio/bits/stdio.h (fread_unlocked): Do handle zero size and number.
1851 (fwrite_unlocked): Likewise.
1852
18531998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1854
1855 * libio/bits/stdio.h (fread_unlocked): Don't evaluate non-constant
1856 twice. Don't bother handling zero size.
9d1efe33 1857 (fwrite_unlocked): Likewise.
8b7fb588
UD
1858
18591998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1860
1861 * configure.in: Fix regex for makeinfo version string.
1862
18631998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1864
1865 * sunrpc/rpc_sample.c (write_sample_server): Avoid -Wparentheses
1866 warning.
1867 * sunrpc/rpc_svcout.c (write_program): Likewise.
1868
18691998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1870
1871 * time/Makefile (CFLAGS-test_time.c): Add -Wno-format.
1872
18731998-11-16 Ulrich Drepper <drepper@cygnus.com
1874
1875 * misc/sys/mman.h: Pretty print prototypes.
1876
18771998-11-15 Ulrich Drepper <drepper@cygnus.com
1878
1879 * misc/error.c (error): Don't use result of strerror_r call directly
1880 since at least DEC Unix has a wrong return type.
1881 Patch by Johan Danielsson <joda@pdc.kth.se>.
1882
18831998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
22bb3c7f
AS
1884
1885 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo
1886 last change.
1887
77d10f94
UD
18881998-11-13 Ulrich Drepper <drepper@cygnus.com>
1889
27658f20 1890 * stdio-common/vfscanf.c: Don't return -1 in case of an invalid
9d1efe33 1891 format, just stop.
27658f20 1892
77d10f94
UD
1893 * version.h (VERSION): Bump to 2.0.102.
1894
1895 * stdio-common/tstdiomisc.c (t2): Update test case for last scanf
1896 change.
1897 * stdio-common/scanf7.c (main): Likewise.
1898
99c9e773
UD
18991998-11-13 Ulrich Drepper <drepper@cygnus.com>
1900
47b856a9
UD
1901 * stdio-common/vfscanf.c: Return EOF for invalid format
1902 characters.
1903
fb3d8ad6
UD
1904 * version.h (VERSION): Bump to 2.0.101.
1905
99c9e773
UD
1906 * Makerules (Versions.all): Generate this file from all Versions.def
1907 files.
1908 (sysd-versions): Use Versions.all instead of Versions.def.
1909
47b856a9
UD
19101998-11-13 Philip Blundell <philb@gnu.org>
1911
1912 * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value.
1913 Reported by Scott Bambrough.
1914
93d63a59
UD
19151998-11-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1916
1917 * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
1918
a3e0e9ae
UD
19191998-11-13 Ulrich Drepper <drepper@cygnus.com>
1920
1921 * libio/bits/stdio.h: Correct and improve fread_unlocked and
1922 fwrite_unlocked optimizations.
1923
1924 * time/tzfile.c (__tzfile_read): Set __tzname based on last names
1925 in time not to last entries in the file.
1926 (__tzfile_compute): Likewise. Fix for PR libc/863.
1927
1928 * timezone/Makefile: Generate GB timezone data for test.
1929 * timezone/tst-timezone.c: More tests for DST switching time (disabled
1930 for now).
1931
19321998-11-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2dc9c8cd
AS
1933
1934 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
1935 d0 from clobber list.
1936
d2537a47
UD
19371998-11-12 Ulrich Drepper <drepper@cygnus.com>
1938
1939 * inet/netinet/in.h: Add a few more IPPROTO_* macros.
1940
1941 * libio/Makefile (headers): Add bits/stdio.h.
1942 * libio/iofread_u.c: Undefine fread_unlocked before definition.
1943 * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
1944 * libio/stdio.h: Move optimizations into ...
1945 * libio/bits/stdio.h: ...here. New file.
1946
1947 * libio/iofread.c: Pretty print.
1948
19491998-11-12 Mark Kettenis <kettenis@phys.uva.nl>
1950
1951 * sysdeps/gnu/bits/utmpx.h: Protect members of struct
1952 __exit_status with `__'. Rename pad member of struct utmpx to
1953 __unused.
1954 (RUN_LVL): Define unconditionally.
a3e0e9ae 1955 * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to
d2537a47
UD
1956 __unused.
1957
19581998-11-12 Philip Blundell <philb@gnu.org>
1959
1960 * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
1961 Linux AF_NETLINK sockets (needed since the kernel version is
1962 unusable).
1963 * sysdeps/unix/sysv/linux/Makefile: Install it.
1964 * sysdeps/unix/sysv/linux/Dist: Distribute it.
1965
19661998-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1967
1968 * timezone/tst-timezone.c (tests): Add entry for America/Chicago
1969 to test for bug in PR libc/863.
1970
19711998-11-12 Ulrich Drepper <drepper@cygnus.com>
1972
1973 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.
1974
1975 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
1976 parameter lazy to do_lazy to avoid clashing with struct member name.
1977 Reported by Ralf Baechle <ralf@uni-koblenz.de>.
1978
19791998-11-10 H.J. Lu <hjl@gnu.org>
1980
1981 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
1982 if it is defined in <linux/limits.h>.
1983
19841998-11-09 13:07 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1985
1986 * include/protocols/routed.h: Include the real header with
1987 a full path from the top of the source tree.
1988 * include/protocols/rwhod.h: Likewise.
1989 * include/protocols/talkd.h: Likewise.
1990 * include/protocols/timed.h: Likewise.
1991
1992 * timezone/Makefile: Don't include z.ZONE files if no_deps
1993 is set, not if avoid-generated is set.
1994
19951998-11-12 Ulrich Drepper <drepper@cygnus.com>
1996
1997 * signal/signal.h: Undo last change. Get definition of timespec
1998 if __USE_POSIX199309.
1999
2000 * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
2001 size_t to prevent gcc warning when using -Wqual-cast.
2002 (__strpbrk_c3): Likewise.
2003 Suggested by Alan Curry <pacman@cqc.com>.
2004
fc7af6d6
RM
20051998-11-11 Roland McGrath <roland@baalperazim.frob.com>
2006
159d4836
RM
2007 * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,
2008 unblocked signals are set in the startup masks.
2009
fc7af6d6
RM
2010 * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
2011 INTARRAYSIZE. Initialize main thread's sigstate from INIT_SIG* ints.
159d4836 2012
fc7af6d6
RM
2013 * hurd/hurd/signal.h: Update _hurdsig_init decl.
2014 * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
2015 INTARRAYSIZE, pass them down to _hurdsig_init.
2016 * hurd/hurd.h: Update _hurd_proc_init decl.
2017
74eee886
UD
20181998-11-10 Ulrich Drepper <drepper@cygnus.com>
2019
2020 * math/cabs.c: Replace complex by _Complex.
2021 * math/cabsf.c: Likewise.
2022 * math/cabsl.c: Likewise.
2023 * math/cimag.c: Likewise.
2024 * math/cimagf.c: Likewise.
2025 * math/cimagl.c: Likewise.
2026 * math/conj.c: Likewise.
2027 * math/conjf.c: Likewise.
2028 * math/conjl.c: Likewise.
2029 * math/creal.c: Likewise.
2030 * math/crealf.c: Likewise.
2031 * math/creall.c: Likewise.
2032
2033 * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if
2034 included from math.h and __USE_ISOC9X is defined.
2035 * sysdeps/generic/bits/mathdef.h: Likewise.
2036 * sysdeps/generic/i386/fpu/mathdef.h: Likewise.
2037 * sysdeps/generic/m68k/fpu/mathdef.h: Likewise.
2038 * sysdeps/generic/powerpc/bits/mathdef.h: Likewise.
2039 * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise.
2040
20411998-11-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2042
2043 * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by
2044 <complex.h>.
2045 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
2046 * sysdeps/generic/bits/mathdef.h: Likewise.
2047 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2048 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2049 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
2050
20511998-11-09 Ulrich Drepper <drepper@cygnus.com>
2052
2053 * extra-lib.mk: Fix typo in last change.
1792d4db
UD
2054
2055 * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH
2056 is needed.
2057 Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined.
2058 Don't define `complex' but instead `_Complex'. The later is the
2059 reserved keyword.
2060 * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex,
2061 not complex.
2062
20631998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2064
2065 * manual/libc.texinfo: Remove colon from category name.
2066 * manual/Makefile (dir-add.info): Likewise.
2067
20681998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2069
2070 * configure.in: Avoid autoconf bug.
2071
20721998-10-28 H.J. Lu <hjl@gnu.org>
2073
2074 * posix/getopt.h: Add "__" to arguments in prototypes.
2075
20761998-11-05 H.J. Lu <hjl@gnu.org>
2077
2078 * libio/iofgets.c (_IO_fgets): Don't report error
2079 if something was read in and errno is set to
2080 EAGAIN.
2081 * libio/iofgets_u.c (fgets_unlocked): Likewise.
2082
20831998-11-05 Philip Blundell <philb@gnu.org>
2084
2085 * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
2086 header; it defines too much. Provide a local definition of struct
2087 sockaddr_pkt and a comment advising against its use.
2088
20891998-11-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2090
2091 * extra-lib.mk: Avoid empty include list.
2092
20931998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2094
2095 * extra-lib.mk: Add support for $(lib)-shared-only-routines.
2096
2097 * elf/Makefile (libdl-routines): Add dlopenold only if doing
2098 versioning.
2099 (libdl-shared-only-routines): New variable.
2100
21011998-11-06 Paul Eggert <eggert@twinsun.com>
2102
2103 Don't invoke localtime_r or gmtime_r unless it's the GNU C
2104 library's localtime_r and gmtime_r; there are too many buggy
2105 implementations of localtime_r and gmtime_r out there, and
2106 it's not worth keeping track of all the different bugs.
2107
2108 * time/mktime.c (__EXTENSIONS__): Remove.
2109 (<unistd.h>): No need to include.
05f732b3
UD
2110 * time/strftime.c: Likewise.
2111
2112 * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R):
1792d4db
UD
2113 Remove.
2114 (my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
2115 Base it on localtime unless _LIBC.
2116
2117 * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
2118 all uses changed.
2119 (my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
2120 Base them on localtime/gmtime if not _LIBC.
05f732b3
UD
2121
21221998-11-07 Ulrich Drepper <drepper@cygnus.com>
2123
2124 * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid
2125 file descriptor. This makes this function actually usable.
2126 Proposed by Mark Kettenis <kettenis@phys.uva.nl>.
2127
9a821cf9
UD
21281998-11-05 Ulrich Drepper <drepper@cygnus.com>
2129
d76bd17f
UD
2130 * math/math.h: Unconditionally include bits/mathdef.h. Declare
2131 long double functions only if __NO_LONG_DOUBLE_MATH is not
2132 defined.
2133 * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X.
2134 Define __NO_LONG_DOUBLE_MATH.
2135 * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X.
2136 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2137
9a821cf9
UD
2138 * elf/rtld.c: Add a few __builtin_expects where they will improve
2139 a lot.
2140
c0016081
UD
21411998-11-05 Ulrich Drepper <drepper@cygnus.com>
2142
fe959e1e
UD
2143 * version.h (VERSION): Bump to 2.0.100.
2144
c0016081
UD
2145 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.
2146
2147 * sysdeps/libm-i387/s_fma.S: Optimize a bit.
2148 * sysdeps/libm-i387/s_fmaf.S: Likewise.
2149
9a821cf9
UD
21501998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2151
2152 * libio/genops.c (_IO_least_marker): Add additional parameter
2153 end_p replacing fp->_IO_read_end.
2154 (save_for_backup): Likewise. All callers changed. Use _IO_size_t
2155 and _IO_ssize_t instead of int.
2156 (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr.
2157 (_IO_switch_to_backup_area): Likewise. Fix comments.
2158 (_IO_seekmark): Undo last change.
2159 (_IO_default_pbackfail): Correct use of backup area.
2160 * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr.
2161
c0016081
UD
21621998-11-04 19:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
2163
2164 * configure.in: Search for install-info and substitute it.
2165 Determine whether install-info is the buggy Debian version
2166 that doesn't understand INFO-DIR-SECTION.
2167 * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
2168 to be substituted.
2169 * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
2170 install-info the --section argument it needs to work properly.
2171 (dir-add.texinfo): Delete target.
2172 (dir-add.info): Generate this directly. Sort entries. Put a
2173 colon at the end of the INFO-DIR-SECTION line.
2174 * manual/libc.texinfo: Put a colon at the end of the
2175 @dircategory line.
2176
21771998-11-05 Paul Eggert <eggert@twinsun.com>
2178
2179 * time/mktime.c (__mktime_internal): Adopt the traditional (and
2180 problematic) notion of what to do when tm_isdst doesn't match.
2181
21821998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2183
2184 * posix/PTESTS: Fix spelling.
2185
ff8ac383
UD
21861998-11-04 Ulrich Drepper <drepper@cygnus.com>
2187
2188 * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
2189 functions. Reduce error in computing normalized value by multiplying
2190 factor in loop and compute result in one step.
a92599ea
UD
2191 Reported by Christian Gafton.
2192
2193 * sysdeps/libm-i387/e_hypot.S: New file.
2194 * sysdeps/libm-i387/e_hypotf.S: New file.
ff8ac383 2195
c0016081
UD
21961998-11-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2197
2198 * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.
2199
22001998-11-03 H.J. Lu <hjl@gnu.org>
2201
2202 * libio/fileops.c (new_do_write): New function.
2203 (_IO_new_do_write): Call new_do_write.
2204 (_IO_new_file_xsputn): Likewise.
2205
2206 * libio/oldfileops.c (old_do_write): New function.
2207 (_IO_old_do_write): Call old_do_write.
2208 (_IO_old_file_xsputn): Likewise.
2209
3ddfec55
UD
22101998-11-04 Ulrich Drepper <drepper@cygnus.com>
2211
98b567ff
UD
2212 * time/mktime.c (__mktime_internal): Correct last change. We must
2213 stop searching for the right isdst value before stepping to the
2214 initial value.
2215
3ddfec55
UD
2216 * malloc/malloc.c: Make sure calloc really returned zeroed memory.
2217 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
2218
f540c0a4
UD
22191998-11-02 16:12 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
2220
2221 * sysdeps/generic/bits/signum.h: Define signals with their
2222 historical numbers when those are in the 1-15 range and
2223 consistent across platforms.
2224 Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
2225 Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
2226 appropriately instead of with fake function declarations
2227 (would cause link errors).
2228 If __USE_UNIX98, define SIG_HOLD.
2229
22301998-10-29 H.J. Lu <hjl@gnu.org>
2231
2232 * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
2233 union only if __USE_POSIX199309 is defined.
2234
2235 * misc/sys/select.h (pselect): Declared only if __USE_GNU is
2236 defined.
2237
5fea58fb
UD
22381998-11-03 Ulrich Drepper <drepper@cygnus.com>
2239
2240 * time/mktime.c (__mktime_internal): Handle broken down times
2241 around the time of the DST switches more correctly.
2242
e254df14
UD
22431998-11-02 Ulrich Drepper <drepper@cygnus.com>
2244
2245 * elf/Makefile (libdl-routines): Add dlopenold.
2246 * elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
2247 * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
2248 is set and bounce otherwise.
2249 * elf/dlopen.c: Rename function to __dlopen_check and make version
2250 named dlopen.
2251 * elf/dlopenold.c: New file.
2252
e3e35cfc
UD
22531998-11-02 Ulrich Drepper <drepper@cygnus.com>
2254
2255 * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
2256 * elf/dl-open.c (_dl_global_scope_alloc): Move definition to
2257 * elf/dl-deps.c: ...here.
2258 * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
2259 new parameter and expect result. Remove code handling RTLD_GLOBAL.
2260 Add return value of _dl_map_object_deps to
2261 _dl_main_searchlist->r_nlist.
2262 * elf/dl-deps.c (_dl_map_object_deps): Change to return value.
2263 If we parameter GLOBAL is nonzero add object and dependencies to
2264 the global scope.
2265 * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
2266 * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
2267 Mark all objects as in global scope.
2268 * elf/dl-object.c (_dl_new_object): Initialize l_global to zero.
2269
2270 * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.
2271
2272 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
2273 used in macro magic.
2274
5fea58fb
UD
22751998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2276
f540c0a4
UD
2277 * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
2278 before <sys/socket.h> to make sockaddr_at available to
2279 <sys/socket.h>.
e3e35cfc
UD
2280
2281 * posix/glob.h: Remove __P from parameter lists of declarations.
5fea58fb
UD
2282
22831998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2284
2285 * time/tzset.c (tz_compute): Remove unused parameter timer.
2286 Change caller.
2287
22881998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
2289
2290 * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
2291
160698e2
UD
22921998-11-02 Ulrich Drepper <drepper@cygnus.com>
2293
2294 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
2295 unnecessary test and add cast.
2296
22971998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2298
2299 * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.
2300
2301 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
2302 parameter fd.
2303 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2304
23051998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
2306
2307 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
2308 fds_bits member.
2309 (__FDMASK): Use __fd_mask instead of unsigned long int in cast.
2310
23111998-10-31 Richard Henderson <rth@cygnus.com>
2312
2313 * math/Makefile (gmp-objs): Add udiv_qrnnd.
2314
2315 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
2316 (inline_syscall*): New.
2317 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
2318 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.
2319
256705f4
UD
23201998-10-31 Ulrich Drepper <drepper@cygnus.com>
2321
2322 * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
2323 avoid ld test generating an unwanted file.
2324
c55be36d
UD
2325 * posix/PTESTS: Remove comment about incorrect test (it is correct).
2326
160698e2
UD
23271998-10-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2328
2329 * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
2330 * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
2331 * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
2332 * sunrpc/rpc/xdr.h: Add INT32 support.
a1129917 2333 * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
160698e2
UD
2334
2335 * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
2336 * nis/nis_callback.c: Likewise.
2337 * nis/nis_creategroup.c: Likewise.
2338 * nis/nis_defaults.c: Likewise.
2339 * nis/nis_intern.h: Likewise.
2340 * nis/nis_lookup.c: Likewise.
2341 * nis/nis_ping.c: Likewise.
2342 * nis/nis_print.c: Likewise.
2343 * nis/nis_table.c: Likewise.
2344 * nis/nis_util.c: Likewise.
2345 * nis/nis_xdr.c: Likewise.
2346 * nis/rpcsvc/nis.h: Likewise.
2347 * nis/rpcsvc/nis.x: Likewise.
2348 * nis/rpcsvc/nis_callback.h: Likewise.
2349 * nis/rpcsvc/nis_object.x: Likewise.
2350 * nis/rpcsvc/nislib.h: Likewise.
2351
2352 * nis/rpcsvc/yp.h: Remove casts to (u_long).
2353 * nis/rpcsvc/yp_prot.h: Likewise.
2354 * nis/rpcsvc/ypupd.h: Likewise.
2355 * nis/ypclnt.c: Change %ld to %d in sprintf.
2356
23571998-10-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2358
2359 * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
2360
23611998-10-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2362
2363 * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
2364 0, __fd_mask is usually not a char.
2365
23661998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2367
2368 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
2369 compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
2370 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
2371 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2372 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
2373 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
2374 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2375 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2376
2377 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
2378 compiling on systems without rt_sigaction syscall.
2379 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
2380 Likewise.
2381
23821998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2383
2384 * time/strptime.c (HERE_D_FMT): Fix typo.
2385 Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
2386
a3b2008a
UD
23871998-10-30 Ulrich Drepper <drepper@cygnus.com>
2388
646fffb9
UD
2389 * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
2390 (generate): Add test1.cat and test1.h.
2391 (distribute): Add test1.msg.
655b26bb 2392 * catgets/test1.msg: New file.
646fffb9 2393
a3b2008a
UD
2394 * catgets/gencat.c: Do a better job in initializing dynamic
2395 memory [PR libc/844].
2396
00995ca9
UD
23971998-10-30 18:11 Ulrich Drepper <drepper@cygnus.com>
2398
2399 * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
2400 internal_function since it is called through a pointer.
2401 * iconv/gconv_db.c (free_derivation): Likewise.
2402 * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
2403
2404 * posix/wordexp.c: Add internal_function to parse_backtick definition.
2405 * rt/aio_misc.c: Add internal_function to __aio_free_request,
2406 __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
2407 definitions.
2408 * rt/aio_notify.c: Add internal_function to __aio_notify_only and
2409 __aio_notify definitions.
2410 * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
2411
e980ca92
UD
24121998-10-30 Ulrich Drepper <drepper@cygnus.com>
2413
2414 * Makerules (build-shlib): Add -O to generate optimized shared
2415 objects.
2416
0e19d4a3
UD
24171998-10-30 11:15 Ulrich Drepper <drepper@cygnus.com>
2418
2419 * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
2420 * sysdeps/libm-i387/e_fmodf.S: Likewise.
2421 * sysdeps/libm-i387/e_fmodl.S: Likewise.
2422 * sysdeps/libm-i387/s_ilogb.S: Likewise.
2423 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
2424 * sysdeps/libm-i387/s_logb.S: Likewise.
2425 * sysdeps/libm-i387/s_logbf.S: Likewise.
2426 * sysdeps/libm-i387/s_remquo.S: Likewise.
2427 * sysdeps/libm-i387/s_remquof.S: Likewise.
2428 * sysdeps/libm-i387/s_remquol.S: Likewise.
2429 * sysdeps/libm-i387/s_significand.S: Likewise.
2430 * sysdeps/libm-i387/s_significandf.S: Likewise.
2431
24321998-10-30 Geoff Keating <geoffk@ozemail.com.au>
2433
2434 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
2435 _llseek.
2436
24371998-10-30 Geoff Keating <geoffk@ozemail.com.au>
2438
2439 * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
2440
c5e340c7
UD
24411998-10-29 Ulrich Drepper <drepper@cygnus.com>
2442
b0882748
UD
2443 * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
2444 returns without cleaning up the lock.
d8334b9a 2445 (printf_unknown): Add label all_done.
b0882748 2446
7dc7f7b2
UD
2447 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
2448 kernels in mind when reading /proc/self/fd/FD.
2449 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2450
67a96999
UD
2451 * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
2452
d5cabaa4
UD
2453 * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
2454 _fitoa.
2455
c5e340c7
UD
2456 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
2457 /prof/self/fd/FD first.
2458 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
2459
2460 * stdio-common/_itoa.h (_fitoa_word): New inline function. Write
2461 formatted number starting at given position and return pointer to
2462 following byte.
2463 (_fitoa): Likewise, for long long.
2464
cf3a0eca
RM
24651998-10-29 Roland McGrath <roland@baalperazim.frob.com>
2466
2467 * sysdeps/unix/sysv/linux/bits/sem.h,
2468 sysdeps/unix/sysv/linux/bits/ipc.h,
2469 sysdeps/unix/sysv/linux/bits/shm.h,
2470 sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
2471 * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
2472 sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
2473 so the same bits will be used for the Hurd.
2474
f3c1143b
UD
24751998-10-29 Ulrich Drepper <drepper@cygnus.com>
2476
2477 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
2478 compiling on systems without rt_sigaction syscall.
2479
24801998-10-12 Philip Blundell <pb@nexus.co.uk>
2481
2482 * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
2483 directories as well as add them.
2484
24851998-10-28 Philip Blundell <pb@nexus.co.uk>
2486
2487 * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
2488 AF_ECONET sockets as found in recent Linux 2.1 kernels.
2489 * sysdeps/unix/sysv/linux/Dist: Distribute it.
2490 * sysdeps/unix/sysv/linux/Makefile: Install it.
2491
24921998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2493
2494 * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
2495
24961998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2497
2498 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
2499 fds_bits member.
2500 * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
2501 * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
2502 * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
2503 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
2504 Likewise.
2505 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
2506 Likewise.
2507 * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
2508 __FD_ISSET): Use it.
2509 * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
2510 __FD_ISSET): Likewise.
6e2cc2c1 2511
91cc83ff
UD
25121998-10-28 Geoff Keating <geoffk@ozemail.com.au>
2513
2514 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
2515 llseek.
2516
c70ca1fa
UD
2517 * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
2518 Instead call the system call wrapper function using an 64bit argument.
2519 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
2520 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
2521 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2522
2898c3a5
UD
25231998-10-27 Ulrich Drepper <drepper@cygnus.com>
2524
7e986b8b
UD
2525 * signal/signal.h: Don't include <time.h> for timespec, add
2526 forward declaration.
2527
2898c3a5
UD
2528 * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
2529 of __FD_* macros which use __fds_bits.
2530 * sysdeps/generic/bits/select.h: Likewise.
2531 Reported by Matt McLean <keys@yikes.com>.
2532
c1a61edb
UD
25331998-10-27 Philip Blundell <pb@nexus.co.uk>
2534
2535 * elf/elf.h: Update ARM definitions.
2536
cc368887
UD
25371998-10-27 Ulrich Drepper <drepper@cygnus.com>
2538
2539 * signal/signal.h: Include bits/sigthread.h only for Unix98.
2540
665a657e
UD
25411998-10-26 Ulrich Drepper <drepper@cygnus.com>
2542
a8eab8b1
UD
2543 * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
2544 define __builtin_expect as a macro substituting to the first
2545 argument.
2546 * config.h.in: Define HAVE_BUILTIN_EXPECT.
2547 * configure.in: Add test for __builtin_expect.
2548
665a657e
UD
2549 * sysdeps/unix/sysv/linux/bits/types.h: Include
2550 bits/pthreadtypes.h only not for POSIX 199506.
2551 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2552 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2553 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
2554
48ab6a9e
UD
25551998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
2556
2557 * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
2558 * socket/Versions [libc, GLIBC_2.0]: ... to here.
2559
992af677
UD
25601998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2561
2562 * include/stdio.h: Included <stddef.h> for size_t.
2563
2564 * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
2565 to ...
2566 * include/stdio.h: ...here.
2567 * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
2568
0e103c6d
UD
25691998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
2570
2571 * time/Makefile (tests): Add tst-posixtz.
2572 * time/tst-posixtz.c: New file.
2573
25741998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2575
2576 * elf/rtld.c (process_envvars): Accept any non-null value of
2577 LD_BIND_NOW, as mandated by the ABI.
2578
25791998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2580
2581 * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
2582 __syscall_pread.
2583 * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
2584 __syscall_pwrite.
2585 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
2586 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2587 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2588 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2589 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
2590 duplicate entries.
2591 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
2592 s_pread64 and s_pwrite64.
2593 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
2594
25951998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2596
2597 * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
2598 * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
2599 to __syscall__llseek.
2600 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2601 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2602 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
2603 __sys_llseek.
2604
26051998-10-26 Cristian Gafton <gafton@redhat.com>
2606
2607 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
2608 and s_setfsuid.
2609
26101998-10-26 Ulrich Drepper <drepper@cygnus.com>
2611
2612 * time/tzset.c (tz_compute): Correct last patch and describe this
2613 in a comment.
2614
d499a27c
AS
26151998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2616
2617 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
2618 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
2619 rt_sigaction and rt_sigpending.
2620 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
2621 for __syscall_* functions.
2622 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
2623
c2ef7930
RM
26241998-10-26 Roland McGrath <roland@baalperazim.frob.com>
2625
2626 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
2627 _hurd_dtable_lock, _hurd_intern_fd.
2628
2629 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
2630 cthread_getspecific, cthread_setspecific, __libc_getspecific.
2631
2632 * mach/Versions: Fix typo in last change.
2633
1938c489
UD
26341998-10-25 Ulrich Drepper <drepper@cygnus.com>
2635
2636 * time/tzset.c (tz_compute): If time to switch to DST is later in
2637 the year switch back in the next year.
2638 Reported by jwitford@hutch.com.au.
c2ef7930 2639
a825f8e8
RM
26401998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
2641
2642 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
2643 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
2644 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
2645 __mach_port_allocate, __mach_port_allocate_name,
c2ef7930
RM
2646 __mach_port_insert_right __mutex_trylock, __mutex_lock,
2647 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
2648 __task_set_special_port, __task_terminate, __thread_depress_abort,
2649 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
2650 functions are not used outside libc.
a825f8e8
RM
2651
2652 * sysdeps/mach/hurd/Versions: New file.
2653 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
2654 _cthread_init_routine. These are set by the Hurd cthreads library.
2655 Add __getcwd, __mmap. If we don't add these, the weak definitions in
2656 the dynamic linker will not be replaced by the corresponding shared
2657 library routines once they are loaded.
2658
26591998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
2660
2661 * sysdeps/mach/hurd/i386/init-first.c: Only define
2662 __libc_enable_secure if PIC is not defined.
2663
26641998-10-25 Roland McGrath <roland@baalperazim.frob.com>
2665
2666 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
2667 to recurse into argp.
2668
4a582094
UD
26691998-10-25 Ulrich Drepper <drepper@cygnus.com>
2670
2671 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
2672 greater or equal than 199506L.
2673
2674 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
2675 only is __USE_XOPEN. Otherwise use __fds_bits.
2676 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2677 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2678 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
2679 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2680 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2681
26821998-10-24 H.J. Lu <hjl@gnu.org>
2683
2684 * locale/programs/charmap.c (parse_charmap): Accept tok_string
2685 for <code_set_name>.
2686
26871998-10-25 H.J. Lu <hjl@gnu.org>
2688
2689 * locale/programs/ld-ctype.c (ctype_finish): Also check
2690 <space>.
2691
26921998-10-25 Ulrich Drepper <drepper@cygnus.com>
2693
2694 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
2695
2696 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
2697 if __USE_POSIX199506 or __USE_UNIX98.
2698
26991998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2700
2701 * string/bits/string2.h: Inline strdup+friends only if
2702 __USE_MISC || __USE_GNU (prevents namespace pollution).
2703
27041998-10-24 H.J. Lu <hjl@gnu.org>
2705
2706 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
2707 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
2708 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
2709 LOCK_NB, LOCK_UN): Likewise.
2710 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
2711 LOCK_NB, LOCK_UN): Likewise.
2712 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
2713 LOCK_NB, LOCK_UN): Likewise.
2714 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
2715 LOCK_NB, LOCK_UN): Likewise.
2716
27171998-10-24 H.J. Lu <hjl@gnu.org>
2718
2719 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
2720
2721 * libio/rewind.c (rewind): Clear the error.
2722
27231998-10-24 H.J. Lu <hjl@gnu.org>
2724
2725 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
2726 "buffer".
2727
27281998-10-24 H.J. Lu <hjl@gnu.org>
2729
2730 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
2731 with __need_timeval.
2732 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
2733 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
2734
27351998-10-24 H.J. Lu <hjl@gnu.org>
2736
2737 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
2738 sigqueue): Protect with __USE_POSIX199309.
2739
27401998-10-24 H.J. Lu <hjl@gnu.org>
2741
2742 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
2743 __USE_POSIX.
2744
27451998-10-24 H.J. Lu <hjl@gnu.org>
2746
2747 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
2748 the kernel file offset.
2749 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
2750
88455219
UD
27511998-10-24 H.J. Lu <hjl@gnu.org>
2752
2753 * time/tzfile.c (__tzfile_default): Set num_types to 2.
2754
27551998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2756
2757 * rt/aio.h: Move __aio_init to...
2758 * include/aio.h: ...here.
2759
27601998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2761
2762 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
2763 definition of O_LARGEFILE.
2764
27651998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2766
2767 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
2768 as first argument to statfs.
2769
27701998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2771
2772 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
2773
27741998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2775
2776 * malloc/mtrace.c: Include <string.h> for strlen.
2777
3c068816
RM
27781998-10-24 Roland McGrath <roland@baalperazim.frob.com>
2779
184edc95
RM
2780 * sysdeps/mach/hurd/bits/environments.h: New file.
2781
3c068816
RM
2782 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
2783
2784 * mach/Versions, hurd/Versions: Add numerous symbols.
2785 Remove libmachuser and libhurduser sections, punt
2786 versioning for those libraries for now.
2787
2788 * misc/Versions: Add reboot here; it exists on all platforms.
2789 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
2790
fc40fc6c
UD
27911998-10-23 Ulrich Drepper <drepper@cygnus.com>
2792
2793 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
2794 macro.
2795 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2796 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2797 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
2798 O_NOFOLLOW, O_DIRECT): New macros.
2799 (O_DIRECTORY): Correct definition according to official 2.1.126.
2800 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
2801 O_NOFOLLOW): New macros.
2802
b1fcf686
RM
28031998-10-24 Roland McGrath <roland@baalperazim.frob.com>
2804
d606f528
RM
2805 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
2806
b1fcf686
RM
2807 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
2808 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
2809
24f25de6
UD
28101998-10-23 Ulrich Drepper <drepper@cygnus.com>
2811
0d486134
UD
2812 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
2813 setfsuid.c, and setfsgid.c.
2814 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
2815 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2816 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
2817
24f25de6
UD
2818 * version.h (VERSION): Bump to 2.0.99.
2819
8a6da7e6
UD
2820 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
2821 ustat definition.
2822
1e8f0e3e
UD
2823 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
2824 s_pwrite64.c.
2825
24f25de6
UD
2826 * posix/fnmath.h: Don't redefine __P when used in glibc.
2827 * posix/glob.h: Likewise.
2828
2829 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
2830 Patch by Dick Streefland <dick_streefland@tasking.com>.
2831
2832 * stdio-common/tst-ungetc.c: Add more test cases.
2833
2834 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
2835 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
2836 definitions to ...
2837 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
2838 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
2839 * sysdeps/unix/sysv/linux/pathconf.c: New file.
2840 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
2841 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
2842
28431998-10-20 Philip Blundell <pb@nexus.co.uk>
2844
2845 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
2846 <asm/ptrace.h> to define struct pt_regs.
2847 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
2848 including <asm/ptrace.h> here.
2849
2850 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
2851 C_SYMBOL_NAME macro.
2852
28531998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2854
2855 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
2856 end of enumerator list.
2857 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
2858 * posix/wordexp.h: Likewise.
2859
2860 * db/db.h: Use __PMT instead of __P in typedefs.
2861 * db/mpool.h: Likewise.
2862 * sysdeps/generic/bits/siginfo.h: Likewise.
2863 * nis/rpcsvc/ypclnt.h: Likewise.
2864
d6787ff2
UD
28651998-10-23 Ulrich Drepper <drepper@cygnus.com>
2866
2867 * libio/genops.c (_IO_seekmark): When switching to backup buffer
2868 make sure all characters from the read buffer are read after
2869 switching back to it.
2870
98393660
UD
28711998-10-22 Ulrich Drepper <drepper@cygnus.com>
2872
2873 * configure.in: Add support for Cygnus GNUPro compilers.
2874
84c8da0e
UD
28751998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2876
2877 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
2878
2879 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
2880 of __P for sa_restorer.
2881 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2882 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
2883 kernel_sigaction, old_kernel_sigaction): Likewise.
2884
ed304158
UD
28851998-10-22 Ulrich Drepper <drepper@cygnus.com>
2886
c7f5a0c7
UD
2887 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
2888 and __syscall_pwrite aliases.
2889
ed304158 2890 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
78e5779b
UD
2891
2892 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
2893 improve INLINE_SYSCALL using macro assembler magic.
2894
9271a050
UD
28951998-10-22 H.J. Lu <hjl@gnu.org>
2896
2897 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
2898 sanity check for n.
2899 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
2900
2901 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
2902 EINVAL if errno == ENODEV. Tested by VSX-PCT.
2903
2904 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
2905 by VSX-PCT.
2906
2907 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
2908
e595c802
UD
29091998-10-22 Philip Blundell <pb@nexus.co.uk>
2910
2911 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
2912 __ASSEMBLER__.
2913
7bb38c70
UD
29141998-10-21 Ulrich Drepper <drepper@cygnus.com>
2915
2916 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
2917 and adjust formats.
2918
0dee6738
UD
29191998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
2920
2921 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
2922 __syscall_* function.
2923 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
2924 of calling __syscall_* function.
2925 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
2926 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2927 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2928 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2929 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
2930 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
2931 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
2932 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2933 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2934 * sysdeps/unix/sysv/linux/poll.c: Likewise.
2935 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2936 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2937 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
2938 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2939 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2940 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2941 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
2942 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2943 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
2944 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2945 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2946 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2947 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2948 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
2949 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2950 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2951 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
2952 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
2953 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2954 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
2955 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2956 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2957 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2958 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
adcb550c 2959 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
0dee6738
UD
2960 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2961 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2962 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
2963 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2964 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2965 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2966 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
2967
2968 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
2969 inline assembler.
2970 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
2971 __syscall_* definitions.
2972
2973 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
2974 definitions to...
2975 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
2976 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
2977 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
2978 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
2979 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
2980 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
2981 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
2982
adcb550c
UD
2983 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
2984 Move definition to...
2985 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
2986 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
2987 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
2988 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
2989 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
2990 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
2991 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
2992
0dee6738
UD
2993 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
2994 (sysdep_routines): Remove s_pread64 and s_pwrite64.
2995
2996 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
2997 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
2998 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
2999 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
3000 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
3001 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
3002
30031998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3004
3005 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
3006 and bring them in synch.
3007 * sysdeps/unix/siglist.c: Likewise.
3008 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
3009
30101998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3011
3012 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
3013 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3014
3015 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
3016 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
3017 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
3018 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
3019 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
3020 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
3021 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
3022 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
3023 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
3024 s_setregid.
3025 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
3026 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3027 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3028
30291998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3030
3031 * sunrpc/rpc_main.c (close_output, close_input): New functions.
3032 (c_output, h_output, s_output, l_output, t_output, svc_output,
3033 clnt_output, mkfile_output): Call them at the end.
3034
30351998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3036
3037 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
3038 link command.
3039
39f0e778
AS
30401998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3041
3042 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
3043 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
3044
d523c981
UD
30451998-10-20 Ulrich Drepper <drepper@cygnus.com>
3046
3047 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
3048 s_pwrite64.
3049 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
3050 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
3051 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
3052 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
3053 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
3054
0dee6738
UD
30551998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
3056
3057 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
3058 O_DIRECTORY.
3059
30601998-10-20 H.J. Lu <hjl@gnu.org>
3061
3062 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
3063 argument types.
3064
4bd8be48
UD
30651998-10-19 Ulrich Drepper <drepper@cygnus.com>
3066
48244d09
UD
3067 * math/tgmath.h: Make nested function calls work.
3068
10411f2d
UD
3069 * include/ldsodefs.h: Fix typo.
3070
a9b171ef
UD
3071 * posix/Makefile (tests): Add tst-preadwrite.
3072 * posix/tst-preadwrite.c: New file.
3073
4bd8be48
UD
3074 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
3075 sure that descriptor is in any case for a directory.
3076
cfb32a6c
UD
30771998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3078
3079 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
3080 (atan2): Takes two arguments.
3081
ce85d65b
UD
30821998-10-19 Ulrich Drepper <drepper@cygnus.com>
3083
3084 * include/ldsodefs.h: New file.
3085
3086 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
3087 Remove change to avoid using _CALL_DL_FCT.
3088 * iconv/gconv_db.c: Likewise.
3089 * iconv/gconv_dl.c: Likewise.
3090 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
3091 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
3092 * nss/nsswitch.c: Likewise.
3093 * nss/nsswitch.h: Likewise.
3094
30951998-10-19 Philip Blundell <pb@nexus.co.uk>
3096
3097 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
3098 required libraries.
3099 * login/Makefile (otherlibs): Likewise.
3100 * nscd/Makefile (otherlibs): Likewise.
3101 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
3102
3103 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
3104
3105 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
3106
31071998-10-19 Philip Blundell <pb@nexus.co.uk>
3108
3109 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
3110 and setfsuid.
3111
31121998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3113
3114 * nscd/connections.c: Fix typos in comments and strings.
3115
3116 * nscd/nscd.conf: Update according to recent changes to nscd.
3117
3118 * nscd/cache.c (prune_cache): Remove wrong comment.
3119
816e6eb5
UD
31201998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
3121
3122 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
3123 category in copy_posix.
3124 (collate_finish): Don't warn about UNDEFINED not being defined.
3125 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
3126 category in copy_posix.
3127 * locale/programs/ld-messages.c (messages_startup): Likewise.
3128 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
3129 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
3130 * locale/programs/ld-time.c (time_startup): Likewise.
3131 * locale/programs/localedef.c: Move copy_def_list_t definition into
3132 locales.h. Define copy_posix variable.
3133 (main): Before processing copy list add &copy_posix to copy_list.
3134 * locale/programs/locales.h: Add definition of copy_def_list_t.
3135 * locale/programs/locfile.c: Clear bit for appropriate category in
ce85d65b 3136 copy_posix.mask for copy instruction.
816e6eb5 3137
685c1676
UD
31381998-10-19 Ulrich Drepper <drepper@cygnus.com>
3139
3140 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
3141 non-existing file with generic implementation.
3142 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3143
31441998-10-19 Philip Blundell <pb@nexus.co.uk>
3145
3146 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
3147 defined. Avoid using _CALL_DL_FCT if it is not defined.
3148 * iconv/gconv.c: Likewise.
3149
9bbe7c3b
UD
31501998-10-19 Ulrich Drepper <drepper@cygnus.com>
3151
34489d95
UD
3152 * nscd/connections.c (dbs): Define defualt values for timeouts and
3153 set enabled to 0 by default.
3154 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
3155 nscd_run.
3156
9bbe7c3b
UD
3157 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
3158 character >= 0x80.
3159 (_nl_C_LC_CTYPE_class32): Likewise.
3160 Reported by HJ Lu.
3161
7d25696a
RM
31621998-10-19 Roland McGrath <roland@baalperazim.frob.com>
3163
3164 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3165 _HURD_THREADVAR_DL_ERROR.
3166
3167 * hurd/Makefile (user-interfaces): Add login, password.
3168
3169 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
3170
37eb58de
RM
31711998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
3172
3173 [submitted 1998-08-06]
3174 * mach/Machrules: Create target directory and force re-evaluation
3175 of Makefile to prevent `make' from optimizing away most of the
3176 implicit rules and `vpath' directives.
3177
7434cee2
RM
31781998-10-19 Roland McGrath <roland@baalperazim.frob.com>
3179
37eb58de
RM
3180 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
3181 is null, short-circuit to __mach_msg.
3182
a13d5ca5
RM
3183 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
3184 broken out of init1.
3185 (init1) [PIC]: Call it.
3186 (__libc_init_first) [! PIC]: Call it.
3187
7434cee2
RM
3188 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
3189 __libc_init_secure. Instead set __libc_enable_secure here from
3190 the exec flags.
3191 (__libc_enable_secure): New variable it.
3192 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
3193
3f804c95
RM
31941998-10-19 Roland McGrath <roland@baalperazim.frob.com>
3195
3196 * nscd/nscd-client.h: New file, broken out of "nscd.h".
3197 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
3198 and #include that.
3199 * nscd/Makefile (distribute): Add nscd-client.h.
3200 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
3201 Include "nscd-client.h" instead of "nscd.h"
3202
67479a70
UD
32031998-10-18 Ulrich Drepper <drepper@cygnus.com>
3204
74f7e7c0
UD
3205 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
3206 directory entries when a lstat call fails.
3207 Patch by Colin Plumb <colin@nyx.net>.
3208
67479a70
UD
3209 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
3210 NSS functions.
3211 * resolv/nss_dns/dns-network.c: Likewise.
3212
9bbe7c3b 3213 * grp/Makefile: Don't search for linuxthreads in add-ons, use
67479a70
UD
3214 have-thread-library to determine whether threads are available.
3215 * pwd/Makefile: Remove wrong comment.
3216
3217 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
3218 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
3219
3220 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
3221
3222 * nss/Versions: Add __nss_hosts_lookup.
3223
3224 * nss/getXXbyYY.c: Remove unneeded assignment.
3225
3226 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
3227
3228 Almost complete rewrite of the NSCD to make it smaller, faster,
3229 add more functionnality and make it easier to extend.
3230 * nscd/Makfile (routines): Add nscd_gethst_r.
3231 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
3232 * nscd/cache.c: New file.
3233 * nscd/gethstbyad_r.c: New file.
3234 * nscd/gethstbynm2_r.c: New file.
3235 * nscd/hstcache.c: New file.
3236 * nscd/nscd_gethst_r.c: New file.
3237 * nscd/connections.c: Rewritten. Don't start new thread for every
3238 new connection. Use a fixed set of threads which handle all
3239 connections and also the cache cleanup.
3240 * nscd/grpcache.c: Rewritten to use generic cache handling functions
3241 in cache.c.
3242 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
3243 for rewrite. Remove handle_requests function.
3244 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
3245 Define new data structure for the new unified cache and the host
3246 database entries.
3247 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
3248 databases easily. Recognize check-files and threads definitions.
3249 * nscd/nscd.conf: Add definition of enable-cache and check-files to
3250 passwd and group definitions. Add new set of definitions for hosts.
3251 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
3252 * nscd/nscd_getpw_r.c: Likewise.
3253 * nscd/nscd_proto.h: Add prototype for host database functions.
3254 * nscd/nscd_stat.c: Rewrite to simplify printing of information
3255 for many databases.
3256 * nscd/dbg_log.c: Remove unnecessary variable initializations.
3257 Global variable debug_flag is renamed to dbg_level.
3258 * nscd/dbg_log.h: Declare set_logfile.
3259
6cde0c60
UD
32601998-10-16 Ulrich Drepper <drepper@cygnus.com>
3261
3262 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
3263 O_LARGEFILE back.
3264
c7a9f249
UD
32651998-10-16 Paul Eggert <eggert@shade.twinsun.com>
3266
3267 * time/mktime.c: Some systems require <unistd.h> to be
3268 included before <time.h> for localtime_r to be declared
3269 properly.
3270 * time/strftime.c: Likewise.
3271
9ffbb612
UD
32721998-10-16 Ulrich Drepper <drepper@cygnus.com>
3273
0049f576
UD
3274 * db/Makefile: Add rule to generate shared object with the soname
3275 from glibc 2.0.
3276
9ffbb612
UD
3277 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
3278 available double check to verify it's a directory.
3279
3280 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
3281 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
3282 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
3283 are not generally available.
3284 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
3285
3286 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
3287 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
3288 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
3289 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
3290 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
3291 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
3292 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
3293 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
3294 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
3295 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
3296 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
3297 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
3298 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
3299 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
3300 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
3301 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
3302 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
3303 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
3304 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
3305 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
3306 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
3307 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
3308 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
3309 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
3310 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
3311 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
3312 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
3313 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
3314 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
3315 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
3316 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
3317 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
3318 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
3319 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
3320 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
3321 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
3322 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
3323 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
3324
3325 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
3326 s_setresgid, and s_setuid.
3327 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3328 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
3329 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3330 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
3331 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
3332 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3333 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
3334
39e4f7f8
UD
33351998-10-16 Ulrich Drepper <drepper@cygnus.com>
3336
3337 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
3338 localtime_t declaration on some systems.
3339
c66dbe00
UD
33401998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
3341
3342 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
3343 -DSTATIC_GCONV.
9ffbb612 3344 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
c66dbe00
UD
3345 defined. Avoid using DL_CLL_FCT if it is not defined.
3346
33471998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3348
3349 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
3350 Include endian.h unconditionally. Remove portability goop
3351 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
3352
33531998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3354
3355 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
3356
909927d2
UD
33571998-10-15 Ulrich Drepper <drepper@cygnus.com>
3358
3359 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
3360 again. Use char[44] to define size of the struct.
3361
a9e73d40
UD
3362 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
3363
fcab9698 33641998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 3365
fcab9698
UD
3366 * string/bits/string2.h (strcmp): Don't cache the result of
3367 __builtin_constant_p in variables, otherwise constant folding
3368 can fail in big functions.
c66dbe00 3369
fcab9698 33701998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 3371
fcab9698
UD
3372 * string/bits/string2.h: Add prototypes for the new inline
3373 functions.
c66dbe00 3374
7edb4c25
UD
33751998-10-15 Ulrich Drepper <drepper@cygnus.com>
3376
3377 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
3378 have all types defined.
3379 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
3380
fcab9698 33811998-10-08 Paul Eggert <eggert@twinsun.com>
8d5166fb 3382
fcab9698
UD
3383 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
3384 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
3385 a body that merely expands localtime_r; this works around a
3386 bug in Digital Unix 4.0A and 4.0D.
8d5166fb
UD
3387
33881998-10-14 Ulrich Drepper <drepper@cygnus.com>
3389
3390 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
3391 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
3392 __ioctl to __syscall_ioctl and include Linux version of this file.
3393 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
3394 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
3395 ioctl calls which handle struct termios.
3396 Based on a patch by Dan Jacobowitz <drow@false.org>.
3397
8583916e
UD
33981998-10-14 Ulrich Drepper <drepper@cygnus.com>
3399
3400 * version.h (VERSION): Bump to 2.0.98.
3401
6f100d04
UD
3402 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
3403 here instead of including kernel_termios.h.
3404
fcab9698 34051998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
c66dbe00 3406
fcab9698
UD
3407 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
3408 unnecessary after the changes of 1998-10-12.
c66dbe00 3409
99e46354
UD
34101998-10-13 Ulrich Drepper <drepper@cygnus.com>
3411
6c5a700e
UD
3412 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
3413 parameter format string.
3414 (inline_outw): Likewise.
3415
99e46354
UD
3416 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
3417 string.h to get memcpy prototype and NULL definition.
3418
34191998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3420
3421 * misc/sys/cdefs.h (__THROW): New macro.
3422 * argp/argp.h: Use it to replace the kludgey __P in inline
3423 function definitions.
3424 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3425 * stdlib/stdlib.h: Likewise.
3426 * wcsmbs/wchar.h: Likewise.
3427 * libio/stdio.h: Likewise.
3428 * stdio/stdio.h: Likewise.
3429 * sysdeps/wordsize-64/inttypes.h: Likewise.
3430 * sysdeps/wordsize-32/inttypes.h: Likewise.
3431 * string/argz.h: Likewise.
3432 * io/sys/stat.h: Likewise.
3433
34341998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3435
3436 * Rules (stdio_lim): New variable.
3437 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
3438 on Rules and config.make, use $(move-if-change) to avoid unnessary
3439 recompilations, and cleanup command.
3440 (common-generated): Add bits/stdio_lim.st.
3441
1622fda9
UD
34421998-10-12 Ulrich Drepper <drepper@cygnus.com>
3443
3444 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
3445 variable to prevent warnings from use of modern CPU instructions.
3446 Patch by Richard Henderson <rth@cygnus.com>.
3447
3448 * sysdeps/unix/opendir.c: Test whether NAME is directory before
3449 opening it.
3450
34511998-10-12 Philip Blundell <pb@nexus.co.uk>
3452
3453 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
3454 semicolon so that profiling works.
3455
4875f665
RM
34561998-10-12 Roland McGrath <roland@baalperazim.frob.com>
3457
3458 * sysdeps/generic/glob.c: #undef mempcpy before #define.
3459
3460 * sysdeps/unix/bsd/clock.c: Use prototype defns.
3461
431f91ba
UD
34621998-10-11 Ulrich Drepper <drepper@cygnus.com>
3463
3464 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
3465 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
3466
3467 * string/bits/string2.h [!_STRING_ARCH_unaligned]
3468 (__mempcpy_small): Add parameter for 1 byte copy and use it.
3469 Reported by Geoff Keating <geoffk@ozemail.com.au>.
3470
027acb51
UD
34711998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
3472
3473 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
3474 it is already defined in <bits/environments.h>.
3475
9a29bc37
UD
34761998-10-09 Ulrich Drepper <drepper@cygnus.com>
3477
3478 * posix/ptestcases.h: Fix typo.
3479
34801998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3481
3482 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
3483 (regexec): Allocate regs.start and regs.end as one block.
3484
34851998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3486
3487 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
3488 enum decl.
3489
34901998-10-08 Philip Blundell <pb@nexus.co.uk>
3491
3492 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
3493 sigcontext union to ...
3494 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
3495 file.
3496 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
3497 version 2.0 kernels.
3498
9ea350a4
UD
34991998-10-08 Ulrich Drepper <drepper@cygnus.com>
3500
8261bc4b
UD
3501 * malloc/mtrace.c (tr_reallochook): Produce better output for real
3502 reallocation case.
3503
16e866fa 3504 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
ea1dfb4a 3505 * argp/argp-xinl.c: Likewise.
16e866fa 3506
9ea350a4
UD
3507 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
3508 Ruffian entry back.
3509 Patch by Christian Gafton.
3510
25b3b17b
UD
35111998-10-08 Paul Eggert <eggert@twinsun.com>
3512
3513 * time/mktime.c (__mktime_internal): When the requested time falls
3514 in a spring-forward gap of size DT, return a time that is DT away
3515 from the requested time, preferring a time whose tm_isdst differs
3516 from the requested value. Bump the max number of probes from 4 to
3517 6 to account for the extra probes needed to discover a
3518 spring-forward gap in the worst case.
3519
35201998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
3521
3522 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
3523 of the weird alpha architectures.
3524 Patch by Cristian Gafton <gafton@redhat.com>.
3525
35261998-02-18 23:31 Richard Henderson <rth@cygnus.com>
3527
3528 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
3529 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
3530
604510f7
UD
35311998-10-07 Ulrich Drepper <drepper@cygnus.com>
3532
3533 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
3534 (dl_open_worker): Use realloc, not malloc to resize array.
3535 * elf/rtld.c (_dl_initial_searchlist): New variable.
3536 (_dl_main): Copy content of _dl_main_searchlist to
3537 _dl_initial_searchlist.
3538 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
3539 _dl_global_scope_alloc.
3540 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
3541 * elf/dl-close.c (_dl_close): When removing object with global
3542 scope remove allocated searchlist if no dynamically loaded object
3543 is on it anymore.
3544 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
3545 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
3546
3547 * malloc/mtrace.c (tr_where): Don't print space in location string,
3548 print it afterwards. Print better symbol name information.
3549
0163d97b
UD
35501998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3551
3552 * manual/filesys.texi (Setting Permissions): Fix example for
3553 reading umask.
3554
35551998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3556
3557 * elf/sprof.c (load_profdata): Fix typo in error message.
3558
c0de721b
AS
35591998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3560
3561 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
3562 flag.
3563
442dc326
RM
35641998-10-04 Roland McGrath <roland@baalperazim.frob.com>
3565
3566 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
3567
d53427c8
UD
35681998-10-06 Ulrich Drepper <drepper@cygnus.com>
3569
3570 * version.h (VERSION): Bump to 2.0.97.
3571
acdf1251
UD
35721998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3573
3574 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
3575 in definitions of inline stat functions so that they match the
3576 declaration.
3577 * stdlib/stdlib.h: Likewise.
3578 * wcsmbs/wchar.h: Likewise.
3579 * libio/stdio.h: Likewise.
3580 * stdio/stdio.h: Likewise.
3581 * sysdeps/wordsize-64/inttypes.h: Likewise.
3582 * sysdeps/wordsize-32/inttypes.h: Likewise.
3583 * string/argz.h: Likewise.
3584 * argp/argp.h: Likewise.
3585
3cb07217
UD
35861998-10-06 Ulrich Drepper <drepper@cygnus.com>
3587
3588 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
3589 netinet/in.h.
3590
c10bb795
UD
35911998-10-05 Philip Blundell <philb@gnu.org>
3592
3593 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
3594 and constants. Tidy up formatting a little.
3595
3596 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
3597 Move definitions to in.h.
3598
8325d82c
UD
35991998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3600
3601 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
3602 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
3603 Remove inclusion of <linux/swap.h>.
3604
36051998-10-05 Ulrich Drepper <drepper@cygnus.com>
3606
3607 * io/sys/stat.h: Use __P in definitions of inline stat functions
3608 so that they match the declaration.
3609
36101998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3611
3612 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
3613
36141998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3615
3616 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
3617 linux 2.1 version.
3618
36191998-10-02 Philip Blundell <pb@nexus.co.uk>
3620
3621 * sysdeps/arm/dl-machine.h: Fix typo in last change.
3622
3623 * sysdeps/arm/bits/huge_val.h: New file.
3624
36251998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3626
3627 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
3628
3629 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
3630 define.
3631
36321998-10-05 Ulrich Drepper <drepper@cygnus.com>
3633
3634 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
3635 store result of realloc instead of using BUF.
3636
36371998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3638
3639 * misc/sgtty.h (_SGTTY_H): Correct spelling.
3640 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
3641
36421998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3643
3644 * manual/memory.texi (Obstacks): Document
3645 obstack_alloc_failed_handler usage.
3646
3647 * malloc/obstack.h: Enhance comment about
3648 obstack_alloc_failed_handler usage.
3649 * malloc/obstack.c: Likewise.
3650
36511998-10-05 Ulrich Drepper <drepper@cygnus.com>
3652
3653 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
3654 gcc before 2.8 is used.
3655
36561998-10-01 Philip Blundell <pb@nexus.co.uk>
3657
3658 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
3659 from Scott Bambrough.
3660
3661 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
3662
3663 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
3664 include the lock member.
3665
36661998-09-03 Philip Blundell <pb@nexus.co.uk>
3667
3668 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
3669
e3e4e463
UD
36701998-10-01 Ulrich Drepper <drepper@cygnus.com>
3671
3672 * timezone/zic.c: Update from tzcode1998h.
3673 * timezone/europe: Update from tzdata1998i.
3674 * timezone/southamerica: Likewise.
3675
7782d0bf
UD
3676 * sys/types.h: Protect use of long long by __extension__.
3677 * stdlib/stdlib.h: Likewise.
3678 * string/string.h: Likewise.
3679 * sysdeps/i386/bits/byteswap.h: Likewise.
3680 * sysdeps/geeric/bits/byteswap.h: Likewise.
3681 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3682 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3683 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3684 * sysdeps/wordsize-32/inttypes.h: Likewise.
3685 * sysdeps/wordsize-32/stdint.h: Likewise.
3686 * wcsmbs/wchar.h: Likewise.
3687
8325d82c
UD
36881998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3689
3690 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
3691 expression.
3692 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
3693 __strsep): Greatly reduce size of expansion by combining common
3694 expressions.
3695 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
3696 inline function.
3697 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
3698 by the above definitions.
3699
37001998-09-27 Geoff Keating <geoffk@ozemail.com.au>
3701
3702 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
3703 correct struct ipc_perm definition.
3704
37051998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3706
3707 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
3708
999b2f6b
UD
37091998-09-29 Cristian Gafton <gafton@redhat.com>
3710
8325d82c
UD
3711 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
3712 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
999b2f6b
UD
3713 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
3714 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
3715 Add net/if_shaper.h.
3716
87052ab7
UD
37171998-09-29 Ulrich Drepper <drepper@cygnus.com>
3718
cf26217d
UD
3719 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
3720
87052ab7
UD
3721 * nis/ypclnt.c: Remove not needed close calls.
3722
6ff5bc68
UD
37231998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
3724
3725 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
3726 check a bit. Also close socket of domain client. Close socket
3727 in IPPORT_RESERVED error case.
3728
37291998-09-28 Ulrich Drepper <drepper@cygnus.com>
3730
3731 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
3732 CMSG_ALIGN (fixes a bug) and correct test for availability of
3733 another entry.
3734 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
3735 Linux version.
3736 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
3737 availability of another entry.
3738 Patch by ak@muc.de.
3739
3740 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
3741 Patch by ak@muc.de.
3742
999b2f6b
UD
3743 * libio/libio.h [!__STDC__]: Define const only if not defined.
3744
6ff5bc68
UD
37451998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3746
3747 * posix/annexc.c (xsystem): New function. Use it instead of
3748 system.
3749
37501998-09-28 Ulrich Drepper <drepper@cygnus.com>
3751
3752 * stdlib/longlong.h: Remove #endif for #if removed in last change.
3753
e07a51b5
UD
37541998-09-25 Ulrich Drepper <drepper@cygnus.com>
3755
3756 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
3757 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
3758 allow using `ut' parameter.
3759 [!emacs]: Define ut_argument, ut_argument_spec, and
3760 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
3761 argument_spec to prototypes and definitions.
3762 (my_strftime): Don't call tzset of ut != 0.
3763 Compute diff as 0 is ut != 0;
3764 [emacs]: Define new emacs_strftime function.
3765 Based on a patch by Paul Eggert.
3766
37671998-09-24 Paul Eggert <eggert@twinsun.com>
3768
3769 * time/strftime.c (my_strftime): When asking for the length of the
3770 subformatted buffer, do not limit the length to look for;
3771 otherwise, we have no reliable way to distinguish between the
3772 empty buffer and an error.
3773
390a4882
UD
37741998-09-25 Ulrich Drepper <drepper@cygnus.com>
3775
3776 * math/Makefile (gmp-objs): Add mp_clz_tab.
3777
37781998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
3779
3780 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
3781 set them.
3782 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
3783 cpus lacking hardware multiply and divide.
3784
37851998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3786
3787 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
3788 $(<F), not $(^F).
3789
37901998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3791
3792 * db/btree/bt_delete.c: Fix -Wparentheses warning.
3793
37941998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3795
3796 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
3797 $(do-install).
3798
e503270c
UD
37991998-09-24 Ulrich Drepper <drepper@cygnus.com>
3800
e07a51b5 3801 * debug/catchsegv.sh: Also produce output if clone process died.
e503270c
UD
3802
38031998-09-24 Paul Eggert <eggert@twinsun.com>
3804
390a4882 3805 * time/strftime.c (f_wkday): Remove duplicate definition.
e503270c
UD
3806 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
3807 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
3808 1998-09-11 fix to this case.
3809 (wkday_len, month_len): Remove these macros; they're no longer needed.
3810
38111998-09-24 Paul Eggert <eggert@twinsun.com>
3812
390a4882 3813 * time/strftime.c (my_strftime): Don't store past the end of a
e503270c
UD
3814 zero-sized buffer.
3815
3465c0ce
UD
38161998-09-24 Paul Eggert <eggert@twinsun.com>
3817
e503270c 3818 * time/strftime.c (underlying_strftime):
3465c0ce
UD
3819 Set the buffer to a nonzero value before calling
3820 strftime, and check to see whether strftime has set the buffer to zero.
3821 This lets us distinguish between an empty buffer and an error.
3822
38231998-09-24 Paul Eggert <eggert@shade.twinsun.com>
3824
e503270c 3825 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
3465c0ce
UD
3826 This fix is propagated from tzcode1998g.tar.gz.
3827
7a3bfc4e
UD
38281998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
3829
3830 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
3831 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
3832 sys_siglist. This is handled correctly by the weak_alias macro.
3833
369b1933
UD
38341998-09-24 Ulrich Drepper <drepper@cygnus.com>
3835
50a1b837
UD
3836 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
3837 of mempcpy. Reported by Andreas Jaeger.
3838
369b1933
UD
3839 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
3840 pollute the namespace since the compiler will resolve it inline.
3841 Reported by Florian La Roche <florian@suse.de>.
3842
2b79b6d5
UD
38431998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
3844
3845 * timezone/private.h: Update from tzcode1998g.
3846
3847 * timezone/africa: Update from tzdata1998h.
3848 * timezone/asia: Likewise.
3849 * timezone/australasia: Likewise.
3850 * timezone/europe: Likewise.
3851 * timezone/northamerica: Likewise.
3852 * timezone/southamerica: Likewise.
3853 * timezone/zone.tab: Likewise.
3854
3d42e04d
UD
38551998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3856
3857 * misc/sys/mman.h: New file.
3858
3859 * sysdeps/generic/bits/mman.h: New file.
3860 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
3861 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
3862 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
3863 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
3864
3865 * sysdeps/generic/sys/mman.h: Removed.
3866 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
3867 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
3868 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
3869 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
3870 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
3871
3872 * include/sys/mman.h: Look directly for misc/sys/mman.h.
3873 * misc/Makefile (headers): Add bits/mman.h.
3874 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
3875 bits/mman.h.
3876
3877 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
3878 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
3879 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
3880 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
3881 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
3882 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
3883 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
3884 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
3885
38861998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3887
3888 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
3889 * sysdeps/mach/alpha/thread_state.h: Likewise.
3890 * sysdeps/mach/i386/sysdep.h: Likewise.
3891 * sysdeps/mach/i386/thread_state.h: Likewise.
3892 * sysdeps/mach/mips/sysdep.h: Likewise.
3893 * sysdeps/mach/mips/thread_state.h: Likewise.
3894 * sysdeps/posix/profil.c: Likewise.
3895 * sysdeps/i386/i586/memcopy.h: Likewise.
3896 * sysdeps/mach/pagecopy.h: Likewise.
3897
a379e56a
UD
38981998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
3899
3900 * libio/stdio.h: Define __need_getopt and include getopt.h to define
3901 getopt stuff.
3902 * posix/unistd.h: Likewise.
3903 * stdio/stdio.h: Likewise.
3904 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
3905 define only getopt and the variables.
3906
34a4b66d
UD
39071998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3908
3909 * scripts/test-installation.pl (installation_problem): Don't link
3910 the test program against libdb1.
3911
24fd4cc4
UD
39121998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
3913
3914 * Makeconfig (all-subdirs): Add db.
3915 * Versions.def: Add definition for libdb1.
3916 * shlib-versions: Add definitions for libdb1.
3917 * db/Makefile (extra-libs): Replace by libdb1.
3918 (libdb-routines): Rename to libdb1-routines.
3919 (headers): Rename to db1-headers.
3920 (distribute): Add $(db1-headers).
3921 (install-others): Define to install symlink libdb.so.NN and the
3922 $(db1-headers).
a379e56a 3923 (CPPFLAGS): Add -DUSE_LIBDB1
24fd4cc4
UD
3924 Remove rules to build makedb.
3925 * db/Versions: Rename libdb to libdb1.
3926 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
af564203 3927 * db/makedb.c: Removed.
24fd4cc4
UD
3928
3929 * scripts/versions.awk: Recognize digits in library names.
3930
3931 * db/btree/bt_open.c: Fix compiler warnings.
3932 * db/btree/bt_put.c: Likewise.
3933 * db/btree/bt_split.c: Likewise.
3934 * db/hash/hash.c: Likewise.
3935 * db/hash/hash_bigkey.c: Likewise.
3936 * db/recno/rec_close.c: Likewise.
3937
af564203
UD
3938 * Makefile: Add localedata/% goal.
3939
c94a8080
UD
39401998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3941
3942 * posix/execvp.c: Don't give up searching the PATH if execve
3943 returns ENOTDIR.
3944
39451998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
3946
3947 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
3948 if _dl_fpu_control_set is set.
3949 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
3950 * elf/rtld.c: Don't define _dl_fpu_control_set.
3951 * elf/Versions: Remove _dl_fpu_control_set.
3952
39531998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
3954
3955 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
3956 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3957 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
3958 Correct values of other SA_* macros according to kernel headers.
3959
39601998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3961
3962 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
3963 variable l.
3964 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
3965 old.
3966
39671998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3968
3969 * elf/ldsodefs.h: Fix typo in comment.
3970
39711998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3972
3973 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
3974 char when comparing buffer contents with putback character.
3975
39761998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3977
3978 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
3979 Undo last change.
3980 * elf/Versions: Undo last change. Export _dl_fpu_control and
3981 _dl_fpu_control_set.
3982 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
3983 variables. Include <fpu_control.h>.
3984 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
3985 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
3986 to indicate that is was seen.
3987 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
3988 only if _dl_fpu_control was set and is equal to desired value.
3989 * math/Makefile (aux): Undo last change.
3990 * math/Versions: Export __fpu_control with version GLIBC_2.0.
3991
f74e8ed1
AS
39921998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3993
3994 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
3995 optimized.
3996
e7c5513d
UD
39971998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
3998
3999 * string/bits/string2.h: Add mempcpy optimization.
4000 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
4001 * intl/localealias.c: Define mempcpy only if not already defined.
4002
4003 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
4004 defined.
4005
40061998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
4007
4008 * csu/abi-note.S: Emit the note directly instead of defining
4009 a preprocessor macro that's only used once. Don't include sysdep.h.
4010 * abi-tags: Generalize Solaris entry.
4011
40121998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4013
4014 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
4015 Change to array to avoid runtime relocation.
4016 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
4017
40181998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4019
4020 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
4021 * math/Makefile ($(objpfx)libieee.a): Likewise.
4022
40231998-09-21 Ulrich Drepper <drepper@cygnus.com>
4024
4025 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
4026 Patch by John Tobey <jtobey@banta-im.com>.
4027
b0fd6165
UD
40281998-09-20 Ulrich Drepper <drepper@cygnus.com>
4029
4030 * login/Makefile (distribute): Remove pty-internal.h, add
4031 pty-private.h.
1391f5d3
UD
4032
4033 * stdlib/tst-strtol.c: Add more checks.
4034 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
4035
a0780919
UD
40361998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
4037
4038 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
4039 * elf/elf.h: Add AT_FPUCW.
4040 * elf/Makefile (dl-routines): Add fpu_control.
4041 (elide-routines.os): Add fpu_control.
4042 (rtld-routines): Add fpu_control.
4043 * math/Makefile (aux): Remove fpu_control.
4044 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
4045 (_dl_show_auxv): Likewise.
4046 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
4047 if different from OS default.
4048
4049 * stdio-common/tstscanf.c: Add test case for (nil).
4050
00bc5db0
UD
40511998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
4052
4053 * libio/fileops.c (_IO_new_file_underflow): Before allocating
4054 buffer make sure the pushback buffer is destroyed.
4055 (_IO_new_file_seekoff): Likewise.
4056 If mode==0 quit early with the result.
4057 Clear OEF flag after successful fseek.
4058 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
4059 * libio/ftello.c (ftello): Add offset from original buffer if
4060 stream has pushed back characters.
4061 * libio/ftello64.c (ftello64): Likewise.
4062 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
4063 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
4064 * libio/ioftell.c (_IO_ftell): Likewise.
4065 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
4066 and _IO_save_ptr.
4067 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
4068 (_IO_default_pbackfail): Only stored push back character in original
4069 buffer if it is the same as the one in the file at this position.
4070 * libio/iofclose.c: Free backup buffer if one is available.
4071 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
4072 mode!=0.
4073
4074 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
4075
4076 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
4077
c53a89d4
UD
4078 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
4079
00bc5db0
UD
40801998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
4081
4082 * login/programs/pt_chown.c (more_help): Correct message that
4083 describes the purpose of the program.
4084
4085 * login/openpty.c: Do not include pty-private.h.
4086 (pts_name): New function. Return name of slave pseudo terminal in
4087 an allocated buffer if necessary.
4088 (openpty): Use pts_name to get name of the slave end of the pseudo
4089 terminal pair.
4090
4091 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
4092 pts_name before return.
4093
40941998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
4095
4096 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
4097
88263bc9
UD
40981998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4099
4100 * login/openpty.c: Include pty-private.h instead of
4101 pty-internal.h.
4102
872ea854
UD
41031998-09-09 Philip Blundell <pb@nexus.co.uk>
4104
4105 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
4106
41071998-09-07 Philip Blundell <pb@nexus.co.uk>
4108
4109 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
4110 recent ld.so changes.
4111 (elf_machine_runtime_setup): Correct behaviour when profiling.
4112
9b3c7c3c
UD
41131998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
4114
4115 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
4116 Patch by John Tobey <jtobey@banta-im.com>.
4117
41181998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
4119
4120 * login/pty-internal.h: Removed. Moved constants related to the
4121 `grantpt' helper program protocol to ...
4122 * login/pty-private.h: ... here. New file.
4123 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
4124 to make the function work with kernels >= 2.1.115.
4125 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
4126 version if using the cloning device fails.
4127 * sysdeps/unix/sysv/linux/grantpt.c: New file.
4128 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
4129 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
4130 use by Linux specific code.
4131 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
4132 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
4133 function. (grantpt): Use pts_name, check group and permission
4134 mode in addition to owner. Try to set the owner, group and
4135 permission mode first without invoking the helper program.
4136 * login/programs/pt_chown.c: Largely rewritten. Add argp and
4137 internationalization support. Use symbolic constants instead of
4138 hardwired numbers for permission mode.
4139 * sysdeps/unix/bsd/ptsname.c: New file.
4140
41411998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
4142
4143 * posix/wordexp-test.c: Undo last change.
4144
4145 * posix/wordexp.c: Undo last change.
4146
d8f2b9ea
UD
41471998-09-16 Ulrich Drepper <drepper@cygnus.com>
4148
4149 * nscd/grpcache.c (save_grp): Partly undo last change.
4150
4151 * nscd/pwdcache.c (save_pwd): Undo last change.
4152
9c4c0024
UD
41531998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4154
4155 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
4156 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
4157
41581998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
4159
4160 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
4161 Add profiling support.
4162 (TRAMPOLINE_TEMPLATE): New macro.
4163 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
4164 (RTLD_START): Prettify, and set __libc_stack_end properly.
4165 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
4166 and check for sym being NULL instead.
4167 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
4168 of stack space.
4169 * sysdeps/sparc/sparc64/lshift.S: Likewise.
4170 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
4171 * sysdeps/sparc/sparc64/rshift.S: Likewise.
4172 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
4173 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
4174 MEDANY code model %g4 usage.
4175 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
4176 MEDANY code model %g4 usage.
4177 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
4178 code model address formation.
4179 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
4180 include elf/ldsodefs.h
4181 (DT_SPARC): Remove.
4182 (elf_machine_matches_host): It is now EM_SPARCV9.
4183 (elf_machine_dynamic): Clean up to remove ugly cast.
4184 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
4185 new PLT formats.
4186 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
4187 Prettify rest of function.
4188 [R_SPARC_COPY]: Check for sym being NULL.
4189 [R_SPARC_32]: Handle it.
4190 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
4191 MEDMID code model.
4192 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
4193 MEDANY code model.
4194 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
4195 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
4196 Add profiling support.
4197 (TRAMPOLINE_TEMPLATE): New macro.
4198 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
4199 (RTLD_START): Prettify and set __libc_stack_end.
4200 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
4201 Define.
4202 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
4203 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
4204 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
4205 unused variable scratch.
4206 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4207 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
4208 Declare.
4209 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
4210 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
4211 old format kernel sigaction structures.
4212 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
4213 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
4214 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
4215 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
4216 ucontext include.
4217 (_JMPBUF_UNWINDS): Define.
4218 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
4219 statfs64 structure, which is exactly the same as the normal one.
4220 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
4221 of stack. Use correct syscall trap number. Add branch prediction
4222 settings to branch instructions. Remove old MEDANY code model %g4
4223 referneces for non-PIC.
4224 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
4225 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
4226 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
4227 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
4228 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4229 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
4230 __libc_longjmp and __libc_siglongjmp strong aliases.
4231 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
4232 Also define to __no__readdir64_decl around readdir.c inclusion.
4233 (__readdir64): Add strong alias.
4234 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
4235 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
4236 Set strong and weak names properly.
4237
42381998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4239
4240 * manual/Makefile (AWK): Default to gawk if standalone.
4241
42421998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4243
4244 * Makefile (distribute): Undo last change.
4245 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
4246 for sysdep headers.
4247 (+subdir-headers): Removed, unused.
4248
42491998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4250
4251 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
4252 $(do-install).
4253
42541998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4255
4256 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
4257 absolute name in $(config-sysdirs), can never happen.
4258 ($(+sysdir_pfx)sysd-rules): Likewise.
4259 * Makeconfig (full-config-sysdirs): Likewise.
4260 (all-Subdirs-files): Prepend $(..).
4261
4262 * configure.in: Don't check for absolute name in $add_ons_pfx, can
4263 not happen. Let --enable-add-ons=yes work if no add-ons actually
4264 exist.
4265
42661998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4267
4268 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
4269 continuations in command.
4270
42711998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4272
4273 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
4274
a8125d85
UD
42751998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
4276
4277 * posix/wordexp-test.c: If expansion or substitution occurs
4278 anywhere in a word, the entire word is subject to field-splitting.
4279
4280 * posix/wordexp.c (parse_glob): Look for end of word instead of
4281 end of field when deciding what to glob.
4282 (field_split_word): New function, now the only place where
4283 field-splitting is performed.
4284 (parse_dollars): New parameter - tell the caller if
4285 field-splitting should be performed on this word.
4286
4287 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
4288 succeeded (or failed with WRDE_NOSPACE).
4289
42901998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
4291
4292 * posix/wordexp.c (wordexp): Don't convert IFS characters to
4293 blanks.
4294
4295 * posix/wordexp-test.c: Words not the result of expansion or
4296 substitution should remain unchanged.
4297
aa2bc6a3
UD
42981998-09-15 Ulrich Drepper <drepper@cygnus.com>
4299
4300 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
4301 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
4302
3a60301a
UD
43031998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4304
4305 * stdio-common/Makefile: Include Makeconfig so that
4306 $(inst_includedir) is defined.
4307
77f0d179
UD
43081998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4309
4310 * io/pwd.c: Include <mcheck.h>.
4311
6beaac4d
UD
43121998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
4313
4314 * nscd/pwdcache.c (save_pwd): Correct copying.
4315 * nscd/grpcache.c (save_grp): Likewise.
4316
0ff0d59e
UD
43171998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
4318
4319 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
4320 (free_pwd): Adjust for this change.
4321 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
4322 (free_grp): Adjust for this change.
4323
d3f8acb3
UD
43241998-09-14 Ulrich Drepper <drepper@cygnus.com>
4325
4326 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
4327
14eb5d5d
UD
43281998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
4329
4330 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
4331 (install-others): Add bits/stdio_lim.h.
4332 Add rule to install bits/stdio_lim.h.
4333
4334 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
4335
4336 * Makefile (distribute): Add include/sys/mman.h.
4337
4338 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
4339 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
4340 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
4341
0a1590ba
UD
4342 * grp/initgroups.c: Include stdlib.h.
4343 Patch by Zack Weinberg.
4344
1ffaaca2
UD
43451998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
4346
4347 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
4348 for field-splitting :abc: is correct, and that two fields should
4349 result. Revert tests to reflect this.
4350
4351 * posix/wordexp.c (w_emptyword): Remove function.
4352 (exec_comm): Don't use w_emptyword.
4353 (parse_param): Likewise.
4354
4ca020f5
UD
43551998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
4356
4357 * sysdeps/arm/fpu/Dist: Moved to...
4358 * sysdeps/arm/Dist: ...here.
4359 * sysdeps/posix/Dist: Removed.
4360 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
4361 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
4362
f624c216
UD
43631998-08-26 Geoff Keating <geoffk@ozemail.com.au>
4364
4365 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
4366
7ef90c15
UD
43671998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
4368
4369 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
4370
43711998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4372
4373 * libc-work/nis/nss_nisplus/nisplus-service.c
4374 (_nss_nisplus_parse_servent): Convert port in network byte order.
4375
43761998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
4377
4378 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
4379 to provide only malloc and calloc.
4380 * include/stdlib.h: Support the above.
4381 * string/bits/string2.h: Use __need_malloc_and_calloc when
4382 including stdlib.h.
4383 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
4384
4385 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
4386 * iconvdata/iso646.c: Include <stdlib.h>.
4387
43881998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
4389
4390 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
4391 * sysdeps/libm-ieee754/w_pow.c: Likewise.
4392 * sysdeps/libm-ieee754/w_powf.c: Likewise.
4393 * sysdeps/libm-ieee754/w_powl.c: Likewise.
4394
43951998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
4396
4397 * stdio-common/stdio_lim.h.in: New file. All parameters
4398 are adjustable at build time.
4399 * Rules: Add a rule to build bits/stdio_lim.h from
4400 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
4401 all subdirectories know how to make the file. It can't be
4402 in Makerules because then it gets built at top level and the
4403 dependencies are wrong.)
4404
4405 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
4406 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
4407 stdio_lim.h.
4408 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
4409 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
4410 * sysdeps/posix/Makefile: Removed.
4411 * sysdeps/posix/mk-stdiolim.c: Removed.
4412 * sysdeps/generic/bits/stdio_lim.h: Removed.
4413
44141998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4415
4416 * argp/argp-help.c: Fixup indentation.
4417 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
4418 * resolv/nss_dns/dns-network.c: Likewise.
4419 * resolv/res_send.c: Likewise.
4420 * rt/aio_cancel.c: Likewise.
4421 * rt/aio_misc.c: Likewise.
4422
44231998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4424
4425 * Makefile (install-symbolic-link): Remove the link list file at last.
4426 * Makerules (install-clean-symbolic-link-list): Removed.
4427
44281998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4429
4430 * timezone/tst-timezone.c: Print time in UTC to get consistent
4431 output.
4432
44331998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4434
4435 * elf/rtld.c (_dl_rpath): Removed.
4436 * elf/dl-support.c (_dl_path): Removed.
4437 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
4438 (CFLAGS-dl-support.c): Removed.
4439
4440 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
4441 uses changed.
4442 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
4443 instead of appending it to the main map's rpath info.
4444 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
4445 DT_RPATHs. This makes it effective again.
4446 (decompose_rpath): Remove second parameter, callers changed.
4447 (fillin_rpath): Allocate enough space in curwd.
4448 (expand_dynamic_string_token): Cope with get_origin returning -1.
4449
44501998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4451
4452 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
4453 passwd.adjunct.
4454
4455 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
4456 invalid password.
4457
44581998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
4459
4460 * locale/programs/locale.c: Update dates.
4461
5d47ceca
UD
44621998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
4463
4464 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
b1fcf686 4465 size_t is defined. Some reordering of definitions to make
5d47ceca
UD
4466 maintaining this file in parallel with the linux-specific file easier.
4467
bd31edf2
UD
44681998-09-13 Ulrich Drepper <drepper@cygnus.com>
4469
4470 * io/pwd.c (main): Add call to mtrace.
4471
4472 * malloc/mtrace.pl: Quote @ in string.
4473
33c3e20e
UD
44741998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
4475
4476 * posix/wordexp.c (parse_arith): Fix memory leaks.
4477 (exec_comm): Likewise.
4478 (parse_param): Likewise.
4479 (wordexp): Likewise.
4480 (exec_comm): Reduce number of function return points.
4481 (parse_param): Likewise.
4482 (wordexp): Likewise.
4483
1720f4d0
UD
44841998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
4485
4486 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
4487 yield three fields, not two. Test both parameter expansion and
4488 command substitution for correct field-splitting behaviour.
4489
4490 * posix/wordexp.c (w_emptyword): New function.
4491 (parse_param): Use it.
4492 (exec_comm): Likewise, for consistency with the way parse_param
4493 splits fields.
4494 (parse_param): Fix some memory leaks.
4495
2d09b95d
UD
44961998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
4497
4498 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
4499 Don't mark asm `volatile'.
4500 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
4501 from the data cache too. Assume it isn't in the instruction cache yet.
4502 (__elf_machine_fixup_plt): Clear the modified address from the caches.
4503
b39c6f8b
UD
45041998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
4505
4506 * sysdeps/generic/segfault.c (install_handler): Install signal
4507 handler with SA_ONSTACK instead of setting the stack flags to
4508 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
4509 defined.
4510
45111998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
4512
4513 * signal/signal.h: Fix multiple inclusion guard to cover the
4514 entire file.
4515 * wcsmbs/wchar.h: Remove prototype of internal function
4516 __mbsrtowcs.
4517 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
4518 arithmetic on `void *'.
4519
c06cc21c
UD
45201998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
4521
4522 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
4523
4524 * posix/wordexp.c (wordexp): Perform word-splitting instead of
4525 field-splitting here.
4526 (wordexp): If out of memory mid-word, free the word (but still
4527 leave pwordexp alone for caller to see).
4528 (parse_param): Allow for zero-length fields (smarter checking of
4529 memory allocation failure).
4530 (w_addword): Convert NULL words to "".
4531 (wordexp): Convert left-over IFS characters to blanks (like bash).
4532
81e0cb2d
UD
45331998-09-11 Ulrich Drepper <drepper@cygnus.com>
4534
350eb336
UD
4535 * configure.in: Use test -f instead of test -e.
4536 Patch by John Tobey <jtobey@banta-im.com>.
4537
4538 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
4539 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
4540 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
4541 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
4542 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
4543 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
4544 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
4545 Patches by John Tobey <jtobey@banta-im.com>.
4546
81e0cb2d
UD
4547 * time/strftime.c (my_strftime): Delay use of *tp values until
4548 latest possible point to allow partly initialized structures
4549 (e.g., from strptime).
4550
514d9bca
UD
4551 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
4552 and NATS-SEFI.
4553 Define *-routines variables for new modules.
4554 (distribute): Add .c files for new modules.
4555 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
4556 and nats-sefi.h.
4557 Add rules for header generation.
4558 * iconvdata/gconv-modules: Add entries for new modules.
4559 * iconvdata/iso_10367-box.c: New file.
4560 * iconvdata/mac-is.c: New file.
4561 * iconvdata/nats-dano.c: New file.
4562 * iconvdata/nats-sefi.c: New file.
4563
81e0cb2d
UD
45641998-04-30 18:20 H.J. Lu <hjl@gnu.org>
4565
4566 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
4567 loader if PIC is not defined.
4568
ec04e9ba
UD
45691998-09-11 Ulrich Drepper <drepper@cygnus.com>
4570
4571 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
4572 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
4573 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
4574 and ISO_5428.
4575 Define *-routines variables for new modules.
4576 (distribute): Add .c files for new modules.
4577 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
4578 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
4579 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
4580 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
514d9bca 4581 Add rules for header generation.
ec04e9ba
UD
4582 * iconvdata/gconv-modules: Add entries for new modules.
4583 * iconvdata/csn_369103.c: New file.
4584 * iconvdata/cwi.c: New file.
4585 * iconvdata/dec-mcs.c: New file.
4586 * iconvdata/ecma-cyrillic.c: New file.
4587 * iconvdata/gost_19768-74.c: New file.
4588 * iconvdata/greek-ccitt.c: New file.
4589 * iconvdata/greek7-old.c: New file.
4590 * iconvdata/greek7.c: New file.
4591 * iconvdata/inis-8.c: New file.
4592 * iconvdata/inis-cyrillic.c: New file.
4593 * iconvdata/inis.c: New file.
4594 * iconvdata/iso6937-2.c: New file.
4595 * iconvdata/iso_2033.c: New file.
4596 * iconvdata/iso_5427-ext.c: New file.
4597 * iconvdata/iso_5427.c: New file.
4598 * iconvdata/iso_5428.c: New file.
4599
4600 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
4601 entries.
4602 Convert U02dd correctly.
4603
25c849b1
RH
46041998-09-11 20:46 Richard Henderson <rth@cygnus.com>
4605
4606 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
4607 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
4608 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
4609 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
4610
04795ad9
UD
46111998-09-11 Ulrich Drepper <drepper@cygnus.com>
4612
4613 * resolv/res_init.c (res_init): Handle resolv.conf file with only
4614 one nameserver correctly. Patch by HJ Lu.
4615
4616 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
4617 and ANSI_X3.110.
4618 Define *-routines variables for new modules.
4619 (distribute): Add .c files for new modules.
4620 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
4621 Add rules for hedaer generation.
4622 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
4623 * iconvdata/ansi_x3.110.c: New file.
4624 * iconvdata/asmo_449.c: New file.
4625 * iconvdata/baltic.c: New file.
4626 * iconvdata/iec_p27-1.c: New file.
4627
4628 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
4629 entries.
4630 Convert U02dc correctly.
4631
4632 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
4633 * math/atest-exp2.c: Likewise.
4634 * math/atest-sincos.c: Likewise.
4635
4636 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
4637 is defined.
4638
46391998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4640
4641 * string/strcoll.c: Optimize a few expressions.
4642 * string/strxfrm.c: Likewise.
4643
5e0889da
UD
46441998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4645
4646 * manual/locale.texi: Fix typos.
4647
2c86b2bc
UD
46481998-09-10 Ulrich Drepper <drepper@cygnus.com>
4649
26afaa63
UD
4650 * stdlib/random_r.c (__setstate_r): Allow call with same state
4651 array as currently used (PR libc/774).
4652
6c79e60c
UD
4653 * include/limits.h: Include gcc's header even if this file is
4654 found more than once before it (PR libc/778)
4655
ec04e9ba
UD
4656 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
4657 (sysdep_headers): Remove sys/debugreg.h.
4658 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
4659 (sysdep_headers): Add sys/debugreg.h.
39382b8b
UD
4660 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
4661 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
4662
2c86b2bc
UD
4663 * stdio-common/tmpnam.c: Move local static variable buf to
4664 toplevel and rename to tmpnam_buffer to ease debugging.
4665 Patch by Joe Keane <jgk@jgk.org>.
4666 Optimize s == NULL case a bit.
4667
8e9f53fc
UD
4668 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
4669 correction.
4670
482a3be2
UD
46711998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
4672
4673 * resolv/res_init.c (res_init): Initialize _res.nscount and
4674 _res.nsaddr.sin_port differently for the can when no loopback
4675 is available to allow immediate timeout in non-networking environments.
4676 Patch by Cristian Gafton <gafton@redhat.com>.
4677
e8238963
UD
46781998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4679
4680 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
4681 BAR and not EM DASH.
4682 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
4683 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
4684 Fixes PR libc/717.
4685
90865aa8
UD
46861998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
4687
4688 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
4689 for test.
4690 * timezone/tst-timezone.c (tests): Fix typo in last patch.
4691
4692 * time/tzfile.c (__tzfile_read): Handle case when there are no
4693 transitions. Set __timezone based on computed offset.
4694 * time/tzset.c (tzset_internal): Set __timezone before returning.
4695
4696 * time/tzset.c (tzset_internal): Optimize handling of local string
4697 copy.
4698
46991998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4700
4701 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
4702 libc/776).
4703
adac8450
UD
47041998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4705
4706 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
4707 (csqrt_test): Likewise.
90865aa8 4708 * sysdeps/powerpc/bits/fenv.h: Add parens.
adac8450 4709
8e140239
UD
47101998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
4711
4712 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
4713 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
4714 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
4715
78acf671
UD
47161998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
4717
4718 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
4719 the special `-1' pointer.
4720
6e4c40ba
UD
47211998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
4722
4723 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
4724 inline.
4725
47261998-09-07 Paul Eggert <eggert@twinsun.com>
4727
4728 * time/mktime.c (__EXTENSIONS__): Define if not defined.
4729 (_REENTRANT): Remove. It has undesirable consequences in
4730 Solaris 2.6 (e.g. it turns off the putc macro). Defining
4731 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
4732 is what we want.
4733 * time/strftime.c: Likewise.
4734
47351998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4736
4737 * elf/dl-error.c: Fix spelling.
4738
47391998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4740
4741 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
4742 * stdio-common/_itoa.c: Likewise.
4743 * stdio-common/printf_fp.c: Likewise.
4744 * stdio-common/vfscanf.c: Likewise.
4745 * wcsmbs/wcstok.c: Likewise.
4746 * sysdeps/generic/glob.c: Likewise.
4747 * posix/getopt.c: Likewise.
4748 * sysdeps/posix/getaddrinfo.c: Likewise.
4749 * posix/wordexp.c: Likewise.
4750 * io/ftw.c: Likewise.
4751 * io/fts.c: Likewise.
4752 * misc/getpass.c: Likewise.
4753 * iconv/gconv_conf.c: Likewise.
4754 * argp/argp-fmtstream.c: Likewise.
4755 * argp/argp-help.c: Likewise.
4756 * elf/dl-load.c: Likewise.
4757 * locale/programs/stringtrans.c: Likewise.
4758 * catgets/gencat.c: Likewise.
4759 * posix/getconf.c: Likewise.
4760 * iconv/gconv_conf.c: Likewise.
4761 * iconv/iconv_prog.c: Likewise.
4762
4763 * string/strcoll.c: Optimize a few expressions.
4764 * string/strxfrm.c: Likewise.
4765
47661998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4767
4768 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
4769 level to avoid uninit variable warning.
4770
47711998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2aa236b1 4772
769ca810 4773 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
6e4c40ba 4774 instead of _dl_default_scope[2] as argument to _dl_init_next.
769ca810 4775
2aa236b1
AS
4776 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
4777 C9x macro.
4778
8ea4a95a
UD
47791998-09-08 Ulrich Drepper <drepper@cygnus.com>
4780
6e4c40ba 4781 Fix compatibility problems introduced in last change.
dc27836e
UD
4782 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
4783 defined.
4784 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
4785 -DWEAK_GMON_START to CFLAGS-initfini.s.
4786
e4d50917
UD
4787 * elf/dl-object.c (_dl_new_object): Store map address in
4788 _dl_loaded if _dl_loaded is NULL.
87c812c2 4789 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
e4d50917 4790
8ea4a95a
UD
4791 * sysdeps/generic/setrlimit64.c: Remove stub warning.
4792
88c91118
UD
47931998-09-07 Ulrich Drepper <drepper@cygnus.com>
4794
4795 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
4796 quiet.
2c874db2
UD
4797 * db2/btree/bt_cursor.c: Likewise.
4798 * db2/common/db_region.db_c: Likewise.
4799 * db2/common/db_salloc.db_c: Likewise.
4800 * db2/db/db.c: Likewise.
4801 * db2/db/db_rec.c: Likewise.
4802 * db2/hash/hash.c: Likewise.
4803 * db2/hash/hash_page.c: Likewise.
4804 * db2/hash/hash_rec.c: Likewise.
4805 * db2/log/log_findckp.c: Likewise.
4806 * db2/log/log_get.c: Likewise.
4807 * db2/log/log_put.c: Likewise.
4808 * db2/mp/mp_fget.c: Likewise.
4809 * db2/mp/mp_fput.c: Likewise.
4810 * db2/mp/mp_region.c: Likewise.
cf9f9a16
UD
4811 * stdlib/strtol.c: Likewise.
4812 * string/strcoll.c: Likewise.
4813 * string/strxfrm.c: Likewise.
94b78bb2
UD
4814 * argp/argp-help.c: Likewise.
4815 * argp/argp-parse.c: Likewise.
3121cc04 4816 * resolv/res_debug.c: Likewise.
88c91118 4817
26644e87
UD
48181998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
4819
4820 * math/tgmath.h (scalb): Only define for __USE_MISC or
4821 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
4822
2b33e5b0
UD
48231998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4824
4825 * libio/stdio.h: Fix comment.
4826
4827 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
4828 __USE_ISOC9X.
4829
6796bc80
UD
48301998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
4831
4832 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
4833
4834 * elf/dl-open.c: Quiet -Wparentheses warnings.
4835 * iconvdata/johab.c: Likewise.
4836 * iconvdata/uhc.c: Likewise.
4837 * inet/inet_net.c: Likewise.
4838 * io/fts.c: Likewise.
4839 * locale/newlocale.c: Likewise.
4840 * misc/getttyent.c: Likewise.
4841 * misc/mntent_r.c: Likewise.
4842 * misc/ttyslot.c: Likewise.
4843 * nscd/nscd_conf.c: Likewise.
4844 * nss/nsswitch.c: Likewise.
4845 * resolv/gethnamaddr.c: Likewise.
4846 * resolv/nsap_addr.c: Likewise.
4847 * resolv/res_debug.c: Likewise.
4848 * stdio-common/_itoa.c: Likewise.
4849 * stdlib/strtod.c: Likewise.
4850 * string/strverscmp.c: Likewise.
4851 * sunrpc/svc.c: Likewise.
4852 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
4853 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
4854 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
4855 * sysdeps/posix/getaddrinfo.c: Likewise.
4856
baa3334a
UD
48571998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
4858
4859 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
4860 for use of global scope.
4861 * elf/dlvsym.c (dlvsym_doit): Likewise.
4862
48631998-09-02 Paul Eggert <eggert@twinsun.com>
4864
4865 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
4866 copy the redundant bytes at the end of the format as-is; don't
4867 just copy their first byte and then rescan, as that might get
4868 us an encoding error.
4869 Account correctly for the length of multibyte sequences in the
4870 format.
4871
48721998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
4873
4874 * posix/wordexp-test.c: Add tests for different IFS values.
4875 Change unquoted-newline test so that newline is not in IFS.
4876
4877 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
4878 determining IFS characters. Return WRDE_BADCHAR for unquoted
4879 special characters _except_ if they are separators.
4880
48811998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
4882
4883 * include/tgmath.h: New file.
4884
4885 * libio/stdio.h: Correct reversed #ifs.
4886 Patch by Zack Weinberg.
4887
4888 * manual/creature.texi: Better explain reason for feature select
4889 macros.
4890 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
4891
48921998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
4893
4894 * include/alloca.h: Add multiple-inclusion guard.
4895 * include/db.h: Likewise.
4896 * include/db_185.h: Likewise.
6796bc80 4897 * include/dlfcn.h: Likewise.
baa3334a
UD
4898 * include/fcntl.h: Likewise.
4899 * include/grp.h: Likewise.
4900 * include/libintl.h: Likewise.
4901 * include/mntent.h: Likewise.
4902 * include/pwd.h: Likewise.
4903 * include/sched.h: Likewise.
4904 * include/search.h: Likewise.
4905 * include/setjmp.h: Likewise.
4906 * include/shadow.h: Likewise.
4907 * include/signal.h: Likewise.
4908 * include/stdio.h: Likewise.
4909 * include/stdlib.h: Likewise.
4910 * include/string.h: Likewise.
4911 * include/termios.h: Likewise.
4912 * include/time.h: Likewise.
4913 * include/ulimit.h: Likewise.
4914 * include/utmp.h: Likewise.
4915 * include/wchar.h: Likewise.
4916 * include/sys/file.h: Likewise.
4917 * include/sys/gmon.h: Likewise.
4918 * include/sys/ioctl.h: Likewise.
4919 * include/sys/mman.h: Likewise.
4920 * include/sys/resource.h: Likewise.
4921 * include/sys/select.h: Likewise.
4922 * include/sys/socket.h: Likewise.
4923 * include/sys/statfs.h: Likewise.
4924 * include/sys/time.h: Likewise.
4925 * include/sys/times.h: Likewise.
4926 * include/sys/wait.h: Likewise.
4927
be935610
UD
49281998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
4929
4930 * version.h (VERSION): Bump to 2.0.96.
4931
4932 Rewrite runtime linker to be truly thread-safe. There is now no
4933 global variable specifying the scope. We create all needed
4934 scopes at the time the link maps are created.
4935 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
4936 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
4937 l_symbolic_searchlist, l_scope, and l_local_scope elements in
4938 struct link_map.
4939 * elf/dl-close.c: Rewritten accordingly.
4940 * elf/dl-deps.c: Likewise.
4941 * elf/dl-error.c: Likewise.
4942 * elf/dl-init.c: Likewise.
4943 * elf/dl-load.c: Likewise.
4944 * elf/dl-lookup.c: Likewise.
4945 * elf/dl-object.c: Likewise.
4946 * elf/dl-open.c: Likewise.
4947 * elf/dl-reloc.c: Likewise.
4948 * elf/dl-runtime.c: Likewise.
4949 * elf/dl-support.c: Likewise.
4950 * elf/dl-symbol.c: Likewise.
4951 * elf/dl-version.c: Likewise.
be935610
UD
4952 * elf/dlsym.c: Likewise.
4953 * elf/dlvsym.c: Likewise.
4954 * elf/ldsodefs.h: Likewise.
4955 * elf/rtld.c: Likewise.
4956 * iconv/gconv_dl.c: Likewise.
4957 * nss/nsswitch.c: Likewise.
4958 * sysdeps/i386/dl-machine.h: Likewise.
4959 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4960
6796bc80
UD
4961 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
4962 Define RTLD_DEFAULT.
4963
2b4083dd
RM
49641998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
4965
4966 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
4967 __getopt_clean_environment with __environ instead of envp.
4968
a361203e
RM
49691998-09-05 Roland McGrath <roland@baalperazim.frob.com>
4970
2b4083dd
RM
4971 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
4972
531e4bca
RM
4973 * string/argz-extract.c (__argz_extract): Add de-consting cast for
4974 setting results.
4975
62ee0979 4976 * string/argz.h (argz_next): Add de-consting cast for return.
531e4bca 4977 * string/argz-next.c (__argz_next): Likewise.
62ee0979 4978
59cacc81
RM
4979 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
4980 Don't add netinet/udp.h, netinet/ip_icmp.h here.
4981 * sysdeps/gnu/Makefile: Do it here instead.
4982 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
4983 * sysdeps/gnu/Dist: ... to here.
4984
a361203e
RM
4985 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
4986 sysdeps/unix/sysv/linux/netinet/tcp.h,
4987 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
4988
29659dd2
RM
49891998-09-04 Roland McGrath <roland@baalperazim.frob.com>
4990
4991 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
4992 * string/argz-next.c, string/argz-extract.c: Fix defns.
4993
1097c603
RM
49941998-09-03 Roland McGrath <roland@baalperazim.frob.com>
4995
4996 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
4997
4998 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
4999 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
5000 * sysdeps/generic/sysd-stdio.c: Likewise.
5001
143e2b96
UD
50021998-09-02 Ulrich Drepper <drepper@cygnus.com>
5003
5004 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
5005 (_dl_map_object_from_fd): Make NAME argument const.
5006 Remove last parameter in _dl_new_object call.
5007 (print_search_path): Correct construction of composed path name.
5008 (_dl_map_object): Prevent looking at RPATH of the main map twice.
5009 Remove last parameter in _dl_new_object call.
5010 * elf/dl-object.c: Remove last parameter. Determine whether create
5011 origin entry based on empty realname. Handle file in root directory
5012 correctly.
5013 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
5014 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
5015 Remove last parameter in _dl_new_object call.
5016 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
5017 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
5018
fc3597c0
UD
50191998-09-01 Ulrich Drepper <drepper@cygnus.com>
5020
4ce636da
UD
5021 * elf/dl-close.c (_dl_close): Add more comments and correct some.
5022 Free l_searchlist and l_dupsearchlist.
5023
fc3597c0
UD
5024 * debug/catchsegv.sh: Add one more pair of quotes.
5025
76156ea1
UD
50261998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
5027
5028 * elf/dl-load.c (add_name_to_object): Change return type to void and
5029 make NAME parameter const. Allocate room for NAME in same memory
5030 block used for l_libname entry.
5031 (_dl_map_object_from_fd): Don't free NAME on failure.
5032 (map_segment): Pass SONAME to add_name_to_object, not a copy.
5033 (_dl_map_object): Don't create copy of NAME. Pass NAME to
5034 _dl_map_object_from_fd.
5035 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
5036 memory block used for l_libname entry.
5037 * elf/dl-close.c: Adjust free()ing for this change.
5038
a8a1269d
UD
50391998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
5040
5041 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
5042
5043 * malloc/mtrace.c: Add bug report address. Update email address.
5044 Add more @XXX@ to print correct address size.
5045
5046 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
5047 really initialized.
5048
5049 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
5050 for munmap call instead of examining phdr again.
5051 Free all malloc()ed strings and arrays.
5052
052b6a6c
UD
50531998-08-09 Geoff Keating <geoffk@ozemail.com.au>
5054
5055 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
5056 dl-machine.h.
5057 * sysdeps/powerpc/dl-machine.c: New file.
5058 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
5059 files. Revise ELF_PREFERRED_ADDRESS to take account of
5060 the new mapping information (fixes bug involving huge bloated
5061 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
5062 * sysdeps/powerpc/dl-start.S: New file.
5063
5064 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
5065 l_map_end.
5066 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
5067 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
5068 others. Call elf_dynamic_do_##reloc only once (to save even more
5069 space).
5070 * elf/link.h: Add new members l_map_start and l_map_end to keep
5071 track of the memory map.
5072 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
5073 the executable.
5074
50751998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
5076
5077 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
5078 Reported by Andreas Jaeger.
5079
5080 * posix/glob.h: Use __size_t instead of size_t in definitions and
5081 make sure this is defined.
5082
85c165be
UD
50831998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
5084
052b6a6c 5085 * manual/locale.texi: Almost complete rewrite. Document more functions
85c165be
UD
5086 and functionality.
5087 * manual/arith.texi: Correct reference.
5088 * manual/string.texi: Pretty printing.
5089
5090 * manual/texinfo.tex: Update from last available version.
5091
50921998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
5093
5094 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
5095 invalid password.
5096 (_nss_nis_getpwuid_r): Likewise.
5097 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
5098
5099 * inet/rcmd.c: Implement netgroup support.
5100 Patch by Dick Streefland <dick_streefland@tasking.com>.
5101
7afab53d
UD
51021998-08-31 Ulrich Drepper <drepper@cygnus.com>
5103
5104 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
5105 object on the list is removed. Don't use this code for PIC.
5106 Reported by HJ Lu [PR libc/770].
5107
bfce746a
UD
51081998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
5109
5110 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
5111
5112 * include/stdio.h: Add __vsscanf.
5113
5114 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
5115 __USE_ISOC9X.
5116 Remove __vsscanf declaration.
5117 Always declare fgetpos and fsetpos.
5118
5119 * math/math.h: Define isinf as macro.
5120 * math/bits/mathcalls.h: Change to declare __isinf all the time.
5121 Don't declare scalb for ISO C 9x.
5122
5123 * math/tgmath.h: Define fma. Rewrite the underlying macros.
5124
5125 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
5126
5127 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
5128 sys/ucontext.h.
5129
5130 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
5131 macros.
5132
51331998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5134
5135 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
5136 Reported by jreising@frequentis.com [PR libc/767].
5137
51381998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5139
5140 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
5141 fl.l_start at beginning of function.
5142 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
5143
ac72fbb1
UD
51441998-08-31 Ulrich Drepper <drepper@cygnus.com>
5145
5146 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
5147 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
5148
5149 * nscd/nscd.init: Make it work in RedHat systems.
5150 Patch by Christian Gafton.
5151
51521998-08-29 Philip Blundell <philb@gnu.org>
5153
5154 * catgets/Makefile: Don't try to run test programs when
5155 cross-compiling.
5156
51571998-08-31 Ulrich Drepper <drepper@cygnus.com>
5158
5159 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
5160 Reported by Zack Weinberg.
5161
51621998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5163
5164 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
5165 * elf/Makefile (distribute): Remove ldd.sh.in.
5166
51671998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5168
5169 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
5170 variable.
5171
e0d46614
UD
51721998-08-29 Ulrich Drepper <drepper@cygnus.com>
5173
5174 * sysdeps/i386/register-dump.h: Move to ...
5175 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
5176
b0cf070b
UD
51771998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
5178
5179 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
5180 with load address, not map address.
5181 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
5182 parameter and use this value.
5183 * sysdeps/arm/dl-machine.h: Likewise.
5184 * sysdeps/i386/dl-machine.h: Likewise.
5185 * sysdeps/m68k/dl-machine.h: Likewise.
5186 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
5187 parameter.
5188 * sysdeps/powerpc/dl-machine.h: Likewise
5189 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
5190 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
5191
997a4165
UD
51921998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
5193
5194 * elf/rtld.c (process_envvars): Fix copy&paste error.
5195
5196 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
5197 memalign hook.
5198 (realloc_hook_ini): Don't overwrite memalign hook.
5199 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
5200 Reported by Philippe Troin <phil@fifi.org>.
5201
5202 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
5203 Patch by Philippe Troin <phil@fifi.org>.
5204
52051998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5206
5207 * sysdeps/generic/segfault.c (install_handler): Protect the
5208 non-POSIX signals with #ifdef.
5209 (catch_segfault): Add missing mode parameter for open.
5210 * debug/catchsegv.sh: Avoid termination message from shell. Allow
5211 other termination signals.
5212
52131998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5214
5215 * debug/Makefile (distribute): Add register-dump.h.
5216
52171998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4226897d
AS
5218
5219 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
5220
f787edde
UD
52211998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
5222
5223 * elf/Makefile (distribute): Add dl-origin.h.
5224 * sysdeps/generic/dl-origin.h: New file.
5225 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
5226 * elf/link.h (struct link_map): Add l_origin field.
5227 * elf/dl-load.c (expand_dynamic_string_token): New function.
5228 (decompose_path): Remove WHERE argument, take link map pointer instead.
5229 Call expand_dynamic_string_token instead of local_strdup to make copy
5230 of rpath.
5231 (_dl_init_paths): Call decompose_path with correct argument.
5232 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
5233 not defined.
5234 Check EI_OSABI and EI_ABIVERSION fields in header.
5f623941 5235 Call _dl_new_object with extra argument.
f787edde
UD
5236 (_dl_map_object): Call decompose_path with correct argument.
5237 Call expand_dynamic_string_token instead of local_strdup to also
5238 expand DST.
5f623941 5239 Call _dl_new_object with extra argument.
f787edde 5240 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
5f623941
UD
5241 but the main one if new argument is nonzero.
5242 * elf/ldsodefs.h: Adjust for _dl_new_object change.
f787edde
UD
5243 * elf/dl-support.c: Define _dl_origin_path.
5244 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
5f623941 5245 (dl_main): Call _dl_new_object with extra argument.
f787edde
UD
5246
5247 * elf/dl-close (_dl_close): Free l_name and l_origin.
5248
5249 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
5250 modifier in asm, not c.
5251
5252 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
5253 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
5254
6075607b
UD
52551998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
5256
5257 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
5258 variable so that map can be freed.
5259 Reported by Philippe Troin <phil@fifi.org>.
5260
5261 * elf/dl-open.c (dl_open_worker): Correct test for extending global
5262 scope array.
5263 Patch by Philippe Troin <phil@fifi.org>.
5264
52651998-08-26 Geoff Keating <geoffk@ozemail.com.au>
5266
5267 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
5268 Don't call writev() with a 100-element vector.
5269 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
5270 return address.
5271
5272 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
5273 In particular, set __libc_stack_end.
5274 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
5275 undefined. Fix copyright notice.
5276
52771998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5278
5279 * math/Makefile (gmp-objs): New variable.
5280 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
5281 Depend on it.
5282 (tests): Add atest-exp atest-sincos atest-exp2.
5283 (tests-static): Remove atest-exp atest-sincos atest-exp2.
5284
08cac4ac
UD
52851998-08-25 Ulrich Drepper <drepper@cygnus.com>
5286
5287 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
5288 to toplevel.
5289 (_dl_unload_cache): New function.
5290 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
5291 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
6075607b 5292 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
08cac4ac
UD
5293
5294 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
5295 Correct comment for O_LARGEFILE.
5296 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
5297 Change O_LARGEFILE to correct value.
5298
52991998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
5300
5301 * libio/iogetline.c (_IO_getline_info): Don't read anything for
5302 N == 0. Patch by HJ Lu.
5303
6dbb7062
UD
53041998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
5305
5306 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
5307
53081998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
5309
5310 * argp/argp.h: Use __inline__ not inline.
5311
5312 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
5313 an input register as being clobbered.
5314 * sysdeps/i386/memset.c (memset): Likewise.
5315 * sysdeps/i386/bzero.c (__bzero): Likewise.
5316 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
5317
53181998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5319
5320 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
5321 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
5322
ed1ac6a2
UD
53231998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
5324
5325 * debug/catchsegv.sh: Handle text preceding backtrace better.
5326 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
5327 to be installed for other signals than SIGSEGV.
5328 * sysdeps/generic/register-dump.h: New file.
5329 * sysdeps/i386/register-dump.h: New file.
5330 * sysdeps/powerpc/register-dump.h: New file.
5331
5332 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
5333 sigcontextinfo.h.
5334 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
5335
53361998-08-24 Geoff Keating <geoffk@ozemail.com.au>
5337
5338 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
5339
53401998-08-09 Geoff Keating <geoffk@ozemail.com.au>
5341
5342 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
5343 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
5344 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
5345 getresuid, getresgid.
5346
53471998-08-16 Geoff Keating <geoffk@ozemail.com.au>
5348
5349 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
5350 pointer in userland.
5351
53521998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5353
5354 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
5355 and fix value.
5356
53571998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5358
5359 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
5360 over arguments Bourne shell compatible. Don't exit unsuccessfully
5361 if nonelf returns successfully. Avoid duplicating most of the
5362 script.
5363 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
5364 around $file.
5365
53661998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
99475e65
AS
5367
5368 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
5369 sys/reg.h.
5370 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
5371 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
5372
b259e746
UD
53731998-08-23 Ulrich Drepper <drepper@cygnus.com>
5374
5375 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
5376 __modify_ldt and modify_ldt.
5377 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
5378
5379 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5380 Use orl $-1 instead of movl $-1 to save two bytes.
5381 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
5382 Likewise.
5383
53841998-08-17 H.J. Lu <hjl@gnu.org>
ed1ac6a2
UD
5385
5386 * libio/Versions (_IO_do_write, _IO_file_attach,
5387 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
5388 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
5389 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
5390 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
5391
5392 * libio/fileops.c (_IO_do_write, _IO_file_attach,
5393 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
5394 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
5395 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
5396 _IO_file_write, _IO_file_xsputn): Change the prefix to
5397 "_IO_new_". Added to GLIBC_2.1.
5398
5399 * libio/libioP.h (_IO_do_write, _IO_file_attach,
5400 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
5401 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
5402 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
5403 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
5404 "_IO_new_".
5405
5406 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
5407 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
5408 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
5409 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
5410 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
5411
b259e746
UD
54121998-08-23 Richard Henderson <rth@cygnus.com>
5413
5414 * Makeconfig (LDFLAGS): Remove.
5415
ed1ac6a2 5416 * csu/initfini.c: Return to .text before __gmon_start__.
b259e746 5417
ed1ac6a2
UD
5418 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
5419 (STO_MIPS_*): Rename from STO_*.
5420 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
5421 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
b259e746 5422
ed1ac6a2
UD
5423 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
5424 (main): e3s is negative on zero.
5425 * math/atest-exp2.c: Likewise.
b259e746
UD
5426 * math/atest-sincos.c: Likewise.
5427
ed1ac6a2
UD
54281998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5429
5430 * Makerules (install): Add comment about absolute paths.
5431
b259e746
UD
54321998-08-23 Ulrich Drepper <drepper@cygnus.com>
5433
5434 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
5435 array to NUL to handle maxlen==1 case correctly.
5436 Patch by HJ Lu.
5437
54381998-08-23 Richard Henderson <rth@cygnus.com>
7d84a067
RH
5439
5440 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
5441 * sysdeps/alpha/elf/crtend.S: Likewise.
5442 * sysdeps/alpha/elf/start.S: Likewise.
5443
5444 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
5445 non-standard pv usage.
5446
5447 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
5448 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
5449 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
5450 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
5451 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
5452 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
5453 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
5454 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
5455 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
5456 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
5457 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
5458
5459 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
5460 a finite non-denormal, deferring to the full IEEE version otherwise.
5461
5462 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
5463 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
5464 * sysdeps/alpha/fpu/s_floor.c: New.
5465 * sysdeps/alpha/fpu/s_floorf.c: New.
5466 * sysdeps/alpha/fpu/s_ceil.c: New.
5467 * sysdeps/alpha/fpu/s_ceilf.c: New.
5468
e86e2df1
UD
54691998-08-22 Philip Blundell <philb@gnu.org>
5470
5471 * sysdeps/arm/bits/string.h: New file.
5472
14a44a69
UD
54731998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5474
5475 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
5476 document it.
5477
5478 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
5479 test for recent Linux 2.1.100+ headers.
5480
e36b0b57
UD
54811998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5482
5483 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
5484
5148d49f
UD
54851998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
5486
5487 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
5488
54891998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5490
5491 * Makefile (elf/ldso_install): Put back. The problem still persists.
5492 * elf/Makefile (ldso_install): Likewise.
5493
54941998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5495
5496 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
5497 create weak alias.
5498 * include/db.h: Declare __nss_db_open.
5499 * db2/Versions: Export it.
5500
5501 * db2/makedb.c: Convert to use db2 API.
5502 * nss/nss_db/db-XXX.c: Likewise.
5503 * nss/nss_db/db-netgrp.c: Likewise.
5504 * nss/nss_db/db-alias.c: Likewise.
5505 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
5506
55071998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5508
5509 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
5510 sys_setresuid, already built automatically (or not).
5511 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
5512 instead of __syscall_setresuid and add back setresuid.
5513 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
5514 __syscall_setresuid.
5515
55161998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5517
5518 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
5519
1ddf537f
UD
55201998-08-20 Ulrich Drepper <drepper@cygnus.com>
5521
5522 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
5523 BASH-ONLY marked region.
5524 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
5525
55261998-02-20 17:54 H.J. Lu <hjl@gnu.org>
5527
5528 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
5529 _IO_SYSSEEK fails.
5530
5531 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
5532
4df28840 5533 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1ddf537f
UD
5534 element.
5535
8e48355c
RM
55361998-08-21 Roland McGrath <roland@baalperazim.frob.com>
5537
5538 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
5539 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
5540 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
5541 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
5542 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
5543 those magic comments, and to use /bin/sh for @BASH@.
5544 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
5545 * elf/ldd.sh.in: File removed.
5546
d762684b
UD
55471998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
5548
5549 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
5550 cast them to unsigned long int.
5551 * pwd/putpwent.c (putpwent): Likewise.
5552 Patch by John Tobey <jtobey@banta-im.com>.
5553
55541998-08-20 17:14 H.J. Lu <hjl@gnu.org>
5555
5556 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
5557 _IO_pos_BAD.
5558
55591998-02-20 17:54 H.J. Lu <hjl@gnu.org>
5560
5561 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
5562 _IO_SYSSEEK fails.
5563
7934cc16
UD
55641998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
5565
5566 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
5567 Add umount and umount2.
5568 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
5569 * sysdeps/unix/sysv/linux/umount.S: New file.
5570 * sysdeps/unix/sysv/linux/umount2.S: New file.
5571 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
5572 Define MNT_FORCE.
5573
d762684b
UD
5574 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
5575 Add sys/sendfile.h.
5576 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
5577 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
5578
5579 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
5580
5581 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
5582 sendfile.
5583
df777c40
UD
55841998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
5585
5586 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
5587 * elf/ldd.bash.in: Likewise.
5588
5589 * elf/sln.c: Avoid warning for no main prototype.
5590
5591 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
5592 O_WRITE.
5593 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5594 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5595
5596 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
5597 F_GETSIG.
5598 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
5599 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5600 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5601
56021998-08-20 Philip Blundell <pb@nexus.co.uk>
5603
5604 * sysdeps/arm/fpu/ieee754.h: Move to...
5605 * sysdeps/arm/ieee754.h: ... here.
5606
5607 * sysdeps/arm/__longjmp.S: Put return value in correct register.
5608 Don't set the condition flags unnecessarily.
5609 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
5610 registers correctly.
5611
5612 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
5613 (patch from Scott Bambrough).
5614
5615 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
5616
5617 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
5618 NULL, just call it unconditionally.
5619 (__gmon_start__): Provide stub version as a weak symbol.
5620
56211998-07-30 Philip Blundell <philb@gnu.org>
5622
5623 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
5624 by Scott Bambrough)
5625
5626 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
5627 like `@' in .type directives.
5628
5629 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
5630 * sysdeps/arm/bsd-_setjmp.S: Likewise.
5631
5632 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
5633
56341998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5635
5636 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
5637 (F_GETOWN): Likewise.
5638
5639 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
5640 Linux 2.1.117).
5641
56421998-08-20 Ulrich Drepper <drepper@cygnus.com>
5643
5644 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
5645 already defined.
5646
0c6cee5d
UD
56471998-08-18 Ulrich Drepper <drepper@cygnus.com>
5648
5649 * include/features.h: Define __USE_EXTERN_INLINES for recent
5650 enough gcc.
5651 * argp/argp.h: Define extern inline functions only if
5652 __USE_EXTERN_INLINES is defined.
5653 * libio/stdio.h: Likewise.
5654 * math/math.h: Likewise.
5655 * stdlib/stdlib.h: Likewise.
5656 * string/argz.h: Likewise.
5657 * sysdeps/generic/bits/sigset.h: Likewise.
5658 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5659 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
5660 * sysdeps/wordsize-32/inttypes.h: Likewise.
5661 * sysdeps/wordsize-64/inttypes.h: Likewise.
5662 * wcsmbs/wchar.h: Likewise.
5663
5664 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
5665 to allow compilation without optimization.
5666
df777c40
UD
56671998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5668
5669 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
5670 more entries.
5671 * nis/nss_compat/compat-initgroups.c: Likewise.
5672 * nis/nss_compat/compat-pwd.c: Likewise.
5673 * nis/nss_compat/compat-spwd.c: Likewise.
5674 * nis/nss_nis/nis-alias.c: Likewise.
5675 * nis/nss_nis/nis-ethers.c: Likewise.
5676 * nis/nss_nis/nis-grp.c: Likewise.
5677 * nis/nss_nis/nis-hosts.c: Likewise.
5678 * nis/nss_nis/nis-initgroups.c: Likewise.
5679 * nis/nss_nis/nis-network.c: Likewise.
5680 * nis/nss_nis/nis-proto.c: Likewise.
5681 * nis/nss_nis/nis-pwd.c: Likewise.
5682 * nis/nss_nis/nis-rpc.c: Likewise.
5683 * nis/nss_nis/nis-service.c: Likewise.
5684 * nis/nss_nis/nis-spwd.c: Likewise.
5685
5686 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
5687
5688 * nis/ypclnt.c: Try binding dir only first time, could be to old.
5689
5690 * nis/yp_xdr.c: Remove 1024 byte limit.
5691 * nis/ypupdate_xdr.c: Likewise.
5692
5693 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
5694 wrong data.
5695
c82e6116
RM
56961998-08-18 Roland McGrath <roland@baalperazim.frob.com>
5697
5698 * Rules (binaries-static, binaries-shared static pattern rules):
5699 Depend on lib%, not just libc%, from $(link-libc{,-static}).
5700
5701 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
5702 this here, overriding Makeconfig generic value so we link against
5703 the RPC libs.
5704
364ff81f
UD
57051998-08-17 Ulrich Drepper <drepper@cygnus.com>
5706
5707 * posix/tstgetopt.c (options): Add NULL entry at end
5708 Patch by Adrian Miranda <ade@psg.com>.
5709
5d7de7aa
UD
57101998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
5711
5712 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
5713 to 9.
5714
d610a544
UD
57151998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
5716
5717 * elf/elf.h: Add PPC Diab relocations.
5718
5719 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
5720
409dfcea
UD
57211998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
5722
5723 * manual/texinfo.tex: Update.
5724
57251998-08-07 Geoff Keating <geoffk@ozemail.com.au>
5726
5727 * sysdeps/powerpc/backtrace.c: New file.
5728
57291998-08-14 Philip Blundell <pb@nexus.co.uk>
5730
5731 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
5732 sigjmp_save.
5733 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
5734
57351998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5736
5737 * Makefile (install-symbolic-link): Fix spelling.
5738
57391998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5740
5741 * elf/elf.h (SHT_HIOS): Fix value.
5742
57431998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5744
5745 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
5746 part of the expansion, this is undefined by the standard.
5747
9d141cae
UD
57481998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
5749
5750 * posix/getconf.c: Add support for systems with incomplete confname.h.
5751
5752 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
5753
5754 * sysdeps/posix/wait3.c: Make it work.
5755
57561998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5757
5758 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
5759 (elf/ldso_install): Remove.
5760
5761 * elf/Makefile (distribute): Add sln.c.
5762 (others): Add sln.
5763 (others-static): Add sln.
5764 (install-rootsbin): Add sln.
5765 (others-static): Add sln.
5766 (ldso_install): Remove.
5767
57681998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5769
5770 * Makerules (install-clean-symbolic-link-list): Make phony.
5771 * Makefile (install-symbolic-link): Make phony. Depend on
5772 subdir_install for parallel makes.
5773
5774
57751998-07-22 Ulrich Drepper <drepper@cygnus.com>
5776
5777 * elf/Makefile (distribute): Add sln.c
5778
57791998-07-21 07:10 H.J. Lu <hjl@gnu.org>
5780
5781 * elf/sln.c: New file.
5782
5783 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
5784 (install-clean-symbolic-link-list): New target.
5785 (install): Depend on install-clean-symbolic-link-list.
5786 (make-shlib-link): Changed for $(symbolic-link-list).
5787
5788 * Makefile (install-symbolic-link): New target.
5789 (install): Depend on install-symbolic-link.
5790
1f539fd1
UD
57911998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
5792
5793 * include/unistd.h: Protect against multiple inclusion.
5794
5795 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
5796 is defined, not is glob is defined.
5797 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
5798
57991998-08-01 17:18 H.J. Lu <hjl@gnu.org>
5800
5801 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
5802 xdr_string for ut_line, ut_name and ut_host.
5803
58041998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5805
5806 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
5807 /var/mail in accordance with FHS 2.0.
5808 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
5809
58101998-08-12 Richard Henderson <rth@cygnus.com>
5811
5812 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
5813 Update aliases for cancelation.
5814
5815 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
5816 playing with symbol versions.
5817
259d930a
RM
58181998-08-12 Roland McGrath <roland@baalperazim.frob.com>
5819
5820 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
5821 multiple inclusion protection.
5822 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
5823 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
5824 define all these to 1.
5825 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
5826
d6765f1d
RM
58271998-08-12 Roland McGrath <roland@baalperazim.frob.com>
5828
5829 * sysdeps/mach/usleep.c: Include <unistd.h>.
5830 (usleep): Return void.
5831
58321998-08-11 Roland McGrath <roland@baalperazim.frob.com>
5833
5834 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
5835 decl to inhibit warning in if_freenameindex defn.
5836
5837 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
5838
5839 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
5840
5841 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
5842 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
5843 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
5844 * sysdeps/mach/usleep.c: Likewise.
5845
5846 * sysdeps/mach/hurd/bind.c (bind): Add a const.
5847
5848 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
5849 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
5850 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
5851 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
5852 * sysdeps/mach/usleep.c (usleep): Likewise.
5853 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5854 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5855 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
5856 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
5857
58581998-08-11 Roland McGrath <roland@baalperazim.frob.com>
5859
5860 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
5861 (glob64): Fix typo.
5862
5863 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
5864 %p arg to fprintf, since `void *' is the right type already.
5865
b5876a19
RM
58661998-07-25 19:47 Jose M. Moya <josem@gnu.org>
5867
5868 * sysdeps/mach/hurd/getcwd.c
1f539fd1
UD
5869 (_hurd_canonicalize_directory_name_internal): Do not loop forever
5870 for unknown root directories.
b5876a19 5871 (__getcwd): Return NULL when the current root directory could not
1f539fd1 5872 be reached.
b5876a19 5873
f81d98d6 58741998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
a2bde807 5875
f81d98d6 5876 * string/strsignal.c (strsignal): Count real-time signals from zero.
a2bde807 5877
a5f4e34a 5878
f81d98d6 5879See ChangeLog.8 for earlier changes.
This page took 0.683252 seconds and 5 git commands to generate.