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