]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
8b4a4715
UD
11999-01-20 Ulrich Drepper <drepper@cygnus.com>
2
1e262312
UD
3 * elf/Makefile (tests): Add loadfail.
4 Add rules to build failobj.so.
5 * elf/loadfail.c: New file. Test of failing to load object with
6 RTLD_GLOBAL set.
7 * elf/failobj.c: New file. Object which will fail to load.
8
ad11b5a7
UD
9 * elf/dl-close.c (_dl_close): Fix last patch (cnt is unsigned).
10
d3556ac9
UD
11 * elf/dl-close.c: Handle failed loads which would have gone in the
12 global scope correctly.
13
14 * elf/testobj1.c: Include stdlib.h to get NULL defined.
15 * elf/testobj2.c: Likewise.
16 * elf/testobj3.c: Likewise.
17 * elf/testobj4.c: Likewise.
18 * elf/testobj5.c: Likewise.
19
0f6052a8
UD
20 * iconvdata/Makefile (modules): Add SAMI-WS2 and ISO-IR-197.
21 * iconvdata/gconv-modules: Add entries for above charsets.
22 * iconvdata/iso-ir-197.c: New file.
d3556ac9 23 * iconvdata/sami-ws2.c: New file.
0f6052a8 24
8b4a4715
UD
25 * sysdeps/unix/sysv/linux/vfork.c: Once again use generic version.
26
5d003fb2
UD
271999-01-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
28
29 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.d): Fix
30 generation of dependency list to make it work with newer versions
31 of gcc.
32
331999-01-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
34
35 * Makerules (build-module): New macro, moved from...
36 * elf/Makefile (build-module): ... here.
37 * iconvdata/Makefile (build-module): ... and here.
38
3d91edb2
UD
391999-01-20 Ulrich Drepper <drepper@cygnus.com>
40
0ed91d50
UD
41 * sysdeps/alpha/Versions: Add __atan2 for libm and GLIBC_2.0.
42
3d91edb2
UD
43 * elf/Makefile (tests): Add preloadtest. Add rules to build more test
44 modules and the preloadtest binary.
45 * elf/loadtest.c (TEST_ROUNDS): Increase to 1000.
46 (testobjs): Add more modules.
47 (tests): Add entries for new modules.
48 * elf/preloadtest.c: New file. Test for LD_PRELOAD.
49 * elf/testobj1.c: Add 'preload' function.
50 * elf/testobj2.c: Likewise.
51 * elf/testobj3.c: Likewise.
52 * elf/testobj4.c: New file.
53 * elf/testobj5.c: New file.
54 * elf/testobj6.c: New file.
55
3ef4002b
UD
561999-01-19 Ulrich Drepper <drepper@cygnus.com>
57
b25d4ff0
UD
58 * elf/dl-object.c (_dl_new_object): Micro-optimization.
59
6bd06384
UD
60 * elf/restest1.c: New file. Symbol resolution test.
61 * elf/testobj1_1.c: New file. Module used in this test.
62 * elf/Makefile: Add rules for restest1 generation and execution.
63
df4d2898
UD
64 * elf/dl-object.c (_dl_new_object): l_local_scope really gets
65 assigned the local scope.
66
d48f4d53
UD
67 * posix/test-vfork.c (main): Improve test to check for correct
68 exit code.
69
d53afacb
UD
70 * sysdeps/unix/sysv/linux/i386/vfork.S: Rewrite to use clone.
71
72 * sysdeps/unix/sysv/linux/bits/sched.h: Define CLONE_VFORK.
73
3ef4002b
UD
74 * timezone/zdump.c: Update from tzcode1999a.
75 * timezone/zic.c: Likewise.
76
42bd0a85
UD
771999-01-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
78
df4d2898 79 * math/tgmath.h: Rename nextafterx to nexttoward.
42bd0a85 80
36fe9ac9
UD
811999-01-19 Ulrich Drepper <drepper@cygnus.com>
82
49a71f92
UD
83 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Add baud rates >
84 460800.
85 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
86 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
87 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
88
36fe9ac9
UD
89 * math/Makefile (libm-calls): Rename s_nextafterx to s_nexttoward.
90 * math/Versions: Likewise.
91 * math/bits/mathcalls.h: Likewise.
92 * manual/arith.texi: Likewise.
93 * sysdeps/libm-ieee754/s_nextafterl.c: Likewise.
94 * sysdeps/libm-ieee754/s_nextafterx.c: Replaced by...
95 * sysdeps/libm-ieee754/s_nexttoward.c: New file.
96 * sysdeps/libm-ieee754/s_nextafterxf.c: Replaced by...
97 * sysdeps/libm-ieee754/s_nexttowardf.c: New file.
98 * sysdeps/libm-ieee754/s_nextafterxl.c: Replaced by...
99 * sysdeps/libm-ieee754/s_nexttowardl.c: New file.
100
101 * time/Makefile (routines): Removed strfxtime.
102 * time/Versions: Likewise.
103 * time/strfxtime.c: Removed.
104 * time/time.h: Remove _LOCALTIME, _NO_LEAP_SECONDS, struct tmx,
105 mkxtime, and strfxtime.
106
2bd60880
UD
1071999-01-18 Ulrich Drepper <drepper@cygnus.com>
108
109 * iconv/gconv_conf.c (add_module): Complete rewrite. Use cleverer
110 data structures and avoid creating intermediate representations
111 first. Rewrite also all helper functions.
112 * iconv/gconv_db.c (find_derivation): Use new data structure for
113 module database.
114 * iconv/Versions: Remove __gconv_nmodules.
115 * iconv/iconv_prog.c: Rewrite generation of charset name list to
116 use new data structure.
117 * iconv/gconv_int.h (struct gconv_module): Add new elements for
118 database data structure.
119 (__gconv_modules_db): Update type.
120 (__gconv_transform_dummy): Removed.
121 * iconv/gconv_builtin.h: Remove dummy transformation.
122 * iconv/gconv_simple.c: Remove __gconv_transform_dummy.
123
124 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove
125 __syscall_vfork, add vfork.
126 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
127
464d646f
UD
1281999-01-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
129
130 * posix/test-vfork.c: Include <sys/wait.h> for wait declaration.
131
1321999-01-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
133
134 * manual/ctype.texi: Fix cross refs and typos.
135 * manual/charset.texi: Likewise.
136
1371999-01-18 Ulrich Drepper <drepper@cygnus.com>
138
1ca8b61a 139 * Rules: Add dummy.c and dummy.o to common-generated.
464d646f
UD
140 Patch by Andreas Schwab.
141
1421999-01-18 10:07 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
143
144 * manual/libc-texinfo.sh: Use tsort.awk.
145 * manual/tsort.awk: New file.
146 * manual/Makefile (minimal-dist): Add tsort.awk.
147 (distribute): Remove generated files: summary.texi,
148 stamp-summary, chapters.texi, top-menu.texi, and texis.
149
37ce12d1
AS
1501999-01-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
151
152 * sysdeps/unix/sysv/linux/m68k/vfork.S: Test return value after
153 fork syscall.
154
2ac51313
UD
1551999-01-17 Ulrich Drepper <drepper@cygnus.com>
156
c96f6550
UD
157 * wctype/wcfuncs.c: Declare __ctype32_b.
158
35919770
UD
159 * elf/Makefile (test-modules): Add test-modules.
160
2ac51313
UD
161 * stdlib/canonicalize.c (canonicalize): Update write pointer after
162 realloc. Minor optimizations.
163
482eec0d
UD
1641999-01-16 Ulrich Drepper <drepper@cygnus.com>
165
6bfdad38
UD
166 * po/no.po: Update from norwegian translation team.
167
70e57b13
UD
168 * iconvdata/iso-2022-jp.c: Correct handling of G2 set.
169 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
170
482eec0d
UD
171 * elf/Makefile (tests): Add loadtest.
172 Add rules to generate test modules.
173 * Makeconfig (+link): Add $(LDFLAGS-$(@F)) to command line.
174 * elf/loadtest.c: New file.
175 * elf/testobj1.c: New file.
176 * elf/testobj2.c: New file.
177 * elf/testobj3.c: New file.
178
179 * elf/dl-close.c: Correct removing module from global list.
180
181 * elf/dl-open.c: Add debugging code.
182
183 * include/string.h: Add __rawmemchr prototype.
184 * string/Makefile (routines): Add rawmemchr.
185 * string/Versions [GLIBC_2.1]: Add __rawmemchr and rawmemchr.
186 * string/string.h: Add prototype for rawmemchr.
187 * string/bits/string2.h: Optimize strchr with rawmemchr.
188 * sysdeps/generic/rawmemchr.c: New file.
189 * sysdeps/i386/rawmemchr.c: New file.
190 * sysdeps/i386/i486/bits/string.h: Add rawmemchr inline code.
191 Optimize strchr with rawmemchr.
192
193 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _LFS_LARGEFILE,
194 _LFS64_LARGEFILE, and _LFS64_STDIO for Unix98.
195
1961999-01-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
197
198 * nis/nis_error.c (nis_errlist): Fix capitilasation.
199
b7aee91f
UD
2001999-01-15 Ulrich Drepper <drepper@cygnus.com>
201
d0ab7780
UD
202 * posix/Makefile (tests): Add test-vfork.
203 * posix/test-vfork.c: New file by Andreas Schwab.
204
a58fe839
UD
205 * manual/charset.texi: More misspelling fixes.
206 Reported by Tom Tromey <tromey@cygnus.com>.
37a87f83 207 Improve mbsinit example.
a58fe839 208
b7aee91f
UD
209 * sysdeps/unix/sysv/linux/vfork.c: Removed.
210 * sysdeps/unix/sysv/linux/i386/vfork.S: New file.
211
9963a779
UD
2121999-01-14 Ulrich Drepper <drepper@cygnus.com>
213
51bba858
UD
214 * Make-dist: If file is generated but still distributed the later
215 is correct.
216
0d032304
UD
217 * sysdeps/unix/sysv/linux/arm/Dist: Add sys/user.h.
218
1b1594b3
UD
219 * manual/Makefile (examples): Filter out the example code from
220 add-ons.
221
47d805f6
UD
222 * version.h (VERSION): Bump to 2.0.110.
223
8ab1cf08
UD
224 * nis/nis_error.c (nis_errlist): Fix typo in string.
225
9963a779
UD
226 * misc/regexp.h: Add restrict to function declarations.
227
51bba858
UD
2281998-12-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
229
230 Patche by Ralf Baechle <ralf@gnu.org>:
231 * sysdeps/mips/sys/regdef.h: New file, enhanced versions of
232 deleted linux specific files.
233
152b2145
UD
2341998-12-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
235
236 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: New file.
237
9963a779
UD
2381999-01-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
239
240 * misc/regexp.h (compile): Correct end-of-line check, fix typo in
241 docu. Reported by Kalle Olavi Niemitalo <kalle@Niemitalo.fi>.
242
695b9a02
UD
2431999-01-14 Ulrich Drepper <drepper@cygnus.com>
244
245 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add vfork.
246 Patch by Richard Henderson <rth@twiddle.net>.
247
44129238
UD
2481999-01-13 Ulrich Drepper <drepper@cygnus.com>
249
7be8096f
UD
250 * manual/nss.texi (NSS Module Interface): Document requirement on errno
251 value after unsuccessful call of module function.
252
44129238
UD
253 * sysdeps/unix/sysv/linux/syscalls.list: Add __syscall_fork alias.
254 * sysdeps/unix/sysv/linux/vfork.c: Use vfork syscall if available,
255 otherwise use fork.
256 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add vfork.
257 * sysdeps/unix/sysv/linux/sparc32/syscalls.list: Likewise.
258 * sysdeps/unix/sysv/linux/sparc64/syscalls.list: Likewise.
259
260 * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct handling of
261 INLINE_SYSCALL for syscall without parameters.
262
d7b88214
UD
2631999-01-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
264
265 * sysdeps/unix/make-syscalls.sh: Set shared-only-routines for
266 versioned syscalls.
267
268 * Rules: Remove rules for empty.* again.
269
9ddcbe57
AS
2701999-01-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
271
272 * sysdeps/unix/sysv/linux/m68k/vfork.S: New file.
273
7c97addd
UD
2741999-01-13 Ulrich Drepper <drepper@cygnus.com>
275
276 * sysdeps/i386/bits/string.h: Correct several bugs in various
277 functions which never worked.
278 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
279
d731df03
UD
2801999-01-12 Ulrich Drepper <drepper@cygnus.com>
281
282 * manual/charset.texi: Add many corrections.
283 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
284
c1b2d472
UD
2851999-01-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
286
287 * manual/charset.texi: Fix some typos.
288
281631fb
UD
2891999-01-12 Ulrich Drepper <drepper@cygnus.com>
290
291 * login/programs/pt_chown.c (main): Update copyright year.
292
390955cb
UD
2931999-01-11 Ulrich Drepper <drepper@cygnus.com>
294
18fd611b
UD
295 * sysdeps/posix/tempname.c: Open files with mode 0600.
296
390955cb
UD
297 * ctype/Versions [GLIBC_2.0]: Export __ctype32_b.
298 * include/wctype.h: Declare __iswctype.
299 * stdio-common/vfscanf.c (__vfscanf): Use __iswspace instead of
300 iswspace.
301 * wctype/Makefile (routines): Add wcextra_l.
302 * wctype/wcextra.c (iswblank): Implement function here and don't use
303 __iswctype.
304 (__iswblank_l): Move definition to...
305 * wctype/wcextra_l.c: ...here. New file.
306 * wctype/wcfuncs.c: Really implement functions and don't call
307 __iswctype or __towctrans.
308 * wctype/wctype.h: Change isw* and tow* macros. Don't call
309 __iswctype or __towctrans. Instead optimize constant argument case.
310
311 * iconv/gconv.h: Fix typos.
312
313 * iconv/skeleton.c: Fix typos. Optimize init function a bit.
314 Correctly emit escape sequence to return to initial state in
315 conversion function.
316
317 * iconvdata/iso-2022-jp.c (gconv_init): Correctly initialize
318 max_needed_to element.
319
320 * manual/mbyte.texi: Removed. This is now described in charset.texi.
321 * manual/charset.texi: New file.
322 * manual/Makefile (chapters): Replace mbyte by charset.
323 * manual/ctype.texi: Document wide character functions.
324 * manual/intro.texi: Fix reference to mbyte chapter.
325 * manual/lang.texi: Likewise.
326 * manual/locale.texi: Likewise.
327 * manual/stdio.texi: Likewise.
328 * manual/string.texi: Fix @node line for new charset chapter.
329 * manual/libc.texinfo (UPDATED): Updated. Also update copyright years.
330 * manual/memory.texi (savestring): Optimize code to give a good
331 example.
332
333 * manual/filesys.texi: Fix wording. Patches by Jim Meyering.
334
335 * nscd/nscd_getgr_r.c: Include stdint.h to get uintptr_t definition.
336 * nscd/nscd_getpw_r.c: Likewise.
337 * nscd/nscd_gethst_r.c: Likewise.
338
339 * stdlib/stdtold_l.c: Always include xlocale.h.
340
3411999-01-11 Geoffrey Keating <geoffk@ozemail.com.au>
342
343 * stdlib/fpioconst.h (LDBL_MAX_10_EXP_LOG): Define to be same as
344 DBL_MAX_10_EXP_LOG if there is no long double.
345 (_fpioconst_pow10): Always use size as LDBL_MAX_10_EXP_LOG to match
346 printf_fp.c.
347
3481999-01-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
349
350 * timezone/Makefile ($(testdata)/GB): Changed to ...
351 ($(testdata)/Europe/London): ... for tst-timezone test.
352 ($(objpfx)tst-timezone.out): Change GB to Europe/London.
353
354 * timezone/tst-timezone.c (main): Enable DST switching test,
355 change GB to Europe/London.
356
3571999-01-10 Philip Blundell <philb@gnu.org>
358
359 * socket/Makefile (headers): Remove bits/sockunion.h.
360
3611999-01-09 Philip Blundell <philb@gnu.org>
362
363 * socket/sys/socket.h: Don't include <bits/sockunion.h>.
364 * sysdeps/generic/bits/sockunion.h: Deleted.
365 * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
366
3671999-01-08 H.J. Lu <hjl@gnu.org>
368
369 * io/fts.c (fts_close): Don't access memory after having it freed.
370
68ef28ed
UD
3711998-01-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
372
373 * manual/Makefile (stamp-summary): Remove space after -t option
374 for compatibility with non-GNU sort programs.
375
3761999-01-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
377
378 * manual/search.texi (Comparison Functions): Fix compare_doubles
379 example.
380
3811999-01-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
382
383 * Makerules (do-tests-clean): Remove reference to obsolete
384 variable tests-static.
385
997d6467
UD
3861999-01-07 Ulrich Drepper <drepper@cygnus.com>
387
fc4157da
UD
388 * sysdeps/unix/sysv/linux/ntp_adjtime.c: Removed. It's an alias
389 for adjtimex.
390 * sysdeps/unix/sysv/linux/Dist: Add ntp_gettime.c.
391 * sysdeps/unix/sysv/linux/Makefile [subdir=time] (sysdep_routines):
392 Remove ntp_adjtime.
393 * sysdeps/unix/sysv/linux/syscalls.list: Add alias ntp_adjtime to
394 adjtimex.
395 * sysdeps/unix/sysv/linux/sys/timex.h: Correct prototype for
396 ntp_adjtime.
397
6923133b
UD
398 * sysdeps/i386/i686/mempcpy.S: Fix typos.
399
7ffe2de6
UD
400 * sysdeps/i386/i686/memset.S: New file.
401 * sysdeps/i386/i686/bzero.S: New file.
6923133b
UD
402 * sysdeps/i386/i686/strcmp.S: New file.
403 * sysdeps/i386/i686/memcpy.S: New file.
7ffe2de6 404
997d6467
UD
405 * sysdeps/unix/sysv/linux/Makefile [subdir=time] (sysdep_routines):
406 Add ntp_adjtime and ntp_gettime.
407 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add ntp_adjtime and
408 ntp_gettime.
409
4101998-12-29 Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
411
412 * manual/time.texi (Precision Time): Add documentation for
413 ntp_gettime and ntp_adjtime.
414
4151998-12-28 Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
416
417 * sysdeps/unix/sysv/linux/ntp_gettime.c: Created new file
418
419 * sysdeps/unix/sysv/linux/ntp_adjtime.c: Created new file
420
421 * sysdeps/unix/sysv/linux/sys/timex.h (struct ntptimeval): Added.
422 Add prototypes for ntp_adjtime and ntp_gettime.
423
34992338
UD
4241999-01-07 Ulrich Drepper <drepper@cygnus.com>
425
426 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove early clobbers
427 from c and D register output.
428
4291999-01-07 Philip Blundell <philb@gnu.org>
430
431 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Fix bug in last change.
432
4331999-01-07 Ulrich Drepper <drepper@cygnus.com>
434
435 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Correct type for
436 __fsfilcnt_t. Patch by Bruce Elliott <bde@nwlink.com>.
437
4381999-01-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
439
440 * manual/conf.texi: Remove pointers from first @node. Move old
441 @node spec inside comment.
442 * manual/lang.texi: Likewise.
443 * manual/libc-texinfo.sh: Also find `@node.*Top' in a comment.
444 * manual/stdio.texi: Fix typo.
445
4461999-01-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
447
448 * wcsmbs/btowc.c: Accept all values in the range [SCHAR_MIN
449 .. UCHAR_MAX]. Local var buf renamed to result and its type
450 changed from char[] to wchar_t to get proper alignment.
451
452 * posix/fnmatch.c: Also cast the arguments of the other ctype
453 functions to unsigned char.
454
4551999-01-07 Ulrich Drepper <drepper@cygnus.com>
456
457 * Rules: Add rules for empty.{o,os,op} back.
458
50976cad
UD
4591999-01-05 Ulrich Drepper <drepper@cygnus.com>
460
1686c452
UD
461 * Makerules (common-mostlyclean): Add missing parentheses.
462
50976cad
UD
463 * Rules: Add back rules for empty.o generation.
464
5dc230dc
UD
4651999-01-05 Philip Blundell <philb@gnu.org>
466
467 * sysdeps/unix/sysv/linux/net/if_arp.h: Add new ARPHRD definitions
468 from latest (2.2.0pre4) kernel.
469
7ffe2de6 4701999-01-05 Scott Bambrough <scottb@corelcomputer.com>
5dc230dc
UD
471
472 * sysdeps/unix/sysv/linux/arm/sys/user.h : New file. Fixes problem
473 on ARM platforms with programs that include <sys/user.h> and
474 <sys/ptrace.h>. Solution suggested by Geoff Keating earlier with
475 fix for same problem on the PowerPC platform.
476
fb19a1ec
UD
4771999-01-04 Philip Blundell <philb@gnu.org>
478
479 * sysdeps/unix/sysv/linux/arm/register-dump.h: Correct widths of
480 register values.
481 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: New file.
482
3c5edd4d
UD
4831999-01-04 Ulrich Drepper <drepper@cygnus.com>
484
fb19a1ec 485 * csu/version.c (banner): Update date.
3c5edd4d
UD
486 * catgets/gencat.c: Update year in copyright message text.
487 * db2/makedb.c: Likewise.
488 * debug/catchsegv.sh: Likewise.
489 * elf/ldd.bash.in: Likewise.
fb19a1ec 490 * elf/sprof.c: Likewise.
3c5edd4d
UD
491 * iconv/iconv_prog.c: Likewise.
492 * locale/programs/locale.c: Likewise.
493 * locale/programs/localedef.c: Likewise.
fb19a1ec 494 * login/programs/utmpd.c: Likewise.
3c5edd4d
UD
495 * malloc/mtrace.pl: Likewise.
496 * nscd/nscd.c: Likewise.
fb19a1ec
UD
497 * nss/getent.c: Likewise.
498 * posix/getconf.c: Likewise.
3c5edd4d
UD
499
5001999-01-02 Philip Blundell <philb@gnu.org>
501
502 * sunrpc/Makefile: Ensure that we really use the right path for cpp.
503
5041999-01-03 Philip Blundell <philb@gnu.org>
505
46a2401f 506 * Makefile (tests-clean): New target to delete test output files.
3c5edd4d
UD
507 * Makerules (do-tests-clean): New rule to support the above.
508 * Rules (subdir_testclean): Likewise.
509
5101999-01-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
511
512 * iconv/Makefile: Use install-others instead of explicit
513 dependency on subdir_install.
514
5151999-01-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
516
517 * iconv/gconv_db.c (find_derivation): Release lock before
518 returning.
519 (__gconv_find_transform): Likewise.
520
5211999-01-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
522
523 * inet/ether_ntoa.c (ether_ntoa): Make `asc' static since that's
524 what we return.
525
5261999-01-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
527
528 * Makerules: Remove all references to obsolete variables
529 tests-static and test-srcs-static.
530 * Make-dist: Likewise.
fb19a1ec 531 * Rules: Likewise. Remove rules to generate obsolete empty.{c,o*}.
3c5edd4d
UD
532
5331999-01-03 Philip Blundell <philb@gnu.org>
534
535 * sysdeps/unix/sysv/linux/arm/pread.c: Use the i386 implementation.
536 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
537 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
538 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
539
259163b8
AS
5401998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
541
542 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Reorder expression
543 to avoid accessing global data in the usual case.
544
28e9818f
UD
5451999-01-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
546
547 * wcsmbs/wcstold_l.c: Correct last patch to include wchar.h from
548 system path.
549
118bad87
UD
5501998-12-31 Ulrich Drepper <drepper@cygnus.com>
551
552 * iconvdata/Makefile: Use rpath $ORIGIN for modules which use any of
553 the conversion libraries.
554
555 * include/features.h: Mention latest extensions in _POSIX_C_SOURCE
556 description.
557
558 * libio/genops.c (list_all_lock): New variable.
559 (_IO_un_link, _IO_link_in): Acquire lock before modifying _IO_list_all.
560 [PR libc/911].
561
562 * sysdeps/i386/i686/strtok.s: Add missing cld.
563
564 * sysdeps/i386/i686/mempcpy.S: New file.
565
5661998-12-30 Geoff Keating <geoffk@ozemail.com.au>
567
568 Suppress parentheses warnings:
569 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
570 (DL_FIND_ARG_COMPONENTS): here,
571 * sysdeps/powerpc/dl-machine.c: here,
572 * sysdeps/powerpc/fclrexcpt.c (feclearexcept): here,
573 * sysdeps/powerpc/fesetround.c (fesetround): here,
574 * sysdeps/powerpc/feupdateenv.c (feupdateenv): here,
575 * sysdeps/powerpc/fraiseexcpt.c (feraiseexcept): here,
576 * sysdeps/powerpc/fsetexcptflg.c (fesetexceptflag): here,
577 * sysdeps/powerpc/s_rint.c (__rint): here,
578 * sysdeps/powerpc/s_rintf.c (__rintf): here,
579 * sysdeps/powerpc/w_sqrt.c (__sqrt): here,
580 * sysdeps/powerpc/w_sqrtf.c (__sqrtf): and here.
581
5821998-12-30 Geoff Keating <geoffk@ozemail.com.au>
583
584 * wcsmbs/wcstold.c [__NO_LONG_DOUBLE_MATH]: Include wchar.h.
585 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Likewise. Also define
586 appropropriate prototypes, correct procedure names.
587
5881998-12-30 Geoff Keating <geoffk@ozemail.com.au>
589
590 * sysdeps/generic/crypt-entry.c: Prototype __crypt_r, suppress
591 warning.
592 (__crypt_r): Add __restrict.
593 * sysdeps/generic/crypt.h: Remove internal routine. Add __restrict.
594
5951998-12-31 Ulrich Drepper <drepper@cygnus.com>
596
597 * stdlib/longlong.h: Add missing #else in SPARC definitions.
598
5991998-12-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
600
601 Patches by Ralf Baechle <ralf@gnu.org>:
602 * sysdeps/unix/sysv/linux/mips/sgidefs.h: Removed.
603 * sysdeps/unix/sysv/linux/mips/sys/asm.h: Removed.
604 * sysdeps/unix/sysv/linux/mips/sys/regdef.h: Removed.
605 * sysdeps/unix/sysv/linux/mips/sys/fpregdef.h: Removed.
606 * sysdeps/unix/sysv/linux/mips/regdef.h: Removed.
607 * sysdeps/unix/sysv/linux/mips/fpregdef.h: Removed.
608
609 * sysdeps/unix/sysv/linux/mips/Makefile: Remove delete files.
610 * sysdeps/unix/sysv/linux/mips/Dist: Remove deleted files.
611
612 * sysdeps/mips/sys/fpregdef.h: New files, enhanced versions of deleted
613 linux specific files.
614 * sysdeps/mips/sys/asm.h: Likewise.
615 * sysdeps/mips/sgidefs.h: Likewise.
616 * sysdeps/mips/fpregdef.h: Likewise.
617 * sysdeps/mips/regdef.h: Likewise.
618
619 * sysdeps/mips/Makefile: Add new headers.
620 * sysdeps/mips/Dist: Add new files.
621
622 * sysdeps/mips/fpu_control.h (_FPU_DEFAULT): Change value.
623
6241998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
625
626 * iconvdata/Makefile: Remove variable assignments and rules that
627 are now auto-generated. Include $(objpfx)iconv-rules instead.
628 Btw, that removes a few typos.
629 (charmaps): New variable.
630 ($(objpfx)iconv-rules): New target.
631 (gen-8bit-modules): Renamed from sed-generated-headers, remove .h
632 suffixes.
633 (gen-8bit-gap-modules): Renamed from awk-generated-headers, remove
634 .h suffixes.
635 (gen-special-modules): New variable.
636 (generated-modules): New variable.
637 (headers): Use it.
638 (before-compile): Likewise.
639 (generated): Likewise, and add iconv-rules.
640 * iconvdata/euc-cn.c: Renamed from euccn.c.
641 * iconvdata/euc-jp.c: Renamed from eucjp.c.
642 * iconvdata/euc-kr.c: Renamed from euckr.c.
643 * iconvdata/euc-tw.c: Renamed from euctw.c.
644 * iconvdata/iso_6937.c: Renamed from iso6937.c.
645 * iconvdata/iso_6937-2.c: Renamed from iso6937-2.c.
646 * iconvdata/t.61.c: Renamed from t61.c.
647 * iconvdata/Makefile (distribute): Adjusted for those renames.
648 Remove $(objpfx) from names.
649
6501998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
651
652 * sysdeps/generic/hp-timing.h: Fix comment.
653 * sysdeps/generic/dl-hash.h: Likewise.
654 * sysdeps/i386/i686/hp-timing.h: Likewise.
655
6561998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
657
658 * posix/fnmatch.c (fnmatch): Always pass unsigned char values to
659 FOLD macro.
660
6611998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
662
663 * nss/db-Makefile ($(VAR_DB)/shadow.db): Fix last change.
664
6651998-12-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
666
667 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Sync with
668 current Linux 2.1.132 kernel sources.
669
6701998-12-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
671
672 Patches by Ralf Baechle <ralf@gnu.org> for Linux/MIPS:
673 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add ipc, change
674 pread/pwrite and llseek calls.
675
676 * sysdeps/unix/sysv/linux/mips/sysdep.S: New file.
677
6781998-12-29 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
679
680 * malloc/thread-m.h [_LIBC] : Fix for NO_THREADS case.
681
76235ed4
UD
6821998-12-28 Ulrich Drepper <drepper@cygnus.com>
683
3a4aae98
UD
684 * version.h (VERSION): Bump to 2.0.109.
685
e4192acb
UD
686 * Makefile (distribute): Add INTERFACE and CONFORMANCE.
687 * elf/Makefile (distribute): Add hp-timing.h.
688 * sysdeps/i386/i686/Dist: New file.
689
edbe9101
UD
690 * mach/Versions: Add mach_msg_send and mach_msg_receive.
691 Patch by UCHIYAMA Yasushi <uch@nop.or.jp>.
692
db60f6f9
UD
693 * sysdeps/unix/sysv/linux/netipx/ipx.h (SIOCIPXNCPCONN): New macro
694 from latest kernel.
695
76235ed4
UD
696 * stdlib/fpioconst.c: If __NO_LONG_DOUBLE_MATH don't define constants
697 beyond range of double.
698 * stdlib/fpioconst.h (_fpioconst_pow10): Reduce size according to
699 fpioconst.c change.
700 * stdlib/strtold.c: Fall back on double functions if
701 __NO_LONG_DOUBLE_MATH.
702 * stdlib/strtold_l.c: Likewise.
703 * wcsmbs/wcstold.c: Likewise.
704 * wcsmbs/wcstold_l.c: Likewise.
705 * sysdeps/ieee754/ldbl2mpn.c: Don't generate code if
706 __NO_LONG_DOUBLE_MATH.
707 * sysdeps/ieee754/mpn2ldbl.c: Likewise.
708
7091998-12-28 Geoff Keating <geoffk@ozemail.com.au>
710
711 * sysdeps/powerpc/bits/endian.h: Use #warning, not #error, if
712 the endianness can't be determined, for makedepend.
713
db276fa1
UD
7141998-12-27 Ulrich Drepper <drepper@cygnus.com>
715
716 * elf/dl-lookup.c (_dl_num_relocations): New variable.
717 (do_lookup): Increment _dl_num_relocations for every call.
718 * elf/rtld.c (print_statistics): New function.
719 (_dl_debug_statistics): New variable. Set when statistics are asked
720 for.
721 (rtld_total_time, relocate_time, load_time): New variables. Used
722 in print_statistics.
723 (_dl_start): Record start and end time of startup. Call
724 print_statistics if needed.
725 (dk_main): Record times for relocations and loading.
726 (process_dl_debug): Recognize statistics.
727
548f2408 728 Low-level, low-overhead, high-precision timing functionality.
db276fa1
UD
729 * sysdeps/generic/hp-timing.h: New file.
730 * sysdeps/i386/i686/Makefile: New file.
731 * sysdeps/i386/i686/hp-timing.h: New file.
732 * sysdeps/i386/i686/hp-timing.c: New file.
733
734 * sysdeps/i386/dl-machine.h (elf_machine_rel): Reverse order of OR
735 clauses to avoid accessing global variables during rtld relocation.
736
737 * sunrpc/rpc_main.c: Unify messages.
738
739 * sysdeps/unix/sysv/linux/arm/Dist: Add ioperm.c and sys/io.h.
740
47b33891
RM
7411998-12-27 Roland McGrath <roland@baalperazim.frob.com>
742
743 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
744 Remove __ from member names; rename __unused to f_spare.
745
7461998-12-21 Mark Kettenis <kettenis@phys.uva.nl>
747
748 Implement fstatvfs and statvfs on the Hurd.
749 * sysdeps/mach/hurd/bits/statfs.h: New file.
750 * sysdeps/mach/hurd/bits/statvfs.h: New file.
751 * sysdeps/mach/hurd/fstatvfs.c: New file.
752 * sysdeps/mach/hurd/statvfs.c: New file.
753
754 * sysdeps/generic/fstatfs64.c: Changed into stub.
755 Moved previous contents to...
756 * sysdeps/unix/sysv/linux/fstatfs64.c: ...here.
757 * sysdeps/generic/fstatvfs64.c: Likewise.
758 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
759 * sysdeps/generic/statfs64.c: Likewise.
760 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
761 * sysdeps/generic/statvfs64.c: Likewise.
762 * sysdeps/unix/sysv/linux/statvfs64.c: Likewise.
763
85f72e9c
UD
7641998-12-25 Ulrich Drepper <drepper@cygnus.com>
765
766 * elf/dl-hash.h: Move to...
767 * sysdeps/generic/dl-hash.h: ...here. Correct parameter type (must
768 be unsigned char). Remove conditional from inner loop and rearrange
769 binary operations (12-22% performance increase).
548f2408 770 * sysdeps/i386/i686/dl-hash.h: New file. Another 10% faster than
85f72e9c
UD
771 optimized generic version.
772
f1f0edfe
UD
7731998-12-23 Ulrich Drepper <drepper@cygnus.com>
774
65c64a0b
UD
775 * elf/dl-lookup.c (do_lookup): If looking up an unversioned symbol
776 but the object file only contains versioned definitions than
777 accept the definition if there is exactly one even if the version
778 number is not the default version. This helps dlsym() to find
779 newly introduced symbols.
780
f1f0edfe
UD
781 * locale/programs/ld-collate.c: Unify messages and correct typos.
782 * locale/programs/ld-monetary.c: Likewise.
783 * locale/programs/ld-numeric.c: Likewise.
784 * locale/programs/ld-time.c: Likewise.
785 * manual/errno.texi: Likewise.
786 * nis/nis_error.c: Likewise.
787 * nis/nis_print.c: Likewise.
788 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
789 * sunrpc/rpc_main.c: Likewise.
790
edb570bb
UD
7911998-12-20 Philip Blundell <philb@gnu.org>
792
793 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add
794 implementation.
795 * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove wrappers for
796 now-inlined calls.
f1f0edfe 797
edb570bb
UD
7981998-12-22 Philip Blundell <pb@nexus.co.uk>
799
800 * sysdeps/unix/sysv/linux/arm/ioperm.c: New file.
801 Implementation of inb, outb etc for ARM systems.
802 * sysdeps/unix/sysv/linux/arm/sys/io.h: Likewise.
803 * sysdeps/unix/sysv/linux/arm/Versions: Add appropriate
804 entries for the above.
805
d17a729b
UD
8061998-12-21 Ulrich Drepper <drepper@cygnus.com>
807
361d49e6
UD
808 * nss/db-Makefile (shadow.db): Create file with correct protections.
809 Based on a patch by Joel Klecker <espy@debian.org>.
810
d17a729b
UD
811 * inet/gethstbynm_r.c: Remove NEED__RES definition since we do this
812 anyway for digits_dots.c.
813 * nss/getXXbyYY.c: Initialize _res before using digits_dots.c
814 functions.
815 * nss/getXXbyYY_r.c: Likewise.
816
47b33891
RM
8171998-12-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
818
819 * sunrpc/key_call.c (getkeyserv_handle): Use __fcntl instead of
d17a729b 820 fcntl.
47b33891
RM
821
8221998-12-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
823
824 * locale/weight.h (get_weight): Extract string elements as
825 unsigned values.
826
6ac73ea7
RM
8271998-12-06 Mark Kettenis <kettenis@phys.uva.nl>
828
829 Reverse the change of 1998-04-22. Providing a struct dirent with
830 different members when __USE_FILE_OFFSET64 is defined is asking
831 for trouble. Instead add the necessary LFS magic to the 4.4BSD
832 header.
833 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Add LFS definitions.
834 * sysdeps/mach/hurd/bits/dirent.h: Removed.
835 * sysdeps/mach/hurd/readdir64.c: Removed.
836 * sysdeps/mach/hurd/readdir64_r.c: Removed.
837
c5720a93
RM
8381998-12-20 Roland McGrath <roland@baalperazim.frob.com>
839
6ac73ea7
RM
840 * sysdeps/generic/bits/mman.h [__USE_MISC] (MAP_ANONYMOUS): Define as
841 alias for MAP_ANON.
842
843 * stdio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr):
844 Remove decls. They don't exist at all on the Hurd.
845
c5720a93
RM
846 * sunrpc/svc_unix.c, sunrpc/clnt_unix.c: Avoid using `struct cmsghdr'
847 and `struct ucred' #ifndef SCM_CREDENTIALS.
848
849 * sunrpc/publickey.c (getsecretkey): Use `&errno' instead of
850 `__errno_location ()'; means the same, works for Hurd.
851
852 * sysdeps/mach/hurd/Makefile (subdirs): Don't elide sunrpc.
853
ff7059bf
UD
8541998-12-18 Ulrich Drepper <drepper@cygnus.com>
855
c730d678
UD
856 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Include
857 features.h and stddef.h.
858 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h (struct
859 sigaltstack): Move ss_size field at the end.
860 Patches by Jeff Bailey <jbailey@nisa.net>.
861
51c68755
UD
862 * time/getdate.c (check_mday): tm_mon contains values from 0 to 11,
863 not 1 to 12.
864
ff7059bf
UD
865 * manual/texinfo.tex: Update to latest version.
866
867 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add ipc.
868 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
869 Patch by Cristian Gafton <gafton@redhat.com>.
870
4798763f
UD
8711998-12-17 Ulrich Drepper <drepper@cygnus.com>
872
277f73d1
UD
873 * iconvdata/gconv-modules: Add remaining aliases from Internet
874 standards.
875
8c479619
UD
876 * iconv/gconv_int.h (gconv_module): Add new element from_regex_mem.
877 * iconv/gconv_conf.c (module_compare): Make s1 and s2 const.
878 (detect_conflict): New function.
879 (add_alias): Call detect_conflict to see whether there is already
880 a module for the new name.
881 (add_module): Make sure there is no alias for the new name.
882 (read_conf_file): Call add_alias with new argument.
883 (__gconv_read_conf): Don't destroy module tree immediately after
884 walking it. We need it to test the internal conversions for
885 conflicts.
886 * iconv/gconv_db.c (find_derivation): Don't allocate memory for
887 regular expression. There is now room in the module descriptor.
888 (free_mem): Don't free memory for regular expression.
889
c5b0e13e
UD
890 * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_IRDA, PF_IRDA and
891 MSG_TRYHARD.
892
c0b50509
UD
893 * sunrpc/clnt_unix.c (clntunix_destroy): Use __close not close.
894 * libio/oldtmpfile.c: Likewise.
895 * libio/oldiofdopen.c: Use __fcntl instead fcntl.
896 * sysdeps/posix/profil.c: Use __sigaction instead of sigaction.
897
09376451
UD
898 * iconvdata/iso646.c (gconv_init): Return correct error value if we
899 run out of memory.
900 * iconvdata/iso-2022-jp.c: Likewise.
901
c7ec9d75
UD
902 * iconv/gconv_db.c (gen_steps): Respect error return value from
903 init functions and abort.
904
4798763f
UD
905 * iconvdata/iso646.c: Recognize NF_Z_62-010_1973 as charset name.
906
9071998-12-17 H.J. Lu <hjl@gnu.org>
536d7038
UD
908
909 * sunrpc/rpc/xdr.h (XDR_DESTROY): Add ';'.
910 (xdr_destroy): Likewise.
911
68185625
UD
9121998-12-17 Ulrich Drepper <drepper@cygnus.com>
913
c0b50509 914 * login/login.c: Determine pts/3 as terminal name if path is
68185625
UD
915 /dev/pts/3. This is consistent with getlogin. [PR libc/906]
916
04166d6e
UD
9171998-12-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
918
919 * sysdeps/posix/tempname.c (__path_search): Add casts for format
920 string.
921
9221998-12-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
923
924 * sunrpc/rpc/xdr.h (XDR_DESTROY, xdr_destroy): Avoid dangling else
925 problem.
926 (IXDR_PUT_INT32): Fully parenthesize parameters.
927 (IXDR_GET_LONG, IXDR_PUT_LONG): Mark GCC extension. Fully
928 parenthesize parameter.
929
b76e5a4e
UD
9301998-12-16 Ulrich Drepper <drepper@cygnus.com>
931
932 * iconvdata/gconv-modules: Add some of the charset name aliases
933 used in Internet standards.
934
133d3d30
UD
9351998-12-16 Ulrich Drepper <drepper@cygnus.com>
936
937 * version.h (VERSION): Bump to 2.0.107.
938
939 * sysdeps/i386/i486/bits/string.h: Pretty printing.
940
d8a167a5
UD
9411998-12-16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
942
943 * sunrpc/rpc/xdr.h: Revert patch from 1998-12-14, partly revert
944 patch from 1998-12-01.
945
d735bcf4
RM
9461998-12-16 Roland McGrath <roland@baalperazim.frob.com>
947
948 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Define this #ifdef
949 __USE_BSD as well as #ifdef __USE_GNU, so MAXSYMLINKS can use it.
950 Reported by UCHIYAMA Yasushi <uch@nop.or.jp>
951
88fd9830
UD
9521998-12-16 Ulrich Drepper <drepper@cygnus.com>
953
954 * iconvdata/ibm866.c: New file.
955 * iconvdata/cp1258.c: New file.
956 * iconvdata/cp1258.h: New file.
957 * iconvdata/mac-uk.c: New file.
958 * iconvdata/gconv-modules: Add rules for new modules.
959 * iconvdata/Makefile: Likewise.
960
961 * sysdeps/gnu/bits/ipc.h: Move libc internal bits to...
962 * include/bits/ipc.h: ..here. New file.
963
d735bcf4
RM
9641998-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
965
966 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Don't change
967 read-only struct termios_p* but change k_termios member directly.
968
a3fc1f71
UD
9691998-12-15 H.J. Lu <hjl@gnu.org>
970
971 * sysdeps/posix/tempname.c (__path_search): Fix the maximum
972 string length.
973
5a7cb1a2
UD
9741998-12-15 Ulrich Drepper <drepper@cygnus.com>
975
e9dcb080
UD
976 * sysdeps/unix/sysv/linux/msgctl.c: Use INLINE_SYSCALL.
977 * sysdeps/unix/sysv/linux/msgget.c: Likewise.
978 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
979 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
980 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
981 * sysdeps/unix/sysv/linux/semget.c: Likewise.
982 * sysdeps/unix/sysv/linux/semop.c: Likewise.
983 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
984 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
985 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
986 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
987 * sysdeps/unix/sysv/linux/syscalls.list: Remove ipc syscall here.
988 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add ipc syscall here.
989
990 * time/strftime.c: Remove 'f' format.
991
992 * time/strptime.c (get_number): Ignore trailing whitespace.
993 (strptime_internal): Handle 'F' and 'k' formats.
994
5a7cb1a2
UD
995 * sysdeps/posix/tempname.c (__path_search): Add second part of the
996 patch by Andreas Jaeger.
997
9981998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
999
1000 * stdio-common/tst-tmpnam.c (main): Use void as parameter to avoid
1001 warnings about unused args. Fix comment.
1002
10031998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1004
1005 * sysdeps/posix/tempname.c (__path_search): Correct last patch.
1006
c870d249
UD
10071998-12-14 Ulrich Drepper <drepper@cygnus.com>
1008
1009 * sunrpc/rpc/xdr.h (IXDR_GET_INT32): Case pointer before reading from
1010 it.
1011 (IXDR_PUT_INT32): Likewise for writing.
181a8546 1012 Patch by Bruce Elliott <bde@nwlink.com>.
c870d249 1013
5a7cb1a2
UD
10141998-12-08 H.J. Lu <hjl@gnu.org>
1015
1016 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Don't clear
1017 the IBAUD0 bit in c_iflag.
1018
1019 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear the
1020 the IBAUD0 bit in c_iflag.
1021
6269e521
UD
10221998-12-14 Ulrich Drepper <drepper@cygnus.com>
1023
1024 * time/Makefile (tests): Add tst-strptime.
1025 * time/tst-strptime.c: New file.
1026 * time/strptime.c: Correct bugs in weekday and yearday computation.
1027
59036602
UD
10281998-12-14 Ulrich Drepper <drepper@cygnus.com>
1029
c2cfb512
UD
1030 * time/strptime.c (strptime_internal): Set tm_wday and tm_yday in
1031 any of tm_year, tm_mon, or tm_mday was changed and the value
1032 itself wasn't specified.
1033
60876a75
UD
1034 * include/stdio.h: Add new parameter to __path_search.
1035 * libio/oldtmpfile.c: Add 0 as new parameter to __path_search.
1036 * stdio-common/tmpfile.c: Likewise.
1037 * stdio-common/tmpfile64.c: Likewise.
1038 * stdio-common/tmpnam.c: Likewise.
1039 * stdio-common/tmpnam_r.c: Likewise.
1040 * stdio-common/tempnam.c: Add 1 as new parameter to __path_search.
1041 * sysdeps/posix/tempname.c: Add new parameter. If value is nonzero
1042 consider TMPDIR environment variable and dir parameter. Otherwise not.
1043 * stdio-common/Makefile (tests): Add tst-tmpnam.
1044 * stdio-common/tst-tmpnam.c: New file.
1045
59036602
UD
1046 * po/es.po: Update from translation team.
1047
4260bc74 10481998-12-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
59036602 1049
4260bc74
UD
1050 * timezone/Makefile: Protect inclusion of z.* by avoid-generated
1051 and inhibit_timezone_rules instead of no_deps.
1052 * Make-dist: Pass inhibit_timezone_rules=t when making
1053 echo-distinfo.
59036602 1054
4260bc74 10551998-12-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
59036602 1056
4260bc74 1057 * manual/Makefile (distribute): Remove dir-add.texinfo.
59036602 1058
4260bc74
UD
1059 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/procfs.h and
1060 sys/user.h.
59036602 1061
4260bc74 10621998-12-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
59036602 1063
4260bc74
UD
1064 * manual/Makefile (stamp-summary): Use ^L as separator for
1065 sorting.
1066 * manual/arith.texi: Add comments before all @deffoox lines to get
1067 them added to the summary.
1068 * manual/creature.texi: Likewise.
1069 * manual/math.texi: Likewise.
59036602 1070
4260bc74 10711998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
59036602 1072
4260bc74
UD
1073 * math/libm-test.c: Remove macro ISINF. Change all usages of
1074 ISINF to isinf.
59036602 1075
550be6cd
UD
10761998-12-13 Ulrich Drepper <drepper@cygnus.com>
1077
1078 * sysdeps/posix/tempname.c: Use __xstat instead of __stat.
1079 * sysdeps/unix/grantpt.c: Likewise.
1080 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1081 * sysvipc/ftok.c: Likewise.
1082 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1083
a3f4b50b
UD
1084 * stdlib/test-canon.c: Define PATH_MAX if the system does not.
1085 * string/stratcliff.c: Use MAP_ANON instead of MAP_ANONYMOUS.
1086 Patch by UCHIYAMA Yasushi <uch@nop.or.jp>.
1087
4260bc74 10881998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
59036602 1089
4260bc74 1090 * sysdeps/alpha/fpu/fsetexcptflg.c: Avoid -Wparentheses warning.
59036602 1091
4260bc74
UD
1092 * sysdeps/libm-ieee754/s_expm1.c (__expm1): Avoid -Wparentheses
1093 warning.
1094 * sysdeps/libm-ieee754/s_log1p.c (__log1p): Likewise.
1095 * sysdeps/libm-ieee754/e_logf.c (__ieee754_logf): Likewise.
1096 * sysdeps/libm-ieee754/s_expm1f.c (__expm1f): Likewise.
1097 * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Likewise.
1098 * sysdeps/libm-ieee754/s_log1pf.c (__log1pf): Likewise.
3bb266e0 1099
4260bc74 11001998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
59036602 1101
4260bc74
UD
1102 * sunrpc/svc_udp.c (svcudp_bufcreate): Declare len as socklen_t.
1103 (svcudp_recv): Likewise.
59036602 1104
4260bc74 11051998-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
59036602 1106
4260bc74
UD
1107 * nis/nss-nisplus.h: Change some mappings of NIS+ errors to
1108 NSS error codes to avoid endless loops.
59036602 1109
70b0abba
UD
11101998-12-13 Ulrich Drepper <drepper@cygnus.com>
1111
1112 * iconvdata/gconv-modules: Correct aliases for ISO-8859-13 and add
1113 aliases for ISO-8859-14.
1114
4260bc74 11151998-12-12 Geoff Keating <geoffk@ozemail.com.au>
59036602 1116
4260bc74
UD
1117 * posix/fnmatch.c (fnmatch): Arguments to FOLD must not have
1118 side-effects.
59036602 1119
c090aa15
UD
11201998-12-12 Ulrich Drepper <drepper@cygnus.com>
1121
1122 * iconvdata/iso-8859-11.h: ISO 8859-11 conversion data.
1123 * iconvdata/iso-8859-11.c: ISO 8859-11 conversion module.
1124 * iconvdata/iso-8859-13.c: Likewise for 8859-13.
1125 * iconvdata/iso-8859-14.c: Likewise for 8859-14.
1126 * iconvdata/iso-8859-15.c: Likewise for 8859-15.
1127 * iconvdata/gconv-modules: Add rules for new modules.
1128 * iconvdata/Makefile: Likewise.
1129
f98b4bbd
UD
11301998-12-12 Ulrich Drepper <drepper@cygnus.com>
1131
1132 * stdio-common/printf_fp.c: #ifdef out long double handling code if
1133 __NO_LONG_DOUBLE_MATH is defined to avoid warnings.
1134 * stdio-common/printf_fphex.c: Likewise.
1135 * stdio-common/printf-size.c: Likewise.
1136
11371998-12-12 Ulrich Drepper <drepper@cygnus.com>
1138
1139 * login/Makefile: Install pt_chown using INSTALL_PROGRAM.
1140 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1141
bc15f0f8
UD
11421998-12-11 Ulrich Drepper <drepper@cygnus.com>
1143
c2a32973
UD
1144 * sysdeps/powerpc/dl-machine.h (elf_machine_matches_host): Mark
1145 static inline, not extern inline.
1146 (elf_machine_dynamic): Likewise.
1147 (elf_machine_lazy_rel): Likewise.
1148 (elf_machine_plt_value): Likewise.
1149 * sysdeps/powerpc/backtrace.c: Include stddef.h to get NULL
1150 definition.
f98b4bbd 1151 Patchess by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
c2a32973 1152
486fa0b7
UD
1153 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fixl_addr parameter
1154 type. Reported by job bogan <job@piquin.uchicago.edu>.
1155
bc15f0f8
UD
1156 * sysdeps/unix/opendir.c (__opendir): Use __xstat instead of
1157 __stat.
1158
724049ba
UD
11591998-12-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1160
1161 * inet/netinet/in.h: Change obsolete structure member
1162 ipv6mr_ifindex to new ipv6mr_interface.
1163
981993e1
UD
11641998-12-11 Ulrich Drepper <drepper@cygnus.com>
1165
1166 * sysdeps/ieee754/dbl2mpn.c: Changed '#include "ieee754.h"' to
1167 '#include <ieee754.h>'. ARM port has its own version of 'ieee754.h'
1168 due to its big endian floating point format.
1169 * sysdeps/ieee754/ldbl2mpn.c: Likewise.
1170 * sysdeps/ieee754/mpn2dbl.c: Likewise.
1171 * sysdeps/ieee754/mpn2ldbl.c: Likewise.
1172 * sysdeps/ieee754/mpn2flt.c: Likewise.
1173 Patch by Scott Bambrough <scottb@corelcomputer.com>.
1174
631f2dd0
UD
11751998-12-10 Ulrich Drepper <drepper@cygnus.com>
1176
a6e3a56a
UD
1177 * sysdeps/unix/sysv/linux/adjtime.c: Undo last change.
1178
631f2dd0
UD
1179 * posix/PTESTS: Fix typo.
1180
adc9be5c 1181 * po/es.po: Update from translation team.
f2bbe1fd 1182 * po/fr.po: Likewise.
adc9be5c 1183
04c216a8
UD
11841998-12-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1185
631f2dd0 1186 * nis/nss_compat/compat-pwd.c: Fix handling of +/- entries.
04c216a8 1187
38e11096
UD
11881998-12-10 Ulrich Drepper <drepper@cygnus.com>
1189
1190 * sunrpc/Makefile: Call rpcgen program which -Y parameter so that
1191 it can find the preprocessor.
1192
648c1337
UD
11931998-12-09 Geoff Keating <geoffk@ozemail.com.au>
1194
1195 * sysdeps/unix/sysv/linux/sys/procfs.h: Use sys/user.h not
1196 asm/user.h.
1197 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
1198
1199 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: New file,
1200 like linux/sys/procfs.h but uses uid_t and gid_t.
1201 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: New file,
1202 don't include <linux/ptrace.h>.
1203
12041998-12-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1205
1206 * posix/runptests.c (main): Check that regcomp did not succeed
1207 unexpectedly.
1208 * posix/runtests.c (run_a_test): Likewise. Return appropriate
1209 exit code.
1210 * posix/TESTS: Regexp "a[b-a]" should not compile.
1211 * posix/PTESTS: Comment out bogus tests GA113(2), GA145(2) and
1212 GA147(2).
1213
12141998-12-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1215
1216 * locale/programs/ld-ctype.c (allocate_arrays): Don't crash if
1217 there is no codeset name.
1218 * locale/programs/ld-collate.c (collate_output): Don't crash if a
1219 character has no weight.
1220
b77e6cd6
UD
12211998-12-10 Ulrich Drepper <drepper@cygnus.com>
1222
1223 * inet/getnetgrent_r.c (innetgr): Check host and domain name with
1224 strcasecmp, not strcmp. [PR libc/894].
1225
12261998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1227
1228 * posix/regex.h: Declare re_comp, re_exec if compiling for libc to
1229 get prototypes.
1230
1231 * wctype/wctype.h: Add prototypes for __iswblank_l and iswblank.
1232
12331998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1234
1235 * sysdeps/unix/sysv/linux/gethostid.c: Include <netdb.h> to get
1236 prototype for __gethostbyname_r.
1237
1238 * include/time.h: Add declarations of internal interfaces.
1239
1240 * time/tzset.c: Remove declarations of internal interfaces.
1241 * time/gmtime.c: Likewise.
1242 * time/localtime.c: Likewise.
1243 * time/offtime.c: Likewise.
1244 * time/tzfile.c: Likewise.
1245
c3c95a7b
UD
12461998-12-01 09:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1247
1248 * sysdeps/unix/sysv/linux/sys/timex.h: Copy out
1249 user-space-relevant definitions from linux/timex.h of kernel
1250 2.1.130 and remove include of kernel header.
1251
1252 * sysdeps/unix/sysv/linux/adjtime.c: Remove portability crud.
1253
5c2a0669
UD
12541998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1255
1256 * posix/regex.c: Get regex.h from system path, not from local
1257 directory.
1258
1259 * posix/regex.h: Move internal interfaces to ...
1260 * include/regex.h: ...here.
1261
1262 * posix/unistd.h: Move internal interfaces to ...
1263 * include/unistd.h: ...here.
1264
1265 * math/math.h: Move internal interfaces to ...
1266 * include/math.h: ...here.
1267
1268 * posix/glob.h: Move internal interfaces to ...
1269 * include/glob.h: ...here.
1270
1271 * string/string.h: Move internal interfaces to ...
1272 * include/string.h: ...here.
1273
1274 * time/sys/time.h: Move internal interfaces to ...
1275 * include/sys/time.h: ...here.
1276
1277 * resolv/netdb.h: Move internal interfaces to ...
1278 * include/netdb.h: ...here.
1279
12801998-12-08 Ulrich Drepper <drepper@cygnus.com>
1281
1282 * iconvdata/eucjp.c: Handle Yen in overscore conversion from ISO 10646
1283 correctly.
1284 * iconvdata/iso-2022-jp.c: Handle Kana in 2022-JP2 correctly
1285 Fix various bugs in conversion routine.
1286 * iconvdata/jis0201.h: Correct variable name.
1287 * iconvdata/jis0208.c: Correct script to generate tables and regenerate
1288 them.
1289 * iconvdata/jis0208.h: Likewise.
1290 * iconvdata/jis0212.c: Likewise.
1291 * iconvdata/sjis.c: Likewise.
1292 Patch by HANATAKA Shinya <hanataka@abyss.rim.or.jp>.
1293
5470bc9f
UD
12941998-12-07 Ulrich Drepper <drepper@cygnus.com>
1295
a94b2ac0
UD
1296 * sysdeps/unix/sysv/linux/speed.c (IBAUD0): New definition. Bit
1297 set in c_iflag if cfsetispeed is call with SPEED set to zero.
1298 (cfgetispeed): Return zero if prior if IBAUD0 is set.
1299 (cfsetospeed): Clear IBAUD0 bit.
1300 (cfgetispeed): Set IBAUD0 bit if necessary.
1301 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear
1302 the IBAUD0 bit in c_iflag when making the system call.
1303 Work around a Linux kernel bug which silently changes the
1304 PARENB/CREAD/CSIZE bits in c_cflag on pty.
5470bc9f
UD
1305 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Make a real
1306 function. Don't set speed is SPEED parameter is zero since this
1307 means set it to the output speed.
a94b2ac0 1308 Based on a patch by H.J. Lu <hjl@gnu.org>.
5470bc9f
UD
1309
1310 * version.h (VERSION): Bump to 2.0.106.
1311
a94b2ac0
UD
1312 * Makeconfig (link-libc-static): Don't use link-libc since this
1313 includes the shared object. Use gnulib only.
1314
b38bb8ca
UD
1315 * configure.in: Disable --disable-static.
1316
5470bc9f
UD
13171998-12-07 12:06 Ulrich Drepper <drepper@cygnus.com>
1318
1319 * po/de.po: Update from translation team.
1320 * po/ko.po: Likewise.
1321
13221998-12-07 Richard Henderson <rth@cygnus.com>
1323
1324 * sysdeps/unix/sysv/linux/alpha/select.S: Save a4 through
1325 both paths.
1326
0d3eb016
RM
13271998-12-05 Roland McGrath <roland@baalperazim.frob.com>
1328
1329 * sysdeps/mach/hurd/pselect.c: New file.
1330
1331 * sysdeps/mach/hurd/poll.c: New file.
1332
1333 * hurd/Makefile (routines): Add hurdselect.
1334 * hurd/hurdselect.c: New file.
1335 (_hurd_select): New function, guts taken from ...
1336 * sysdeps/mach/hurd/select.c (__select): ... here.
1337 Now work by just calling _hurd_select.
1338 * hurd/hurd/fd.h: Declare _hurd_select.
1339
13401998-12-05 Roland McGrath <roland@baalperazim.frob.com>
1341
1342 * time/strptime.c: Fix unterminated comment in last change.
1343
31604a65
UD
13441998-12-05 Ulrich Drepper <drepper@cygnus.com>
1345
6685edd3 1346 * ctype/ctype.h (_ISbit): Protect use of parameter with
9c8cfaf5 1347 parentheses.
6685edd3 1348 * wctype/wctype.h (_ISwbit): Likewise.
9c8cfaf5 1349
83ce8c14
UD
1350 * locale/Versions: Make experimental locale interface available in
1351 GLIBC_2.1.
1352
69c7e1dd 1353 * sysdeps/gnu/bits/utmp.h (struct exit_status): Define members
31604a65 1354 without leading __ only for __USE_GNU.
69c7e1dd 1355 * sysdeps/gnu/bits/utmpx.h (struct __exit_status): Likewise.
31604a65 1356
a6ff34d7
UD
13571998-12-04 Ulrich Drepper <drepper@cygnus.com>
1358
0d3eb016 1359 * argp/argp.h: Add __restrict.
a6ff34d7
UD
1360 * dirent/dirent.h: Likewise.
1361 * elf/dlfcn.h: Likewise.
1362 * grp/grp.h: Likewise.
1363 * iconv/iconv.h: Likewise.
1364 * inet/aliases.h: Likewise.
1365 * libio/libio.h: Likewise.
1366 * libio/stdio.h: Likewise.
1367 * locale/locale.h: Likewise.
1368 * misc/mntent.h: Likewise.
1369 * posix/wordexp.h: Likewise.
1370 * pwd/pwd.h: Likewise.
1371 * resolv/netdb.h: Likewise.
1372 * rt/aio.h: Likewise.
1373 * stdio-common/printf.h: Likewise.
1374 * stdlib/monetary.h: Likewise.
1375 * stdlib/stdlib.h: Likewise.
1376 * string/argz.h: Likewise.
1377 * string/envz.h: Likewise.
1378 * string/string.h: Likewise.
1379 * time/time.h: Likewise.
1380
13811998-12-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
1382
1383 * misc/sys/cdefs.h: Only include features.h if _FEATURES_H isn't
1384 defined. gcc's redundant include optimizer isn't clever enough to
1385 prevent a reinclusion here.
1386 Define __restrict to the empty string only if not GCC or
1387 GCC version less than 2.92.
1388
13891998-12-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1390
1391 * sysdeps/unix/sysv/linux/configure.in: Fix last change.
1392
13931998-12-03 Mark Kettenis <kettenis@phys.uva.nl>
1394
1395 * time/strptime.c (strptime_internal): Make use of `%C' format
1396 specifier if it is seen together with the `%y' specifier.
1397
13981998-12-04 Ulrich Drepper <drepper@cygnus.com>
1399
1400 * po/sk.po: New file.
1401
14021998-12-03 Scott Bambrough <scottb@corelcomputer.com>
1403
1404 * sysdeps/arm/dl-machine.h (dl_start_user): Incorrect address
1405 for _dl_main_searchlist passed to _dl_init_next.
1406
14071998-12-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1408
1409 * math/libm-test.c: Expand literal tabs in strings. Normalize
1410 whitespace.
1411
14121998-12-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1413
1414 * sysdeps/unix/sysv/linux/sys/fsuid.h: Fix spelling.
1415
aab217f3 14161998-12-04 Mark Kettenis <kettenis@phys.uva.nl>
c31fd66e 1417
aab217f3
RM
1418 Provide backwards binary compatibility for the Hurd.
1419 * hurd/geteuids.c [PIC && DO_VERSIONING]: Make __getuids a weak
1420 alias for geteuids.
1421 * hurd/Versions [GLIBC_2.0]: Add __getuids,
1422 __hurd_file_name_lookup and _hurd_umask.
1423 [GLIBC_2.1]: Add _hurd_proc_init.
1424 * hurd/Makefile [versioning] (routines): Add compat-20.
1425 (shared-only-routines): Likewise.
1426 * hurd/hurdinit.c (_hurd_new_proc_init): Renamed from
1427 _hurd_proc_init. Use it as the default _hurd_proc_init version
1428 for GLIBC_2.1.
1429 * hurd/compat-20.c: New file.
1430 * mach/Versions [GLIBC_2.0]: Add __vm_allocate.
c31fd66e 1431
eeabe877
UD
14321998-12-02 Ulrich Drepper <drepper@cygnus.com>
1433
1434 * elf/elf.h: Add R_MIPS_JALR and adjust R_MIPS_NUM appropriately.
1435
14361998-12-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1437
1438 * inet/Versions: Remove inet6_isipv4mapped.
1439
14401998-12-02 Philip Blundell <pb@nexus.co.uk>
1441
1442 * inet/in6_addr.c (inet6_isipv4mapped): Obsolete, deleted.
1443
14441998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1445
1446 * manual/time.texi (Formatting Date and Time): Fix typo.
1447
14481998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1449
1450 * sysdeps/unix/sysv/linux/configure.in: Only check for symlinks
1451 when configuring natively. Use autoconf macros instead of rolling
1452 our own. Handle defaulted prefix.
1453
19c6b9c8
UD
14541998-12-01 Ulrich Drepper <drepper@cygnus.com>
1455
1456 * version.h (VERSION): Bump to 2.0.105.
1457
1458 * sysdeps/generic/Dist: Add bits/libc-tsd.h.
1459
1460 * sysdeps/mach/hurd/Dist: Add bits/libc-tsd.h.
1461
1462 * sysdeps/unix/sysv/linux/mips/Dist: Add xstatconv.c.
1463
628a0aa1
UD
14641998-11-29 1998 H.J. Lu <hjl@gnu.org>
1465
1466 * libio/genops.c (_IO_unbuffer_write): Renamed from
1467 _IO_unbuffer_all.
1468 (_IO_cleanup): Call _IO_unbuffer_write instead of
1469 _IO_unbuffer_all.
1470
14711998-12-01 Ulrich Drepper <drepper@cygnus.com>
1472
1473 * intl/localealias.c: Use *_unlocked version of stdio function if
1474 _LIBC_REENTRANT is defined, not _LIBC.
1475
14761998-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1477
1478 * include/grp.h: Add prototypes for internal functions
1479 __getgrgid_r and __getgrnam_r.
1480
1481 * inet/herrno.c: Include <netdb.h> for prototype, undef h_errno.
1482
1483 * resolv/nsap_addr.c: Include <arpa/inet.h> for inet_nsap_addr and
1484 inet_nsap_ntoa prototypes.
1485
62595351
UD
14861998-12-01 Ulrich Drepper <drepper@cygnus.com>
1487
628a0aa1
UD
1488 * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Pass -I option
1489 to gcc to have it find the correct system header.
1490 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1491
62595351 1492 * Makefile (postclean): Add sysd-sorted.
628a0aa1 1493 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
62595351 1494
ee586e0e
UD
14951998-12-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1496
1497 * sunrpc/auth_des.c: Use new XDR int32 functions for integers.
1498 * sunrpc/rpc/xdr.h: Add IXDR INT32 functions.
1499 * sunrpc/rpc_hout.c: Remove (u_long) casts in defines to avoid
1500 conflicts with new solaris version.
1501 * sunrpc/rpc_main.c: Fix bug in generating Makefile name (malloc
1502 doesn't zero allocated memory).
1503 * sunrpc/rpc_svcout.c: Local variables now starts with a _ to avoid
1504 conflicts with xdr functions. Solves PR libc/877.
1505 * nis/rpcsvc/nis.x: Use always uint32_t.
1506 * nis/rpcsvc/nis.h: Likewise.
1507 * nis/rpcsvc/nis_object.x: Likewise.
1508
15091998-12-01 Ulrich Drepper <drepper@cygnus.com>
1510
1511 * math/libm-test.c: Various cleanups. Patch by Zack Weinberg.
1512
1513 * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use correct type for
1514 parameter. Patch by Christian Gafton.
1515
1516 * string/envz.h: Add prototype for envz_remove.
1517 Reported by Andreas Jaeger.
1518
42ee0538
RM
15191998-11-30 Mark Kettenis <kettenis@phys.uva.nl>
1520
1521 * mach/Versions [libc, GLIBC_2.0]: Add __spin_lock,
1522 __spin_lock_init, __mutex_lock, __mutex_trylock,
1523 __mutex_unlock.
1524 Remove get_priviliged_ports. Moved to hurd/Versions.
1525
1526 * hurd/Versions [libc, GLIBC_2.0]: Add _end. This makes the Hurd
1527 brk implementation see the end of the data segment of the program
1528 instead of the shared library.
1529 Add __hurd_errno_location. This inline function is used in user
1530 programs.
1531 Add _hurd_critical_section_lock, _hurd_critical_section_unlock,
1532 _hurd_fd_get, _hurd_port_free, _hurd_port_get,
1533 _hurd_port_locked_get. These inline functions are used by macros
1534 used in mail.local in the Hurd distribution.
1535 Add get_privileged_ports. Moved here from mach/Versions.
1536 Remove __hurd_file_name_lookup, __hurd_file_name_lookup_retry,
1537 __hurd_file_name_split, __hurd_file_name_path_lookup. These are
1538 not used outside libc.
1539
15401998-11-30 Mark Kettenis <kettenis@phys.uva.nl>
1541
1542 * hurd/hurdstartup.c: Really include set-hooks.h with <> instead
1543 of "".
1544
5713a71e
UD
15451998-11-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1546
1547 * sunrpc/Makefile: Add xdr_intXX_t to routines.
1548 * sunrpc/Versions: Add xdr_int8_t, xdr_uint8_t, xdr_in16_t and
1549 xdr_uint16_t.
1550 * sunrpc/rpc/xdr.h: Add prototypes for new xdr_intXX_t functions.
1551 * sunrpc/xdr.c: Remove xdr_int32_t and xdr_uint32_t.
1552 * sunrpc/xdr_intXX_t.c: New, contains all xdr_intXX_t functions.
1553
1554 * nis/Depend: New.
1555 * nis/nss_nis/nis-service.c: Include generated prototype for parser.
1556
348ed515
UD
15571998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1558
1559 * nscd/nscd_getpw_r.c: Include nscd_proto.h for prototypes.
1560
1561 * sysdeps/generic/errno-loc.c: Include <errno.h> for prototype,
1562 undefine errno to get variable.
1563
1564 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Include <sys/fsuid.h>
1565 instead of <unistd.h> for prototype.
1566 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1567
15681998-11-30 Ulrich Drepper <drepper@cygnus.com>
1569
1570 * misc/err.h: Correct comments and use protected attribute keywords.
1571 Reported by Joseph Myers <jsm28@cam.ac.uk>.
1572
15731998-11-29 Roland McGrath <roland@baalperazim.frob.com>
1574
1575 * malloc/thread-m.h [_LIBC]: Include <bits/libc-tsd.h>, and
1576 remove tsd stuff from pthreads/cthreads libc sections.
1577 Use __libc_tsd_define for MALLOC key.
1578 [_LIBC] (tsd_key_t, tsd_key_create): Define to a zero-size type and a
1579 no-op, respectively.
1580 [_LIBC] (tsd_setspecific, tsd_getspecific): Use __libc_tsd_get/set.
1581
1582 * elf/dl-error.c: Include <bits/libc-tsd.h>.
1583 Use __libc_tsd_define for DL_ERROR key.
1584 (tsd_setspecific, tsd_getspecific): Rewritten using __libc_tsd_get/set.
1585
1586 * sysdeps/mach/hurd/bits/libc-tsd.h: New file.
1587 * sysdeps/generic/bits/libc-tsd.h: New file.
1588 * Makefile (distribute): Add bits/libc-tsd.h.
1589
15901998-10-12 Roland McGrath <roland@baalperazim.frob.com>
1591
1592 * elf/dl-error.c: Remove kludge to check for ld.so load address.
1593 There is no need if weak undefined symbols are not used in ld.so;
1594 see linuxthreads/ChangeLog for changes to files
1595 linuxthreads/sysdeps/pthread/bits/libc-lock.h and
1596 linuxthreads/sysdeps/pthread/bits/libc-tsd.h.
1597
15981998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1599
1600 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo (s->__s).
1601
1602 * sysdeps/i386/i486/bits/string.h: Add prototypes for all new
1603 inline functions.
1604 * sysdeps/i386/bits/string.h: Likewise.
1605
16061998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1607
1608 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Remove ipc_kludge.
1609
16101998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1611
1612 * db2/progs/db_load/db_load.c (main): Avoid -Wparentheses warning.
1613
3dc9c979
RM
16141998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
1615
1616 * sysdeps/mach/hurd/dl-sysdep.c: Do not define
1617 __hurd_threadvar_max. Add comment explaining why we define
1618 __hurd_threadvar_stack_offset and __hurd_threadvar_stack_mask here.
1619
16201998-07-29 Mark Kettenis <kettenis@phys.uva.nl>
1621
1622 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
1623 __hurd_sigthread_stack_end, __hurd_sigthread_variables): Define to
1624 prevent inclusion of Hurd signal handling code.
1625 (__libc_write): New function.
1626 (_dl_sysdep_output): Removed. The implementation in
1627 `elf/dl-misc.c' now also works for the Hurd.
1628
f69139ec
RM
16291998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
1630
1631 * hurd/hurdstartup.c: Do not include hurdmalloc.h; _hurd_startup
1632 does not use any of malloc/realloc/free anymore. Include
1633 set-hooks.h with <> instead of "".
1634
0c4db20b
RM
16351998-11-29 Roland McGrath <roland@baalperazim.frob.com>
1636
1637 * sunrpc/svc_unix.c (__msgread): Move ON local var inside block
1638 within #ifdef SO_PASSCRED. Avoids unused var when no SO_PASSCRED.
1639 * sunrpc/clnt_unix.c (__msgread): Likewise.
1640
cbef6235
RM
16411998-11-28 Roland McGrath <roland@baalperazim.frob.com>
1642
1643 * hurd/setuids.c: Renamed to ...
1644 * hurd/seteuids.c: this.
1645 (setuids): Renamed to seteuids.
1646 * hurd/getuids.c: Renamed to ...
1647 * hurd/geteuids.c: this.
1648 (__getuids): Renamed to geteuids, no aliases.
1649 * hurd/hurd.h (geteuids, seteuids): Declare them.
1650 * hurd/Versions: Replace getuids; __getuids with geteuids; seteuids.
1651 * hurd/Makefile (routines): Updated.
1652
5f75d1e2
UD
16531998-11-29 Ulrich Drepper <drepper@cygnus.com>
1654
1655 * sysdeps/generic/segfault.c (install_handler): Correct test for
1656 SEGFAULT_HANDLER=all.
1657 Patch by Zack Weinberg.
1658
cbef6235
RM
16591998-11-28 23:23 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1660
1661 * sysdeps/unix/sysv/linux/configure.in: Test for symlinks in
1662 $prefix/include that may be clobbered on installation.
1663
6d4752d8
UD
16641998-11-27 Philip Blundell <pb@nexus.co.uk>
1665
1666 Fixes to allow compilation with static NSS:
1667 * nss/Makefile: Make explicit the dependency of getent on
1668 libnss_files.a.
1669 [build_static_nss]: Define $(otherlibs) appropriately.
1670 * nss/Depend: Add a dependency on `resolv'.
1671
16721998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1673
1674 Partial support for MIPS ISO C 9x exception handling:
1675 * sysdeps/mips/fclrexcpt.c: New file.
1676 * sysdeps/mips/ftestexcept.c: New file.
1677 * sysdeps/mips/fgetexcptflg.c: New file.
1678 * sysdeps/mips/fesetround.c: New file.
1679 * sysdeps/mips/fegetround.c: New file.
1680 * sysdeps/mips/fegetenv.c: New file.
1681 * sysdeps/mips/fesetenv.c: New file.
1682 * sysdeps/mips/feupdateenv.c: Likewise.
1683 * sysdeps/mips/bits/fenv.h: New file.
1684
16851998-11-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1686
1687 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Remove inclusion of
1688 <asm/signal.h> and add needed symbols from <asm/signal.h>; bring
1689 in sync with linux specific version.
1690
1691 Patches by Ralf Baechle <ralf@uni-koblenz.de> for mips-linux:
1692
1693 * sysdeps/unix/mips/sysdep.S: Define _errno as weak_alias, rewrite
1694 errno declaration.
1695
1696 * sysdeps/unix/sysv/linux/mips/ustat.c: Use INLINE_SYSCALL instead
1697 of calling __syscall_*.
1698 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
1699
1700 * sysdeps/unix/sysv/linux/mips/syscalls.list: Update entries.
1701
1702 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add missing SYS_*
1703 constants, correct values according to Linux 2.1.130.
1704
1705 * sysdeps/unix/sysv/linux/mips/pwrite.c: New file.
1706 * sysdeps/unix/sysv/linux/mips/pwrite64.c: New file.
1707 * sysdeps/unix/sysv/linux/mips/pread.c: New file.
1708 * sysdeps/unix/sysv/linux/mips/pread64.c: New file.
1709
1710 * sysdeps/mips/Makefile (sysdep_routines): Use += instead of a
1711 :=.
1712
1713 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Remove ipc_kludge.
1714
1715 * sysdeps/unix/sysv/linux/mips/xstatconv.c: New file.
1716
1717 * sysdeps/unix/sysv/linux/mips/xstat.c: Removed.
1718
1719 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: New file.
1720
1721 * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Add copyright
1722 message, change name of include protection, remove inclusion of
1723 <bits/termios.h>.
1724
1725 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
1726 (old_kernel_sigaction): Define.
1727 (struct kernel_sigaction): Rename sa_handler to k_sa_handler.
1728
1729 * sysdeps/unix/sysv/linux/mips/bits/time.h: Removed, we can use
1730 the general linux version.
1731 * sysdeps/unix/sysv/linux/mips/bits/stat.h (_STAT_VER_KERNEL): Added.
1732
1733 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Update file.
1734
17351998-09-03 Philip Blundell <pb@nexus.co.uk>
1736
1737 * sysdeps/arm/bits/endian.h (__FLOAT_WORD_ORDER): Define to big
1738 endian.
1739 * math/math_private.h: Use __FLOAT_WORD_ORDER rather than
1740 BYTE_ORDER.
1741 * string/endian.h: If __FLOAT_WORD_ORDER wasn't defined by
1742 <bits/endian.h>, make it the same as __BYTE_ORDER.
1743
48252123
UD
17441998-11-27 Ulrich Drepper <drepper@cygnus.com>
1745
1746 * math/math.h: Avoid using long double functions in generic macros
1747 if __NO_LONG_DOUBLE_MATH.
1748
1749 * sysdeps/arm/dl-machine.h: Fix handling of weak undefined symbols
1750 during bootstrapping.
1751 * scripts/config.sub: Add Netwinder specific matches.
1752 Patch by Scott Bambrough <scottb@corelcomputer.com>.
1753
6d4752d8
UD
17541998-11-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1755
1756 * Makeconfig ($(common-objpfx)sysd-dirs): Use automatic variables
1757 if possible.
1758 ($(common-objpfx)sysd-sorted): Likewise.
1759
17601998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1761
1762 * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Add declaration of
1763 local variables t1,t2 only if needed.
1764
48252123
UD
1765 * sysdeps/libm-ieee754/e_atan2.c: Added braces to avoid compiler
1766 warnings.
6d4752d8
UD
1767 * sysdeps/libm-ieee754/s_truncf.c (__truncf): Likewise.
1768 * sysdeps/libm-ieee754/s_trunc.c (__trunc): Likewise.
1769
1770 * sysdeps/mips/mul_1.S (Loop): Add closing comment to avoid
1771 warning.
1772
17731998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1774
1775 * math/math.h: Add brace to correct #if expression.
1776
17771998-11-26 Philip Blundell <philb@gnu.org>
1778
1779 Undo change of 1998-11-12:
1780 * sysdeps/unix/sysv/linux/netlink/netlink.h: Deleted.
1781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1782 netlink/netlink.h.
1783 * sysdeps/unix/sysv/linux/Dist: Likewise.
1784
17851998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1786
1787 * nis/nis_print.c (nis_print_entry): Changes to match Solaris output.
1788
cb0509a8
UD
17891998-11-26 Ulrich Drepper <drepper@cygnus.com>
1790
1791 * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): New defined macro.
1792 (elf_machine_got_rel): Remove scope variable. Use scope from the map.
1793 Don't modify _dl_global_scope_end in the end.
1794 (__dl_runtime_resolv): Also use scope from the map.
1795 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1796 * elf/dl-runtime.c: Don't define fixup and profile_fixup if
1797 ELF_MACHINE_NO_PLT is defined.
1798 * sysdeps/mips/sys/ucontext.h: New file.
1799 Patches by kaz Kojima <kkojima@rr.iij4u.or.jp>.
1800
6d4752d8
UD
18011998-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1802
1803 * sysdeps/generic/pselect.c (__pselect): Change interface,
1804 set/restore sigmask.
1805
1806 * misc/sys/select.h: Change declaration according to Stevens' Unix
1807 Network Programming.
1808 * include/sys/select.h (__pselect): Likewise.
1809 Reported by <bwelling@anomaly.munge.com> [PR libc/872].
1810
1811 * include/fpu_control.h: New file, contains __setfpucw
1812 declaration.
1813
1814 * sysdeps/generic/fpu_control.h: Remove __setfpucw declaration,
1815 it's an internal symbol.
1816 * sysdeps/alpha/fpu/fpu_control.h: Likewise.
1817 * sysdeps/arm/fpu/fpu_control.h: Likewise.
1818 * sysdeps/i386/fpu_control.h: Likewise.
1819 * sysdeps/m68k/fpu_control.h: Likewise.
1820 * sysdeps/powerpc/fpu_control.h: Likewise.
1821 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Likewise.
1822 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
1823
0155a773
UD
18241998-11-25 Ulrich Drepper <drepper@cygnus.com>
1825
1826 * version.h (VERSION): Bump to 2.0.104.
1827
18281998-11-25 Mark Kettenis <kettenis@phys.uva.nl>
1829
1830 * libio/bits/stdio.h (fread_unlocked): Add missing parentheses
1831 around parameter n.
1832
18331998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1834
1835 * time/tzfile.c (__tzfile_read): Fix comment.
1836
18371998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1838
1839 * Makerules (build-shlib): Pass -O1 down to linker to get
1840 optimized shared libraries.
1841
18421998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1843
1844 * Makeconfig ($(common-objpfx)sysd-dirs): Cope with no Subdirs
1845 file. Strip "-" from inhibited subdir name. Combine into a
1846 single awk program.
1847 ($(common-objpfx)sysd-sorted): Fix sed command.
1848
77dd7355
RM
18491998-11-25 Roland McGrath <roland@baalperazim.frob.com>
1850
1851 * sysdeps/mach/hurd/i386/init-first.c (init): Restored as inline fn.
1852 Use constant _HURD_THREADVARS_MAX for temporary array size.
1853
1854 * Makeconfig ($(common-objpfx)sysd-sorted): Use @ instead of / as sed
1855 s separator, since $(..) might contain a /.
1856
45b3d8ad
UD
18571998-11-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1858
1859 * configure.in (mips): Fix typo (Replace ,, by ;;).
1860
1861 * libio/Versions: Clean up entries.
1862
33127459
UD
18631998-11-23 Ulrich Drepper <drepper@cygnus.com>
1864
1865 * sysdeps/i386/fpu/bits/mathinline.h: Add optimizations for lrint
1866 and llrint.
1867
a42134a7
UD
18681998-11-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1869
1870 * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Removed. There are too
1871 many differences between the Linux 2.0 and 2.1 versions of this
1872 file and it's too difficult to convert all calls. The file should
1873 only be needed by the ipfw program which has to take care of the
1874 correct kernel version and include files.
1875
1876 * sysdeps/unix/sysv/linux/Dist: Remove netinet/ip_fw.h.
1877 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
1878
7d6a8338
UD
18791998-11-23 Ulrich Drepper <drepper@cygnus.com>
1880
1881 * Makeconfig: Don't read sysd-sorted unless sysd-dirs is read.
1882 Patch by Zack Weinberg.
1883
1884 * math/bits/mathcalls.h: Adjust comments. Remove gamma_r prototype.
1885
1886 * sysdeps/i386/fpu/bits/mathinline.h: Make log2 only available if
1887 __USE_ISOC9X is defined. Provide rint optimization.
1888
18891998-11-21 H.J. Lu <hjl@gnu.org>
1890
1891 * libio/Versions (_IO_popen, _IO_proc_open, _IO_proc_close,
1892 popen, pclose): Add to GLIBC_2.1.
1893
1894 * libio/Makefile (routines): Add oldiopopen and oldpclose.
1895 (shared-only-routines): Likewise.
1896
1897 * libio/pclose.c (pclose): Make it default for GLIBC_2.1.
1898 * libio/iopopen.c (_IO_proc_open, _IO_popen, popen,
1899 _IO_proc_close): Likewise.
1900
1901 * libio/iolibio.h (_IO_new_popen, _IO_old_popen, __new_pclose,
1902 __old_pclose): New prototypes.
1903
1904 * libio/libioP.h (_IO_new_file_jumps): Removed.
1905 (_IO_old_proc_jumps): Added.
1906 (_IO_new_proc_open, _IO_old_proc_open): New prototypes.
1907
1908 * libio/oldiopopen.c: New file.
1909
1910 * libio/oldpclose.c: New file.
1911
19121998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1913
1914 * nss/Makefile: Build and install getent.
1915 * nss/getent.c: New, get entries from administrative database.
1916
1521f3a5
RM
19171998-11-22 Roland McGrath <roland@baalperazim.frob.com>
1918
1919 * sysdeps/mach/hurd/i386/init-first.c (init): Provide temporary storage
1920 for the per-thread variables of the main user thread to make it
1921 possible to use malloc as soon as _hurd_preinit_hook has been run.
1922 For cthreads, copy values to new stack from there.
1923 For non-cthreads, malloc threadvar array here and copy from temp space.
1924 (init1): No longer initialize threadvars here.
1925 (doinit1): Made static void at top level.
1926 (init): Folded into [PIC] _init or [!PIC] doinit1, since GCC cannot
1927 inline a function that uses dynamic auto arrays.
1928
5edb9387
UD
19291998-11-20 Ulrich Drepper <drepper@cygnus.com>
1930
d89e7a96
UD
1931 * version.h (VERSION): Bump to 2.0.103.
1932
5edb9387
UD
1933 * aclocal.m4 (LIBC_PROG_BINUTILS): Also add AR and RANLIB using the
1934 same method.
1935 * configure.in: Don't define AR and RANLIB here.
1936
1937 * inet/gethstbyad_r.c: Define NEED__RES_HCONV and POSTPROCESS for
1938 host name res_hconf code.
1939 * inet/gethstbynm_r.c: Likewise.
1940 * nss/getXXbyYY_r.c: Include resolv/res_hconf.h if NEED__RES_HCONF
1941 is defined. Call res_hconf_init if necessary. If POSTPROCESS is
1942 defined execute the code.
1943 * resolv/Makefile (routines): Add res_hconf.
1944 (headers): Add res_hconf.h.
1945 * resolv/res_hconf.c: Pretty print.
1946 * resolv/res_hconf.h: Likewise.
1947
19481998-11-20 Ulrich Drepper <drepper@cygnus.com>
1949
1950 * sysdeps/generic/bits/byteswap.h: Fix typos in non-GCC
1951 definitions. Reported by Scott Bambrough <scottb@corelcomputer.com>.
1952
19531998-11-20 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1954
1955 * math/libm-test.c: Raise some epsilons a bit.
1956
19571998-11-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1958
1959 * Makeconfig ($(common-objpfx)sysd-sorted): Fix portability problems.
1960
19611998-11-20 Ulrich Drepper <drepper@cygnus.com>
1962
1963 * Makefile (distribute): Add scripts/gen-sorted.awk.
1964
bece5ca7
UD
19651998-11-19 Ulrich Drepper <drepper@cygnus.com>
1966
1967 * posix/regex.c (regex_compile): Handle extra long class names
1968 correctly.
1969
50463d27
UD
19701998-11-19 Geoff Keating <geoffk@ozemail.com.au>
1971
1972 * elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so
1973 correctly.
1974
1da99555
UD
19751998-11-19 Ulrich Drepper <drepper@cygnus.com>
1976
b0428320
UD
1977 * misc/error.c: Undo last change.
1978
1da99555
UD
1979 * ctype/Versions: Add _tolower and _toupper.
1980
f1317ef5
UD
19811998-11-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1982
1983 * sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and
1984 POLLNVAL.
1985
bb41a976
UD
19861998-11-19 Ulrich Drepper <drepper@cygnus.com>
1987
1988 * Makeconfig: Add comment to all-subdirs definition.
1989 Add rule to generate sysd-sorted. Include this file and and set
1990 subdirs value to $(sorted-subdirs).
1991 * scripts/gen-sorted.awk: New file.
1992 * Make-dist (+tsrcs): Add Depend.
1993 * nscd/Depend: New file.
1994 * nss/Depend: New file.
1995 * rt/Depend: New file.
1996
090ca000
UD
19971998-11-18 Ulrich Drepper <drepper@cygnus.com>
1998
dfd2464b
UD
1999 * sysdeps/unix/bsd/poll.c (__poll): Add code to extend sets if any
2000 passed file descriptor exceeds the size determined by
2001 getdtablesize.
2002
2003 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Update
2004 from inline version in bits/socket.h.
2005
2006 * sysdeps/unix/sysv/linux/bits/socket.h: Define __cmsg_nxthdr as
2007 inline function only is __USE_EXTERN_INLINES is defined.
2008
2009 * time/strftime.c (my_strftime): Make code a bit clearer.
2010 Patch by Paul Eggert <eggert@twinsun.com>.
2011
090ca000
UD
2012 * io/Makefile (CFLAGS-ftw.c): Removed.
2013
b0428320 2014 * manual/errno.texi: Change the short text for ENODEV to
bb41a976
UD
2015 "No such device".
2016
090ca000
UD
20171998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2018
2019 * io/Makefile (tests): Make sure that the test program has an
2020 explicit directory part.
2021
20221998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2023
2024 * configure.in: Fix last change.
2025
20261998-11-18 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2027
2028 * sunrpc/Makefile (routines): Add create_xid.
2029
2030 * sunrpc/clnt_tcp.c: Use non-guessable xid.
2031 * sunrpc/clnt_udp.c: Likewise.
2032 * sunrpc/clnt_unix.c: Likewise.
2033 * sunrpc/pmap_rmt.c: Likewise.
2034 * sunrpc/create_xid.c: New, create non-guessable xid.
2035
2036 * sunrpc/svc_tcp.c: Remove patch from 1998-06-15, use poll instead
2037 of select.
2038 * sunrpc/svc_unix.c: Use poll instead of select.
2039
d8cceb4f
UD
20401998-11-17 Ulrich Drepper <drepper@cygnus.com>
2041
45a9a50e 2042 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Make Unix98 compliant
dfd2464b 2043 by removing SIG_IGN handler for SIGCHLD if necessary.
45a9a50e
UD
2044 Patch by H.J. Lu <hjl@lucon.org>.
2045
d8cceb4f
UD
2046 * stdio-common/printf_fphex.c (__printf_fphex): Correct printing
2047 of denormalized numbers.
2048
20491998-10-06 Geoff Keating <geoffk@ozemail.com.au>
2050
2051 * sysdeps/powerpc/dl-machine.h (elf_machine_load_address): Suppress
2052 another parentheses warning, make nano-optimisation.
2053
2054 * sysdeps/powerpc/dl-machine.h (_dl_runtime_resolve): Preserve
2055 saved LR on stack so _mcount works.
2056 (_dl_prof_resolve): Likewise.
2057 * sysdeps/powerpc/register-dump.h: Print FPRs. Adjust for correct
2058 signal handler calling convention.
2059 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Adjust for
2060 correct signal handler calling convention---more like x86 linux and
2061 mklinux, less like linux-ppc versions between 2.1 and 2.1.126.
2062
20631998-11-17 Ulrich Drepper <drepper@cygnus.com>
2064
2065 * configure.in: Correct allowed makeinfo version.
2066
20671998-11-17 Philip Blundell <pb@nexus.co.uk>
2068
2069 * sysdeps/generic/bits/mathdef.h: Fix typo.
2070
cae88996
UD
20711998-11-17 Geoff Keating <geoffk@ozemail.com.au>
2072
2073 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall
2074 under the right name (squish warning).
2075 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2076
20771998-11-17 Geoff Keating <geoffk@ozemail.com.au>
2078
2079 * stdio-common/_itoa.c (_itoa): Add redundant parentheses to
2080 prevent warnings.
2081
9d1efe33
UD
20821998-11-16 Ulrich Drepper <drepper@cygnus.com>
2083
d8cceb4f 2084 * intl/locale.alias: Change `japanese' alias to match X11R6's.
9d1efe33
UD
2085 Add `japanese.euc' alias.
2086
2087 * manual/Makefile (%.info): Set LANGUAGE and LC_ALL explicitly to C
2088 before running makeinfo.
2089
2090 * math/Makefile (libm-routines): $(strip) entire value.
2091
2092 * nss/nss_db/db-XXX.c (internal_setent): Rewrite to avoid warning.
2093
20941998-10-24 H.J. Lu <hjl@gnu.org>
2095
2096 * libio/libio.h (_IO_cookie_io_functions_t): Protect with __USE_GNU.
2097 (_IO_cookie_file): Likewise.
2098
20991998-11-16 Philip Blundell <philb@gnu.org>
2100
2101 * inet/netinet/icmp6.h: Correct naming of constants.
2102
8b7fb588
UD
21031998-11-16 Ulrich Drepper <drepper@cygnus.com>
2104
2105 * sysdeps/unix/opendir.c: Use o_directory_works differently. Treat
2106 zero value as uninitialized so that variable can go into .bss.
2107
2108 * dirent/opendir-tst1.c: Print error strings to stdout.
2109
2110 * sysdeps/unix/sysv/linux/mmap64.c: New file. Empty.
2111 * sysdeps/unix/sysv/linux/syscalls.list: Add mmap with mmap64 alias.
2112 * sysdeps/unix/sysv/linux/arm/mmap.S: Add mmap64 alias.
2113 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2114 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2115
21161998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2117
2118 * time/tzfile.c (__tzfile_read): Check that types[i].isdst is in
2119 range.
2120
21211998-11-16 Ulrich Drepper <drepper@cygnus.com>
2122
2123 * libio/bits/stdio.h (fread_unlocked): Do handle zero size and number.
2124 (fwrite_unlocked): Likewise.
2125
21261998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2127
2128 * libio/bits/stdio.h (fread_unlocked): Don't evaluate non-constant
2129 twice. Don't bother handling zero size.
9d1efe33 2130 (fwrite_unlocked): Likewise.
8b7fb588
UD
2131
21321998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2133
2134 * configure.in: Fix regex for makeinfo version string.
2135
21361998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2137
2138 * sunrpc/rpc_sample.c (write_sample_server): Avoid -Wparentheses
2139 warning.
2140 * sunrpc/rpc_svcout.c (write_program): Likewise.
2141
21421998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2143
2144 * time/Makefile (CFLAGS-test_time.c): Add -Wno-format.
2145
21461998-11-16 Ulrich Drepper <drepper@cygnus.com
2147
2148 * misc/sys/mman.h: Pretty print prototypes.
2149
21501998-11-15 Ulrich Drepper <drepper@cygnus.com
2151
2152 * misc/error.c (error): Don't use result of strerror_r call directly
2153 since at least DEC Unix has a wrong return type.
2154 Patch by Johan Danielsson <joda@pdc.kth.se>.
2155
21561998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
22bb3c7f
AS
2157
2158 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo
2159 last change.
2160
77d10f94
UD
21611998-11-13 Ulrich Drepper <drepper@cygnus.com>
2162
27658f20 2163 * stdio-common/vfscanf.c: Don't return -1 in case of an invalid
9d1efe33 2164 format, just stop.
27658f20 2165
77d10f94
UD
2166 * version.h (VERSION): Bump to 2.0.102.
2167
2168 * stdio-common/tstdiomisc.c (t2): Update test case for last scanf
2169 change.
2170 * stdio-common/scanf7.c (main): Likewise.
2171
99c9e773
UD
21721998-11-13 Ulrich Drepper <drepper@cygnus.com>
2173
47b856a9
UD
2174 * stdio-common/vfscanf.c: Return EOF for invalid format
2175 characters.
2176
fb3d8ad6
UD
2177 * version.h (VERSION): Bump to 2.0.101.
2178
99c9e773
UD
2179 * Makerules (Versions.all): Generate this file from all Versions.def
2180 files.
2181 (sysd-versions): Use Versions.all instead of Versions.def.
2182
47b856a9
UD
21831998-11-13 Philip Blundell <philb@gnu.org>
2184
2185 * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value.
2186 Reported by Scott Bambrough.
2187
93d63a59
UD
21881998-11-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2189
2190 * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
2191
a3e0e9ae
UD
21921998-11-13 Ulrich Drepper <drepper@cygnus.com>
2193
2194 * libio/bits/stdio.h: Correct and improve fread_unlocked and
2195 fwrite_unlocked optimizations.
2196
2197 * time/tzfile.c (__tzfile_read): Set __tzname based on last names
2198 in time not to last entries in the file.
2199 (__tzfile_compute): Likewise. Fix for PR libc/863.
2200
2201 * timezone/Makefile: Generate GB timezone data for test.
2202 * timezone/tst-timezone.c: More tests for DST switching time (disabled
2203 for now).
2204
22051998-11-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2dc9c8cd
AS
2206
2207 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
2208 d0 from clobber list.
2209
d2537a47
UD
22101998-11-12 Ulrich Drepper <drepper@cygnus.com>
2211
2212 * inet/netinet/in.h: Add a few more IPPROTO_* macros.
2213
2214 * libio/Makefile (headers): Add bits/stdio.h.
2215 * libio/iofread_u.c: Undefine fread_unlocked before definition.
2216 * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
2217 * libio/stdio.h: Move optimizations into ...
2218 * libio/bits/stdio.h: ...here. New file.
2219
2220 * libio/iofread.c: Pretty print.
2221
22221998-11-12 Mark Kettenis <kettenis@phys.uva.nl>
2223
2224 * sysdeps/gnu/bits/utmpx.h: Protect members of struct
2225 __exit_status with `__'. Rename pad member of struct utmpx to
2226 __unused.
2227 (RUN_LVL): Define unconditionally.
a3e0e9ae 2228 * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to
d2537a47
UD
2229 __unused.
2230
22311998-11-12 Philip Blundell <philb@gnu.org>
2232
2233 * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
2234 Linux AF_NETLINK sockets (needed since the kernel version is
2235 unusable).
2236 * sysdeps/unix/sysv/linux/Makefile: Install it.
2237 * sysdeps/unix/sysv/linux/Dist: Distribute it.
2238
22391998-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2240
2241 * timezone/tst-timezone.c (tests): Add entry for America/Chicago
2242 to test for bug in PR libc/863.
2243
22441998-11-12 Ulrich Drepper <drepper@cygnus.com>
2245
2246 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.
2247
2248 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
2249 parameter lazy to do_lazy to avoid clashing with struct member name.
2250 Reported by Ralf Baechle <ralf@uni-koblenz.de>.
2251
22521998-11-10 H.J. Lu <hjl@gnu.org>
2253
2254 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
2255 if it is defined in <linux/limits.h>.
2256
22571998-11-09 13:07 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
2258
2259 * include/protocols/routed.h: Include the real header with
2260 a full path from the top of the source tree.
2261 * include/protocols/rwhod.h: Likewise.
2262 * include/protocols/talkd.h: Likewise.
2263 * include/protocols/timed.h: Likewise.
2264
2265 * timezone/Makefile: Don't include z.ZONE files if no_deps
2266 is set, not if avoid-generated is set.
2267
22681998-11-12 Ulrich Drepper <drepper@cygnus.com>
2269
2270 * signal/signal.h: Undo last change. Get definition of timespec
2271 if __USE_POSIX199309.
2272
2273 * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
2274 size_t to prevent gcc warning when using -Wqual-cast.
2275 (__strpbrk_c3): Likewise.
2276 Suggested by Alan Curry <pacman@cqc.com>.
2277
fc7af6d6
RM
22781998-11-11 Roland McGrath <roland@baalperazim.frob.com>
2279
159d4836
RM
2280 * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,
2281 unblocked signals are set in the startup masks.
2282
fc7af6d6
RM
2283 * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
2284 INTARRAYSIZE. Initialize main thread's sigstate from INIT_SIG* ints.
159d4836 2285
fc7af6d6
RM
2286 * hurd/hurd/signal.h: Update _hurdsig_init decl.
2287 * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
2288 INTARRAYSIZE, pass them down to _hurdsig_init.
2289 * hurd/hurd.h: Update _hurd_proc_init decl.
2290
74eee886
UD
22911998-11-10 Ulrich Drepper <drepper@cygnus.com>
2292
2293 * math/cabs.c: Replace complex by _Complex.
2294 * math/cabsf.c: Likewise.
2295 * math/cabsl.c: Likewise.
2296 * math/cimag.c: Likewise.
2297 * math/cimagf.c: Likewise.
2298 * math/cimagl.c: Likewise.
2299 * math/conj.c: Likewise.
2300 * math/conjf.c: Likewise.
2301 * math/conjl.c: Likewise.
2302 * math/creal.c: Likewise.
2303 * math/crealf.c: Likewise.
2304 * math/creall.c: Likewise.
2305
2306 * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if
2307 included from math.h and __USE_ISOC9X is defined.
2308 * sysdeps/generic/bits/mathdef.h: Likewise.
2309 * sysdeps/generic/i386/fpu/mathdef.h: Likewise.
2310 * sysdeps/generic/m68k/fpu/mathdef.h: Likewise.
2311 * sysdeps/generic/powerpc/bits/mathdef.h: Likewise.
2312 * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise.
2313
23141998-11-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2315
2316 * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by
2317 <complex.h>.
2318 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
2319 * sysdeps/generic/bits/mathdef.h: Likewise.
2320 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2321 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2322 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
2323
23241998-11-09 Ulrich Drepper <drepper@cygnus.com>
2325
2326 * extra-lib.mk: Fix typo in last change.
1792d4db
UD
2327
2328 * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH
2329 is needed.
2330 Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined.
2331 Don't define `complex' but instead `_Complex'. The later is the
2332 reserved keyword.
2333 * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex,
2334 not complex.
2335
23361998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2337
2338 * manual/libc.texinfo: Remove colon from category name.
2339 * manual/Makefile (dir-add.info): Likewise.
2340
23411998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2342
2343 * configure.in: Avoid autoconf bug.
2344
23451998-10-28 H.J. Lu <hjl@gnu.org>
2346
2347 * posix/getopt.h: Add "__" to arguments in prototypes.
2348
23491998-11-05 H.J. Lu <hjl@gnu.org>
2350
2351 * libio/iofgets.c (_IO_fgets): Don't report error
2352 if something was read in and errno is set to
2353 EAGAIN.
2354 * libio/iofgets_u.c (fgets_unlocked): Likewise.
2355
23561998-11-05 Philip Blundell <philb@gnu.org>
2357
2358 * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
2359 header; it defines too much. Provide a local definition of struct
2360 sockaddr_pkt and a comment advising against its use.
2361
23621998-11-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2363
2364 * extra-lib.mk: Avoid empty include list.
2365
23661998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2367
2368 * extra-lib.mk: Add support for $(lib)-shared-only-routines.
2369
2370 * elf/Makefile (libdl-routines): Add dlopenold only if doing
2371 versioning.
2372 (libdl-shared-only-routines): New variable.
2373
23741998-11-06 Paul Eggert <eggert@twinsun.com>
2375
2376 Don't invoke localtime_r or gmtime_r unless it's the GNU C
2377 library's localtime_r and gmtime_r; there are too many buggy
2378 implementations of localtime_r and gmtime_r out there, and
2379 it's not worth keeping track of all the different bugs.
2380
2381 * time/mktime.c (__EXTENSIONS__): Remove.
2382 (<unistd.h>): No need to include.
05f732b3
UD
2383 * time/strftime.c: Likewise.
2384
2385 * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R):
1792d4db
UD
2386 Remove.
2387 (my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
2388 Base it on localtime unless _LIBC.
2389
2390 * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
2391 all uses changed.
2392 (my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
2393 Base them on localtime/gmtime if not _LIBC.
05f732b3
UD
2394
23951998-11-07 Ulrich Drepper <drepper@cygnus.com>
2396
2397 * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid
2398 file descriptor. This makes this function actually usable.
2399 Proposed by Mark Kettenis <kettenis@phys.uva.nl>.
2400
9a821cf9
UD
24011998-11-05 Ulrich Drepper <drepper@cygnus.com>
2402
d76bd17f
UD
2403 * math/math.h: Unconditionally include bits/mathdef.h. Declare
2404 long double functions only if __NO_LONG_DOUBLE_MATH is not
2405 defined.
2406 * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X.
2407 Define __NO_LONG_DOUBLE_MATH.
2408 * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X.
2409 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2410
9a821cf9
UD
2411 * elf/rtld.c: Add a few __builtin_expects where they will improve
2412 a lot.
2413
c0016081
UD
24141998-11-05 Ulrich Drepper <drepper@cygnus.com>
2415
fe959e1e
UD
2416 * version.h (VERSION): Bump to 2.0.100.
2417
c0016081
UD
2418 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.
2419
2420 * sysdeps/libm-i387/s_fma.S: Optimize a bit.
2421 * sysdeps/libm-i387/s_fmaf.S: Likewise.
2422
9a821cf9
UD
24231998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2424
2425 * libio/genops.c (_IO_least_marker): Add additional parameter
2426 end_p replacing fp->_IO_read_end.
2427 (save_for_backup): Likewise. All callers changed. Use _IO_size_t
2428 and _IO_ssize_t instead of int.
2429 (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr.
2430 (_IO_switch_to_backup_area): Likewise. Fix comments.
2431 (_IO_seekmark): Undo last change.
2432 (_IO_default_pbackfail): Correct use of backup area.
2433 * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr.
2434
c0016081
UD
24351998-11-04 19:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
2436
2437 * configure.in: Search for install-info and substitute it.
2438 Determine whether install-info is the buggy Debian version
2439 that doesn't understand INFO-DIR-SECTION.
2440 * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
2441 to be substituted.
2442 * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
2443 install-info the --section argument it needs to work properly.
2444 (dir-add.texinfo): Delete target.
2445 (dir-add.info): Generate this directly. Sort entries. Put a
2446 colon at the end of the INFO-DIR-SECTION line.
2447 * manual/libc.texinfo: Put a colon at the end of the
2448 @dircategory line.
2449
24501998-11-05 Paul Eggert <eggert@twinsun.com>
2451
2452 * time/mktime.c (__mktime_internal): Adopt the traditional (and
2453 problematic) notion of what to do when tm_isdst doesn't match.
2454
24551998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2456
2457 * posix/PTESTS: Fix spelling.
2458
ff8ac383
UD
24591998-11-04 Ulrich Drepper <drepper@cygnus.com>
2460
2461 * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
2462 functions. Reduce error in computing normalized value by multiplying
2463 factor in loop and compute result in one step.
a92599ea
UD
2464 Reported by Christian Gafton.
2465
2466 * sysdeps/libm-i387/e_hypot.S: New file.
2467 * sysdeps/libm-i387/e_hypotf.S: New file.
ff8ac383 2468
c0016081
UD
24691998-11-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2470
2471 * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.
2472
24731998-11-03 H.J. Lu <hjl@gnu.org>
2474
2475 * libio/fileops.c (new_do_write): New function.
2476 (_IO_new_do_write): Call new_do_write.
2477 (_IO_new_file_xsputn): Likewise.
2478
2479 * libio/oldfileops.c (old_do_write): New function.
2480 (_IO_old_do_write): Call old_do_write.
2481 (_IO_old_file_xsputn): Likewise.
2482
3ddfec55
UD
24831998-11-04 Ulrich Drepper <drepper@cygnus.com>
2484
98b567ff
UD
2485 * time/mktime.c (__mktime_internal): Correct last change. We must
2486 stop searching for the right isdst value before stepping to the
2487 initial value.
2488
3ddfec55
UD
2489 * malloc/malloc.c: Make sure calloc really returned zeroed memory.
2490 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
2491
f540c0a4
UD
24921998-11-02 16:12 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
2493
2494 * sysdeps/generic/bits/signum.h: Define signals with their
2495 historical numbers when those are in the 1-15 range and
2496 consistent across platforms.
2497 Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
2498 Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
2499 appropriately instead of with fake function declarations
2500 (would cause link errors).
2501 If __USE_UNIX98, define SIG_HOLD.
2502
25031998-10-29 H.J. Lu <hjl@gnu.org>
2504
2505 * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
2506 union only if __USE_POSIX199309 is defined.
2507
2508 * misc/sys/select.h (pselect): Declared only if __USE_GNU is
2509 defined.
2510
5fea58fb
UD
25111998-11-03 Ulrich Drepper <drepper@cygnus.com>
2512
2513 * time/mktime.c (__mktime_internal): Handle broken down times
2514 around the time of the DST switches more correctly.
2515
e254df14
UD
25161998-11-02 Ulrich Drepper <drepper@cygnus.com>
2517
2518 * elf/Makefile (libdl-routines): Add dlopenold.
2519 * elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
2520 * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
2521 is set and bounce otherwise.
2522 * elf/dlopen.c: Rename function to __dlopen_check and make version
2523 named dlopen.
2524 * elf/dlopenold.c: New file.
2525
e3e35cfc
UD
25261998-11-02 Ulrich Drepper <drepper@cygnus.com>
2527
2528 * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
2529 * elf/dl-open.c (_dl_global_scope_alloc): Move definition to
2530 * elf/dl-deps.c: ...here.
2531 * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
2532 new parameter and expect result. Remove code handling RTLD_GLOBAL.
2533 Add return value of _dl_map_object_deps to
2534 _dl_main_searchlist->r_nlist.
2535 * elf/dl-deps.c (_dl_map_object_deps): Change to return value.
2536 If we parameter GLOBAL is nonzero add object and dependencies to
2537 the global scope.
2538 * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
2539 * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
2540 Mark all objects as in global scope.
2541 * elf/dl-object.c (_dl_new_object): Initialize l_global to zero.
2542
2543 * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.
2544
2545 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
2546 used in macro magic.
2547
5fea58fb
UD
25481998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2549
f540c0a4
UD
2550 * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
2551 before <sys/socket.h> to make sockaddr_at available to
2552 <sys/socket.h>.
e3e35cfc
UD
2553
2554 * posix/glob.h: Remove __P from parameter lists of declarations.
5fea58fb
UD
2555
25561998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2557
2558 * time/tzset.c (tz_compute): Remove unused parameter timer.
2559 Change caller.
2560
25611998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
2562
2563 * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
2564
160698e2
UD
25651998-11-02 Ulrich Drepper <drepper@cygnus.com>
2566
2567 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
2568 unnecessary test and add cast.
2569
25701998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2571
2572 * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.
2573
2574 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
2575 parameter fd.
2576 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2577
25781998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
2579
2580 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
2581 fds_bits member.
2582 (__FDMASK): Use __fd_mask instead of unsigned long int in cast.
2583
25841998-10-31 Richard Henderson <rth@cygnus.com>
2585
2586 * math/Makefile (gmp-objs): Add udiv_qrnnd.
2587
2588 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
2589 (inline_syscall*): New.
2590 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
2591 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.
2592
256705f4
UD
25931998-10-31 Ulrich Drepper <drepper@cygnus.com>
2594
2595 * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
2596 avoid ld test generating an unwanted file.
2597
c55be36d
UD
2598 * posix/PTESTS: Remove comment about incorrect test (it is correct).
2599
160698e2
UD
26001998-10-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2601
2602 * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
2603 * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
2604 * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
2605 * sunrpc/rpc/xdr.h: Add INT32 support.
a1129917 2606 * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
160698e2
UD
2607
2608 * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
2609 * nis/nis_callback.c: Likewise.
2610 * nis/nis_creategroup.c: Likewise.
2611 * nis/nis_defaults.c: Likewise.
2612 * nis/nis_intern.h: Likewise.
2613 * nis/nis_lookup.c: Likewise.
2614 * nis/nis_ping.c: Likewise.
2615 * nis/nis_print.c: Likewise.
2616 * nis/nis_table.c: Likewise.
2617 * nis/nis_util.c: Likewise.
2618 * nis/nis_xdr.c: Likewise.
2619 * nis/rpcsvc/nis.h: Likewise.
2620 * nis/rpcsvc/nis.x: Likewise.
2621 * nis/rpcsvc/nis_callback.h: Likewise.
2622 * nis/rpcsvc/nis_object.x: Likewise.
2623 * nis/rpcsvc/nislib.h: Likewise.
2624
2625 * nis/rpcsvc/yp.h: Remove casts to (u_long).
2626 * nis/rpcsvc/yp_prot.h: Likewise.
2627 * nis/rpcsvc/ypupd.h: Likewise.
2628 * nis/ypclnt.c: Change %ld to %d in sprintf.
2629
26301998-10-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2631
2632 * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
2633
26341998-10-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2635
2636 * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
2637 0, __fd_mask is usually not a char.
2638
26391998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2640
2641 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
2642 compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
2643 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
2644 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2645 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
2646 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
2647 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2648 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2649
2650 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
2651 compiling on systems without rt_sigaction syscall.
2652 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
2653 Likewise.
2654
26551998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2656
2657 * time/strptime.c (HERE_D_FMT): Fix typo.
2658 Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
2659
a3b2008a
UD
26601998-10-30 Ulrich Drepper <drepper@cygnus.com>
2661
646fffb9
UD
2662 * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
2663 (generate): Add test1.cat and test1.h.
2664 (distribute): Add test1.msg.
655b26bb 2665 * catgets/test1.msg: New file.
646fffb9 2666
a3b2008a
UD
2667 * catgets/gencat.c: Do a better job in initializing dynamic
2668 memory [PR libc/844].
2669
00995ca9
UD
26701998-10-30 18:11 Ulrich Drepper <drepper@cygnus.com>
2671
2672 * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
2673 internal_function since it is called through a pointer.
2674 * iconv/gconv_db.c (free_derivation): Likewise.
2675 * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
2676
2677 * posix/wordexp.c: Add internal_function to parse_backtick definition.
2678 * rt/aio_misc.c: Add internal_function to __aio_free_request,
2679 __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
2680 definitions.
2681 * rt/aio_notify.c: Add internal_function to __aio_notify_only and
2682 __aio_notify definitions.
2683 * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
2684
e980ca92
UD
26851998-10-30 Ulrich Drepper <drepper@cygnus.com>
2686
2687 * Makerules (build-shlib): Add -O to generate optimized shared
2688 objects.
2689
0e19d4a3
UD
26901998-10-30 11:15 Ulrich Drepper <drepper@cygnus.com>
2691
2692 * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
2693 * sysdeps/libm-i387/e_fmodf.S: Likewise.
2694 * sysdeps/libm-i387/e_fmodl.S: Likewise.
2695 * sysdeps/libm-i387/s_ilogb.S: Likewise.
2696 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
2697 * sysdeps/libm-i387/s_logb.S: Likewise.
2698 * sysdeps/libm-i387/s_logbf.S: Likewise.
2699 * sysdeps/libm-i387/s_remquo.S: Likewise.
2700 * sysdeps/libm-i387/s_remquof.S: Likewise.
2701 * sysdeps/libm-i387/s_remquol.S: Likewise.
2702 * sysdeps/libm-i387/s_significand.S: Likewise.
2703 * sysdeps/libm-i387/s_significandf.S: Likewise.
2704
27051998-10-30 Geoff Keating <geoffk@ozemail.com.au>
2706
2707 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
2708 _llseek.
2709
27101998-10-30 Geoff Keating <geoffk@ozemail.com.au>
2711
2712 * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
2713
c5e340c7
UD
27141998-10-29 Ulrich Drepper <drepper@cygnus.com>
2715
b0882748
UD
2716 * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
2717 returns without cleaning up the lock.
d8334b9a 2718 (printf_unknown): Add label all_done.
b0882748 2719
7dc7f7b2
UD
2720 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
2721 kernels in mind when reading /proc/self/fd/FD.
2722 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2723
67a96999
UD
2724 * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
2725
d5cabaa4
UD
2726 * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
2727 _fitoa.
2728
c5e340c7
UD
2729 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
2730 /prof/self/fd/FD first.
2731 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
2732
2733 * stdio-common/_itoa.h (_fitoa_word): New inline function. Write
2734 formatted number starting at given position and return pointer to
2735 following byte.
2736 (_fitoa): Likewise, for long long.
2737
cf3a0eca
RM
27381998-10-29 Roland McGrath <roland@baalperazim.frob.com>
2739
2740 * sysdeps/unix/sysv/linux/bits/sem.h,
2741 sysdeps/unix/sysv/linux/bits/ipc.h,
2742 sysdeps/unix/sysv/linux/bits/shm.h,
2743 sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
2744 * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
2745 sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
2746 so the same bits will be used for the Hurd.
2747
f3c1143b
UD
27481998-10-29 Ulrich Drepper <drepper@cygnus.com>
2749
2750 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
2751 compiling on systems without rt_sigaction syscall.
2752
27531998-10-12 Philip Blundell <pb@nexus.co.uk>
2754
2755 * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
2756 directories as well as add them.
2757
27581998-10-28 Philip Blundell <pb@nexus.co.uk>
2759
2760 * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
2761 AF_ECONET sockets as found in recent Linux 2.1 kernels.
2762 * sysdeps/unix/sysv/linux/Dist: Distribute it.
2763 * sysdeps/unix/sysv/linux/Makefile: Install it.
2764
27651998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2766
2767 * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
2768
27691998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2770
2771 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
2772 fds_bits member.
2773 * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
2774 * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
2775 * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
2776 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
2777 Likewise.
2778 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
2779 Likewise.
2780 * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
2781 __FD_ISSET): Use it.
2782 * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
2783 __FD_ISSET): Likewise.
6e2cc2c1 2784
91cc83ff
UD
27851998-10-28 Geoff Keating <geoffk@ozemail.com.au>
2786
2787 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
2788 llseek.
2789
c70ca1fa
UD
2790 * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
2791 Instead call the system call wrapper function using an 64bit argument.
2792 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
2793 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
2794 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2795
2898c3a5
UD
27961998-10-27 Ulrich Drepper <drepper@cygnus.com>
2797
7e986b8b
UD
2798 * signal/signal.h: Don't include <time.h> for timespec, add
2799 forward declaration.
2800
2898c3a5
UD
2801 * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
2802 of __FD_* macros which use __fds_bits.
2803 * sysdeps/generic/bits/select.h: Likewise.
2804 Reported by Matt McLean <keys@yikes.com>.
2805
c1a61edb
UD
28061998-10-27 Philip Blundell <pb@nexus.co.uk>
2807
2808 * elf/elf.h: Update ARM definitions.
2809
cc368887
UD
28101998-10-27 Ulrich Drepper <drepper@cygnus.com>
2811
2812 * signal/signal.h: Include bits/sigthread.h only for Unix98.
2813
665a657e
UD
28141998-10-26 Ulrich Drepper <drepper@cygnus.com>
2815
a8eab8b1
UD
2816 * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
2817 define __builtin_expect as a macro substituting to the first
2818 argument.
2819 * config.h.in: Define HAVE_BUILTIN_EXPECT.
2820 * configure.in: Add test for __builtin_expect.
2821
665a657e
UD
2822 * sysdeps/unix/sysv/linux/bits/types.h: Include
2823 bits/pthreadtypes.h only not for POSIX 199506.
2824 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2825 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2826 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
2827
48ab6a9e
UD
28281998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
2829
2830 * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
2831 * socket/Versions [libc, GLIBC_2.0]: ... to here.
2832
992af677
UD
28331998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2834
2835 * include/stdio.h: Included <stddef.h> for size_t.
2836
2837 * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
2838 to ...
2839 * include/stdio.h: ...here.
2840 * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
2841
0e103c6d
UD
28421998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
2843
2844 * time/Makefile (tests): Add tst-posixtz.
2845 * time/tst-posixtz.c: New file.
2846
28471998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2848
2849 * elf/rtld.c (process_envvars): Accept any non-null value of
2850 LD_BIND_NOW, as mandated by the ABI.
2851
28521998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2853
2854 * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
2855 __syscall_pread.
2856 * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
2857 __syscall_pwrite.
2858 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
2859 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2860 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2861 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2862 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
2863 duplicate entries.
2864 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
2865 s_pread64 and s_pwrite64.
2866 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
2867
28681998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2869
2870 * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
2871 * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
2872 to __syscall__llseek.
2873 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2874 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2875 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
2876 __sys_llseek.
2877
28781998-10-26 Cristian Gafton <gafton@redhat.com>
2879
2880 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
2881 and s_setfsuid.
2882
28831998-10-26 Ulrich Drepper <drepper@cygnus.com>
2884
2885 * time/tzset.c (tz_compute): Correct last patch and describe this
2886 in a comment.
2887
d499a27c
AS
28881998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2889
2890 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
2891 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
2892 rt_sigaction and rt_sigpending.
2893 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
2894 for __syscall_* functions.
2895 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
2896
c2ef7930
RM
28971998-10-26 Roland McGrath <roland@baalperazim.frob.com>
2898
2899 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
2900 _hurd_dtable_lock, _hurd_intern_fd.
2901
2902 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
2903 cthread_getspecific, cthread_setspecific, __libc_getspecific.
2904
2905 * mach/Versions: Fix typo in last change.
2906
1938c489
UD
29071998-10-25 Ulrich Drepper <drepper@cygnus.com>
2908
2909 * time/tzset.c (tz_compute): If time to switch to DST is later in
2910 the year switch back in the next year.
2911 Reported by jwitford@hutch.com.au.
c2ef7930 2912
a825f8e8
RM
29131998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
2914
2915 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
2916 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
2917 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
2918 __mach_port_allocate, __mach_port_allocate_name,
c2ef7930
RM
2919 __mach_port_insert_right __mutex_trylock, __mutex_lock,
2920 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
2921 __task_set_special_port, __task_terminate, __thread_depress_abort,
2922 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
2923 functions are not used outside libc.
a825f8e8
RM
2924
2925 * sysdeps/mach/hurd/Versions: New file.
2926 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
2927 _cthread_init_routine. These are set by the Hurd cthreads library.
2928 Add __getcwd, __mmap. If we don't add these, the weak definitions in
2929 the dynamic linker will not be replaced by the corresponding shared
2930 library routines once they are loaded.
2931
29321998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
2933
2934 * sysdeps/mach/hurd/i386/init-first.c: Only define
2935 __libc_enable_secure if PIC is not defined.
2936
29371998-10-25 Roland McGrath <roland@baalperazim.frob.com>
2938
2939 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
2940 to recurse into argp.
2941
4a582094
UD
29421998-10-25 Ulrich Drepper <drepper@cygnus.com>
2943
2944 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
2945 greater or equal than 199506L.
2946
2947 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
2948 only is __USE_XOPEN. Otherwise use __fds_bits.
2949 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2950 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2951 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
2952 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2953 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2954
29551998-10-24 H.J. Lu <hjl@gnu.org>
2956
2957 * locale/programs/charmap.c (parse_charmap): Accept tok_string
2958 for <code_set_name>.
2959
29601998-10-25 H.J. Lu <hjl@gnu.org>
2961
2962 * locale/programs/ld-ctype.c (ctype_finish): Also check
2963 <space>.
2964
29651998-10-25 Ulrich Drepper <drepper@cygnus.com>
2966
2967 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
2968
2969 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
2970 if __USE_POSIX199506 or __USE_UNIX98.
2971
29721998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2973
2974 * string/bits/string2.h: Inline strdup+friends only if
2975 __USE_MISC || __USE_GNU (prevents namespace pollution).
2976
29771998-10-24 H.J. Lu <hjl@gnu.org>
2978
2979 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
2980 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
2981 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
2982 LOCK_NB, LOCK_UN): Likewise.
2983 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
2984 LOCK_NB, LOCK_UN): Likewise.
2985 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
2986 LOCK_NB, LOCK_UN): Likewise.
2987 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
2988 LOCK_NB, LOCK_UN): Likewise.
2989
29901998-10-24 H.J. Lu <hjl@gnu.org>
2991
2992 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
2993
2994 * libio/rewind.c (rewind): Clear the error.
2995
29961998-10-24 H.J. Lu <hjl@gnu.org>
2997
2998 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
2999 "buffer".
3000
30011998-10-24 H.J. Lu <hjl@gnu.org>
3002
3003 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
3004 with __need_timeval.
3005 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
3006 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
3007
30081998-10-24 H.J. Lu <hjl@gnu.org>
3009
3010 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
3011 sigqueue): Protect with __USE_POSIX199309.
3012
30131998-10-24 H.J. Lu <hjl@gnu.org>
3014
3015 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
3016 __USE_POSIX.
3017
30181998-10-24 H.J. Lu <hjl@gnu.org>
3019
3020 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
3021 the kernel file offset.
3022 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
3023
88455219
UD
30241998-10-24 H.J. Lu <hjl@gnu.org>
3025
3026 * time/tzfile.c (__tzfile_default): Set num_types to 2.
3027
30281998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3029
3030 * rt/aio.h: Move __aio_init to...
3031 * include/aio.h: ...here.
3032
30331998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3034
3035 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
3036 definition of O_LARGEFILE.
3037
30381998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3039
3040 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
3041 as first argument to statfs.
3042
30431998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3044
3045 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
3046
30471998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3048
3049 * malloc/mtrace.c: Include <string.h> for strlen.
3050
3c068816
RM
30511998-10-24 Roland McGrath <roland@baalperazim.frob.com>
3052
184edc95
RM
3053 * sysdeps/mach/hurd/bits/environments.h: New file.
3054
3c068816
RM
3055 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
3056
3057 * mach/Versions, hurd/Versions: Add numerous symbols.
3058 Remove libmachuser and libhurduser sections, punt
3059 versioning for those libraries for now.
3060
3061 * misc/Versions: Add reboot here; it exists on all platforms.
3062 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
3063
fc40fc6c
UD
30641998-10-23 Ulrich Drepper <drepper@cygnus.com>
3065
3066 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
3067 macro.
3068 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3069 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
3070 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
3071 O_NOFOLLOW, O_DIRECT): New macros.
3072 (O_DIRECTORY): Correct definition according to official 2.1.126.
3073 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
3074 O_NOFOLLOW): New macros.
3075
b1fcf686
RM
30761998-10-24 Roland McGrath <roland@baalperazim.frob.com>
3077
d606f528
RM
3078 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
3079
b1fcf686
RM
3080 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
3081 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
3082
24f25de6
UD
30831998-10-23 Ulrich Drepper <drepper@cygnus.com>
3084
0d486134
UD
3085 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
3086 setfsuid.c, and setfsgid.c.
3087 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
3088 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
3089 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
3090
24f25de6
UD
3091 * version.h (VERSION): Bump to 2.0.99.
3092
8a6da7e6
UD
3093 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
3094 ustat definition.
3095
1e8f0e3e
UD
3096 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
3097 s_pwrite64.c.
3098
24f25de6
UD
3099 * posix/fnmath.h: Don't redefine __P when used in glibc.
3100 * posix/glob.h: Likewise.
3101
3102 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
3103 Patch by Dick Streefland <dick_streefland@tasking.com>.
3104
3105 * stdio-common/tst-ungetc.c: Add more test cases.
3106
3107 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
3108 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
3109 definitions to ...
3110 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
3111 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
3112 * sysdeps/unix/sysv/linux/pathconf.c: New file.
3113 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
3114 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
3115
31161998-10-20 Philip Blundell <pb@nexus.co.uk>
3117
3118 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
3119 <asm/ptrace.h> to define struct pt_regs.
3120 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
3121 including <asm/ptrace.h> here.
3122
3123 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
3124 C_SYMBOL_NAME macro.
3125
31261998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3127
3128 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
3129 end of enumerator list.
3130 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
3131 * posix/wordexp.h: Likewise.
3132
3133 * db/db.h: Use __PMT instead of __P in typedefs.
3134 * db/mpool.h: Likewise.
3135 * sysdeps/generic/bits/siginfo.h: Likewise.
3136 * nis/rpcsvc/ypclnt.h: Likewise.
3137
d6787ff2
UD
31381998-10-23 Ulrich Drepper <drepper@cygnus.com>
3139
3140 * libio/genops.c (_IO_seekmark): When switching to backup buffer
3141 make sure all characters from the read buffer are read after
3142 switching back to it.
3143
98393660
UD
31441998-10-22 Ulrich Drepper <drepper@cygnus.com>
3145
3146 * configure.in: Add support for Cygnus GNUPro compilers.
3147
84c8da0e
UD
31481998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3149
3150 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
3151
3152 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
3153 of __P for sa_restorer.
3154 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3155 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
3156 kernel_sigaction, old_kernel_sigaction): Likewise.
3157
ed304158
UD
31581998-10-22 Ulrich Drepper <drepper@cygnus.com>
3159
c7f5a0c7
UD
3160 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
3161 and __syscall_pwrite aliases.
3162
ed304158 3163 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
78e5779b
UD
3164
3165 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
3166 improve INLINE_SYSCALL using macro assembler magic.
3167
9271a050
UD
31681998-10-22 H.J. Lu <hjl@gnu.org>
3169
3170 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
3171 sanity check for n.
3172 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
3173
3174 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
3175 EINVAL if errno == ENODEV. Tested by VSX-PCT.
3176
3177 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
3178 by VSX-PCT.
3179
3180 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
3181
e595c802
UD
31821998-10-22 Philip Blundell <pb@nexus.co.uk>
3183
3184 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
3185 __ASSEMBLER__.
3186
7bb38c70
UD
31871998-10-21 Ulrich Drepper <drepper@cygnus.com>
3188
3189 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
3190 and adjust formats.
3191
0dee6738
UD
31921998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
3193
3194 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
3195 __syscall_* function.
3196 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
3197 of calling __syscall_* function.
3198 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
3199 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
3200 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3201 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3202 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
3203 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
3204 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
3205 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
3206 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3207 * sysdeps/unix/sysv/linux/poll.c: Likewise.
3208 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3209 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3210 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
3211 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3212 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3213 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3214 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
3215 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3216 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
3217 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3218 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3219 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
3220 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3221 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
3222 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3223 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3224 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
3225 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
3226 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3227 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
3228 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
3229 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3230 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3231 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
adcb550c 3232 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
0dee6738
UD
3233 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3234 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3235 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
3236 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3237 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3238 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3239 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
3240
3241 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
3242 inline assembler.
3243 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
3244 __syscall_* definitions.
3245
3246 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
3247 definitions to...
3248 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
3249 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
3250 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
3251 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
3252 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
3253 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
3254 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
3255
adcb550c
UD
3256 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
3257 Move definition to...
3258 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
3259 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
3260 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
3261 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
3262 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
3263 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
3264 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
3265
0dee6738
UD
3266 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
3267 (sysdep_routines): Remove s_pread64 and s_pwrite64.
3268
3269 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
3270 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
3271 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
3272 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
3273 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
3274 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
3275
32761998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3277
3278 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
3279 and bring them in synch.
3280 * sysdeps/unix/siglist.c: Likewise.
3281 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
3282
32831998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3284
3285 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
3286 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3287
3288 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
3289 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
3290 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
3291 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
3292 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
3293 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
3294 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
3295 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
3296 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
3297 s_setregid.
3298 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
3299 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3300 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3301
33021998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3303
3304 * sunrpc/rpc_main.c (close_output, close_input): New functions.
3305 (c_output, h_output, s_output, l_output, t_output, svc_output,
3306 clnt_output, mkfile_output): Call them at the end.
3307
33081998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3309
3310 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
3311 link command.
3312
39f0e778
AS
33131998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3314
3315 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
3316 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
3317
d523c981
UD
33181998-10-20 Ulrich Drepper <drepper@cygnus.com>
3319
3320 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
3321 s_pwrite64.
3322 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
3323 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
3324 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
3325 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
3326 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
3327
0dee6738
UD
33281998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
3329
3330 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
3331 O_DIRECTORY.
3332
33331998-10-20 H.J. Lu <hjl@gnu.org>
3334
3335 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
3336 argument types.
3337
4bd8be48
UD
33381998-10-19 Ulrich Drepper <drepper@cygnus.com>
3339
48244d09
UD
3340 * math/tgmath.h: Make nested function calls work.
3341
10411f2d
UD
3342 * include/ldsodefs.h: Fix typo.
3343
a9b171ef
UD
3344 * posix/Makefile (tests): Add tst-preadwrite.
3345 * posix/tst-preadwrite.c: New file.
3346
4bd8be48
UD
3347 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
3348 sure that descriptor is in any case for a directory.
3349
cfb32a6c
UD
33501998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3351
3352 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
3353 (atan2): Takes two arguments.
3354
ce85d65b
UD
33551998-10-19 Ulrich Drepper <drepper@cygnus.com>
3356
3357 * include/ldsodefs.h: New file.
3358
3359 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
3360 Remove change to avoid using _CALL_DL_FCT.
3361 * iconv/gconv_db.c: Likewise.
3362 * iconv/gconv_dl.c: Likewise.
3363 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
3364 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
3365 * nss/nsswitch.c: Likewise.
3366 * nss/nsswitch.h: Likewise.
3367
33681998-10-19 Philip Blundell <pb@nexus.co.uk>
3369
3370 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
3371 required libraries.
3372 * login/Makefile (otherlibs): Likewise.
3373 * nscd/Makefile (otherlibs): Likewise.
3374 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
3375
3376 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
3377
3378 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
3379
33801998-10-19 Philip Blundell <pb@nexus.co.uk>
3381
3382 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
3383 and setfsuid.
3384
33851998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3386
3387 * nscd/connections.c: Fix typos in comments and strings.
3388
3389 * nscd/nscd.conf: Update according to recent changes to nscd.
3390
3391 * nscd/cache.c (prune_cache): Remove wrong comment.
3392
816e6eb5
UD
33931998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
3394
3395 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
3396 category in copy_posix.
3397 (collate_finish): Don't warn about UNDEFINED not being defined.
3398 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
3399 category in copy_posix.
3400 * locale/programs/ld-messages.c (messages_startup): Likewise.
3401 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
3402 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
3403 * locale/programs/ld-time.c (time_startup): Likewise.
3404 * locale/programs/localedef.c: Move copy_def_list_t definition into
3405 locales.h. Define copy_posix variable.
3406 (main): Before processing copy list add &copy_posix to copy_list.
3407 * locale/programs/locales.h: Add definition of copy_def_list_t.
3408 * locale/programs/locfile.c: Clear bit for appropriate category in
ce85d65b 3409 copy_posix.mask for copy instruction.
816e6eb5 3410
685c1676
UD
34111998-10-19 Ulrich Drepper <drepper@cygnus.com>
3412
3413 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
3414 non-existing file with generic implementation.
3415 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3416
34171998-10-19 Philip Blundell <pb@nexus.co.uk>
3418
3419 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
3420 defined. Avoid using _CALL_DL_FCT if it is not defined.
3421 * iconv/gconv.c: Likewise.
3422
9bbe7c3b
UD
34231998-10-19 Ulrich Drepper <drepper@cygnus.com>
3424
34489d95
UD
3425 * nscd/connections.c (dbs): Define defualt values for timeouts and
3426 set enabled to 0 by default.
3427 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
3428 nscd_run.
3429
9bbe7c3b
UD
3430 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
3431 character >= 0x80.
3432 (_nl_C_LC_CTYPE_class32): Likewise.
3433 Reported by HJ Lu.
3434
7d25696a
RM
34351998-10-19 Roland McGrath <roland@baalperazim.frob.com>
3436
3437 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3438 _HURD_THREADVAR_DL_ERROR.
3439
3440 * hurd/Makefile (user-interfaces): Add login, password.
3441
3442 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
3443
37eb58de
RM
34441998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
3445
3446 [submitted 1998-08-06]
3447 * mach/Machrules: Create target directory and force re-evaluation
3448 of Makefile to prevent `make' from optimizing away most of the
3449 implicit rules and `vpath' directives.
3450
7434cee2
RM
34511998-10-19 Roland McGrath <roland@baalperazim.frob.com>
3452
37eb58de
RM
3453 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
3454 is null, short-circuit to __mach_msg.
3455
a13d5ca5
RM
3456 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
3457 broken out of init1.
3458 (init1) [PIC]: Call it.
3459 (__libc_init_first) [! PIC]: Call it.
3460
7434cee2
RM
3461 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
3462 __libc_init_secure. Instead set __libc_enable_secure here from
3463 the exec flags.
3464 (__libc_enable_secure): New variable it.
3465 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
3466
3f804c95
RM
34671998-10-19 Roland McGrath <roland@baalperazim.frob.com>
3468
3469 * nscd/nscd-client.h: New file, broken out of "nscd.h".
3470 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
3471 and #include that.
3472 * nscd/Makefile (distribute): Add nscd-client.h.
3473 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
3474 Include "nscd-client.h" instead of "nscd.h"
3475
67479a70
UD
34761998-10-18 Ulrich Drepper <drepper@cygnus.com>
3477
74f7e7c0
UD
3478 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
3479 directory entries when a lstat call fails.
3480 Patch by Colin Plumb <colin@nyx.net>.
3481
67479a70
UD
3482 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
3483 NSS functions.
3484 * resolv/nss_dns/dns-network.c: Likewise.
3485
9bbe7c3b 3486 * grp/Makefile: Don't search for linuxthreads in add-ons, use
67479a70
UD
3487 have-thread-library to determine whether threads are available.
3488 * pwd/Makefile: Remove wrong comment.
3489
3490 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
3491 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
3492
3493 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
3494
3495 * nss/Versions: Add __nss_hosts_lookup.
3496
3497 * nss/getXXbyYY.c: Remove unneeded assignment.
3498
3499 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
3500
3501 Almost complete rewrite of the NSCD to make it smaller, faster,
3502 add more functionnality and make it easier to extend.
3503 * nscd/Makfile (routines): Add nscd_gethst_r.
3504 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
3505 * nscd/cache.c: New file.
3506 * nscd/gethstbyad_r.c: New file.
3507 * nscd/gethstbynm2_r.c: New file.
3508 * nscd/hstcache.c: New file.
3509 * nscd/nscd_gethst_r.c: New file.
3510 * nscd/connections.c: Rewritten. Don't start new thread for every
3511 new connection. Use a fixed set of threads which handle all
3512 connections and also the cache cleanup.
3513 * nscd/grpcache.c: Rewritten to use generic cache handling functions
3514 in cache.c.
3515 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
3516 for rewrite. Remove handle_requests function.
3517 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
3518 Define new data structure for the new unified cache and the host
3519 database entries.
3520 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
3521 databases easily. Recognize check-files and threads definitions.
3522 * nscd/nscd.conf: Add definition of enable-cache and check-files to
3523 passwd and group definitions. Add new set of definitions for hosts.
3524 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
3525 * nscd/nscd_getpw_r.c: Likewise.
3526 * nscd/nscd_proto.h: Add prototype for host database functions.
3527 * nscd/nscd_stat.c: Rewrite to simplify printing of information
3528 for many databases.
3529 * nscd/dbg_log.c: Remove unnecessary variable initializations.
3530 Global variable debug_flag is renamed to dbg_level.
3531 * nscd/dbg_log.h: Declare set_logfile.
3532
6cde0c60
UD
35331998-10-16 Ulrich Drepper <drepper@cygnus.com>
3534
3535 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
3536 O_LARGEFILE back.
3537
c7a9f249
UD
35381998-10-16 Paul Eggert <eggert@shade.twinsun.com>
3539
3540 * time/mktime.c: Some systems require <unistd.h> to be
3541 included before <time.h> for localtime_r to be declared
3542 properly.
3543 * time/strftime.c: Likewise.
3544
9ffbb612
UD
35451998-10-16 Ulrich Drepper <drepper@cygnus.com>
3546
0049f576
UD
3547 * db/Makefile: Add rule to generate shared object with the soname
3548 from glibc 2.0.
3549
9ffbb612
UD
3550 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
3551 available double check to verify it's a directory.
3552
3553 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
3554 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
3555 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
3556 are not generally available.
3557 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
3558
3559 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
3560 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
3561 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
3562 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
3563 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
3564 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
3565 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
3566 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
3567 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
3568 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
3569 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
3570 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
3571 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
3572 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
3573 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
3574 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
3575 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
3576 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
3577 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
3578 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
3579 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
3580 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
3581 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
3582 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
3583 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
3584 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
3585 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
3586 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
3587 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
3588 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
3589 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
3590 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
3591 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
3592 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
3593 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
3594 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
3595 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
3596 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
3597
3598 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
3599 s_setresgid, and s_setuid.
3600 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3601 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
3602 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3603 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
3604 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
3605 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3606 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
3607
39e4f7f8
UD
36081998-10-16 Ulrich Drepper <drepper@cygnus.com>
3609
3610 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
3611 localtime_t declaration on some systems.
3612
c66dbe00
UD
36131998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
3614
3615 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
3616 -DSTATIC_GCONV.
9ffbb612 3617 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
c66dbe00
UD
3618 defined. Avoid using DL_CLL_FCT if it is not defined.
3619
36201998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3621
3622 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
3623 Include endian.h unconditionally. Remove portability goop
3624 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
3625
36261998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3627
3628 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
3629
909927d2
UD
36301998-10-15 Ulrich Drepper <drepper@cygnus.com>
3631
3632 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
3633 again. Use char[44] to define size of the struct.
3634
a9e73d40
UD
3635 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
3636
fcab9698 36371998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 3638
fcab9698
UD
3639 * string/bits/string2.h (strcmp): Don't cache the result of
3640 __builtin_constant_p in variables, otherwise constant folding
3641 can fail in big functions.
c66dbe00 3642
fcab9698 36431998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 3644
fcab9698
UD
3645 * string/bits/string2.h: Add prototypes for the new inline
3646 functions.
c66dbe00 3647
7edb4c25
UD
36481998-10-15 Ulrich Drepper <drepper@cygnus.com>
3649
3650 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
3651 have all types defined.
3652 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
3653
fcab9698 36541998-10-08 Paul Eggert <eggert@twinsun.com>
8d5166fb 3655
fcab9698
UD
3656 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
3657 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
3658 a body that merely expands localtime_r; this works around a
3659 bug in Digital Unix 4.0A and 4.0D.
8d5166fb
UD
3660
36611998-10-14 Ulrich Drepper <drepper@cygnus.com>
3662
3663 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
3664 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
3665 __ioctl to __syscall_ioctl and include Linux version of this file.
3666 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
3667 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
3668 ioctl calls which handle struct termios.
3669 Based on a patch by Dan Jacobowitz <drow@false.org>.
3670
8583916e
UD
36711998-10-14 Ulrich Drepper <drepper@cygnus.com>
3672
3673 * version.h (VERSION): Bump to 2.0.98.
3674
6f100d04
UD
3675 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
3676 here instead of including kernel_termios.h.
3677
fcab9698 36781998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
c66dbe00 3679
fcab9698
UD
3680 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
3681 unnecessary after the changes of 1998-10-12.
c66dbe00 3682
99e46354
UD
36831998-10-13 Ulrich Drepper <drepper@cygnus.com>
3684
6c5a700e
UD
3685 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
3686 parameter format string.
3687 (inline_outw): Likewise.
3688
99e46354
UD
3689 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
3690 string.h to get memcpy prototype and NULL definition.
3691
36921998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3693
3694 * misc/sys/cdefs.h (__THROW): New macro.
3695 * argp/argp.h: Use it to replace the kludgey __P in inline
3696 function definitions.
3697 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3698 * stdlib/stdlib.h: Likewise.
3699 * wcsmbs/wchar.h: Likewise.
3700 * libio/stdio.h: Likewise.
3701 * stdio/stdio.h: Likewise.
3702 * sysdeps/wordsize-64/inttypes.h: Likewise.
3703 * sysdeps/wordsize-32/inttypes.h: Likewise.
3704 * string/argz.h: Likewise.
3705 * io/sys/stat.h: Likewise.
3706
37071998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3708
3709 * Rules (stdio_lim): New variable.
3710 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
3711 on Rules and config.make, use $(move-if-change) to avoid unnessary
3712 recompilations, and cleanup command.
3713 (common-generated): Add bits/stdio_lim.st.
3714
1622fda9
UD
37151998-10-12 Ulrich Drepper <drepper@cygnus.com>
3716
3717 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
3718 variable to prevent warnings from use of modern CPU instructions.
3719 Patch by Richard Henderson <rth@cygnus.com>.
3720
3721 * sysdeps/unix/opendir.c: Test whether NAME is directory before
3722 opening it.
3723
37241998-10-12 Philip Blundell <pb@nexus.co.uk>
3725
3726 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
3727 semicolon so that profiling works.
3728
4875f665
RM
37291998-10-12 Roland McGrath <roland@baalperazim.frob.com>
3730
3731 * sysdeps/generic/glob.c: #undef mempcpy before #define.
3732
3733 * sysdeps/unix/bsd/clock.c: Use prototype defns.
3734
431f91ba
UD
37351998-10-11 Ulrich Drepper <drepper@cygnus.com>
3736
3737 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
3738 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
3739
3740 * string/bits/string2.h [!_STRING_ARCH_unaligned]
3741 (__mempcpy_small): Add parameter for 1 byte copy and use it.
3742 Reported by Geoff Keating <geoffk@ozemail.com.au>.
3743
027acb51
UD
37441998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
3745
3746 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
3747 it is already defined in <bits/environments.h>.
3748
9a29bc37
UD
37491998-10-09 Ulrich Drepper <drepper@cygnus.com>
3750
3751 * posix/ptestcases.h: Fix typo.
3752
37531998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3754
3755 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
3756 (regexec): Allocate regs.start and regs.end as one block.
3757
37581998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3759
3760 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
3761 enum decl.
3762
37631998-10-08 Philip Blundell <pb@nexus.co.uk>
3764
3765 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
3766 sigcontext union to ...
3767 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
3768 file.
3769 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
3770 version 2.0 kernels.
3771
9ea350a4
UD
37721998-10-08 Ulrich Drepper <drepper@cygnus.com>
3773
8261bc4b
UD
3774 * malloc/mtrace.c (tr_reallochook): Produce better output for real
3775 reallocation case.
3776
16e866fa 3777 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
ea1dfb4a 3778 * argp/argp-xinl.c: Likewise.
16e866fa 3779
9ea350a4
UD
3780 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
3781 Ruffian entry back.
3782 Patch by Christian Gafton.
3783
25b3b17b
UD
37841998-10-08 Paul Eggert <eggert@twinsun.com>
3785
3786 * time/mktime.c (__mktime_internal): When the requested time falls
3787 in a spring-forward gap of size DT, return a time that is DT away
3788 from the requested time, preferring a time whose tm_isdst differs
3789 from the requested value. Bump the max number of probes from 4 to
3790 6 to account for the extra probes needed to discover a
3791 spring-forward gap in the worst case.
3792
37931998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
3794
3795 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
3796 of the weird alpha architectures.
3797 Patch by Cristian Gafton <gafton@redhat.com>.
3798
37991998-02-18 23:31 Richard Henderson <rth@cygnus.com>
3800
3801 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
3802 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
3803
604510f7
UD
38041998-10-07 Ulrich Drepper <drepper@cygnus.com>
3805
3806 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
3807 (dl_open_worker): Use realloc, not malloc to resize array.
3808 * elf/rtld.c (_dl_initial_searchlist): New variable.
3809 (_dl_main): Copy content of _dl_main_searchlist to
3810 _dl_initial_searchlist.
3811 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
3812 _dl_global_scope_alloc.
3813 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
3814 * elf/dl-close.c (_dl_close): When removing object with global
3815 scope remove allocated searchlist if no dynamically loaded object
3816 is on it anymore.
3817 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
3818 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
3819
3820 * malloc/mtrace.c (tr_where): Don't print space in location string,
3821 print it afterwards. Print better symbol name information.
3822
0163d97b
UD
38231998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3824
3825 * manual/filesys.texi (Setting Permissions): Fix example for
3826 reading umask.
3827
38281998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3829
3830 * elf/sprof.c (load_profdata): Fix typo in error message.
3831
c0de721b
AS
38321998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3833
3834 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
3835 flag.
3836
442dc326
RM
38371998-10-04 Roland McGrath <roland@baalperazim.frob.com>
3838
3839 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
3840
d53427c8
UD
38411998-10-06 Ulrich Drepper <drepper@cygnus.com>
3842
3843 * version.h (VERSION): Bump to 2.0.97.
3844
acdf1251
UD
38451998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3846
3847 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
3848 in definitions of inline stat functions so that they match the
3849 declaration.
3850 * stdlib/stdlib.h: Likewise.
3851 * wcsmbs/wchar.h: Likewise.
3852 * libio/stdio.h: Likewise.
3853 * stdio/stdio.h: Likewise.
3854 * sysdeps/wordsize-64/inttypes.h: Likewise.
3855 * sysdeps/wordsize-32/inttypes.h: Likewise.
3856 * string/argz.h: Likewise.
3857 * argp/argp.h: Likewise.
3858
3cb07217
UD
38591998-10-06 Ulrich Drepper <drepper@cygnus.com>
3860
3861 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
3862 netinet/in.h.
3863
c10bb795
UD
38641998-10-05 Philip Blundell <philb@gnu.org>
3865
3866 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
3867 and constants. Tidy up formatting a little.
3868
3869 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
3870 Move definitions to in.h.
3871
8325d82c
UD
38721998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3873
3874 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
3875 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
3876 Remove inclusion of <linux/swap.h>.
3877
38781998-10-05 Ulrich Drepper <drepper@cygnus.com>
3879
3880 * io/sys/stat.h: Use __P in definitions of inline stat functions
3881 so that they match the declaration.
3882
38831998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3884
3885 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
3886
38871998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3888
3889 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
3890 linux 2.1 version.
3891
38921998-10-02 Philip Blundell <pb@nexus.co.uk>
3893
3894 * sysdeps/arm/dl-machine.h: Fix typo in last change.
3895
3896 * sysdeps/arm/bits/huge_val.h: New file.
3897
38981998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3899
3900 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
3901
3902 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
3903 define.
3904
39051998-10-05 Ulrich Drepper <drepper@cygnus.com>
3906
3907 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
3908 store result of realloc instead of using BUF.
3909
39101998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3911
3912 * misc/sgtty.h (_SGTTY_H): Correct spelling.
3913 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
3914
39151998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3916
3917 * manual/memory.texi (Obstacks): Document
3918 obstack_alloc_failed_handler usage.
3919
3920 * malloc/obstack.h: Enhance comment about
3921 obstack_alloc_failed_handler usage.
3922 * malloc/obstack.c: Likewise.
3923
39241998-10-05 Ulrich Drepper <drepper@cygnus.com>
3925
3926 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
3927 gcc before 2.8 is used.
3928
39291998-10-01 Philip Blundell <pb@nexus.co.uk>
3930
3931 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
3932 from Scott Bambrough.
3933
3934 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
3935
3936 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
3937 include the lock member.
3938
39391998-09-03 Philip Blundell <pb@nexus.co.uk>
3940
3941 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
3942
e3e4e463
UD
39431998-10-01 Ulrich Drepper <drepper@cygnus.com>
3944
3945 * timezone/zic.c: Update from tzcode1998h.
3946 * timezone/europe: Update from tzdata1998i.
3947 * timezone/southamerica: Likewise.
3948
7782d0bf
UD
3949 * sys/types.h: Protect use of long long by __extension__.
3950 * stdlib/stdlib.h: Likewise.
3951 * string/string.h: Likewise.
3952 * sysdeps/i386/bits/byteswap.h: Likewise.
3953 * sysdeps/geeric/bits/byteswap.h: Likewise.
3954 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3955 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3956 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3957 * sysdeps/wordsize-32/inttypes.h: Likewise.
3958 * sysdeps/wordsize-32/stdint.h: Likewise.
3959 * wcsmbs/wchar.h: Likewise.
3960
8325d82c
UD
39611998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3962
3963 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
3964 expression.
3965 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
3966 __strsep): Greatly reduce size of expansion by combining common
3967 expressions.
3968 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
3969 inline function.
3970 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
3971 by the above definitions.
3972
39731998-09-27 Geoff Keating <geoffk@ozemail.com.au>
3974
3975 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
3976 correct struct ipc_perm definition.
3977
39781998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3979
3980 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
3981
999b2f6b
UD
39821998-09-29 Cristian Gafton <gafton@redhat.com>
3983
8325d82c
UD
3984 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
3985 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
999b2f6b
UD
3986 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
3987 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
3988 Add net/if_shaper.h.
3989
87052ab7
UD
39901998-09-29 Ulrich Drepper <drepper@cygnus.com>
3991
cf26217d
UD
3992 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
3993
87052ab7
UD
3994 * nis/ypclnt.c: Remove not needed close calls.
3995
6ff5bc68
UD
39961998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
3997
3998 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
3999 check a bit. Also close socket of domain client. Close socket
4000 in IPPORT_RESERVED error case.
4001
40021998-09-28 Ulrich Drepper <drepper@cygnus.com>
4003
4004 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
4005 CMSG_ALIGN (fixes a bug) and correct test for availability of
4006 another entry.
4007 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
4008 Linux version.
4009 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
4010 availability of another entry.
4011 Patch by ak@muc.de.
4012
4013 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
4014 Patch by ak@muc.de.
4015
999b2f6b
UD
4016 * libio/libio.h [!__STDC__]: Define const only if not defined.
4017
6ff5bc68
UD
40181998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4019
4020 * posix/annexc.c (xsystem): New function. Use it instead of
4021 system.
4022
40231998-09-28 Ulrich Drepper <drepper@cygnus.com>
4024
4025 * stdlib/longlong.h: Remove #endif for #if removed in last change.
4026
e07a51b5
UD
40271998-09-25 Ulrich Drepper <drepper@cygnus.com>
4028
4029 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
4030 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
4031 allow using `ut' parameter.
4032 [!emacs]: Define ut_argument, ut_argument_spec, and
4033 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
4034 argument_spec to prototypes and definitions.
4035 (my_strftime): Don't call tzset of ut != 0.
4036 Compute diff as 0 is ut != 0;
4037 [emacs]: Define new emacs_strftime function.
4038 Based on a patch by Paul Eggert.
4039
40401998-09-24 Paul Eggert <eggert@twinsun.com>
4041
4042 * time/strftime.c (my_strftime): When asking for the length of the
4043 subformatted buffer, do not limit the length to look for;
4044 otherwise, we have no reliable way to distinguish between the
4045 empty buffer and an error.
4046
390a4882
UD
40471998-09-25 Ulrich Drepper <drepper@cygnus.com>
4048
4049 * math/Makefile (gmp-objs): Add mp_clz_tab.
4050
40511998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
4052
4053 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
4054 set them.
4055 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
4056 cpus lacking hardware multiply and divide.
4057
40581998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4059
4060 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
4061 $(<F), not $(^F).
4062
40631998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4064
4065 * db/btree/bt_delete.c: Fix -Wparentheses warning.
4066
40671998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4068
4069 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
4070 $(do-install).
4071
e503270c
UD
40721998-09-24 Ulrich Drepper <drepper@cygnus.com>
4073
e07a51b5 4074 * debug/catchsegv.sh: Also produce output if clone process died.
e503270c
UD
4075
40761998-09-24 Paul Eggert <eggert@twinsun.com>
4077
390a4882 4078 * time/strftime.c (f_wkday): Remove duplicate definition.
e503270c
UD
4079 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
4080 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
4081 1998-09-11 fix to this case.
4082 (wkday_len, month_len): Remove these macros; they're no longer needed.
4083
40841998-09-24 Paul Eggert <eggert@twinsun.com>
4085
390a4882 4086 * time/strftime.c (my_strftime): Don't store past the end of a
e503270c
UD
4087 zero-sized buffer.
4088
3465c0ce
UD
40891998-09-24 Paul Eggert <eggert@twinsun.com>
4090
e503270c 4091 * time/strftime.c (underlying_strftime):
3465c0ce
UD
4092 Set the buffer to a nonzero value before calling
4093 strftime, and check to see whether strftime has set the buffer to zero.
4094 This lets us distinguish between an empty buffer and an error.
4095
40961998-09-24 Paul Eggert <eggert@shade.twinsun.com>
4097
e503270c 4098 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
3465c0ce
UD
4099 This fix is propagated from tzcode1998g.tar.gz.
4100
7a3bfc4e
UD
41011998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
4102
4103 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
4104 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
4105 sys_siglist. This is handled correctly by the weak_alias macro.
4106
369b1933
UD
41071998-09-24 Ulrich Drepper <drepper@cygnus.com>
4108
50a1b837
UD
4109 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
4110 of mempcpy. Reported by Andreas Jaeger.
4111
369b1933
UD
4112 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
4113 pollute the namespace since the compiler will resolve it inline.
4114 Reported by Florian La Roche <florian@suse.de>.
4115
2b79b6d5
UD
41161998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
4117
4118 * timezone/private.h: Update from tzcode1998g.
4119
4120 * timezone/africa: Update from tzdata1998h.
4121 * timezone/asia: Likewise.
4122 * timezone/australasia: Likewise.
4123 * timezone/europe: Likewise.
4124 * timezone/northamerica: Likewise.
4125 * timezone/southamerica: Likewise.
4126 * timezone/zone.tab: Likewise.
4127
3d42e04d
UD
41281998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
4129
4130 * misc/sys/mman.h: New file.
4131
4132 * sysdeps/generic/bits/mman.h: New file.
4133 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
4134 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
4135 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
4136 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
4137
4138 * sysdeps/generic/sys/mman.h: Removed.
4139 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
4140 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
4141 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
4142 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
4143 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
4144
4145 * include/sys/mman.h: Look directly for misc/sys/mman.h.
4146 * misc/Makefile (headers): Add bits/mman.h.
4147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4148 bits/mman.h.
4149
4150 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
4151 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
4152 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
4153 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
4154 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
4155 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
4156 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
4157 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
4158
41591998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
4160
4161 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
4162 * sysdeps/mach/alpha/thread_state.h: Likewise.
4163 * sysdeps/mach/i386/sysdep.h: Likewise.
4164 * sysdeps/mach/i386/thread_state.h: Likewise.
4165 * sysdeps/mach/mips/sysdep.h: Likewise.
4166 * sysdeps/mach/mips/thread_state.h: Likewise.
4167 * sysdeps/posix/profil.c: Likewise.
4168 * sysdeps/i386/i586/memcopy.h: Likewise.
4169 * sysdeps/mach/pagecopy.h: Likewise.
4170
a379e56a
UD
41711998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
4172
4173 * libio/stdio.h: Define __need_getopt and include getopt.h to define
4174 getopt stuff.
4175 * posix/unistd.h: Likewise.
4176 * stdio/stdio.h: Likewise.
4177 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
4178 define only getopt and the variables.
4179
34a4b66d
UD
41801998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4181
4182 * scripts/test-installation.pl (installation_problem): Don't link
4183 the test program against libdb1.
4184
24fd4cc4
UD
41851998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
4186
4187 * Makeconfig (all-subdirs): Add db.
4188 * Versions.def: Add definition for libdb1.
4189 * shlib-versions: Add definitions for libdb1.
4190 * db/Makefile (extra-libs): Replace by libdb1.
4191 (libdb-routines): Rename to libdb1-routines.
4192 (headers): Rename to db1-headers.
4193 (distribute): Add $(db1-headers).
4194 (install-others): Define to install symlink libdb.so.NN and the
4195 $(db1-headers).
a379e56a 4196 (CPPFLAGS): Add -DUSE_LIBDB1
24fd4cc4
UD
4197 Remove rules to build makedb.
4198 * db/Versions: Rename libdb to libdb1.
4199 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
af564203 4200 * db/makedb.c: Removed.
24fd4cc4
UD
4201
4202 * scripts/versions.awk: Recognize digits in library names.
4203
4204 * db/btree/bt_open.c: Fix compiler warnings.
4205 * db/btree/bt_put.c: Likewise.
4206 * db/btree/bt_split.c: Likewise.
4207 * db/hash/hash.c: Likewise.
4208 * db/hash/hash_bigkey.c: Likewise.
4209 * db/recno/rec_close.c: Likewise.
4210
af564203
UD
4211 * Makefile: Add localedata/% goal.
4212
c94a8080
UD
42131998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
4214
4215 * posix/execvp.c: Don't give up searching the PATH if execve
4216 returns ENOTDIR.
4217
42181998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
4219
4220 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
4221 if _dl_fpu_control_set is set.
4222 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
4223 * elf/rtld.c: Don't define _dl_fpu_control_set.
4224 * elf/Versions: Remove _dl_fpu_control_set.
4225
42261998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
4227
4228 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
4229 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
4230 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
4231 Correct values of other SA_* macros according to kernel headers.
4232
42331998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4234
4235 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
4236 variable l.
4237 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
4238 old.
4239
42401998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4241
4242 * elf/ldsodefs.h: Fix typo in comment.
4243
42441998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4245
4246 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
4247 char when comparing buffer contents with putback character.
4248
42491998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4250
4251 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
4252 Undo last change.
4253 * elf/Versions: Undo last change. Export _dl_fpu_control and
4254 _dl_fpu_control_set.
4255 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
4256 variables. Include <fpu_control.h>.
4257 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
4258 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
4259 to indicate that is was seen.
4260 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
4261 only if _dl_fpu_control was set and is equal to desired value.
4262 * math/Makefile (aux): Undo last change.
4263 * math/Versions: Export __fpu_control with version GLIBC_2.0.
4264
f74e8ed1
AS
42651998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4266
4267 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
4268 optimized.
4269
e7c5513d
UD
42701998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
4271
4272 * string/bits/string2.h: Add mempcpy optimization.
4273 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
4274 * intl/localealias.c: Define mempcpy only if not already defined.
4275
4276 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
4277 defined.
4278
42791998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
4280
4281 * csu/abi-note.S: Emit the note directly instead of defining
4282 a preprocessor macro that's only used once. Don't include sysdep.h.
4283 * abi-tags: Generalize Solaris entry.
4284
42851998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4286
4287 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
4288 Change to array to avoid runtime relocation.
4289 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
4290
42911998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4292
4293 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
4294 * math/Makefile ($(objpfx)libieee.a): Likewise.
4295
42961998-09-21 Ulrich Drepper <drepper@cygnus.com>
4297
4298 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
4299 Patch by John Tobey <jtobey@banta-im.com>.
4300
b0fd6165
UD
43011998-09-20 Ulrich Drepper <drepper@cygnus.com>
4302
4303 * login/Makefile (distribute): Remove pty-internal.h, add
4304 pty-private.h.
1391f5d3
UD
4305
4306 * stdlib/tst-strtol.c: Add more checks.
4307 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
4308
a0780919
UD
43091998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
4310
4311 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
4312 * elf/elf.h: Add AT_FPUCW.
4313 * elf/Makefile (dl-routines): Add fpu_control.
4314 (elide-routines.os): Add fpu_control.
4315 (rtld-routines): Add fpu_control.
4316 * math/Makefile (aux): Remove fpu_control.
4317 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
4318 (_dl_show_auxv): Likewise.
4319 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
4320 if different from OS default.
4321
4322 * stdio-common/tstscanf.c: Add test case for (nil).
4323
00bc5db0
UD
43241998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
4325
4326 * libio/fileops.c (_IO_new_file_underflow): Before allocating
4327 buffer make sure the pushback buffer is destroyed.
4328 (_IO_new_file_seekoff): Likewise.
4329 If mode==0 quit early with the result.
4330 Clear OEF flag after successful fseek.
4331 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
4332 * libio/ftello.c (ftello): Add offset from original buffer if
4333 stream has pushed back characters.
4334 * libio/ftello64.c (ftello64): Likewise.
4335 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
4336 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
4337 * libio/ioftell.c (_IO_ftell): Likewise.
4338 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
4339 and _IO_save_ptr.
4340 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
4341 (_IO_default_pbackfail): Only stored push back character in original
4342 buffer if it is the same as the one in the file at this position.
4343 * libio/iofclose.c: Free backup buffer if one is available.
4344 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
4345 mode!=0.
4346
4347 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
4348
4349 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
4350
c53a89d4
UD
4351 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
4352
00bc5db0
UD
43531998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
4354
4355 * login/programs/pt_chown.c (more_help): Correct message that
4356 describes the purpose of the program.
4357
4358 * login/openpty.c: Do not include pty-private.h.
4359 (pts_name): New function. Return name of slave pseudo terminal in
4360 an allocated buffer if necessary.
4361 (openpty): Use pts_name to get name of the slave end of the pseudo
4362 terminal pair.
4363
4364 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
4365 pts_name before return.
4366
43671998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
4368
4369 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
4370
88263bc9
UD
43711998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4372
4373 * login/openpty.c: Include pty-private.h instead of
4374 pty-internal.h.
4375
872ea854
UD
43761998-09-09 Philip Blundell <pb@nexus.co.uk>
4377
4378 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
4379
43801998-09-07 Philip Blundell <pb@nexus.co.uk>
4381
4382 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
4383 recent ld.so changes.
4384 (elf_machine_runtime_setup): Correct behaviour when profiling.
4385
9b3c7c3c
UD
43861998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
4387
4388 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
4389 Patch by John Tobey <jtobey@banta-im.com>.
4390
43911998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
4392
4393 * login/pty-internal.h: Removed. Moved constants related to the
4394 `grantpt' helper program protocol to ...
4395 * login/pty-private.h: ... here. New file.
4396 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
4397 to make the function work with kernels >= 2.1.115.
4398 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
4399 version if using the cloning device fails.
4400 * sysdeps/unix/sysv/linux/grantpt.c: New file.
4401 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
4402 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
4403 use by Linux specific code.
4404 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
4405 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
4406 function. (grantpt): Use pts_name, check group and permission
4407 mode in addition to owner. Try to set the owner, group and
4408 permission mode first without invoking the helper program.
4409 * login/programs/pt_chown.c: Largely rewritten. Add argp and
4410 internationalization support. Use symbolic constants instead of
4411 hardwired numbers for permission mode.
4412 * sysdeps/unix/bsd/ptsname.c: New file.
4413
44141998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
4415
4416 * posix/wordexp-test.c: Undo last change.
4417
4418 * posix/wordexp.c: Undo last change.
4419
d8f2b9ea
UD
44201998-09-16 Ulrich Drepper <drepper@cygnus.com>
4421
4422 * nscd/grpcache.c (save_grp): Partly undo last change.
4423
4424 * nscd/pwdcache.c (save_pwd): Undo last change.
4425
9c4c0024
UD
44261998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4427
4428 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
4429 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
4430
44311998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
4432
4433 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
4434 Add profiling support.
4435 (TRAMPOLINE_TEMPLATE): New macro.
4436 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
4437 (RTLD_START): Prettify, and set __libc_stack_end properly.
4438 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
4439 and check for sym being NULL instead.
4440 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
4441 of stack space.
4442 * sysdeps/sparc/sparc64/lshift.S: Likewise.
4443 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
4444 * sysdeps/sparc/sparc64/rshift.S: Likewise.
4445 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
4446 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
4447 MEDANY code model %g4 usage.
4448 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
4449 MEDANY code model %g4 usage.
4450 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
4451 code model address formation.
4452 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
4453 include elf/ldsodefs.h
4454 (DT_SPARC): Remove.
4455 (elf_machine_matches_host): It is now EM_SPARCV9.
4456 (elf_machine_dynamic): Clean up to remove ugly cast.
4457 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
4458 new PLT formats.
4459 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
4460 Prettify rest of function.
4461 [R_SPARC_COPY]: Check for sym being NULL.
4462 [R_SPARC_32]: Handle it.
4463 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
4464 MEDMID code model.
4465 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
4466 MEDANY code model.
4467 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
4468 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
4469 Add profiling support.
4470 (TRAMPOLINE_TEMPLATE): New macro.
4471 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
4472 (RTLD_START): Prettify and set __libc_stack_end.
4473 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
4474 Define.
4475 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
4476 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
4477 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
4478 unused variable scratch.
4479 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4480 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
4481 Declare.
4482 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
4483 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
4484 old format kernel sigaction structures.
4485 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
4486 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
4487 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
4488 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
4489 ucontext include.
4490 (_JMPBUF_UNWINDS): Define.
4491 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
4492 statfs64 structure, which is exactly the same as the normal one.
4493 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
4494 of stack. Use correct syscall trap number. Add branch prediction
4495 settings to branch instructions. Remove old MEDANY code model %g4
4496 referneces for non-PIC.
4497 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
4498 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
4499 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
4500 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
4501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4502 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
4503 __libc_longjmp and __libc_siglongjmp strong aliases.
4504 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
4505 Also define to __no__readdir64_decl around readdir.c inclusion.
4506 (__readdir64): Add strong alias.
4507 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
4508 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
4509 Set strong and weak names properly.
4510
45111998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4512
4513 * manual/Makefile (AWK): Default to gawk if standalone.
4514
45151998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4516
4517 * Makefile (distribute): Undo last change.
4518 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
4519 for sysdep headers.
4520 (+subdir-headers): Removed, unused.
4521
45221998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4523
4524 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
4525 $(do-install).
4526
45271998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4528
4529 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
4530 absolute name in $(config-sysdirs), can never happen.
4531 ($(+sysdir_pfx)sysd-rules): Likewise.
4532 * Makeconfig (full-config-sysdirs): Likewise.
4533 (all-Subdirs-files): Prepend $(..).
4534
4535 * configure.in: Don't check for absolute name in $add_ons_pfx, can
4536 not happen. Let --enable-add-ons=yes work if no add-ons actually
4537 exist.
4538
45391998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4540
4541 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
4542 continuations in command.
4543
45441998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4545
4546 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
4547
a8125d85
UD
45481998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
4549
4550 * posix/wordexp-test.c: If expansion or substitution occurs
4551 anywhere in a word, the entire word is subject to field-splitting.
4552
4553 * posix/wordexp.c (parse_glob): Look for end of word instead of
4554 end of field when deciding what to glob.
4555 (field_split_word): New function, now the only place where
4556 field-splitting is performed.
4557 (parse_dollars): New parameter - tell the caller if
4558 field-splitting should be performed on this word.
4559
4560 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
4561 succeeded (or failed with WRDE_NOSPACE).
4562
45631998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
4564
4565 * posix/wordexp.c (wordexp): Don't convert IFS characters to
4566 blanks.
4567
4568 * posix/wordexp-test.c: Words not the result of expansion or
4569 substitution should remain unchanged.
4570
aa2bc6a3
UD
45711998-09-15 Ulrich Drepper <drepper@cygnus.com>
4572
4573 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
4574 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
4575
3a60301a
UD
45761998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4577
4578 * stdio-common/Makefile: Include Makeconfig so that
4579 $(inst_includedir) is defined.
4580
77f0d179
UD
45811998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4582
4583 * io/pwd.c: Include <mcheck.h>.
4584
6beaac4d
UD
45851998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
4586
4587 * nscd/pwdcache.c (save_pwd): Correct copying.
4588 * nscd/grpcache.c (save_grp): Likewise.
4589
0ff0d59e
UD
45901998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
4591
4592 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
4593 (free_pwd): Adjust for this change.
4594 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
4595 (free_grp): Adjust for this change.
4596
d3f8acb3
UD
45971998-09-14 Ulrich Drepper <drepper@cygnus.com>
4598
4599 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
4600
14eb5d5d
UD
46011998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
4602
4603 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
4604 (install-others): Add bits/stdio_lim.h.
4605 Add rule to install bits/stdio_lim.h.
4606
4607 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
4608
4609 * Makefile (distribute): Add include/sys/mman.h.
4610
4611 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
4612 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
4613 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
4614
0a1590ba
UD
4615 * grp/initgroups.c: Include stdlib.h.
4616 Patch by Zack Weinberg.
4617
1ffaaca2
UD
46181998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
4619
4620 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
4621 for field-splitting :abc: is correct, and that two fields should
4622 result. Revert tests to reflect this.
4623
4624 * posix/wordexp.c (w_emptyword): Remove function.
4625 (exec_comm): Don't use w_emptyword.
4626 (parse_param): Likewise.
4627
4ca020f5
UD
46281998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
4629
4630 * sysdeps/arm/fpu/Dist: Moved to...
4631 * sysdeps/arm/Dist: ...here.
4632 * sysdeps/posix/Dist: Removed.
4633 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
4634 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
4635
f624c216
UD
46361998-08-26 Geoff Keating <geoffk@ozemail.com.au>
4637
4638 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
4639
7ef90c15
UD
46401998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
4641
4642 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
4643
46441998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4645
4646 * libc-work/nis/nss_nisplus/nisplus-service.c
4647 (_nss_nisplus_parse_servent): Convert port in network byte order.
4648
46491998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
4650
4651 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
4652 to provide only malloc and calloc.
4653 * include/stdlib.h: Support the above.
4654 * string/bits/string2.h: Use __need_malloc_and_calloc when
4655 including stdlib.h.
4656 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
4657
4658 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
4659 * iconvdata/iso646.c: Include <stdlib.h>.
4660
46611998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
4662
4663 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
4664 * sysdeps/libm-ieee754/w_pow.c: Likewise.
4665 * sysdeps/libm-ieee754/w_powf.c: Likewise.
4666 * sysdeps/libm-ieee754/w_powl.c: Likewise.
4667
46681998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
4669
4670 * stdio-common/stdio_lim.h.in: New file. All parameters
4671 are adjustable at build time.
4672 * Rules: Add a rule to build bits/stdio_lim.h from
4673 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
4674 all subdirectories know how to make the file. It can't be
4675 in Makerules because then it gets built at top level and the
4676 dependencies are wrong.)
4677
4678 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
4679 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
4680 stdio_lim.h.
4681 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
4682 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
4683 * sysdeps/posix/Makefile: Removed.
4684 * sysdeps/posix/mk-stdiolim.c: Removed.
4685 * sysdeps/generic/bits/stdio_lim.h: Removed.
4686
46871998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4688
4689 * argp/argp-help.c: Fixup indentation.
4690 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
4691 * resolv/nss_dns/dns-network.c: Likewise.
4692 * resolv/res_send.c: Likewise.
4693 * rt/aio_cancel.c: Likewise.
4694 * rt/aio_misc.c: Likewise.
4695
46961998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4697
4698 * Makefile (install-symbolic-link): Remove the link list file at last.
4699 * Makerules (install-clean-symbolic-link-list): Removed.
4700
47011998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4702
4703 * timezone/tst-timezone.c: Print time in UTC to get consistent
4704 output.
4705
47061998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4707
4708 * elf/rtld.c (_dl_rpath): Removed.
4709 * elf/dl-support.c (_dl_path): Removed.
4710 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
4711 (CFLAGS-dl-support.c): Removed.
4712
4713 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
4714 uses changed.
4715 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
4716 instead of appending it to the main map's rpath info.
4717 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
4718 DT_RPATHs. This makes it effective again.
4719 (decompose_rpath): Remove second parameter, callers changed.
4720 (fillin_rpath): Allocate enough space in curwd.
4721 (expand_dynamic_string_token): Cope with get_origin returning -1.
4722
47231998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4724
4725 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
4726 passwd.adjunct.
4727
4728 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
4729 invalid password.
4730
47311998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
4732
4733 * locale/programs/locale.c: Update dates.
4734
5d47ceca
UD
47351998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
4736
4737 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
b1fcf686 4738 size_t is defined. Some reordering of definitions to make
5d47ceca
UD
4739 maintaining this file in parallel with the linux-specific file easier.
4740
bd31edf2
UD
47411998-09-13 Ulrich Drepper <drepper@cygnus.com>
4742
4743 * io/pwd.c (main): Add call to mtrace.
4744
4745 * malloc/mtrace.pl: Quote @ in string.
4746
33c3e20e
UD
47471998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
4748
4749 * posix/wordexp.c (parse_arith): Fix memory leaks.
4750 (exec_comm): Likewise.
4751 (parse_param): Likewise.
4752 (wordexp): Likewise.
4753 (exec_comm): Reduce number of function return points.
4754 (parse_param): Likewise.
4755 (wordexp): Likewise.
4756
1720f4d0
UD
47571998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
4758
4759 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
4760 yield three fields, not two. Test both parameter expansion and
4761 command substitution for correct field-splitting behaviour.
4762
4763 * posix/wordexp.c (w_emptyword): New function.
4764 (parse_param): Use it.
4765 (exec_comm): Likewise, for consistency with the way parse_param
4766 splits fields.
4767 (parse_param): Fix some memory leaks.
4768
2d09b95d
UD
47691998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
4770
4771 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
4772 Don't mark asm `volatile'.
4773 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
4774 from the data cache too. Assume it isn't in the instruction cache yet.
4775 (__elf_machine_fixup_plt): Clear the modified address from the caches.
4776
b39c6f8b
UD
47771998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
4778
4779 * sysdeps/generic/segfault.c (install_handler): Install signal
4780 handler with SA_ONSTACK instead of setting the stack flags to
4781 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
4782 defined.
4783
47841998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
4785
4786 * signal/signal.h: Fix multiple inclusion guard to cover the
4787 entire file.
4788 * wcsmbs/wchar.h: Remove prototype of internal function
4789 __mbsrtowcs.
4790 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
4791 arithmetic on `void *'.
4792
c06cc21c
UD
47931998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
4794
4795 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
4796
4797 * posix/wordexp.c (wordexp): Perform word-splitting instead of
4798 field-splitting here.
4799 (wordexp): If out of memory mid-word, free the word (but still
4800 leave pwordexp alone for caller to see).
4801 (parse_param): Allow for zero-length fields (smarter checking of
4802 memory allocation failure).
4803 (w_addword): Convert NULL words to "".
4804 (wordexp): Convert left-over IFS characters to blanks (like bash).
4805
81e0cb2d
UD
48061998-09-11 Ulrich Drepper <drepper@cygnus.com>
4807
350eb336
UD
4808 * configure.in: Use test -f instead of test -e.
4809 Patch by John Tobey <jtobey@banta-im.com>.
4810
4811 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
4812 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
4813 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
4814 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
4815 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
4816 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
4817 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
4818 Patches by John Tobey <jtobey@banta-im.com>.
4819
81e0cb2d
UD
4820 * time/strftime.c (my_strftime): Delay use of *tp values until
4821 latest possible point to allow partly initialized structures
4822 (e.g., from strptime).
4823
514d9bca
UD
4824 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
4825 and NATS-SEFI.
4826 Define *-routines variables for new modules.
4827 (distribute): Add .c files for new modules.
4828 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
4829 and nats-sefi.h.
4830 Add rules for header generation.
4831 * iconvdata/gconv-modules: Add entries for new modules.
4832 * iconvdata/iso_10367-box.c: New file.
4833 * iconvdata/mac-is.c: New file.
4834 * iconvdata/nats-dano.c: New file.
4835 * iconvdata/nats-sefi.c: New file.
4836
81e0cb2d
UD
48371998-04-30 18:20 H.J. Lu <hjl@gnu.org>
4838
4839 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
4840 loader if PIC is not defined.
4841
ec04e9ba
UD
48421998-09-11 Ulrich Drepper <drepper@cygnus.com>
4843
4844 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
4845 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
4846 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
4847 and ISO_5428.
4848 Define *-routines variables for new modules.
4849 (distribute): Add .c files for new modules.
4850 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
4851 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
4852 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
4853 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
514d9bca 4854 Add rules for header generation.
ec04e9ba
UD
4855 * iconvdata/gconv-modules: Add entries for new modules.
4856 * iconvdata/csn_369103.c: New file.
4857 * iconvdata/cwi.c: New file.
4858 * iconvdata/dec-mcs.c: New file.
4859 * iconvdata/ecma-cyrillic.c: New file.
4860 * iconvdata/gost_19768-74.c: New file.
4861 * iconvdata/greek-ccitt.c: New file.
4862 * iconvdata/greek7-old.c: New file.
4863 * iconvdata/greek7.c: New file.
4864 * iconvdata/inis-8.c: New file.
4865 * iconvdata/inis-cyrillic.c: New file.
4866 * iconvdata/inis.c: New file.
4867 * iconvdata/iso6937-2.c: New file.
4868 * iconvdata/iso_2033.c: New file.
4869 * iconvdata/iso_5427-ext.c: New file.
4870 * iconvdata/iso_5427.c: New file.
4871 * iconvdata/iso_5428.c: New file.
4872
4873 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
4874 entries.
4875 Convert U02dd correctly.
4876
25c849b1
RH
48771998-09-11 20:46 Richard Henderson <rth@cygnus.com>
4878
4879 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
4880 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
4881 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
4882 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
4883
04795ad9
UD
48841998-09-11 Ulrich Drepper <drepper@cygnus.com>
4885
4886 * resolv/res_init.c (res_init): Handle resolv.conf file with only
4887 one nameserver correctly. Patch by HJ Lu.
4888
4889 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
4890 and ANSI_X3.110.
4891 Define *-routines variables for new modules.
4892 (distribute): Add .c files for new modules.
4893 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
4894 Add rules for hedaer generation.
4895 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
4896 * iconvdata/ansi_x3.110.c: New file.
4897 * iconvdata/asmo_449.c: New file.
4898 * iconvdata/baltic.c: New file.
4899 * iconvdata/iec_p27-1.c: New file.
4900
4901 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
4902 entries.
4903 Convert U02dc correctly.
4904
4905 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
4906 * math/atest-exp2.c: Likewise.
4907 * math/atest-sincos.c: Likewise.
4908
4909 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
4910 is defined.
4911
49121998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4913
4914 * string/strcoll.c: Optimize a few expressions.
4915 * string/strxfrm.c: Likewise.
4916
5e0889da
UD
49171998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4918
4919 * manual/locale.texi: Fix typos.
4920
2c86b2bc
UD
49211998-09-10 Ulrich Drepper <drepper@cygnus.com>
4922
26afaa63
UD
4923 * stdlib/random_r.c (__setstate_r): Allow call with same state
4924 array as currently used (PR libc/774).
4925
6c79e60c
UD
4926 * include/limits.h: Include gcc's header even if this file is
4927 found more than once before it (PR libc/778)
4928
ec04e9ba
UD
4929 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
4930 (sysdep_headers): Remove sys/debugreg.h.
4931 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
4932 (sysdep_headers): Add sys/debugreg.h.
39382b8b
UD
4933 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
4934 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
4935
2c86b2bc
UD
4936 * stdio-common/tmpnam.c: Move local static variable buf to
4937 toplevel and rename to tmpnam_buffer to ease debugging.
4938 Patch by Joe Keane <jgk@jgk.org>.
4939 Optimize s == NULL case a bit.
4940
8e9f53fc
UD
4941 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
4942 correction.
4943
482a3be2
UD
49441998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
4945
4946 * resolv/res_init.c (res_init): Initialize _res.nscount and
4947 _res.nsaddr.sin_port differently for the can when no loopback
4948 is available to allow immediate timeout in non-networking environments.
4949 Patch by Cristian Gafton <gafton@redhat.com>.
4950
e8238963
UD
49511998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4952
4953 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
4954 BAR and not EM DASH.
4955 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
4956 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
4957 Fixes PR libc/717.
4958
90865aa8
UD
49591998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
4960
4961 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
4962 for test.
4963 * timezone/tst-timezone.c (tests): Fix typo in last patch.
4964
4965 * time/tzfile.c (__tzfile_read): Handle case when there are no
4966 transitions. Set __timezone based on computed offset.
4967 * time/tzset.c (tzset_internal): Set __timezone before returning.
4968
4969 * time/tzset.c (tzset_internal): Optimize handling of local string
4970 copy.
4971
49721998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4973
4974 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
4975 libc/776).
4976
adac8450
UD
49771998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4978
4979 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
4980 (csqrt_test): Likewise.
90865aa8 4981 * sysdeps/powerpc/bits/fenv.h: Add parens.
adac8450 4982
8e140239
UD
49831998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
4984
4985 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
4986 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
4987 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
4988
78acf671
UD
49891998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
4990
4991 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
4992 the special `-1' pointer.
4993
6e4c40ba
UD
49941998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
4995
4996 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
4997 inline.
4998
49991998-09-07 Paul Eggert <eggert@twinsun.com>
5000
5001 * time/mktime.c (__EXTENSIONS__): Define if not defined.
5002 (_REENTRANT): Remove. It has undesirable consequences in
5003 Solaris 2.6 (e.g. it turns off the putc macro). Defining
5004 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
5005 is what we want.
5006 * time/strftime.c: Likewise.
5007
50081998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5009
5010 * elf/dl-error.c: Fix spelling.
5011
50121998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5013
5014 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
5015 * stdio-common/_itoa.c: Likewise.
5016 * stdio-common/printf_fp.c: Likewise.
5017 * stdio-common/vfscanf.c: Likewise.
5018 * wcsmbs/wcstok.c: Likewise.
5019 * sysdeps/generic/glob.c: Likewise.
5020 * posix/getopt.c: Likewise.
5021 * sysdeps/posix/getaddrinfo.c: Likewise.
5022 * posix/wordexp.c: Likewise.
5023 * io/ftw.c: Likewise.
5024 * io/fts.c: Likewise.
5025 * misc/getpass.c: Likewise.
5026 * iconv/gconv_conf.c: Likewise.
5027 * argp/argp-fmtstream.c: Likewise.
5028 * argp/argp-help.c: Likewise.
5029 * elf/dl-load.c: Likewise.
5030 * locale/programs/stringtrans.c: Likewise.
5031 * catgets/gencat.c: Likewise.
5032 * posix/getconf.c: Likewise.
5033 * iconv/gconv_conf.c: Likewise.
5034 * iconv/iconv_prog.c: Likewise.
5035
5036 * string/strcoll.c: Optimize a few expressions.
5037 * string/strxfrm.c: Likewise.
5038
50391998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5040
5041 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
5042 level to avoid uninit variable warning.
5043
50441998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2aa236b1 5045
769ca810 5046 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
6e4c40ba 5047 instead of _dl_default_scope[2] as argument to _dl_init_next.
769ca810 5048
2aa236b1
AS
5049 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
5050 C9x macro.
5051
8ea4a95a
UD
50521998-09-08 Ulrich Drepper <drepper@cygnus.com>
5053
6e4c40ba 5054 Fix compatibility problems introduced in last change.
dc27836e
UD
5055 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
5056 defined.
5057 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
5058 -DWEAK_GMON_START to CFLAGS-initfini.s.
5059
e4d50917
UD
5060 * elf/dl-object.c (_dl_new_object): Store map address in
5061 _dl_loaded if _dl_loaded is NULL.
87c812c2 5062 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
e4d50917 5063
8ea4a95a
UD
5064 * sysdeps/generic/setrlimit64.c: Remove stub warning.
5065
88c91118
UD
50661998-09-07 Ulrich Drepper <drepper@cygnus.com>
5067
5068 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
5069 quiet.
2c874db2
UD
5070 * db2/btree/bt_cursor.c: Likewise.
5071 * db2/common/db_region.db_c: Likewise.
5072 * db2/common/db_salloc.db_c: Likewise.
5073 * db2/db/db.c: Likewise.
5074 * db2/db/db_rec.c: Likewise.
5075 * db2/hash/hash.c: Likewise.
5076 * db2/hash/hash_page.c: Likewise.
5077 * db2/hash/hash_rec.c: Likewise.
5078 * db2/log/log_findckp.c: Likewise.
5079 * db2/log/log_get.c: Likewise.
5080 * db2/log/log_put.c: Likewise.
5081 * db2/mp/mp_fget.c: Likewise.
5082 * db2/mp/mp_fput.c: Likewise.
5083 * db2/mp/mp_region.c: Likewise.
cf9f9a16
UD
5084 * stdlib/strtol.c: Likewise.
5085 * string/strcoll.c: Likewise.
5086 * string/strxfrm.c: Likewise.
94b78bb2
UD
5087 * argp/argp-help.c: Likewise.
5088 * argp/argp-parse.c: Likewise.
3121cc04 5089 * resolv/res_debug.c: Likewise.
88c91118 5090
26644e87
UD
50911998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
5092
5093 * math/tgmath.h (scalb): Only define for __USE_MISC or
5094 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
5095
2b33e5b0
UD
50961998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5097
5098 * libio/stdio.h: Fix comment.
5099
5100 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
5101 __USE_ISOC9X.
5102
6796bc80
UD
51031998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
5104
5105 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
5106
5107 * elf/dl-open.c: Quiet -Wparentheses warnings.
5108 * iconvdata/johab.c: Likewise.
5109 * iconvdata/uhc.c: Likewise.
5110 * inet/inet_net.c: Likewise.
5111 * io/fts.c: Likewise.
5112 * locale/newlocale.c: Likewise.
5113 * misc/getttyent.c: Likewise.
5114 * misc/mntent_r.c: Likewise.
5115 * misc/ttyslot.c: Likewise.
5116 * nscd/nscd_conf.c: Likewise.
5117 * nss/nsswitch.c: Likewise.
5118 * resolv/gethnamaddr.c: Likewise.
5119 * resolv/nsap_addr.c: Likewise.
5120 * resolv/res_debug.c: Likewise.
5121 * stdio-common/_itoa.c: Likewise.
5122 * stdlib/strtod.c: Likewise.
5123 * string/strverscmp.c: Likewise.
5124 * sunrpc/svc.c: Likewise.
5125 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
5126 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
5127 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
5128 * sysdeps/posix/getaddrinfo.c: Likewise.
5129
baa3334a
UD
51301998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
5131
5132 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
5133 for use of global scope.
5134 * elf/dlvsym.c (dlvsym_doit): Likewise.
5135
51361998-09-02 Paul Eggert <eggert@twinsun.com>
5137
5138 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
5139 copy the redundant bytes at the end of the format as-is; don't
5140 just copy their first byte and then rescan, as that might get
5141 us an encoding error.
5142 Account correctly for the length of multibyte sequences in the
5143 format.
5144
51451998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
5146
5147 * posix/wordexp-test.c: Add tests for different IFS values.
5148 Change unquoted-newline test so that newline is not in IFS.
5149
5150 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
5151 determining IFS characters. Return WRDE_BADCHAR for unquoted
5152 special characters _except_ if they are separators.
5153
51541998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
5155
5156 * include/tgmath.h: New file.
5157
5158 * libio/stdio.h: Correct reversed #ifs.
5159 Patch by Zack Weinberg.
5160
5161 * manual/creature.texi: Better explain reason for feature select
5162 macros.
5163 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
5164
51651998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
5166
5167 * include/alloca.h: Add multiple-inclusion guard.
5168 * include/db.h: Likewise.
5169 * include/db_185.h: Likewise.
6796bc80 5170 * include/dlfcn.h: Likewise.
baa3334a
UD
5171 * include/fcntl.h: Likewise.
5172 * include/grp.h: Likewise.
5173 * include/libintl.h: Likewise.
5174 * include/mntent.h: Likewise.
5175 * include/pwd.h: Likewise.
5176 * include/sched.h: Likewise.
5177 * include/search.h: Likewise.
5178 * include/setjmp.h: Likewise.
5179 * include/shadow.h: Likewise.
5180 * include/signal.h: Likewise.
5181 * include/stdio.h: Likewise.
5182 * include/stdlib.h: Likewise.
5183 * include/string.h: Likewise.
5184 * include/termios.h: Likewise.
5185 * include/time.h: Likewise.
5186 * include/ulimit.h: Likewise.
5187 * include/utmp.h: Likewise.
5188 * include/wchar.h: Likewise.
5189 * include/sys/file.h: Likewise.
5190 * include/sys/gmon.h: Likewise.
5191 * include/sys/ioctl.h: Likewise.
5192 * include/sys/mman.h: Likewise.
5193 * include/sys/resource.h: Likewise.
5194 * include/sys/select.h: Likewise.
5195 * include/sys/socket.h: Likewise.
5196 * include/sys/statfs.h: Likewise.
5197 * include/sys/time.h: Likewise.
5198 * include/sys/times.h: Likewise.
5199 * include/sys/wait.h: Likewise.
5200
be935610
UD
52011998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
5202
5203 * version.h (VERSION): Bump to 2.0.96.
5204
5205 Rewrite runtime linker to be truly thread-safe. There is now no
5206 global variable specifying the scope. We create all needed
5207 scopes at the time the link maps are created.
5208 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
5209 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
5210 l_symbolic_searchlist, l_scope, and l_local_scope elements in
5211 struct link_map.
5212 * elf/dl-close.c: Rewritten accordingly.
5213 * elf/dl-deps.c: Likewise.
5214 * elf/dl-error.c: Likewise.
5215 * elf/dl-init.c: Likewise.
5216 * elf/dl-load.c: Likewise.
5217 * elf/dl-lookup.c: Likewise.
5218 * elf/dl-object.c: Likewise.
5219 * elf/dl-open.c: Likewise.
5220 * elf/dl-reloc.c: Likewise.
5221 * elf/dl-runtime.c: Likewise.
5222 * elf/dl-support.c: Likewise.
5223 * elf/dl-symbol.c: Likewise.
5224 * elf/dl-version.c: Likewise.
be935610
UD
5225 * elf/dlsym.c: Likewise.
5226 * elf/dlvsym.c: Likewise.
5227 * elf/ldsodefs.h: Likewise.
5228 * elf/rtld.c: Likewise.
5229 * iconv/gconv_dl.c: Likewise.
5230 * nss/nsswitch.c: Likewise.
5231 * sysdeps/i386/dl-machine.h: Likewise.
5232 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
5233
6796bc80
UD
5234 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
5235 Define RTLD_DEFAULT.
5236
2b4083dd
RM
52371998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
5238
5239 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
5240 __getopt_clean_environment with __environ instead of envp.
5241
a361203e
RM
52421998-09-05 Roland McGrath <roland@baalperazim.frob.com>
5243
2b4083dd
RM
5244 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
5245
531e4bca
RM
5246 * string/argz-extract.c (__argz_extract): Add de-consting cast for
5247 setting results.
5248
62ee0979 5249 * string/argz.h (argz_next): Add de-consting cast for return.
531e4bca 5250 * string/argz-next.c (__argz_next): Likewise.
62ee0979 5251
59cacc81
RM
5252 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
5253 Don't add netinet/udp.h, netinet/ip_icmp.h here.
5254 * sysdeps/gnu/Makefile: Do it here instead.
5255 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
5256 * sysdeps/gnu/Dist: ... to here.
5257
a361203e
RM
5258 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
5259 sysdeps/unix/sysv/linux/netinet/tcp.h,
5260 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
5261
29659dd2
RM
52621998-09-04 Roland McGrath <roland@baalperazim.frob.com>
5263
5264 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
5265 * string/argz-next.c, string/argz-extract.c: Fix defns.
5266
1097c603
RM
52671998-09-03 Roland McGrath <roland@baalperazim.frob.com>
5268
5269 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
5270
5271 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
5272 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
5273 * sysdeps/generic/sysd-stdio.c: Likewise.
5274
143e2b96
UD
52751998-09-02 Ulrich Drepper <drepper@cygnus.com>
5276
5277 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
5278 (_dl_map_object_from_fd): Make NAME argument const.
5279 Remove last parameter in _dl_new_object call.
5280 (print_search_path): Correct construction of composed path name.
5281 (_dl_map_object): Prevent looking at RPATH of the main map twice.
5282 Remove last parameter in _dl_new_object call.
5283 * elf/dl-object.c: Remove last parameter. Determine whether create
5284 origin entry based on empty realname. Handle file in root directory
5285 correctly.
5286 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
5287 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
5288 Remove last parameter in _dl_new_object call.
5289 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
5290 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
5291
fc3597c0
UD
52921998-09-01 Ulrich Drepper <drepper@cygnus.com>
5293
4ce636da
UD
5294 * elf/dl-close.c (_dl_close): Add more comments and correct some.
5295 Free l_searchlist and l_dupsearchlist.
5296
fc3597c0
UD
5297 * debug/catchsegv.sh: Add one more pair of quotes.
5298
76156ea1
UD
52991998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
5300
5301 * elf/dl-load.c (add_name_to_object): Change return type to void and
5302 make NAME parameter const. Allocate room for NAME in same memory
5303 block used for l_libname entry.
5304 (_dl_map_object_from_fd): Don't free NAME on failure.
5305 (map_segment): Pass SONAME to add_name_to_object, not a copy.
5306 (_dl_map_object): Don't create copy of NAME. Pass NAME to
5307 _dl_map_object_from_fd.
5308 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
5309 memory block used for l_libname entry.
5310 * elf/dl-close.c: Adjust free()ing for this change.
5311
a8a1269d
UD
53121998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
5313
5314 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
5315
5316 * malloc/mtrace.c: Add bug report address. Update email address.
5317 Add more @XXX@ to print correct address size.
5318
5319 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
5320 really initialized.
5321
5322 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
5323 for munmap call instead of examining phdr again.
5324 Free all malloc()ed strings and arrays.
5325
052b6a6c
UD
53261998-08-09 Geoff Keating <geoffk@ozemail.com.au>
5327
5328 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
5329 dl-machine.h.
5330 * sysdeps/powerpc/dl-machine.c: New file.
5331 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
5332 files. Revise ELF_PREFERRED_ADDRESS to take account of
5333 the new mapping information (fixes bug involving huge bloated
5334 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
5335 * sysdeps/powerpc/dl-start.S: New file.
5336
5337 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
5338 l_map_end.
5339 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
5340 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
5341 others. Call elf_dynamic_do_##reloc only once (to save even more
5342 space).
5343 * elf/link.h: Add new members l_map_start and l_map_end to keep
5344 track of the memory map.
5345 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
5346 the executable.
5347
53481998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
5349
5350 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
5351 Reported by Andreas Jaeger.
5352
5353 * posix/glob.h: Use __size_t instead of size_t in definitions and
5354 make sure this is defined.
5355
85c165be
UD
53561998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
5357
052b6a6c 5358 * manual/locale.texi: Almost complete rewrite. Document more functions
85c165be
UD
5359 and functionality.
5360 * manual/arith.texi: Correct reference.
5361 * manual/string.texi: Pretty printing.
5362
5363 * manual/texinfo.tex: Update from last available version.
5364
53651998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
5366
5367 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
5368 invalid password.
5369 (_nss_nis_getpwuid_r): Likewise.
5370 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
5371
5372 * inet/rcmd.c: Implement netgroup support.
5373 Patch by Dick Streefland <dick_streefland@tasking.com>.
5374
7afab53d
UD
53751998-08-31 Ulrich Drepper <drepper@cygnus.com>
5376
5377 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
5378 object on the list is removed. Don't use this code for PIC.
5379 Reported by HJ Lu [PR libc/770].
5380
bfce746a
UD
53811998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
5382
5383 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
5384
5385 * include/stdio.h: Add __vsscanf.
5386
5387 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
5388 __USE_ISOC9X.
5389 Remove __vsscanf declaration.
5390 Always declare fgetpos and fsetpos.
5391
5392 * math/math.h: Define isinf as macro.
5393 * math/bits/mathcalls.h: Change to declare __isinf all the time.
5394 Don't declare scalb for ISO C 9x.
5395
5396 * math/tgmath.h: Define fma. Rewrite the underlying macros.
5397
5398 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
5399
5400 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
5401 sys/ucontext.h.
5402
5403 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
5404 macros.
5405
54061998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5407
5408 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
5409 Reported by jreising@frequentis.com [PR libc/767].
5410
54111998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5412
5413 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
5414 fl.l_start at beginning of function.
5415 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
5416
ac72fbb1
UD
54171998-08-31 Ulrich Drepper <drepper@cygnus.com>
5418
5419 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
5420 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
5421
5422 * nscd/nscd.init: Make it work in RedHat systems.
5423 Patch by Christian Gafton.
5424
54251998-08-29 Philip Blundell <philb@gnu.org>
5426
5427 * catgets/Makefile: Don't try to run test programs when
5428 cross-compiling.
5429
54301998-08-31 Ulrich Drepper <drepper@cygnus.com>
5431
5432 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
5433 Reported by Zack Weinberg.
5434
54351998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5436
5437 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
5438 * elf/Makefile (distribute): Remove ldd.sh.in.
5439
54401998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5441
5442 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
5443 variable.
5444
e0d46614
UD
54451998-08-29 Ulrich Drepper <drepper@cygnus.com>
5446
5447 * sysdeps/i386/register-dump.h: Move to ...
5448 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
5449
b0cf070b
UD
54501998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
5451
5452 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
5453 with load address, not map address.
5454 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
5455 parameter and use this value.
5456 * sysdeps/arm/dl-machine.h: Likewise.
5457 * sysdeps/i386/dl-machine.h: Likewise.
5458 * sysdeps/m68k/dl-machine.h: Likewise.
5459 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
5460 parameter.
5461 * sysdeps/powerpc/dl-machine.h: Likewise
5462 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
5463 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
5464
997a4165
UD
54651998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
5466
5467 * elf/rtld.c (process_envvars): Fix copy&paste error.
5468
5469 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
5470 memalign hook.
5471 (realloc_hook_ini): Don't overwrite memalign hook.
5472 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
5473 Reported by Philippe Troin <phil@fifi.org>.
5474
5475 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
5476 Patch by Philippe Troin <phil@fifi.org>.
5477
54781998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5479
5480 * sysdeps/generic/segfault.c (install_handler): Protect the
5481 non-POSIX signals with #ifdef.
5482 (catch_segfault): Add missing mode parameter for open.
5483 * debug/catchsegv.sh: Avoid termination message from shell. Allow
5484 other termination signals.
5485
54861998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5487
5488 * debug/Makefile (distribute): Add register-dump.h.
5489
54901998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4226897d
AS
5491
5492 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
5493
f787edde
UD
54941998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
5495
5496 * elf/Makefile (distribute): Add dl-origin.h.
5497 * sysdeps/generic/dl-origin.h: New file.
5498 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
5499 * elf/link.h (struct link_map): Add l_origin field.
5500 * elf/dl-load.c (expand_dynamic_string_token): New function.
5501 (decompose_path): Remove WHERE argument, take link map pointer instead.
5502 Call expand_dynamic_string_token instead of local_strdup to make copy
5503 of rpath.
5504 (_dl_init_paths): Call decompose_path with correct argument.
5505 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
5506 not defined.
5507 Check EI_OSABI and EI_ABIVERSION fields in header.
5f623941 5508 Call _dl_new_object with extra argument.
f787edde
UD
5509 (_dl_map_object): Call decompose_path with correct argument.
5510 Call expand_dynamic_string_token instead of local_strdup to also
5511 expand DST.
5f623941 5512 Call _dl_new_object with extra argument.
f787edde 5513 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
5f623941
UD
5514 but the main one if new argument is nonzero.
5515 * elf/ldsodefs.h: Adjust for _dl_new_object change.
f787edde
UD
5516 * elf/dl-support.c: Define _dl_origin_path.
5517 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
5f623941 5518 (dl_main): Call _dl_new_object with extra argument.
f787edde
UD
5519
5520 * elf/dl-close (_dl_close): Free l_name and l_origin.
5521
5522 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
5523 modifier in asm, not c.
5524
5525 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
5526 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
5527
6075607b
UD
55281998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
5529
5530 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
5531 variable so that map can be freed.
5532 Reported by Philippe Troin <phil@fifi.org>.
5533
5534 * elf/dl-open.c (dl_open_worker): Correct test for extending global
5535 scope array.
5536 Patch by Philippe Troin <phil@fifi.org>.
5537
55381998-08-26 Geoff Keating <geoffk@ozemail.com.au>
5539
5540 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
5541 Don't call writev() with a 100-element vector.
5542 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
5543 return address.
5544
5545 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
5546 In particular, set __libc_stack_end.
5547 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
5548 undefined. Fix copyright notice.
5549
55501998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5551
5552 * math/Makefile (gmp-objs): New variable.
5553 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
5554 Depend on it.
5555 (tests): Add atest-exp atest-sincos atest-exp2.
5556 (tests-static): Remove atest-exp atest-sincos atest-exp2.
5557
08cac4ac
UD
55581998-08-25 Ulrich Drepper <drepper@cygnus.com>
5559
5560 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
5561 to toplevel.
5562 (_dl_unload_cache): New function.
5563 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
5564 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
6075607b 5565 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
08cac4ac
UD
5566
5567 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
5568 Correct comment for O_LARGEFILE.
5569 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
5570 Change O_LARGEFILE to correct value.
5571
55721998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
5573
5574 * libio/iogetline.c (_IO_getline_info): Don't read anything for
5575 N == 0. Patch by HJ Lu.
5576
6dbb7062
UD
55771998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
5578
5579 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
5580
55811998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
5582
5583 * argp/argp.h: Use __inline__ not inline.
5584
5585 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
5586 an input register as being clobbered.
5587 * sysdeps/i386/memset.c (memset): Likewise.
5588 * sysdeps/i386/bzero.c (__bzero): Likewise.
5589 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
5590
55911998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5592
5593 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
5594 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
5595
ed1ac6a2
UD
55961998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
5597
5598 * debug/catchsegv.sh: Handle text preceding backtrace better.
5599 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
5600 to be installed for other signals than SIGSEGV.
5601 * sysdeps/generic/register-dump.h: New file.
5602 * sysdeps/i386/register-dump.h: New file.
5603 * sysdeps/powerpc/register-dump.h: New file.
5604
5605 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
5606 sigcontextinfo.h.
5607 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
5608
56091998-08-24 Geoff Keating <geoffk@ozemail.com.au>
5610
5611 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
5612
56131998-08-09 Geoff Keating <geoffk@ozemail.com.au>
5614
5615 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
5616 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
5617 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
5618 getresuid, getresgid.
5619
56201998-08-16 Geoff Keating <geoffk@ozemail.com.au>
5621
5622 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
5623 pointer in userland.
5624
56251998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5626
5627 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
5628 and fix value.
5629
56301998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5631
5632 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
5633 over arguments Bourne shell compatible. Don't exit unsuccessfully
5634 if nonelf returns successfully. Avoid duplicating most of the
5635 script.
5636 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
5637 around $file.
5638
56391998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
99475e65
AS
5640
5641 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
5642 sys/reg.h.
5643 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
5644 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
5645
b259e746
UD
56461998-08-23 Ulrich Drepper <drepper@cygnus.com>
5647
5648 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
5649 __modify_ldt and modify_ldt.
5650 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
5651
5652 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5653 Use orl $-1 instead of movl $-1 to save two bytes.
5654 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
5655 Likewise.
5656
56571998-08-17 H.J. Lu <hjl@gnu.org>
ed1ac6a2
UD
5658
5659 * libio/Versions (_IO_do_write, _IO_file_attach,
5660 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
5661 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
5662 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
5663 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
5664
5665 * libio/fileops.c (_IO_do_write, _IO_file_attach,
5666 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
5667 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
5668 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
5669 _IO_file_write, _IO_file_xsputn): Change the prefix to
5670 "_IO_new_". Added to GLIBC_2.1.
5671
5672 * libio/libioP.h (_IO_do_write, _IO_file_attach,
5673 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
5674 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
5675 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
5676 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
5677 "_IO_new_".
5678
5679 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
5680 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
5681 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
5682 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
5683 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
5684
b259e746
UD
56851998-08-23 Richard Henderson <rth@cygnus.com>
5686
5687 * Makeconfig (LDFLAGS): Remove.
5688
ed1ac6a2 5689 * csu/initfini.c: Return to .text before __gmon_start__.
b259e746 5690
ed1ac6a2
UD
5691 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
5692 (STO_MIPS_*): Rename from STO_*.
5693 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
5694 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
b259e746 5695
ed1ac6a2
UD
5696 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
5697 (main): e3s is negative on zero.
5698 * math/atest-exp2.c: Likewise.
b259e746
UD
5699 * math/atest-sincos.c: Likewise.
5700
ed1ac6a2
UD
57011998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5702
5703 * Makerules (install): Add comment about absolute paths.
5704
b259e746
UD
57051998-08-23 Ulrich Drepper <drepper@cygnus.com>
5706
5707 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
5708 array to NUL to handle maxlen==1 case correctly.
5709 Patch by HJ Lu.
5710
57111998-08-23 Richard Henderson <rth@cygnus.com>
7d84a067
RH
5712
5713 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
5714 * sysdeps/alpha/elf/crtend.S: Likewise.
5715 * sysdeps/alpha/elf/start.S: Likewise.
5716
5717 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
5718 non-standard pv usage.
5719
5720 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
5721 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
5722 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
5723 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
5724 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
5725 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
5726 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
5727 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
5728 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
5729 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
5730 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
5731
5732 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
5733 a finite non-denormal, deferring to the full IEEE version otherwise.
5734
5735 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
5736 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
5737 * sysdeps/alpha/fpu/s_floor.c: New.
5738 * sysdeps/alpha/fpu/s_floorf.c: New.
5739 * sysdeps/alpha/fpu/s_ceil.c: New.
5740 * sysdeps/alpha/fpu/s_ceilf.c: New.
5741
e86e2df1
UD
57421998-08-22 Philip Blundell <philb@gnu.org>
5743
5744 * sysdeps/arm/bits/string.h: New file.
5745
14a44a69
UD
57461998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5747
5748 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
5749 document it.
5750
5751 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
5752 test for recent Linux 2.1.100+ headers.
5753
e36b0b57
UD
57541998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5755
5756 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
5757
5148d49f
UD
57581998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
5759
5760 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
5761
57621998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5763
5764 * Makefile (elf/ldso_install): Put back. The problem still persists.
5765 * elf/Makefile (ldso_install): Likewise.
5766
57671998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5768
5769 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
5770 create weak alias.
5771 * include/db.h: Declare __nss_db_open.
5772 * db2/Versions: Export it.
5773
5774 * db2/makedb.c: Convert to use db2 API.
5775 * nss/nss_db/db-XXX.c: Likewise.
5776 * nss/nss_db/db-netgrp.c: Likewise.
5777 * nss/nss_db/db-alias.c: Likewise.
5778 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
5779
57801998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5781
5782 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
5783 sys_setresuid, already built automatically (or not).
5784 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
5785 instead of __syscall_setresuid and add back setresuid.
5786 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
5787 __syscall_setresuid.
5788
57891998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5790
5791 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
5792
1ddf537f
UD
57931998-08-20 Ulrich Drepper <drepper@cygnus.com>
5794
5795 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
5796 BASH-ONLY marked region.
5797 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
5798
57991998-02-20 17:54 H.J. Lu <hjl@gnu.org>
5800
5801 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
5802 _IO_SYSSEEK fails.
5803
5804 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
5805
4df28840 5806 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1ddf537f
UD
5807 element.
5808
8e48355c
RM
58091998-08-21 Roland McGrath <roland@baalperazim.frob.com>
5810
5811 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
5812 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
5813 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
5814 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
5815 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
5816 those magic comments, and to use /bin/sh for @BASH@.
5817 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
5818 * elf/ldd.sh.in: File removed.
5819
d762684b
UD
58201998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
5821
5822 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
5823 cast them to unsigned long int.
5824 * pwd/putpwent.c (putpwent): Likewise.
5825 Patch by John Tobey <jtobey@banta-im.com>.
5826
58271998-08-20 17:14 H.J. Lu <hjl@gnu.org>
5828
5829 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
5830 _IO_pos_BAD.
5831
58321998-02-20 17:54 H.J. Lu <hjl@gnu.org>
5833
5834 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
5835 _IO_SYSSEEK fails.
5836
7934cc16
UD
58371998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
5838
5839 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
5840 Add umount and umount2.
5841 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
5842 * sysdeps/unix/sysv/linux/umount.S: New file.
5843 * sysdeps/unix/sysv/linux/umount2.S: New file.
5844 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
5845 Define MNT_FORCE.
5846
d762684b
UD
5847 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
5848 Add sys/sendfile.h.
5849 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
5850 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
5851
5852 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
5853
5854 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
5855 sendfile.
5856
df777c40
UD
58571998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
5858
5859 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
5860 * elf/ldd.bash.in: Likewise.
5861
5862 * elf/sln.c: Avoid warning for no main prototype.
5863
5864 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
5865 O_WRITE.
5866 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5867 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5868
5869 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
5870 F_GETSIG.
5871 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
5872 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5873 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5874
58751998-08-20 Philip Blundell <pb@nexus.co.uk>
5876
5877 * sysdeps/arm/fpu/ieee754.h: Move to...
5878 * sysdeps/arm/ieee754.h: ... here.
5879
5880 * sysdeps/arm/__longjmp.S: Put return value in correct register.
5881 Don't set the condition flags unnecessarily.
5882 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
5883 registers correctly.
5884
5885 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
5886 (patch from Scott Bambrough).
5887
5888 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
5889
5890 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
5891 NULL, just call it unconditionally.
5892 (__gmon_start__): Provide stub version as a weak symbol.
5893
58941998-07-30 Philip Blundell <philb@gnu.org>
5895
5896 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
5897 by Scott Bambrough)
5898
5899 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
5900 like `@' in .type directives.
5901
5902 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
5903 * sysdeps/arm/bsd-_setjmp.S: Likewise.
5904
5905 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
5906
59071998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5908
5909 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
5910 (F_GETOWN): Likewise.
5911
5912 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
5913 Linux 2.1.117).
5914
59151998-08-20 Ulrich Drepper <drepper@cygnus.com>
5916
5917 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
5918 already defined.
5919
0c6cee5d
UD
59201998-08-18 Ulrich Drepper <drepper@cygnus.com>
5921
5922 * include/features.h: Define __USE_EXTERN_INLINES for recent
5923 enough gcc.
5924 * argp/argp.h: Define extern inline functions only if
5925 __USE_EXTERN_INLINES is defined.
5926 * libio/stdio.h: Likewise.
5927 * math/math.h: Likewise.
5928 * stdlib/stdlib.h: Likewise.
5929 * string/argz.h: Likewise.
5930 * sysdeps/generic/bits/sigset.h: Likewise.
5931 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5932 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
5933 * sysdeps/wordsize-32/inttypes.h: Likewise.
5934 * sysdeps/wordsize-64/inttypes.h: Likewise.
5935 * wcsmbs/wchar.h: Likewise.
5936
5937 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
5938 to allow compilation without optimization.
5939
df777c40
UD
59401998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5941
5942 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
5943 more entries.
5944 * nis/nss_compat/compat-initgroups.c: Likewise.
5945 * nis/nss_compat/compat-pwd.c: Likewise.
5946 * nis/nss_compat/compat-spwd.c: Likewise.
5947 * nis/nss_nis/nis-alias.c: Likewise.
5948 * nis/nss_nis/nis-ethers.c: Likewise.
5949 * nis/nss_nis/nis-grp.c: Likewise.
5950 * nis/nss_nis/nis-hosts.c: Likewise.
5951 * nis/nss_nis/nis-initgroups.c: Likewise.
5952 * nis/nss_nis/nis-network.c: Likewise.
5953 * nis/nss_nis/nis-proto.c: Likewise.
5954 * nis/nss_nis/nis-pwd.c: Likewise.
5955 * nis/nss_nis/nis-rpc.c: Likewise.
5956 * nis/nss_nis/nis-service.c: Likewise.
5957 * nis/nss_nis/nis-spwd.c: Likewise.
5958
5959 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
5960
5961 * nis/ypclnt.c: Try binding dir only first time, could be to old.
5962
5963 * nis/yp_xdr.c: Remove 1024 byte limit.
5964 * nis/ypupdate_xdr.c: Likewise.
5965
5966 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
5967 wrong data.
5968
c82e6116
RM
59691998-08-18 Roland McGrath <roland@baalperazim.frob.com>
5970
5971 * Rules (binaries-static, binaries-shared static pattern rules):
5972 Depend on lib%, not just libc%, from $(link-libc{,-static}).
5973
5974 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
5975 this here, overriding Makeconfig generic value so we link against
5976 the RPC libs.
5977
364ff81f
UD
59781998-08-17 Ulrich Drepper <drepper@cygnus.com>
5979
5980 * posix/tstgetopt.c (options): Add NULL entry at end
5981 Patch by Adrian Miranda <ade@psg.com>.
5982
5d7de7aa
UD
59831998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
5984
5985 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
5986 to 9.
5987
d610a544
UD
59881998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
5989
5990 * elf/elf.h: Add PPC Diab relocations.
5991
5992 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
5993
409dfcea
UD
59941998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
5995
5996 * manual/texinfo.tex: Update.
5997
59981998-08-07 Geoff Keating <geoffk@ozemail.com.au>
5999
6000 * sysdeps/powerpc/backtrace.c: New file.
6001
60021998-08-14 Philip Blundell <pb@nexus.co.uk>
6003
6004 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
6005 sigjmp_save.
6006 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
6007
60081998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6009
6010 * Makefile (install-symbolic-link): Fix spelling.
6011
60121998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6013
6014 * elf/elf.h (SHT_HIOS): Fix value.
6015
60161998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6017
6018 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
6019 part of the expansion, this is undefined by the standard.
6020
9d141cae
UD
60211998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
6022
6023 * posix/getconf.c: Add support for systems with incomplete confname.h.
6024
6025 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
6026
6027 * sysdeps/posix/wait3.c: Make it work.
6028
60291998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6030
6031 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
6032 (elf/ldso_install): Remove.
6033
6034 * elf/Makefile (distribute): Add sln.c.
6035 (others): Add sln.
6036 (others-static): Add sln.
6037 (install-rootsbin): Add sln.
6038 (others-static): Add sln.
6039 (ldso_install): Remove.
6040
60411998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6042
6043 * Makerules (install-clean-symbolic-link-list): Make phony.
6044 * Makefile (install-symbolic-link): Make phony. Depend on
6045 subdir_install for parallel makes.
6046
6047
60481998-07-22 Ulrich Drepper <drepper@cygnus.com>
6049
6050 * elf/Makefile (distribute): Add sln.c
6051
60521998-07-21 07:10 H.J. Lu <hjl@gnu.org>
6053
6054 * elf/sln.c: New file.
6055
6056 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
6057 (install-clean-symbolic-link-list): New target.
6058 (install): Depend on install-clean-symbolic-link-list.
6059 (make-shlib-link): Changed for $(symbolic-link-list).
6060
6061 * Makefile (install-symbolic-link): New target.
6062 (install): Depend on install-symbolic-link.
6063
1f539fd1
UD
60641998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
6065
6066 * include/unistd.h: Protect against multiple inclusion.
6067
6068 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
6069 is defined, not is glob is defined.
6070 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
6071
60721998-08-01 17:18 H.J. Lu <hjl@gnu.org>
6073
6074 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
6075 xdr_string for ut_line, ut_name and ut_host.
6076
60771998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6078
6079 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
6080 /var/mail in accordance with FHS 2.0.
6081 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
6082
60831998-08-12 Richard Henderson <rth@cygnus.com>
6084
6085 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
6086 Update aliases for cancelation.
6087
6088 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
6089 playing with symbol versions.
6090
259d930a
RM
60911998-08-12 Roland McGrath <roland@baalperazim.frob.com>
6092
6093 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
6094 multiple inclusion protection.
6095 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
6096 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
6097 define all these to 1.
6098 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
6099
d6765f1d
RM
61001998-08-12 Roland McGrath <roland@baalperazim.frob.com>
6101
6102 * sysdeps/mach/usleep.c: Include <unistd.h>.
6103 (usleep): Return void.
6104
61051998-08-11 Roland McGrath <roland@baalperazim.frob.com>
6106
6107 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
6108 decl to inhibit warning in if_freenameindex defn.
6109
6110 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
6111
6112 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
6113
6114 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
6115 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
6116 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
6117 * sysdeps/mach/usleep.c: Likewise.
6118
6119 * sysdeps/mach/hurd/bind.c (bind): Add a const.
6120
6121 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
6122 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
6123 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
6124 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
6125 * sysdeps/mach/usleep.c (usleep): Likewise.
6126 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6127 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6128 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
6129 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
6130
61311998-08-11 Roland McGrath <roland@baalperazim.frob.com>
6132
6133 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
6134 (glob64): Fix typo.
6135
6136 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
6137 %p arg to fprintf, since `void *' is the right type already.
6138
b5876a19
RM
61391998-07-25 19:47 Jose M. Moya <josem@gnu.org>
6140
6141 * sysdeps/mach/hurd/getcwd.c
1f539fd1
UD
6142 (_hurd_canonicalize_directory_name_internal): Do not loop forever
6143 for unknown root directories.
b5876a19 6144 (__getcwd): Return NULL when the current root directory could not
1f539fd1 6145 be reached.
b5876a19 6146
f81d98d6 61471998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
a2bde807 6148
f81d98d6 6149 * string/strsignal.c (strsignal): Count real-time signals from zero.
a2bde807 6150
a5f4e34a 6151
f81d98d6 6152See ChangeLog.8 for earlier changes.