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