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