Update.
[platform/upstream/glibc.git] / ChangeLog
1 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
2
3         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
4         including linux/errno.h.
5
6 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
7
8         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
9         Use correct types.
10         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
11         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
12
13 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
14
15         * Makerules (elide-routines.*): Fix assignments.
16         (do-makelib): Fix typo.
17         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
18         makefile.
19
20 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
21
22         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
23         $(objpfx)sysd-dirs): Move them...
24         * Makeconfig: ... here.
25         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
26         (stubs): Fix circular depedency.
27         (do-makelib): Clean up.
28         (lib): Don't depend on lib-noranlib.
29         ($(objpfx)stamp.oS): Remove special case for empty
30         static-only-routines.
31         (elide-routines.o): Add $(static-only-routines).
32         (elide-routines$o): Define this instead of elide-routines.$o.
33         * manual/Makefile (stubs): Fix circular dependency.
34
35 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
36
37         * libio/Makefile (routines): Remove duplicate oldiofclose.
38
39 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
40
41         * string/strcoll.c: Use uint32_t instead of u_int32_t.
42
43 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
44
45         * libio/stdio.h: Fix typo in __REDIRECT.
46         * io/sys/stat.h: Likewise.
47         Reported by Myles Uyema <myles@uyema.nws.net>.
48
49 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
50
51         * locale/programs/localedef.c (options): Fix help message.
52
53 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
54
55         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
56         relocations.  Patch by Joe Keane <jgk@jgk.org>.
57
58 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
59
60         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
61         ptmalloc_unlock_all, but re-initializes the mutexes instead.
62         (ptmalloc_init): Use new function in thread_at_fork call.
63         (thread_atfork_static): Likewise.
64         Suggested by Wolfram Gloger and Xavier Leroy.
65
66 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
67
68         * signal/signal.h: Move definitions of struct sigstack and
69         struct sigaltstack into separate file and include it.
70         * sysdeps/generic/bits/sigstack.h: New file.
71         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
72         * signal/Makefile (headers): Add bits/sigstack.h.
73
74 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
75
76         * elf/rtld.c (dl_main): Fix check for number of references to
77         interpreter object.
78
79 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
80
81         * elf/rtld.c (dl_main): Check has_interp after executing platform
82         specific code.
83
84 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
85
86         * iconvdata/run-iconv-test.sh: Fix typo.
87
88 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
89
90         * Makerules (+depfiles): Add depfiles for $(tests-static).
91         Simplified.
92
93 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
94
95         * manual/terminal.texi (Special Characters): Fix description of
96         c_cc indexes.
97
98 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
99
100         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
101         array.
102         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
103         of c_cc array.
104
105 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
106
107         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
108
109 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
110
111         * intl/locale.alias: Update russian entry.
112
113 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
114
115         * Makerules (static-only-routines): Reimplement in terms of
116         elide-routines.os.
117         (shared-only-routines): Reimplement in terms of
118         elide-routines.X [where X is all object-suffixes except .os].
119
120         (stubs): Create stubs file inside the subdir.
121         (common-mostlyclean): Remove stubs file from inside the subdir.
122         * Makefile (subdir-stubs): Look for stubs files inside the
123         subdirs.
124         * manual/Makefile (stubs): Create dummy stubs file inside the
125         subdir.
126
127 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
128
129         Build speed improvement: make ar less of a bottleneck.
130
131         * Makerules (stamp$o): Just record the object list for later
132         use.
133         (libc_foo.a): New rule, depends on subdir stamp files; builds
134         and ranlibs the library from the lists saved in those files.
135
136         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
137         (subdirs-stamp-o): Likewise.
138
139         (ar-symtab-name): Delete variable.
140         (lib%.a): Delete target.
141         (libc_foo.a(bar.%)): Delete target.
142         (libc_foo.a($(ar-symtab-name))): Delete target.
143
144         (objects objs): Just depend on libobjs and extra-objs.
145         (libobjs): Depend on the stamp files, not the objects.
146         (extra-objs): New target, just depends on the extra-objs list.
147
148         (CREATE_ARFLAGS): Kill the `ar S' hack.
149
150         * config.make.in (have-ar-S): Deleted.
151         * configure.in: Delete test for `ar S'.  Add test to determine
152         whether ranlib does anything useful.
153
154 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
155
156         * inet/tst-ether_aton.c: Include <stdio.h>.
157
158 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
159
160         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
161
162         * locale/Makefile (distribute): Add programs/repertoire.h.
163         (localedef-modules): Add repertoire.
164         (CPPFLAGS): Define REPERTOIREMAP_PATH.
165         * locale/programs/repertoire.c: New file.
166         * locale/programs/repertoire.h: New file.
167         * locale/programs/charmap.c: Starting fixing character set handling
168         to handle multi-byte encodings.
169         * locale/programs/charset.c: Likewise.
170         * locale/programs/charset.h: Likewise.
171         * locale/programs/ld-collate.c: Likewise.
172         * locale/programs/ld-ctype.c: Likewise.
173         * locale/programs/linereader.c: Likewise.
174         * locale/programs/localedef.c: Likewise.
175         * locale/programs/locfile-kw.gperf: Likewise.
176         * locale/programs/locfile-kw.h: Likewise.
177         * locale/programs/locfile-token.h: Likewise.
178         * locale/programs/locfile.h: Likewise.
179         * locale/programs/stringtrans.c: Likewise.
180
181         * locale/programs/locfile.c: Interpret I18NPATH value as base of
182         path, extended with "/locales/".
183
184 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
185
186         * sysdeps/arm/memset.S: Fix off by one error.
187
188         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
189         __syscall_error rather than syscall_error directly.
190
191 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
192
193         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
194         mmap() syscall for ARM.
195
196         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
197         binaries.
198
199 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
200
201         * locale/programs/localedef.c: Recognize repertoire-map option.
202
203 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
204
205         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
206         converting non-hex numbers.
207         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
208
209 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
210
211         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
212         check overflow.
213         * resolv/Makefile (tests): New, add tst-aton.
214         * resolv/tst-aton.c: New file.
215
216 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
217
218         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
219         semicolon.
220
221 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
222
223         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
224         by letting the later modify the variable computing the total directly.
225         * wcsmbs/mbsrtowcs.c: Likewise.
226         * wcsmbs/wcsnrtombs.c: Likewise.
227         * wcsmbs/wcsrtombs.c: Likewise.
228
229         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
230         it is not used.
231         * wcsmbs/wctoc.c: Likewise.
232
233         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
234         * wcsmbs/wcsrtombs.c: Likewise.
235
236         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
237
238 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
239
240         * iconv/skeleton.c: Correct counting of actually converted
241         characters.
242
243         * intl/localealias.c (read_alias_file): Use unsigned char for
244         local variables.  Remove unused variable tp.
245         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
246         for type of codeset.  For loosing Solaris systems.
247         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
248         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
249         len if not needed.
250         Patches by Jim Meyering.
251
252         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
253         wcsrtombs must put it into initial state.
254
255 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
256
257         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
258         argument of bswap_XX macro.
259
260 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
261
262         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
263         variable name.
264
265 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
266
267         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
268         semun and use stdarg macros to get the value.
269         * sysdeps/generic/semctl.c: Don't use union semun.
270
271         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
272
273         * string/basename.c [!_LIBC]: Define function as gnu_basename.
274
275         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
276         strings.h.
277
278         * stdlib/grouping.h: Accept ungrouped numbers even if locale
279         defines grouping.
280
281         * intl/hash-string.h: Don't include values.h.
282
283         * inet/Makefile (tests): Add tst-ether_aton.
284         * inet/tst-ether_aton.c: New file.
285
286         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
287         in hex conversion.
288         * inet/ether_aton.c (ether_aton): Declare result variable static.
289         Reported by ahyung@unixg.ubc.ca.
290
291         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
292         Define macro _SEM_SEMUN_UNDEFINED instead.
293         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
294
295         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
296         * stdio-common/Makefile (tests): Add tst-wc-printf.
297
298 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
299
300         * manual/stdio.texi (Variable Arguments Output): Correct variable
301         name.  Patch from Ewan Mellor <em@nexus.co.uk>
302
303 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
304
305         * intl/dcgettext.c: Remove unneeded definition of
306         internal_function.
307
308 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
309
310         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
311         instead of do-iconv-test.
312         ($(objpfx)gconv-modules): Define rule only if objpfx is not
313         empty.
314
315 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
316
317         * string/string.h: Fix feature test.
318
319 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
320
321         * iconvdata/iso646.c (BODY): Don't use character constants that
322         depend on signedness of char.
323
324 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
325
326         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
327         (sysdep_routines): Add s_pread64 and s_pwrite64.
328
329 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
330
331         * iconvdata/Makefile (distribute): Remove generated .h files.
332         * iconvdata/koi8-r.h: Removed.
333         * iconvdata/latin-greek-1.h: Removed.
334         * iconvdata/latin-greek.h: Removed.
335
336         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
337         * iconvdata/KOI-8: Likewise.
338         * iconvdata/KOI-8..UTF8: Likewise.
339         * iconvdata/KOI8-R: Likewise.
340         * iconvdata/KOI8-R..UTF8: Likewise.
341
342 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
343
344         * streams/Makefile (headers): Add sys/stropts.h.
345         * streams/sys/stropts.h: New file.
346
347 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
348
349         * sysdeps/unix/sysv/linux/ttyname.c,
350         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
351         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
352
353 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
354
355         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
356         argument of _itoa_word.
357
358 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
359
360         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
361         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
362         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
363         sigprocmask, resp., instead of EXTRA.
364
365         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
366         s_pread64 and s_pwrite64.
367
368 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
369
370         * iconvdata/Makefile: Correct rules to generate gap table.
371         * iconvdata/gap.pl: Simplify.
372
373         * iconvdata/TESTS: Name new tests.
374         * iconvdata/testdata/CP1250: New file.
375         * iconvdata/testdata/CP1250..UTF8: New file.
376         * iconvdata/testdata/CP1251: New file.
377         * iconvdata/testdata/CP1251..UTF8: New file.
378         * iconvdata/testdata/CP1252: New file.
379         * iconvdata/testdata/CP1252..UTF8: New file.
380         * iconvdata/testdata/CP1253: New file.
381         * iconvdata/testdata/CP1253..UTF8: New file.
382         * iconvdata/testdata/CP1254: New file.
383         * iconvdata/testdata/CP1254..UTF8: New file.
384         * iconvdata/testdata/CP1255: New file.
385         * iconvdata/testdata/CP1255..UTF8: New file.
386         * iconvdata/testdata/CP1256: New file.
387         * iconvdata/testdata/CP1256..UTF8: New file.
388         * iconvdata/testdata/CP1257: New file.
389         * iconvdata/testdata/CP1257..UTF8: New file.
390
391 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
392
393         * iconvdata/Makefile: Add rules for ISO-2022-KR.
394         * iconvdata/iso-2022-kr.c: New file.
395
396         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
397         and ISO-2022-KR.
398
399 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
400
401         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
402         iso8859-8 and iso8859-10.
403         * iconvdata/iso8859-5.c: Change to use gap method.
404         * iconvdata/iso8859-7.c: Likewise.
405         * iconvdata/iso8859-8.c: Likewise.
406         * iconvdata/iso8859-10.c: Likewise.
407
408         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
409         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
410         end of the loop.
411         * iconvdata/iso-2022-jp.c: New file.
412
413         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
414         * iconvdata/ksc5601.h: Unify function interfaces.
415         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
416         * iconvdata/uhc.c: Likewise.
417
418         * iconvdata/gb2312.h: Use correct types.
419
420         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
421         size elements of data.
422
423 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
424
425         * string/tst-svc.expect: Adapt for change in .input.
426         * string/tst-svc.input: More tests.
427
428 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
429
430         * iconvdata/Makefile: Add rules for new modules.
431         * iconvdata/gconv-modules: Likewise.
432         * iconvdata/cp737.c: New file.
433         * iconvdata/cp737.h: New file.
434         * iconvdata/cp775.c: New file.
435         * iconvdata/cp775.h: New file.
436         * iconvdata/cp874.c: New file.
437         * iconvdata/cp874.h: New file.
438
439 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
440
441         * iconvdata/Makefile: Create target directory before generating
442         headers.
443
444 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
445
446         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
447         __USER_LABEL_PREFIX__.
448         (__ASMNAME, __ASMNAME2): New macros.
449
450 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
451
452         * elf/dl-load.c: Include sys/param.h for MAX.
453
454 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
455
456         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
457         __ftruncate the strong symbol, and add weak alias.
458         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
459
460 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
461
462         * termios/cfsetspeed.c: Make code cleaner and add missing const.
463         Patch by Joe Keane <jgk@jgk.org>.
464
465         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
466         free()ing.
467
468 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
469
470         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
471         Patch by Thomas Bushnell, n/BSG.
472
473 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
474
475         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
476
477 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
478
479         * iconvdata/Makefile: Put generated headers in build directory.
480
481 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
482
483         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
484         strsep as current directory.
485
486         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
487         Java.  Add definitions for unicodelittle implementation.
488         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
489         * iconv/gconv_simple.c: Define unicodelittle functions.
490
491         * iconv/iconv_prog.c: Make program print information about position
492         of illegal character in input.
493
494         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
495         comparison of charset name.
496         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
497         * iconvdata/ebcdic-at-de-a.c: Likewise.
498         * iconvdata/ebcdic-at-de.c: Likewise.
499         * iconvdata/ebcdic-ca-fr.c: Likewise.
500         * iconvdata/euccn.c: Likewise.
501         * iconvdata/eucjp.c: Likewise.
502         * iconvdata/euckr.c: Likewise.
503         * iconvdata/euctw.c: Likewise.
504         * iconvdata/hp-roman8.c: Likewise.
505         * iconvdata/iso6937.c: Likewise.
506         * iconvdata/iso8859-1.c: Likewise.
507         * iconvdata/iso8859-10.c: Likewise.
508         * iconvdata/iso8859-2.c: Likewise.
509         * iconvdata/iso8859-3.c: Likewise.
510         * iconvdata/iso8859-4.c: Likewise.
511         * iconvdata/iso8859-5.c: Likewise.
512         * iconvdata/iso8859-6.c: Likewise.
513         * iconvdata/iso8859-7.c: Likewise.
514         * iconvdata/iso8859-8.c: Likewise.
515         * iconvdata/iso8859-9.c: Likewise.
516         * iconvdata/johab.c: Likewise.
517         * iconvdata/koi-8.c: Likewise.
518         * iconvdata/koi8-r.c: Likewise.
519         * iconvdata/latin-greek-1.c: Likewise.
520         * iconvdata/latin-greek.c: Likewise.
521         * iconvdata/sjis.c: Likewise.
522         * iconvdata/t61.c: Likewise.
523         * iconvdata/uhc.c: Likewise.
524
525         * iconvdata/iso646.c: Add support for more ISO 646 variants.
526         * iconvdata/TESTS: Add tests for ISO646 module.
527         * iconvdata/gconv-modules: Add new modules.
528         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
529         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
530         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
531         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
532         * iconvdata/testdate/DIN_66003: Likewise.
533         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
534         * iconvdata/testdate/DS_2089: Likewise.
535         * iconvdata/testdate/DS_2089..UTF8: Likewise.
536         * iconvdata/testdate/ES: Likewise.
537         * iconvdata/testdate/ES..UTF8: Likewise.
538         * iconvdata/testdate/ES2: Likewise.
539         * iconvdata/testdate/ES2..UTF8: Likewise.
540         * iconvdata/testdate/GB_1988-80: Likewise.
541         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
542         * iconvdata/testdate/IT: Likewise.
543         * iconvdata/testdate/IT..UTF8: Likewise.
544         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
545         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
546         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
547         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
548         * iconvdata/testdate/JUS_I.B1.002: Likewise.
549         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
550         * iconvdata/testdate/KSC5636: Likewise.
551         * iconvdata/testdate/KSC5636..UTF8: Likewise.
552         * iconvdata/testdate/MSZ_7795.3: Likewise.
553         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
554         * iconvdata/testdate/NC_NC00-10: Likewise.
555         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
556         * iconvdata/testdate/NF_Z_62-010: Likewise.
557         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
558         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
559         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
560         * iconvdata/testdate/NS_4551-1: Likewise.
561         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
562         * iconvdata/testdate/NS_4551-2: Likewise.
563         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
564         * iconvdata/testdate/PT: Likewise.
565         * iconvdata/testdate/PT..UTF8: Likewise.
566         * iconvdata/testdate/PT2: Likewise.
567         * iconvdata/testdate/PT2..UTF8: Likewise.
568         * iconvdata/testdate/SEN_850200_B: Likewise.
569         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
570         * iconvdata/testdate/SEN_850200_C: Likewise.
571         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
572
573         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
574         * iconvdata/cns11643l1.h: Likewise.
575         * iconvdata/latin-greek-1.h: Likewise.
576         * iconvdata/latin-greek.h: Likewise.
577         * iconvdata/koi8-r.h: Likewise.
578         * iconvdata/jis0212.h: Likewise.
579         * iconvdata/gb2312.h: Likewise.
580         * iconvdata/ksc5601.h: Likewise.
581
582         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
583
584         * iconvdata/Makefile: Add rules for lots of more modules.
585         * iconvdata/cp1250.c: New file.
586         * iconvdata/cp1251.c: New file.
587         * iconvdata/cp1252.c: New file.
588         * iconvdata/cp1253.c: New file.
589         * iconvdata/cp1254.c: New file.
590         * iconvdata/cp1255.c: New file.
591         * iconvdata/cp1256.c: New file.
592         * iconvdata/cp1257.c: New file.
593         * iconvdata/ebcdic-dk-no-a.c: New file.
594         * iconvdata/ebcdic-dk-no.c: New file.
595         * iconvdata/ebcdic-es-a.c: New file.
596         * iconvdata/ebcdic-es-s.c: New file.
597         * iconvdata/ebcdic-es.c: New file.
598         * iconvdata/ebcdic-fi-se-a.c: New file.
599         * iconvdata/ebcdic-fi-se.c: New file.
600         * iconvdata/ebcdic-fr.c: New file.
601         * iconvdata/ebcdic-is-friss.c: New file.
602         * iconvdata/ebcdic-it.c: New file.
603         * iconvdata/ebcdic-pt.c: New file.
604         * iconvdata/ebcdic-uk.c: New file.
605         * iconvdata/ebcdic-us.c: New file.
606         * iconvdata/ibm037.c: New file.
607         * iconvdata/ibm038.c: New file.
608         * iconvdata/ibm1004.c: New file.
609         * iconvdata/ibm1026.c: New file.
610         * iconvdata/ibm1047.c: New file.
611         * iconvdata/ibm256.c: New file.
612         * iconvdata/ibm273.c: New file.
613         * iconvdata/ibm274.c: New file.
614         * iconvdata/ibm275.c: New file.
615         * iconvdata/ibm277.c: New file.
616         * iconvdata/ibm278.c: New file.
617         * iconvdata/ibm280.c: New file.
618         * iconvdata/ibm281.c: New file.
619         * iconvdata/ibm284.c: New file.
620         * iconvdata/ibm285.c: New file.
621         * iconvdata/ibm290.c: New file.
622         * iconvdata/ibm297.c: New file.
623         * iconvdata/ibm420.c: New file.
624         * iconvdata/ibm423.c: New file.
625         * iconvdata/ibm424.c: New file.
626         * iconvdata/ibm437.c: New file.
627         * iconvdata/ibm500.c: New file.
628         * iconvdata/ibm850.c: New file.
629         * iconvdata/ibm851.c: New file.
630         * iconvdata/ibm852.c: New file.
631         * iconvdata/ibm855.c: New file.
632         * iconvdata/ibm857.c: New file.
633         * iconvdata/ibm860.c: New file.
634         * iconvdata/ibm861.c: New file.
635         * iconvdata/ibm862.c: New file.
636         * iconvdata/ibm863.c: New file.
637         * iconvdata/ibm864.c: New file.
638         * iconvdata/ibm865.c: New file.
639         * iconvdata/ibm868.c: New file.
640         * iconvdata/ibm869.c: New file.
641         * iconvdata/ibm870.c: New file.
642         * iconvdata/ibm871.c: New file.
643         * iconvdata/ibm875.c: New file.
644         * iconvdata/ibm880.c: New file.
645         * iconvdata/ibm891.c: New file.
646         * iconvdata/ibm903.c: New file.
647         * iconvdata/ibm904.c: New file.
648         * iconvdata/ibm905.c: New file.
649         * iconvdata/ibm918.c: New file.
650
651         * locale/iso-4217.def: Update.
652         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
653
654         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
655         formats.
656
657 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
658
659         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
660         LD_LIBRARY_PATH.
661
662 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
663
664         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
665         * Makefile: Likewise.
666         * posix/Makefile: Likewise.
667         * sysdeps/mach/hurd/Makefile: Likewise.
668
669 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
670
671         * sysdeps/mach/hurd/bits/dirent.h: New file.
672         * sysdeps/mach/hurd/readdir64.c: New file.
673         * sysdeps/mach/hurd/readdir64_r.c: New file.
674
675 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
676
677         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
678         dprintf): Synchronize declarations with libio/stdio.h.
679
680 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
681
682         * elf/dlerror.c (dlerror): Don't assume that
683         __libc_internal_tsd_get is defined.  __libc_getspecific is already
684         well-protected, so just use it directly.
685
686 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
687
688         * io/ftw.h (ftw): Fix typo.
689
690 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
691
692         * sysdeps/gnu/utmp_file.c: Fix typo.
693
694 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
695
696         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
697         one part of a test fails move on to the next test.
698
699 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
700
701         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
702
703 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
704
705         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
706         as pointers, not signed integers.
707
708 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
709
710         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
711
712 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
713
714         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
715         asm symbol name of functions.
716         * include/features.h: Kill redundant test.
717
718         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
719         * io/ftw.h: Likewise.
720         * io/sys/stat.h: Likewise.
721         * io/sys/statfs.h: Likewise.
722         * io/sys/statvfs.h: Likewise.
723         * libio/stdio.h: Likewise.
724         * resource/sys/resource.h: Likewise.
725         * rt/aio.h: Likewise.
726
727         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
728          __FAVOR_BSD.
729         * signal/signal.h: Use new macros for BSD vs. SysV signal().
730
731         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
732         a dummy library.
733         * misc/bsd-compat.c: Removed.
734
735 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
736
737         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
738         function declaration.
739         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
740         and use them in conversion function.
741         * iconvdata/Makefile (modules): Re-add ISO6446.
742         * iconvdata/TEST: Add tests for ASCII variants.
743         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
744         * iconvdata/testdata/ANSI_X3.4-1968: New file.
745         * iconvdata/testdata/BS_4730: New file.
746         * iconvdata/testdata/BS_4730..UTF8: New file.
747
748 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
749
750         * iconv/gconv.h (struct gconv_step): Add element stateful.
751         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
752         to zero for all internal conversions.
753         * iconv/skeleton.c: Initialize stateful depending on whether or not
754         RESET_STATE is defined to one or zero respectively.
755         * stdlib/mblen.c: Use stateful element of currently selected
756         converter for result if S is NULL.
757         * stdlib/mbtowc.c: Likewise.
758         * stdlib/wctomb.c: Likewise.
759
760 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
761
762         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
763
764         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
765
766         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
767         character in comparison with uint32_t.
768         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
769         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
770         Optimize BODY a bit.
771
772         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
773         be defined.
774
775         * iconv/skeleton.c: Also reset converted counter in case of an error.
776         Call reset function using correct value for output buffer start.
777
778         * iconvdata/Makefile: Re-enable tests.
779
780         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
781         value for to-conversion.
782
783         * iconvdata/TESTS: Add new third column.
784         * iconvdata/run-iconv-test.sh: Add support for charsets which are
785         not ASCII based.
786         * iconvdata/testdata/suntzus: New file.
787
788         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
789         while reading.  Correctly used base.  Little optimization.
790         (__strtoul_internal): Likewise.
791
792         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
793         was wrong.  Use explicit variable.
794
795 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
796
797         * configure.in: Check for awk.
798         * config.make.in: Add AWK to be substituted.
799
800         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
801         * manual/users.texi: Fix typo exposed by above rewrite.
802
803         * Makefile: Invoke awk using AWK variable.
804         * csu/Makefile: Likewise.
805         * elf/Makefile: Likewise.
806         * mach/Makefile: Likewise.
807         * manual/Makefile: Likewise.
808         * sysdeps/gnu/Makefile: Likewise.
809         * sysdeps/mach/hurd/Makefile: Likewise.
810         * sysdeps/unix/Makefile: Likewise.
811         * timezone/Makefile: Likewise.
812
813 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
814
815         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
816         array index translation.
817         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
818         these are defined.
819
820         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
821
822         * sysdeps/mach/hurd/errlist.c: New file.
823         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
824         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
825         semantics, so rename it.
826
827 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
828
829         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
830         conversions.
831
832 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
833
834         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
835         * wcsmbs/wcsnrtombs.c: Likewise.
836
837 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
838
839         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
840
841         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
842
843         * time/strftime.c (my_strftime): Initialize pad variable in
844         declaration.
845
846         * iconvdata/big5.c: Don't use character constants in comparisons
847         with unsigned value.
848
849 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
850
851         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
852         __libc_siglongjmp to GLIBC_2.1.
853
854         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
855         __strerror_r.
856
857         * iconv/Makefile: Don't run tests now.
858
859         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
860         with correct output buffer.
861
862         Major rewrite of the low-level gconv functionality.
863         * iconv/gconv.c: Rewritten.
864         * iconv/gconv.h: Likewise.
865         * iconv/gconv_builtin.c: Likewise.
866         * iconv/gconv_builtin.h: Likewise.
867         * iconv/gconv_conf.c: Likewise.
868         * iconv/gconv_int.h: Likewise.
869         * iconv/gconv_open.c: Likewise.
870         * iconv/gconv_simple.c: Likewise.
871         * iconv/iconv.c: Likewise.
872         * iconvdata/8bit-gap.c: Likewise.
873         * iconvdata/8bit-generic.c: Likewise.
874         * iconvdata/Makefile: Likewise.
875         * iconvdata/big5.c: Likewise.
876         * iconvdata/cns11643.c: Likewise.
877         * iconvdata/cns11643.h: Likewise.
878         * iconvdata/cns11643l1.c: Likewise.
879         * iconvdata/cns11643l1.h: Likewise.
880         * iconvdata/ebcdic-at-de-a.c: Likewise.
881         * iconvdata/ebcdic-at-de.c: Likewise.
882         * iconvdata/ebcdic-ca-fr.c: Likewise.
883         * iconvdata/euccn.c: Likewise.
884         * iconvdata/eucjp.c: Likewise.
885         * iconvdata/euckr.c: Likewise.
886         * iconvdata/euctw.c: Likewise.
887         * iconvdata/gb2312.c: Likewise.
888         * iconvdata/gb2312.h: Likewise.
889         * iconvdata/hp-roman8.c: Likewise.
890         * iconvdata/iso646.c: Likewise.
891         * iconvdata/iso6937.c: Likewise.
892         * iconvdata/iso8859-1.c: Likewise.
893         * iconvdata/iso8859-10.c: Likewise.
894         * iconvdata/iso8859-2.c: Likewise.
895         * iconvdata/iso8859-3.c: Likewise.
896         * iconvdata/iso8859-4.c: Likewise.
897         * iconvdata/iso8859-5.c: Likewise.
898         * iconvdata/iso8859-6.c: Likewise.
899         * iconvdata/iso8859-7.c: Likewise.
900         * iconvdata/iso8859-8.c: Likewise.
901         * iconvdata/iso8859-9.c: Likewise.
902         * iconvdata/jis0201.c: Likewise.
903         * iconvdata/jis0201.h: Likewise.
904         * iconvdata/jis0208.c: Likewise.
905         * iconvdata/jis0208.h: Likewise.
906         * iconvdata/jis0212.c: Likewise.
907         * iconvdata/jis0212.h: Likewise.
908         * iconvdata/johab.c: Likewise.
909         * iconvdata/koi-8.c: Likewise.
910         * iconvdata/koi8-r.c: Likewise.
911         * iconvdata/ksc5601.c: Likewise.
912         * iconvdata/ksc5601.h: Likewise.
913         * iconvdata/latin-greek-1.c: Likewise.
914         * iconvdata/latin-greek.c: Likewise.
915         * iconvdata/run-iconv-test.sh: Likewise.
916         * iconvdata/sjis.c: Likewise.
917         * iconvdata/t61.c: Likewise.
918         * iconvdata/uhc.c: Likewise.
919         * wcsmbs/btowc.c: Likewise.
920         * wcsmbs/mbrtowc.c: Likewise.
921         * wcsmbs/mbsnrtowcs.c: Likewise.
922         * wcsmbs/mbsrtowcs.c: Likewise.
923         * wcsmbs/wcrtomb.c: Likewise.
924         * wcsmbs/wcsmbsload.c: Likewise.
925         * wcsmbs/wcsnrtombs.c: Likewise.
926         * wcsmbs/wcsrtombs.c: Likewise.
927         * wcsmbs/wctob.c: Likewise.
928         * iconv/loop.c: New file.
929         * iconv/skeleton.c: New file.
930
931         * stdlib/mblen.c: Handle empty input string correctly.
932         * stdlib/mbtowc.c: Likewise.
933
934         * posix/getopt.c: Various cleanups.
935
936         * sysdeps/arm/bits/setjmp.h: Add copyright text.
937         * sysdeps/i386/bits/setjmp.h: Likewise.
938         * sysdeps/m68k/bits/setjmp.h: Likewise.
939         * sysdeps/powerpc/bits/setjmp.h: Likewise.
940         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
941
942         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
943         and make longjmp weak alias.
944
945 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
946
947         * iconv/Makefile (routines): Only include gconv_dl if building for
948         an ELF system - dynamic linking is not available on a.out.
949         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
950         due to above check.
951         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
952         routines from gconv_dl.
953
954 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
955
956         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
957         we can compile without libio.
958
959 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
960
961         * sysdeps/mach/hurd/Subdirs: Remove login.
962
963 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
964
965         * db2/compat.h: Include <errno.h>, to make sure we get the
966         definition of EFTYPE before we define it ourselves.
967
968 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
969
970         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
971         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
972         Fix typo to allow inclusion from sys/ioctl.h again.
973
974 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
975
976         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
977
978 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
979
980         * libc.map: Export __strerror_r.  Remove _strerror_internal.
981
982 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
983
984         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
985         Also undefine __strcasestr.
986
987 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
988
989         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
990         aliases do not work with global variables due to copy relocations.
991
992 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
993
994         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
995
996 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
997
998         * signal/sighold.c: Include stddef.h for NULL definition.
999         * signal/sigrelse.c: Likewise.
1000         * sysdeps/posix/sigignore.c: Likewise.
1001         * sysdeps/posix/sigset.c: Likewise.
1002         * sysdeps/posix/waitid.c: Likewise.
1003         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
1004         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
1005         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1006         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
1007         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1008
1009 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
1010
1011         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
1012         * login/getutent.c (getutxent): Remove alias.
1013         * login/getutent_r.c (setutxent, pututxline, endutxent):
1014         Remove aliases.
1015         * login/getutid.c (getutxid): Remove alias.
1016         * login/getutline.c (getutxline): Remove alias.
1017         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
1018         __getutid, __getutline and __pututline.
1019         * login/utmpx.h: Moved to ...
1020         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
1021         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
1022         and updwtmpx.
1023         * login/updwtmp.c: Moved to ...
1024         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
1025         allowing file name transformation.
1026         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
1027         additional file name transformation.
1028         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
1029         * login/utmp_file.c: Moved to ...
1030         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
1031         Generalized by allowing file name transformation.  Do not
1032         print error message.  Library functions should not print them.
1033         Reported by Jim Meyering.
1034         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
1035         with additional file name transformation.
1036         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
1037         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
1038         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
1039         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
1040         and bits/utmpx.h.
1041         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
1042         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
1043         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
1044         Define if __USE_GNU.
1045         * sysdeps/generic/setutxent.c: New file.
1046         * sysdeps/generic/getutxent.c: New file.
1047         * sysdeps/generic/endutxent.c: New file.
1048         * sysdeps/generic/getutxid.c: New file.
1049         * sysdeps/generic/getutxline.c: New file.
1050         * sysdeps/generic/pututxline.c: New file.
1051         * sysdeps/generic/utmpxname.c: New file.
1052         * sysdeps/generic/updwtmpx.c: New file.
1053         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
1054         * sysdeps/generic/bits/utmpx.h: Remove.
1055
1056 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
1057
1058         * posix/wordexp-test.c (main): Initialize ifs element of ts for
1059         ~root test.
1060
1061 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
1062
1063         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
1064
1065 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
1066
1067         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
1068         variable using _G_stat64.
1069         * libio/fileops.c: Remove macro definition of fstat, it is in the
1070         global header.
1071         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1072
1073 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
1074
1075         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
1076         <willy@odie.barnet.ac.uk>.
1077
1078 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
1079
1080         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
1081         required by IPv6 Basic API.
1082         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
1083         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
1084         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
1085         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
1086
1087 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
1088
1089         Don't name internal representation since it might be different from
1090         the external form (namely on little endian machines).
1091         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
1092         UCS4 into references to INTERNAL.
1093         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
1094         Add endianess support to UCS functions.  Change references to
1095         UCS4 into references to INTERNAL.
1096         * iconv/gconv_int.h: Change references to UCS4 into references to
1097         INTERNAL.
1098         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
1099         * iconvdata/gconv-modules: Change accordingly.
1100         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
1101
1102         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
1103         overflow.
1104         * iconvdata/8bit-gap.c: Likewise.
1105         * iconvdata/8bit-generic.c: Likewise.
1106         * iconvdata/big5.c: Likewise.
1107         * iconvdata/euccn.c: Likewise.
1108         * iconvdata/eucjp.c: Likewise.
1109         * iconvdata/euckr.c: Likewise.
1110         * iconvdata/euctw.c: Likewise.
1111         * iconvdata/iso646.c: Likewise.
1112         * iconvdata/iso6937.c: Likewise.
1113         * iconvdata/iso8859-1.c: Likewise.
1114         * iconvdata/johab.c: Likewise.
1115         * iconvdata/sjis.c: Likewise.
1116         * iconvdata/t61.c: Likewise.
1117         * iconvdata/uhc.c: Likewise.
1118
1119         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
1120         * iconvdata/8bit-generic.c: Likewise.
1121
1122         * iconvdata/TESTS: Add more tests.
1123
1124         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
1125
1126 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
1127
1128         * iconvdata/Makefile: Better rules to run tests.
1129
1130         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
1131         * iconvdata/testdata/ISO-8859-10: Likewise.
1132         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
1133         * iconvdata/testdata/ISO-8859-2: Likewise.
1134         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
1135         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
1136         * iconvdata/testdata/ISO-8859-3: Likewise.
1137         * iconvdata/testdata/ISO-8859-4: Likewise.
1138         * iconvdata/testdata/ISO-8859-5: Likewise.
1139         * iconvdata/testdata/ISO-8859-6: Likewise.
1140         * iconvdata/testdata/ISO-8859-7: Likewise.
1141         * iconvdata/testdata/ISO-8859-8: Likewise.
1142         * iconvdata/testdata/ISO-8859-9: Likewise.
1143
1144 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
1145
1146         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
1147         intermediate result (if available).
1148
1149         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
1150         last change.
1151
1152         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
1153         (distribute): Add run-iconv-test.sh and testdata/*.
1154
1155         * stdlib/testmb.c (main): Simplify mbc array handling.
1156
1157 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1158
1159         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
1160         return value on overflow.
1161
1162 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1163
1164         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
1165         bits.
1166
1167 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1168
1169         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
1170         of non-standard function setbuffer.
1171
1172 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1173
1174         * stdio-common/perror.c: Include <string.h> for __strerror_r.
1175
1176 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
1177
1178         * iconvdata/Makefile: Add rules to run tests.
1179         * iconvdata/TESTS: New file.
1180         * iconvdata/run-iconv-test.sh: New file.
1181         * iconvdata/testdata/ISO-8859-1: New file.
1182
1183         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
1184         not stdout.
1185
1186 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
1187
1188         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
1189         counter element of step.
1190
1191         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
1192
1193         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
1194         termination test.
1195         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
1196         ACTUALLY.
1197         (__gconv_transform_utf8_ucs4): Correct test for empty input.
1198
1199 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
1200
1201         * Makefile: Include makeconfig before defining rule to regenerate
1202         configure files.
1203
1204         * configure.in: Remove restriction on compiling without static
1205         libs.
1206
1207 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
1208
1209         * test-skeleton.c: Provide hook for initializing code before the fork.
1210         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
1211         removed.
1212
1213         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
1214         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
1215         * libio/libioP.h: Adopt _IO_cleanup prototype.
1216
1217         * stdlib/Makefile (tests): Add test-canon2.
1218         * stdlib/test-canon2.c: New file.
1219         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
1220         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
1221         symlink sequences.
1222         (__realpath): Make real function which checks RESOLVED parameter for
1223         not being NULL.
1224
1225 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
1226
1227         * catgets/open_catalog.c (__open_catalog): Fix problems with
1228         reading non-files.  Always close file.
1229         Reported by Cristian Gafton <gafton@redhat.com>.
1230
1231         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
1232
1233 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
1234
1235         * libc.map: Add various low-level I/O functions.
1236
1237 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
1238
1239         * string/Makefile (routines): Remove strerror_r.
1240         * string/strerror_r.c: Removed.
1241         * string/strerror.c: Call __strerror_r for doing the real work.
1242         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
1243         add weak alias strerror_r.
1244         * sysdeps/mach/_strerror.c: Likewise.
1245         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
1246         * elf/dl-error.c (_dl_signal_error): Likewise.
1247         * elf/dl-profile.c (_dl_start_profile): Likewise.
1248         * gmon/gmon.c (write_gmon): Likewise.
1249         * stdio-common/perror.c: Likewise.
1250         * stdio-common/vfprintf.c: Likewise.
1251
1252 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
1253
1254         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
1255         (sysdep_headers): Add netatalk/at.h.
1256
1257 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1258
1259         * manual/socket.texi, manual/creature.texi, manual/time.texi:
1260         Formatting fixes.
1261
1262 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1263
1264         * posix/regex.c: Rename __re_syntax_options back to
1265         re_syntax_options, aliases do not work with global variables due
1266         to copy relocations.
1267         (regex_compile): Use syntax parameter instead of
1268         re_syntax_options.
1269
1270 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1271
1272         * configure.in: Document that enable-force-install is default.
1273
1274 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
1275
1276         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
1277         all needed 36 bits.
1278         * sysdeps/posix/mkstemp.c: Likewise.
1279
1280 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
1281
1282         * iconvdata/8bit-gap.c: Simplify step data handling.
1283         * iconvdata/8bit-generic.c: Likewise.
1284         * iconvdata/big5.c: Likewise.
1285         * iconvdata/euccn.c: Likewise.
1286         * iconvdata/eucjp.c: Likewise.
1287         * iconvdata/euckr.c: Likewise.
1288         * iconvdata/euctw.c: Likewise.
1289         * iconvdata/iso6937.c: Likewise.
1290         * iconvdata/iso8859-1.c: Likewise.
1291         * iconvdata/jis0208.h: Likewise.
1292         * iconvdata/jis0212.c: Likewise.
1293         * iconvdata/jis0212.h: Likewise.
1294         * iconvdata/johab.c: Likewise.
1295         * iconvdata/ksc5601.h: Likewise.
1296         * iconvdata/sjis.c: Likewise.
1297         * iconvdata/t61.c: Likewise.
1298         * iconvdata/uhc.c: Likewise.
1299
1300 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
1301
1302         * manual/texinfo.texi: Updated from last version.
1303
1304 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
1305
1306         * iconvdata/cns11643.c: New file.
1307         * iconvdata/cns11643.h: New file.
1308         * iconvdata/cns11643l1.c: New file.
1309         * iconvdata/cns11643l1.h: New file.
1310         * iconvdata/euctw.c: New file.
1311         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
1312         * iconvdata/gconv-modules: Likewise.
1313
1314         * iconvdata/eucjp.c: Several bug fixes and improvements.
1315         * iconvdata/gb2312.h: Likewise.
1316         * iconvdata/jis0201.h: Likewise.
1317         * iconvdata/jis0208.h: Likewise.
1318         * iconvdata/jis0212.h: Likewise.
1319
1320 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
1321
1322         * iconvdata/eucjp.c: New file.
1323         * iconvdata/euccn.c: New file.
1324         * iconvdata/gb2312.h: New file.
1325         * iconvdata/gb2312.c: New file.
1326         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
1327         * iconvdata/gconv-modules: Likewise.
1328
1329         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
1330
1331 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
1332
1333         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1334         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
1335         Patch by Mark Hatle <fray@kernel.crashing.org>.
1336
1337 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
1338
1339         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
1340         comment.
1341         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
1342         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
1343
1344 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
1345
1346         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
1347
1348         * iconvdata/Makefile: Add rules for big5 conversion.
1349         * iconvdata/gconv-modules: Likewise.
1350         * iconvdata/big5.c: New file.
1351
1352         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
1353         Patch by Jim Meyering.
1354
1355 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
1356
1357         * rt/tst-aio.c: Add test for aio_read and lio_listio.
1358
1359         * rt/lio_listio.c: Correct total counter handling.
1360
1361         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
1362         from request queue.
1363
1364         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
1365         of signal on exit even more.
1366
1367         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
1368         instead of call to pthread_cond_init.
1369         * rt/lio_listio.c (lio_listio): Likewise.
1370         * rt/lio_listio64.c (lio_listio64): Likewise.
1371
1372         * nis/nis_findserv.c: Include sys/socket.h.
1373
1374 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
1375
1376         * Makeconfig (rtobjdir): New variable.
1377         (rpath-link): Add rtobjdir and thread directory, if available.
1378
1379         * test-skeleton.c: Add support to remove temporary files.
1380         Always define test_dir.  Improve message about expected signal.
1381
1382         * rt/Makefile (tests): Add tst-aio.
1383         Add rules for tst-aio to be linked with librt and thread library.
1384         * rt/aio_misc.c: Correct fundamental bugs.
1385         * rt/aio_suspend.c: Correct bug in test for available request.
1386         Initialize conditional variable.
1387         * rt/lio_listio.c: Initialize conditional variable.
1388         * rt/lio_listio64.c: Likewise.
1389         * rt/tst-aio.c: New file.
1390
1391         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
1392         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
1393         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
1394         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
1395         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
1396         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
1397         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
1398
1399 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
1400
1401         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
1402
1403 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
1404
1405         * elf/dl-load.c (open_path): Use correct name for test whether
1406         directory in load path exists.
1407
1408         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
1409         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
1410         Patches by Tom Rini <trini@kernel.crashing.org>.
1411
1412         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
1413         * wcsmbs/wcstod_l.c: Likewise.
1414         * wcsmbs/wcstold_l.c: Likewise.
1415
1416         * include/byteswap.h: New file.
1417
1418         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
1419         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
1420
1421         * inet/getnameinfo.c (getnameinfo): Change parameter to match
1422         declaration.  Patch by Richard Henderson.
1423
1424 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1425
1426         * manual/process.texi (SIGCHLD example): Save errno.
1427
1428 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
1429
1430         * posix/regex.c: Define regerror really as __regerror.
1431         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
1432         regerror and regfree.
1433
1434         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
1435         * stdlib/strtod_l.c: Likewise.
1436         * stdlib/strtold_l.c: Likewise.
1437
1438         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
1439
1440         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
1441
1442         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
1443         Patch by Christian Gafton.
1444
1445 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
1446
1447         * manual/socket.texi (Interface Naming): Correct @deftypefun line
1448         for if_indextoname.
1449
1450 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1451
1452         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
1453
1454         * manual/socket.texi (Interface Naming): Fix typo.
1455
1456 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1457
1458         * manual/examples/filesrv.c (main): Remove filename first.
1459
1460         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
1461         ?F_UNIX.
1462
1463         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
1464         instead of PF_UNIX.
1465
1466         * manual/examples/filecli.c (main): Use AF_LOCAL
1467         instead of AF_UNIX.
1468
1469 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
1470
1471         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
1472         signgam weak alias.
1473         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
1474         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
1475         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
1476         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
1477         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
1478         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
1479
1480         * login/utmp_daemon.c (open_socket): Use __connect not connect.
1481
1482 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1483
1484         * configure.in: Add new option --enable-force-install.  Substitute
1485         force_install.
1486         * config.make.in (force-install): Set from configure.
1487         * Makerules (force-install): New phony target.
1488         * Makeconfig (+force): New variable.
1489         * Makefile: Use it in dependency list of installation targets.
1490         * db/Makefile: Likewise.
1491         * db2/Makefile: Likewise.
1492         * elf/Makefile: Likewise.
1493         * hurd/Makefile: Likewise.
1494         * iconv/Makefile: Likewise.
1495         * iconvdata/Makefile: Likewise.
1496         * intl/Makefile: Likewise.
1497         * localedata/Makefile: Likewise.
1498         * login/Makefile: Likewise.
1499         * po/Makefile: Likewise.
1500         * sunrpc/Makefile: Likewise.
1501         * sysdeps/mach/hurd/Makefile: Likewise.
1502         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
1503         * sysdeps/unix/sysv/linux/Makefile: Likewise.
1504         * timezone/Makefile: Likewise.
1505
1506 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1507
1508         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
1509         alloc_size.  Pass return value of getcwd syscall to realloc.
1510
1511 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1512
1513         * manual/socket.texi: Spelling fixes.
1514
1515 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1516
1517         * elf/dl-load.c (print_search_path): Remove unused variable.
1518
1519 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
1520
1521         * login/utmp_file.c: use __ftruncate not ftruncate.
1522         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
1523         for system call and make ftruncate weak alias.
1524         * posix/unistd.h: Add prototype for __ftruncate.
1525         * login/utmp_daemon.c (open_socket): Use __socket not socket.
1526         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
1527         instead of snprintf and readv.
1528         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
1529         snprintf.
1530         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
1531         directly.
1532
1533 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
1534
1535         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
1536         * iconv/gconv_db.c: Use __ protected regex functions.
1537         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
1538         * posix/getopt_init.c: Use __getpid not getpid.
1539         * posix/regex.c: Rename all global functions to start with __ and
1540         make old names weak aliases.
1541         * posix/regex.h: Adopt prototypes for this.
1542         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
1543         a weak alias and use __getcwd instead of getcwd.
1544         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
1545         * stdlib/strtod.c: Use __btowc instead of btowc.
1546         * stdlib/strtol.c: Likewise.
1547         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
1548         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
1549         and sys_errlist are weak.
1550         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
1551         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
1552         * wcsmbs/mbsnrtowcs.c: Likewise.
1553         * wcsmbs/mbsrtowcs.c: Likewise.
1554         * wcsmbs/wcsnrtombs.c: Likewise.
1555         * wcsmbs/wcsrtombs.c: Likewise.
1556         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
1557         weak alias.
1558         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
1559         * wctype/wctype.c: Define function as __wctype and make wctype
1560         weak alias.
1561         * wctype/wctype.h: Declare __wctype.
1562
1563 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
1564
1565         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
1566
1567 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1568
1569         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
1570         stat64.
1571         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
1572         functions.
1573         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
1574         for __llseek.
1575         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1576         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1577         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
1578         make it a weak alias.
1579         * posix/unistd.h: Declare __lseek64.
1580
1581         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
1582         (_IO_file_stat): Fix typo.
1583         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
1584         block size from the file.  Use __mempcpy if _LIBC.
1585
1586 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
1587
1588         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
1589         * wcsmbs/mbrtowc.c: Likewise.
1590         * wcsmbs/mbsnrtowcs.c: Likewise.
1591         * wcsmbs/mbsrtowcs.c: Likewise.
1592         * wcsmbs/wcrtomb.c: Likewise.
1593         * wcsmbs/wcsnrtombs.c: Likewise.
1594         * wcsmbs/wcsrtombs.c: Likewise.
1595         * wcsmbs/wctob.c: Likewise.
1596
1597         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
1598         position of next output character correctly.
1599         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
1600
1601         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
1602
1603         * stdlib/strtod.c: Don't use mbtowc.
1604
1605 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
1606
1607         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
1608         what we want is smaller than a buffer.
1609
1610 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
1611
1612         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
1613         this function.
1614
1615 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
1616
1617         * configure.in: Recognize --with-headers flag and determine
1618         commandline options to be used in compilation.
1619         * Makeconfig (+includes): Use $(sysincludes).
1620         * config.make.in (sysincludes): Define from SYSINCLUDES.
1621         * glibcbug.in: Use SYSINCLUDES information.
1622         Patches by Zack Weinberg.
1623
1624 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1625
1626         * glibcbug.in: On linux, report version of kernel headers seen
1627         by compiler.
1628
1629 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
1630
1631         * libc.map: Add __asprintf to GLIBC_2.1.
1632         * elf/dlerror.c: Use __asprintf, not asprintf.
1633         * libio/stdio.h: Declare __asprintf.
1634         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
1635         a weak alias.
1636
1637         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
1638         to avoid inclusion from libc_pic.a.
1639
1640         * elf/dl-runtime.c: Undo last patch.
1641
1642         * stdlib/strtod.c: Don't use mbtowc, use btowc.
1643
1644         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
1645         as default, use NULL.
1646
1647 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1648
1649         * resolv/Makefile: Include ../Makeconfig - needed for building
1650         static NSS module.
1651
1652 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1653
1654         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
1655         static-nss since we don't want hesiod in the static NSS.
1656
1657         * nss/Makefile: Build only nss_files as static.
1658
1659         * nss/function.def: Remove support for service db.
1660
1661 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
1662
1663         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
1664
1665 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
1666
1667         * posix/wordexp-test.c: Make IFS per test-case.
1668
1669 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1670
1671         * glibcbug.in: Report version of gcc in use.  Remove unused variable
1672         ENVIRONMENT.
1673
1674 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
1675
1676         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
1677         `-print-file-name' to find as and ld.
1678
1679 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
1680
1681         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
1682         template is wrong.  Remove unused varaible `ignored'.
1683
1684 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1685
1686         * libc.map: Export __libc_sa_len.
1687
1688         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
1689
1690 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
1691
1692         * iconv/gconv.c: Take care for NULL arguments.
1693         * iconv/gconv_dl.c: Make find_func function global.
1694         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
1695         Add prototypes for ASCII conversion functions.
1696         * iconv/gconv_simple.c: Add ASCII conversion functions.
1697         * locale/C-ctype.c: Correct charset name.
1698
1699         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
1700         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
1701         wcsmbsload.
1702         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
1703         * wcsmbs/mbrtowc.c: Likewise.
1704         * wcsmbs/mbsnrtowcs.c: Likewise.
1705         * wcsmbs/mbsrtowcs.c: Likewise.
1706         * wcsmbs/wcrtomb.c: Likewise.
1707         * wcsmbs/wcsnrtombs.c: Likewise.
1708         * wcsmbs/wcsrtombs.c: Likewise.
1709         * wcsmbs/wctob.c: Likewise.
1710         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
1711         prototypes for wmemr*.
1712         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
1713         * wcsmbs/wcsnlen.c: New file.
1714         * wcsmbs/wcsmbsload.c: New file.
1715         * wcsmbs/wcsmbsload.h: New file.
1716
1717         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
1718
1719         * manual/install.texi: Describe some more critical points.
1720
1721         * string/string.h: Add prototype for __strnlen.
1722         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
1723
1724         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
1725         much less predictable names.
1726         * sysdeps/posix/mkstemp.c: Likewise.
1727
1728 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1729
1730         * manual/libc.texinfo (Top): Change "file namespace" to "local
1731         namespace".
1732
1733         * manual/socket.texi: Change file namespace to local namespace.
1734         (Out-of-Band Data): Remove unneeded variable link.
1735         (Host Address Functions): Use uint32_t consequently and add a
1736         number of clarifications for IPv4/IPv6, classless addresses.
1737         (Internet Namespace): Added some paragraphs about IPv6.
1738         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
1739
1740 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
1741
1742         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
1743
1744         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
1745         (NI_NUMERICHOST, et al.): Tidy up and add comments.
1746         (AI_NUMERICHOST): Define.
1747         (getnodebyname): New prototype.
1748         (AI_V4MAPPED, et al.): New constants.
1749
1750         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
1751         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
1752         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
1753         for socket.
1754         * sysdeps/unix/sysv/linux/sa_len.c: New file.
1755         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
1756
1757         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
1758
1759         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
1760         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
1761         * socket/Makefile (headers): Add bits/sockunion.h.
1762         * socket/sys/socket.h: Include <bits/sockunion.h>
1763         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
1764         <sys/socket.h>, to avoid getting sockaddr_union defined.
1765         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
1766         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1767         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1768
1769         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
1770         (2.2.x kernels won't have it).
1771
1772 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
1773
1774         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
1775         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
1776         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
1777         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
1778
1779 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
1780
1781         * manual/socket.texi (Socket Addresses): Fix a typo.
1782         (Interface Naming): New section.
1783
1784 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1785
1786         * configure.in: Check for CC using $ac_tool_prefix, to handle
1787         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
1788         * config.make.in: Add MIG to be substituted.
1789         * mach/Machrules: Don't define MIG variable.
1790
1791         Patch by Gordon Matzigkeit <gord@profitpress.com>.
1792
1793 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
1794
1795         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
1796         strdupa to copy rpath.
1797
1798 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1799
1800         * configure.in: Fix gcc version check.
1801
1802         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
1803         confusing.
1804
1805 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
1806
1807         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
1808         of ptsname_r.
1809
1810         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
1811         like ttyname_r.
1812         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
1813         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
1814         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
1815         of __ptsname_r accordingly.
1816         * login/openpty.c (openpty): Likewise.
1817
1818 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
1819
1820         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
1821
1822 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1823
1824         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
1825
1826         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
1827
1828 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1829
1830         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
1831         return value for better error checking.
1832
1833 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
1834
1835         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
1836         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
1837
1838         * elf/elf.h (EM_SPARC64): Remove.
1839         (EM_SPARC32PLUS, EM_SPARCV9): Add.
1840         (HWCAP_SPARC_V9): Add.
1841
1842         * elf/ldsodefs.h (_dl_hwcap): Declare.
1843         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
1844         Weaken so dlopen from static progies works.
1845         (WEAKADDR): New macro.
1846         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
1847         (LD_SO_PRELOAD): New macro.
1848         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
1849         (elf_machine_rela): Weaken _dl_rtld_map.
1850
1851         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
1852         to __clone, and remove the later's alias.
1853         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1854
1855         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
1856         the kernel's structure.
1857
1858         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
1859         Sparc needs a custom value of __KERNEL_NCCS.
1860
1861 1998-04-06  Richard Henderson  <rth@cygnus.com>
1862
1863         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
1864
1865         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
1866         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1867
1868 1998-04-06  Richard Henderson  <rth@cygnus.com>
1869
1870         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
1871         as the buffer is not properly aligned.
1872         Reported by Juan Cespedes <cespedes@debian.org>.
1873
1874 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1875
1876         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
1877         instead of AF_FILE.
1878
1879 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
1880
1881         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
1882         and wc*tomb* functions.
1883
1884 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
1885
1886         * sysdeps/unix/start.c: Fix typo.
1887
1888 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
1889
1890         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
1891
1892 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
1893
1894         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
1895         expressions and using array variables.
1896         * sysdeps/libm-ieee754/e_asin.c: Likewise.
1897         * sysdeps/libm-ieee754/e_j0.c: Likewise.
1898         * sysdeps/libm-ieee754/e_j1.c: Likewise.
1899         * sysdeps/libm-ieee754/e_log.c: Likewise.
1900         * sysdeps/libm-ieee754/e_pow.c: Likewise.
1901         * sysdeps/libm-ieee754/k_cos.c: Likewise.
1902         * sysdeps/libm-ieee754/k_sin.c: Likewise.
1903         * sysdeps/libm-ieee754/k_tan.c: Likewise.
1904         * sysdeps/libm-ieee754/s_atan.c: Likewise.
1905         * sysdeps/libm-ieee754/s_erf.c: Likewise.
1906         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
1907         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
1908         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
1909
1910 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
1911
1912         * iconv/gconv.c: Rewrite of the low-level of gconv.
1913         * iconv/gconv.h: Likewise.
1914         * iconv/gconv_builtin.h: Likewise.
1915         * iconv/gconv_close.c: Likewise.
1916         * iconv/gconv_db.: Likewise.
1917         * iconv/gconv_dl.c: Likewise.
1918         * iconv/gconv_int.h: Likewise.
1919         * iconv/gconv_open.c: Likewise.
1920         * iconv/gconv_simple.c: Likewise.
1921         * iconvdata/8bit-gap.c: Adapt for rewrite.
1922         * iconvdata/8bit-generic.c: Likewise.
1923         * iconvdata/euckr.c: Likewise.
1924         * iconvdata/iso646.c: Likewise.
1925         * iconvdata/iso6937.c: Likewise.
1926         * iconvdata/iso8859-1.c: Likewise.
1927         * iconvdata/johab.c: Likewise.
1928         * iconvdata/sjis.c: Likewise.
1929         * iconvdata/t61.c: Likewise.
1930         * iconvdata/uhc.c: Likewise.
1931
1932 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
1933
1934         * iconv/gconv_int.h: New file.  Internal header.
1935         * iconv/Makefile (distribute): Add gconv_int.h.
1936         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
1937         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
1938         * iconv/gconv_close.c: Likewise.
1939         * iconv/gconv_conf.c: Likewise.
1940         * iconv/gconv_db.c: Likewise.
1941         * iconv/gconv_dl.c: Likewise.
1942         * iconv/gconv_int.h: Likewise.
1943         * iconv/gconv_open.c: Likewise.
1944         * iconv/iconv.c: Likewise.
1945         * iconv/iconv_close.c: Likewise.
1946         * iconv/iconv_open.c: Likewise.
1947         * iconv/iconv_prog.c: Likewise.
1948
1949 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
1950
1951         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
1952         missing braces.
1953
1954 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1955
1956         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
1957
1958 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
1959
1960         Based on patch from Pat Beirne:
1961         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
1962         PIC and non-PIC now.  Correctly negate error number.
1963         (errno): Use `%' not `@' in .type directives.
1964
1965 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
1966
1967         * sysdeps/i386/strtok.S: Change to use single exit point.
1968         * sysdeps/i386/i686/strtok.S: Likewise.
1969
1970 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1971
1972         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
1973         default.
1974
1975 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1976
1977         * Makerules (installed-libcs): Fix typo.
1978
1979 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1980
1981         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
1982         (UHC-routines): Remove ksc5601.
1983
1984 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
1985
1986         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
1987         introduced in last change.
1988
1989 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
1990
1991         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
1992         before 2.1.92.
1993
1994 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
1995
1996         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
1997
1998         * stdlib/isomac.c: Use -isystem instead of -I for system include
1999         dir.
2000
2001 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
2002
2003         * resolv/res_comp.c (underscorechar): New.
2004         (middlechar): Allow '_'.
2005
2006 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
2007
2008         * intl/explodename.c (stdlib.h): Include that file only if
2009         STDC_HEADERS or _LIBC.
2010         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
2011         Patch by Philippe De Muyter <phdm@macqel.be>.
2012
2013 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2014
2015         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
2016         (AC_PROG_CHECK_VER): New macro.
2017         * configure.in: Use AC_PROG_CHECK_VER to check versions of
2018         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
2019
2020 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
2021
2022         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
2023         * sysdeps/i386/i686/strtok.S: New file
2024         * sysdeps/i386/i686/strtok_r.S: New file
2025
2026 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
2027
2028         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
2029         type to __off64_t.
2030         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
2031         parameter as __off64_t instead of __off_t.
2032         (ftello): Make alias for ftello64 instead of ftello.  Change
2033         return type to __off64_t.
2034
2035 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
2036
2037         * sysdeps/i386/bits/string.h: Fix various typos.
2038         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2039
2040         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
2041
2042 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
2043
2044         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
2045         lchown syscall correctly.  [PR libc/541].
2046
2047 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
2048
2049         * localedata/Makefile: Correct testsuite rules.
2050
2051         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
2052         * iconvdata/iso646.c: Fix conversion from UCS4.
2053
2054         * elf/ldsodefs.h: Mark internal function with internal_function.
2055         * elf/dl-addr.c: Likewise.
2056         * elf/dl-close.c: Likewise.
2057         * elf/dl-debug.c: Likewise.
2058         * elf/dl-deps.c: Likewise.
2059         * elf/dl-error.c: Likewise.
2060         * elf/dl-fini.c: Likewise.
2061         * elf/dl-init.c: Likewise.
2062         * elf/dl-load.c: Likewise.
2063         * elf/dl-lookup.c: Likewise.
2064         * elf/dl-object.c: Likewise.
2065         * elf/dl-open.c: Likewise.
2066         * elf/dl-profile.c: Likewise.
2067         * elf/dl-reloc.c: Likewise.
2068         * elf/dl-runtime.c: Likewise.
2069         * elf/dl-symbol.c: Likewise.
2070         * elf/dl-version.c: Likewise.
2071         * elf/dlerror.c: Likewise.
2072         * sysdeps/generic/dl-sysdep.c: Likewise.
2073         * sysdeps/i386/dl-machine.h: Likewise.
2074         * intl/finddomain.c: Likewise.
2075         * intl/gettextP.h: Likewise.
2076         * intl/loadmsgcat.c: Likewise.
2077
2078 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
2079
2080         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
2081         * iconv/gconv_builtin.h: Add definitions for new builtins.
2082         * iconv/gconv.h: Add prototypes for new builtins.
2083
2084         * iconvdata/Makefile (modules): Add ISO646.
2085         Add rules for ISO646 module.
2086         (distribute): Add iso646.c.
2087         * iconvdata/gconv-modules: Add module and alias definition for
2088         ISO646 charsets.
2089         * iconvdata/iso646.c: New file.
2090
2091 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
2092
2093         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
2094         * iconv/iconv_prog.c: Implement --list option to print available
2095         coded character sets.
2096
2097 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2098
2099         Make fread() read large blocks straight to the user buffer.
2100
2101         * libio/fileops.c (_IO_file_xsgetn): New function.
2102         (_IO_file_jumps): Use it.
2103         * libio/libioP.h: Prototype it.
2104
2105 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
2106
2107         * iconv/gconv_conf.c (builtin_aliases): New variable.
2108         (__gconv_read_conf): Add builtin aliases.
2109         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
2110         noop macro before including gconv_builtin.h.
2111         * iconv/gconv_builtin.h: Add alias names.
2112
2113         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
2114         number of converted bytes correctly.
2115
2116 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2117
2118         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
2119         we only wait for a replay.
2120
2121 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
2122
2123         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
2124         EUC-KR modules.
2125
2126 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
2127
2128         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
2129         use PLTJMP() rather than explicit (PLT).
2130
2131         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
2132         __libc_start_main().
2133
2134         Based on patch from Pat Beirne:
2135         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
2136         Always define, not only #ifndef PIC.
2137         (DO_CALL): Pass fifth argument correctly in R4.
2138         (PSEUDO): Correct test for error, call syscall_error through PLT
2139         if PIC.
2140
2141 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
2142
2143         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
2144         definitions.
2145
2146 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
2147
2148         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
2149         JOHAB.so.
2150
2151 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
2152
2153         * io/Makefile (static-only-routines): Add stat64, fstat64 and
2154         lstat64.
2155
2156 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2157
2158         * manual/Makefile: Use object-suffixes-for-libc instead of
2159         object-suffixes.
2160         * rpm/Makefile (install-lib): Likewise.
2161
2162 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2163
2164         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
2165
2166         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
2167         `m68*', not only `m68k'.
2168
2169 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2170
2171         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
2172
2173         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
2174         install lddlibc4.
2175
2176 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
2177
2178         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
2179         EUC-KR.
2180
2181         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
2182         comment.
2183
2184 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
2185
2186         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
2187         the init stuff.
2188
2189 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
2190
2191         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
2192         adjtimex syscall.
2193         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
2194         adjtimex.
2195         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
2196
2197 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2198
2199         * Makerules (install): Change comment for libc.so following the
2200         libc_nonshared changes.
2201
2202 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
2203
2204         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
2205
2206         * iconvdata/gap.pl: Avoid using %#06x.
2207
2208 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2209
2210         * Makerules: Use $? instead of S^ when invoking ar.
2211
2212 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
2213
2214         * db2/compat.h: Allow EFTYPE being defined.
2215         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
2216         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
2217         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
2218         * sysdeps/mach/bits/libc-lock.h: Fix typo.
2219         (__libc_once): Correctly unlock semaphore.
2220         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
2221         * sysdeps/unix/bsd/getpt.c: Fix typo.
2222         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
2223
2224 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
2225
2226         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
2227         macros.
2228
2229 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
2230
2231         * include/mntent.h: New file.
2232
2233         * elf/Makefile (trusted-dirs.h): Append slash to filename.
2234         * elf/dl-load.c: Rewrite search path handling.
2235         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
2236         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
2237         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
2238         * elf/ldsodefs.h: Add prototype.
2239
2240 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
2241
2242         * nss/nsswitch.c (__nss_lookup): Adjust comment.
2243
2244         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
2245         function.
2246
2247         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
2248
2249         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
2250         New function.
2251         (HWCAP_IMPORTANT): New definition.
2252
2253 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
2254
2255         * elf/dl-open.c (_dl_open): Fix a typo.
2256         (_dl_global_scope_alloc): Make it static.
2257
2258 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
2259
2260         * Makerules: Remove duplicate rules to handle stamp.oS.
2261
2262 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2263
2264         * manual/examples/inetsrv.c (main): Change prototype of
2265         make_socket following change in mkisock.c.
2266
2267         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
2268         example host.
2269         (main): Change prototype of init_sockaddr following change in
2270         isockadd.c.
2271
2272         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
2273         * manual/examples/isockad.c (init_sockaddr): Likewise.
2274
2275         * manual/examples/mkfsock.c (make_named_socket): Removed blank
2276         lines for clarification.
2277         (make_named_socket): Use strncpy instead of strcpy.
2278         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
2279
2280 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
2281
2282         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
2283         determining libs to remove.
2284         (postclean): Add soversions.mk.
2285         * Makerules (common-mostlyclean): Add tests-static and generated
2286         files.
2287
2288 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
2289
2290         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
2291         scanning for \0.
2292         (__strncat_g): Add i686 specific code.
2293
2294 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2295
2296         * manual/install.texi (Reporting Bugs): Ask to include section
2297         names in reports.
2298
2299 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2300
2301         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
2302         guard against direct inclusion.
2303
2304 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2305
2306         Rework support for libc_nonshared.a:
2307         * Makeconfig (object-suffixes-for-libc): New variable.
2308         * Rules: Remove handling of static-only and shared-only routines.
2309         * Makerules: Handle them here instead.  Use
2310         object-suffixes-for-libc instead of object-suffixes when dealing
2311         with libc objects.
2312         (object-suffixes-for-rules): Remove variable.
2313         (elide-routines.oS): Elide all routines except static-only
2314         routines.
2315         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
2316         empty.
2317         (installed-libcs): Remove special case for .oS.
2318         (rmobjs): Likewise.
2319
2320 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2321
2322         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
2323         do-tst-rpmatch): New targets.
2324         (test): Use them.
2325         (install-locales): Ignore comment lines.
2326
2327 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2328
2329         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
2330         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
2331         ($(objpfx)rtldtbl.h): Likewise.
2332         (CPPFLAGS-dl-load.c): Fix reference to object directory.
2333
2334 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
2335
2336         * manual/string.texi (Finding Tokens in a String): Extend strsep
2337         description and correct example.
2338
2339 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2340
2341         * manual/socket.texi: Remove misguided explicit line breaks and
2342         fix the formatting problem instead by reformulating the
2343         paragraphs.
2344         * manual/filesys.texi: Likewise.
2345         * manual/conf.texi: Likewise.  Don't typeset table with index
2346         fonts, that looks worse than a minimally overfull line.
2347
2348 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2349
2350         * nscd/Makefile (nscd-modules): Move definition outside of
2351         conditional.
2352
2353         * pwd/Makefile: Use have-thread-library to test for thread
2354         library.
2355
2356 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2357
2358         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
2359
2360         * iconvdata/uhc.c (gconv): Remove unused variable idx.
2361
2362 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
2363
2364         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
2365
2366 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
2367
2368         * nss/getXXent_r.c: Correctly handle failing setXXent function.
2369
2370         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
2371         Reported by Andreas Jaeger.
2372
2373 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
2374
2375         * elf/Makefile: Fix typo.
2376         (distribute): Add dl-librecon.h.
2377         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
2378         * elf/ldd.sh.in: Likewise.
2379         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
2380         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
2381         Use strsep correctly.
2382         (process_envvars): Allow platform specific variables.
2383         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
2384         (_dl_load_cache_lookup): Test cache IDs found against
2385         _dl_correct_cache_id.
2386         * sysdeps/generic/dl-librecon.h: New file.
2387         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
2388
2389         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
2390
2391 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
2392
2393         * config.make.in (ldd-rewrite-script): New variable.
2394         * configure.in: Substitute ldd-rewrite-script.
2395         * elf/Makefile: Rewrite rules to generate ldd script.
2396         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
2397         * elf/ldd.sh.in: Likewise.
2398         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
2399         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
2400         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
2401         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
2402         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
2403
2404 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2405
2406         * inet/rcmd.c (iruserok): Remain setuid to the local user
2407         while .rhosts is actually read, to make .rhosts-over-NFS work
2408         (PR libc/524).  Use iruserfopen() for security checks on both
2409         hosts.equiv and .rhosts.  General cleanup.
2410         (iruserfopen): New function, performs careful checking on
2411         hosts.equiv/.rhosts files.  Disallows all the old forbidden
2412         stuff plus hard links to files.
2413
2414 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
2415
2416         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
2417
2418         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
2419
2420 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
2421
2422         * sysdeps/i386/i486/bits/string.h: Fix typos.
2423
2424 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
2425
2426         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
2427         strong alias.
2428
2429         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
2430
2431         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
2432         Added.  Used by libm.so on alpha.
2433
2434 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2435
2436         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
2437         defined.
2438
2439 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
2440
2441         * Makerules (object-suffixes-for-rules): Add .oS only for
2442         building shared library.
2443         Add ranlib rule for nonshared library.
2444         (rmobjs): Fix typo.
2445
2446         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
2447         into for shared library only.
2448         (CPPFLAGS-.oS): Add -DPIC.
2449         (libtypes): Use $(object-suffixes-for-rules) instead of
2450         $(object-suffixes).
2451
2452 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
2453
2454         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
2455         and install lddlibc4.
2456
2457 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2458
2459         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
2460         hash.
2461         * iconvdata/gaptab.pl: Likewise.
2462
2463 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
2464
2465         * Rules: Allow Makefiles to specify test-static for tests which
2466         cannot be linked dynamically.
2467         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
2468         tests-static.
2469
2470         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
2471
2472         * misc/error.c: Pretty print.
2473
2474 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2475
2476         * Makerules (libc_nonshared-name): Remove variable.
2477         (installed-libcs): Use libc-name instead.
2478         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
2479         dynamic linker.
2480
2481         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
2482         libc.a.  Remove explicit reference to dynamic linker.
2483
2484 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
2485
2486         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
2487         to wchar_t.
2488         * iconv/iconv_prog.c: Correctly test for write failure.
2489         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
2490         * iconvdata/gconv-modules: Likewise.
2491         * iconvdata/euckr.c: New file.
2492         * iconvdata/johab.c: New file.
2493         * iconvdata/ksc5601.c: New file.
2494         * iconvdata/ksc5601.h: New file.
2495         * iconvdata/uhc.c: New file.
2496         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
2497
2498         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
2499         * stdio/fopen.c: Correct handling of 'x' flag.
2500         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
2501
2502 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2503
2504         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
2505         * sunrpc/rpcsvc/key_prot.x: Likewise.
2506         * sunrpc/key_prot.c: Likewise.
2507
2508 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
2509
2510         * sysdeps/i386/bits/string.h: Correct things which never worked.
2511         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
2512         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
2513
2514 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
2515
2516         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
2517         defined.  Reported by Thorsten Kukuk.
2518
2519 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
2520
2521         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
2522
2523 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2524
2525         * manual/install.texi (Supported Configurations): Add
2526         arm-linuxaout and arm-none.
2527
2528 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
2529
2530         * version.h (VERSION): Bump to 2.0.93.
2531
2532 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
2533
2534         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
2535
2536         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
2537
2538         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
2539         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
2540
2541 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
2542
2543         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
2544
2545 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2546
2547         Put the static-only routines in a separate library.
2548         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
2549         variables.
2550         (all-object-suffixes): Add .oS.
2551         * Makerules (libc_static-name): New variable.
2552         (installed-libcs): Add libc_nonshared.a.
2553         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
2554         (object-suffixes-for-rules): New variable.  Use it instead of
2555         object-suffixes for generating compilation rules.
2556         (rmobjs): Also remove *.oS.
2557         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
2558         ($(objpfx)stamp.oS): New target.
2559
2560 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
2561
2562         * Makefile (FAQ): Automatically check in regenerated FAQ.
2563
2564 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2565
2566         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
2567
2568 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
2569
2570         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
2571         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
2572
2573         * sysdeps/generic/stub_warning: Removed.
2574
2575         * Makefile (distribute): Add include/des.h.
2576
2577         * manual/Makefile (distribute): Change dir-add.texi to
2578         dir-add.texinfo.
2579
2580         * glibcbug.in: Create files safely when mktemp is not available.
2581
2582         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
2583         Patch by a sun <asun@saul1.u.washington.edu>.
2584
2585 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2586
2587         * libc.map: Rename getname to getnetname.
2588
2589 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
2590
2591         * manual/maint.texi: Use supported platform in examples.
2592
2593         * manual/install.texi: Document some installation tips.
2594
2595 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
2596
2597         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
2598         Fix a bug so that it returns an error if a numeric parameter is
2599         unset and WRDE_UNDEF is set.
2600         Patch by Andreas Schwab and Tim Waugh.
2601         * posix/wordexp-test.c: Add new new test.
2602
2603 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
2604
2605         * posix/regex.c (regex_compile): Last patch wasn't entirely
2606         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
2607
2608 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2609
2610         * manual/filesys.texi (Scanning Directory Content): Fix typo.
2611
2612 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
2613
2614         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
2615         clobbered registers don't appear as operands.
2616
2617 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2618
2619         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
2620         Solaris' sake.
2621
2622         * posix/regex.c (regex_compile): Don't allow non-alphabet
2623         characters in character set name.
2624
2625 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
2626
2627         * posix/wordexp.c (w_newword): New function.
2628         (do_parse_glob): New function.
2629         (parse_glob): Use do_parse_glob.  Now handles the case where a
2630         variable expansion causes a field-split.
2631         (wordexp): Use w_newword.
2632         (parse_arith): Likewise.
2633         (exec_comm): Likewise.
2634         (parse_comm): Likewise.
2635         (parse_param): Likewise.
2636         (parse_backtick): Likewise.
2637
2638 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
2639
2640         * posix/wordexp-tst.sh: Another test.
2641
2642         * posix/wordexp-test.c: Two new tests.
2643
2644         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
2645         directly (the code using realloc was buggy).
2646         (parse_param): Fix typo in comment.
2647
2648 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2649
2650         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
2651
2652 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2653
2654         * libc.map: Add more rpc auth functions/variables.
2655
2656         * nscd/nscd.c: Add -g option to argp options.
2657
2658 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2659
2660         * configure.in: Be prepared for gcc 2.9.10 and up.
2661         * configure.in: Add missing disabling of quote characters in
2662         compiler version check.  Reported by HJ Lu.
2663
2664 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2665
2666         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
2667
2668 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2669
2670         * intl/locale.alias: Fix spelling of romanian.
2671
2672         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
2673         (distribute): Remove des.h.
2674         * include/des.h: New file.
2675         * sunrpc/des.h: Moved to ...
2676         * sunrpc/rpc/rpc_des.h: ...here.
2677
2678 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
2679
2680         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
2681         Fix paren.
2682
2683 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2684
2685         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
2686         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
2687
2688 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2689
2690         * elf/ldsodesf.h: New file.
2691         * elf/Makefile (distribute): Add ldsodefs.h.
2692         * elf/link.h: Separate internal information in exter header.
2693         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
2694         * elf/dl-minimal.c: Likewise.
2695         * sysdeps/generic/dl-sysdep.c: Likewise.
2696         * elf/sprof.c: Likewise.
2697         * elf/dlsym.c: Likewise.
2698         * elf/dlvsym.c: Likewise.
2699         * elf/dlerror.c: Likewise.
2700         * elf/dladdr.c: Likewise.
2701         * elf/dlclose.c: Likewise.
2702         * elf/dlopen.c: Likewise.
2703         * elf/dl-addr.c: Likewise.
2704         * elf/dl-close.c: Likewise.
2705         * elf/dl-debug.c: Likewise.
2706         * elf/dl-deps.c: Likewise.
2707         * elf/dl-error.c: Likewise.
2708         * elf/dl-fini.c: Likewise.
2709         * elf/dl-init.c: Likewise.
2710         * elf/dl-load.c: Likewise.
2711         * elf/dl-lookup.c: Likewise.
2712         * elf/dl-object.c: Likewise.
2713         * elf/dl-open.c: Likewise.
2714         * elf/dl-profile.c: Likewise.
2715         * elf/dl-reloc.c: Likewise.
2716         * elf/dl-runtime.c: Likewise.
2717         * elf/dl-support.c: Likewise.
2718         * elf/dl-symbol.c: Likewise.
2719         * elf/dl-version.c: Likewise.
2720         * sysdeps/generic/dl-cache.c: Likewise.
2721         * sysdeps/generic/libc-start.c: Likewise.
2722         * iconv/gconv_dl.c: Likewise.
2723         * nss/nsswitch.c: Likewise.
2724
2725 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
2726
2727         * manual/nss.texi: The database is not called network but networks.
2728         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
2729
2730 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2731
2732         * configure.in: Correct test for compiler version.
2733         Check that LD_LIBRARY_PATH doesn't contain current path.
2734
2735 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
2736
2737         * elf/dl-close.c (_dl_close): Fix byte count while removing
2738         the shared object from the global scope list and optimize
2739         a little bit.
2740
2741 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2742
2743         * manual/filesys.texi (Scanning Directory Content): Add missing
2744         closing brace.
2745         (Scanning Directory Content): Fix text.
2746
2747 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2748
2749         * manual/memory.texi (Heap Consistency Checking): Add paragraph
2750         explaining difference of -lmcheck and MALLOC_CHECK_.
2751
2752 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2753
2754         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
2755         typos in comments.
2756
2757 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2758
2759         * test-skeleton.c (main): Fix test for exit signal.
2760
2761 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2762
2763         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
2764
2765 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2766
2767         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
2768         appropriate.
2769
2770 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2771
2772         * libc.map: Export __strtok_r.
2773
2774 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
2775
2776         * posix/regex.c (re_compile_fastmap): Remove unused variable
2777         num_regs and adjust comment.
2778         Patch by Jim Meyering <meyering@ascend.com>.
2779
2780         * math/math.h (M_*l): Extend long double constants to be usable
2781         for 128 bit floats.  Patch by Richard Henderson.
2782
2783 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2784
2785         * sysdeps/m68k/m68020/wordcopy.S: New file.
2786
2787 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
2788
2789         * posix/wordexp.c: Rewrite parse_param.
2790         Patch by Tim Waugh and Andreas Schwab.
2791
2792 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2793
2794         * Rules: Update timestamps on empty object files.
2795
2796 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
2797
2798         * manual/filesys.texi (Scanning Directory Content): Add description
2799         of 64 bits scandir function and friends.
2800
2801 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
2802
2803         * glibcbug.in: Use mktemp to generate unique file name for
2804         temporary files.
2805
2806         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
2807         ptsname_r.  Use cast for execve call.
2808
2809 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
2810
2811         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
2812         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
2813         * io/sys/statvfs.h: New file.
2814         * sysdeps/generic/fstatvfs.h: New file.
2815         * sysdeps/generic/statvfs.h: New file.
2816         * sysdeps/generic/fstatvfs64.h: New file.
2817         * sysdeps/generic/statvfs64.h: New file.
2818         * sysdeps/generic/bits/statvfs.h: New file.
2819         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
2820         * sysdeps/unix/sysv/linux/statvfs.c: New file.
2821         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
2822
2823         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
2824         and f_ffree elements.
2825
2826         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
2827         mount options in enum.
2828
2829 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2830
2831         * configure.in: Check for recent egcs/gcc.
2832
2833 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
2834
2835         * libc.map: Add alphasort64, scandir64, versionsort64.
2836         * dirent/Makefile (routines): Add scandir64, alphasort64, and
2837         versionsort64.
2838         * dirent/alphasort64.c: New file.
2839         * dirent/scandir64.c: New file.
2840         * dirent/versionsort64.c: New file.
2841         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
2842         versionsort.
2843         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
2844         old name weak alias.
2845         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2846
2847         * dirent/alphasort.c: Use strcoll instead of strcmp.
2848
2849         * dirent/scandir.c: Optimize a bit.
2850
2851         * dirent/versionsort.c: Pretty print.
2852
2853 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
2854
2855         * string/string.h: Add prototype for __strtok_r.
2856
2857 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2858
2859         * posix/Makefile: Fix typo in last change.
2860
2861 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
2862
2863         * dirent/dirent.h (scandir): Make argument of select function const.
2864         * dirent/scandir.c (scandir): Likewise.
2865         Reported by David.Faure@insa-lyon.fr [PR libc/512].
2866
2867 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
2868
2869         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
2870         weak alias.
2871         * sysdeps/i386/strtok_r.c: Likewise.
2872
2873         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
2874         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
2875         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
2876         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
2877         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
2878         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
2879
2880 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2881
2882         * intl/localealias.c: Remove unneeded define for strdup.
2883
2884 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
2885
2886         * manual/argp.texi: Adjust for better TeX output.
2887         * manual/arith.texi: Likewise.
2888         * manual/conf.texi: Likewise.
2889         * manual/filesys.texi: Likewise.
2890         * manual/header.texi: Likewise.
2891         * manual/lgpl.texinfo: Likewise.
2892         * manual/math.texi: Likewise.
2893         * manual/message.texi: Likewise.
2894         * manual/pattern.texi: Likewise.
2895         * manual/process.texi: Likewise.
2896         * manual/signal.texi: Likewise.
2897         * manual/socket.texi: Likewise.
2898         * manual/startup.texi: Likewise.
2899         * manual/stdio.texi: Likewise.
2900         * manual/terminal.texi: Likewise.
2901         * manual/examples/rprintf.c: Likewise.
2902         * manual/examples/testopt.c: Likewise.
2903         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2904
2905 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
2906
2907         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
2908         parameter name after seeing a digit if it's enclosed in braces.
2909
2910 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
2911
2912         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
2913
2914 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2915
2916         * manual/memory.texi (Heap Consistency Checking): Document
2917         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
2918
2919 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2920
2921         * manual/Makefile: Add missing rules.
2922
2923 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
2924
2925         * timezone/Makefile (generated): Define to remove all stamp files.
2926
2927         * sysdeps/generic/strsep.c: Also undefine __strsep.
2928
2929         * string/strdup.c: Undefine __strdup and strdup first.
2930         * string/strndup.c: Likewise.
2931
2932         * string/bits/string2.h: Correct strtok_r and strsep.
2933         Add strndup optimization.
2934
2935         * sysdeps/generic/strsep.c: Little optimization.
2936
2937 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
2938
2939         * string/bits/string2.h: Add optimization for strdup.
2940         Always define __strsep and __strtok_r and make real names available
2941         when feature select macros are defined.
2942
2943 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2944
2945         * manual/install.texi (Installation): Use i486-linux as example
2946         instead of the unsupported sunos4.
2947         (Reporting Bugs): Mention glibcbug script.
2948         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
2949
2950 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2951
2952         * posix/wordexp-tst.sh: Make portable.  Add more tests.
2953
2954         * posix/Makefile (do-globtest do-wordexp-test): New targets.
2955
2956 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
2957
2958         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
2959         * sysdeps/generic/libc-start.c: ...here, replacing former content.
2960
2961         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
2962         netpacket/packet.h.
2963
2964         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
2965
2966 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2967
2968         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
2969         in enumerator for strict standard compliance.
2970         * sysdeps/generic/bits/resource.h: Likewise.
2971
2972 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
2973
2974         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
2975         (PLTJMP): New macro.
2976
2977         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
2978         longjmp() when floating point enabled.
2979         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
2980         * sysdeps/arm/__longjmp.S: Remove floating point code.
2981         * sysdeps/arm/setjmp.S: Likewise.
2982
2983         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
2984         * sysdeps/arm/bsd-_setjmp.S: Likewise.
2985
2986         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
2987         memset().
2988
2989         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
2990         prototype.
2991
2992 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
2993
2994         Based on patches from Pat Beirne and Scott Bambrough:
2995
2996         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
2997
2998         * sysdeps/arm/bits/fenv.h: New file.
2999
3000         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
3001         * sysdeps/arm/elf/setjmp.S: Likewise.
3002         * sysdeps/arm/elf/start.S: Likewise.
3003         * sysdeps/arm/init-first.c: Likewise.
3004         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
3005         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
3006         comment about floating point to reflect current reality.
3007
3008         * sysdeps/unix/arm/brk.S: Support PIC.
3009         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
3010         re-entrant code.
3011         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
3012         return; call syscall_error through PLT.
3013         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
3014
3015 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
3016
3017         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
3018         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
3019         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
3020
3021 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
3022
3023         * dirent/list.c (test): Return error value.
3024         (main): Exit with error value.
3025
3026         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
3027
3028         * Makefile (distribute): Add test-skeleton.c.
3029         * test-skeleton.c: New file.
3030         * dirent/Makefile (tests): Add opendir-tst1.
3031         * dirent/opendir-tst1.c: New file.
3032
3033 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
3034
3035         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
3036         Optimize memory handling.
3037         * sysdeps/unix/closedir.c: Optmize memory handling.
3038
3039 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
3040
3041         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
3042         handling.  Optimize a bit.
3043
3044 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
3045
3046         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
3047         (parse_param): Fold in Andreas' fixes to do with when the end of
3048         the parameter name has been reached, and quoting inside ${...}.
3049         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
3050         $((echo);(ls)).
3051
3052 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3053
3054         * manual/maint.texi: Split out installation and contribution
3055         sections to their own appendices.  Misc cleanups.
3056         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
3057         * manual/contrib.texi: New file.
3058         * manual/libc.texinfo: Pull in new appendices.
3059         * manual/header.texi: Correct node pointer.
3060
3061 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3062
3063         * manual/process.texi (Process Completion): Clarify return value
3064         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
3065
3066 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3067
3068         * posix/wordexp-test.c: Add more tests.
3069         (testit): Fix logic.
3070
3071         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
3072         /dev/null instead of closing it, close pipe.  Always chop off all
3073         trailing newlines.  Kill and reap child before returning error.
3074         (w_addword, parse_glob): Fix memory leak.
3075         (wordexp): Fix dangling pointer problem.
3076
3077 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
3078
3079         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
3080
3081         * posix/wordexp-test.c (main): Fix little thinkos and typos.
3082
3083         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
3084         directory index by only the language.
3085
3086 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
3087
3088         * posix/wordexp-tst.sh: Store test results in the
3089         ${common_objpfx}posix directory.
3090
3091         * posix/wordexp-test.c: Remove temporary directory afterwards.
3092
3093 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3094
3095         * libc.map: Export internal versions of cancelable functions.
3096
3097 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3098
3099         * Makerules (MAKEFLAGS): Append `r'.
3100
3101 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3102
3103         * Makeconfig: Define have-thread-library, shared-thread-library
3104         and static-thread-library if a thread library is available.  Don't
3105         define rt.
3106         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
3107         nscd-routines to nscd-modules.  Use shared-thread-library and
3108         static-thread-library in dependencies.
3109         * rt/Makefile: Only compile librt if have-thread-library is
3110         defined.
3111         * Makefile (subdirs): Always include rt subdir.
3112
3113 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3114
3115         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
3116
3117 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
3118
3119         * configure.in: Recognize variations for 32 MIPS processors.
3120         Don't assume ELF systems always have .weak, test for .weakext.
3121
3122 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
3123
3124         * configure.in: Irix6 is an ELF platform.
3125
3126 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
3127
3128         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
3129         unmapping the last loaded segment.
3130
3131 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
3132
3133         * configure.in: Set base_os for Irix6.
3134         Correct test for .weakext.
3135
3136 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3137
3138         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
3139         (new_line) to _dl_debug_message call.
3140
3141 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
3142
3143         * posix/wordexp.c (parse_param): Perform field-splitting after
3144         expanding positional parameter.
3145
3146         * posix/wordexp-tst.sh: Test that field-splitting is performed
3147         after expanding positional parameter.
3148
3149         * posix/wordexp.c (parse_param): Fixed memory leak in
3150         field-splitting after parameter expansion.
3151
3152 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
3153
3154         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
3155         (get_toplvl_escape): Correctly terminate loop at EOF.
3156         Patch by Cristian Gafton <gafton@redhat.com>.
3157
3158 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
3159
3160         * string/tester.c (test_strpbrk): Add more strpbrk tests.
3161         (test_strsep): Likewise.  Correct horrible bugs.
3162
3163         * string/bits/string2.h (strcspn): Optimize also reject string of
3164         length 2 and 3.
3165         (strspn): Likewise.
3166         (strpbrk): Likewise.
3167         (strsep): Likewise.  Correct bug with successive separators and
3168         separators at the end of the string.
3169         * sysdeps/generic/strsep.c: Correct bug with successive separators
3170         and separators at the end of the string.
3171
3172 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
3173
3174         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
3175         etc) now handled, as well as $$ (pid).
3176
3177         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
3178         (distribute): Add wordexp-tst.sh.
3179
3180         * posix/wordexp-tst.sh: New file.
3181
3182         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
3183         number of positional parameters.  Renamed substitute_length to
3184         seen_hash.
3185         Don't free(env) is env is NULL.
3186
3187 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
3188
3189         * libc.map: Add pthread_attr_init to GLIBC_2.1.
3190
3191 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
3192
3193         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
3194         for output file replacing gmon.out.
3195         Patch by Dean Gaudet <dgaudet@arctic.org>.
3196
3197 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3198
3199         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
3200         up namespace.  Optimize finding end of line.
3201
3202 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3203
3204         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
3205         securely.  Optimized.
3206         (process_dl_debug): Add ':' to list of separators.  Optimized.
3207
3208 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3209
3210         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
3211         isless, islessequal, islessgreater, isunordered): Return zero or
3212         one.
3213
3214 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
3215
3216         * posix/wordexp-test.c: More tests.
3217         (main): Set up arena for pathname expansion tests (in a temporary
3218         directory).
3219         (testit): Don't check word count or word vector if return value is
3220         non-zero.
3221
3222         * posix/wordexp.c (exec_comm): Always chop off terminating
3223         linefeed (just like bash does).
3224         (parse_param): Change lots of occurrences of "if (!*env)" to "if
3225         (!env || !*env)".
3226         (parse_param): For assignment inside parameter expansion, use all
3227         expanded words in assignment rather than just the first.
3228         (parse_param): Corrected return value for parameter expansion of
3229         an unset variable when WRDE_UNDEF is in effect.
3230         (parse_dollars): Don't field-split if quoted.
3231         (wordexp): Opening brace character isn't allowed unquoted.
3232
3233 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
3234
3235         * elf/dlerror.c: Fix concurrency problems with error string and
3236         number.
3237
3238         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
3239         filter/auxiliary are being loaded.
3240
3241 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
3242
3243         * elf/dlerror.c (last_object_name): Removed.
3244         (dlerror): Don't use last_object_name.
3245         (_dl_error_run): Omit second argument to _dl_catch_error.
3246         * elf/dl-error.c (struct catch): Remove objname member.
3247         (_dl_signal_error): Construct string including objname when given.
3248         (_dl_catch_error): Remove objname handling.
3249         * elf/link.h (_dl_catch_error): Fix prototype and comment.
3250         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
3251         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
3252         * nss/nsswitch.c (nss_dlerror_run): Likewise.
3253         * iconv/gconv_dl.c (dlerror_run): Likewise.
3254         [Corrects PR libc/501].
3255
3256 1998-03-12  Matthias Urlichs <smurf@noris.de>
3257
3258         * nscd/nscd.c: Ignore SIGPIPE.
3259
3260 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
3261
3262         * nscd/nscd_getgr_r.c: Use __ protected names.
3263         * nscd/nscd_getpw_r.c: Likewise.
3264
3265 1998-03-12  Matthias Urlichs <smurf@noris.de>
3266
3267         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
3268         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
3269         null bytes are not transmitted.
3270
3271 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3272
3273         * powerpc/syscalls.list: Correct typo.
3274         * alpha/syscalls.list: Likewise.
3275         * mips/syscalls.list: Likewise.
3276
3277 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
3278
3279         * socket/sys/socket.h: Add prototype for __socket.
3280
3281 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
3282
3283         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
3284
3285         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
3286         constants.
3287
3288         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
3289         definition here.
3290         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
3291         definition here.
3292
3293         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
3294         AF_* and PF_* constants.
3295
3296         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
3297
3298 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
3299
3300         * elf/rtld.c: Update help message.
3301         Install link maps for preloaded objects using main_map as loader.
3302
3303         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
3304         * elf/dl-profile.c: Likewise.
3305
3306         * elf/dlsym.c: Little optimization.
3307         * elf/dlvsym.c: Likewise.
3308
3309 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
3310
3311         * posix/wordexp-test.c: Move test for parameter list at the very
3312         beginning.
3313
3314 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
3315
3316         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
3317         WRDE_REUSE flag is set.
3318         (parse_param): Allow `*', `@', and numbers in parameter names.
3319         (parse_dollars): Differentiate between arithmetic expansion and a
3320         command substitution that starts immediately with a sub-shell
3321         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
3322         (parse_param): Memory allocated with __alloca in a block was
3323         referenced outside that block.  Adjusted to use malloc/free.
3324         (parse_param): Adjusted field-splitting algorithm so that there is
3325         not necessarily a field split at the end of a parameter expansion.
3326
3327 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
3328
3329         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
3330         don't free words that have already been allocated.
3331         (parse_param): A dollar sign on its own will never have a pattern
3332         associated with it (like "${HOME%%/}" has), so don't try to free it.
3333         (parse_glob): Attempt to glob when an unquoted `[' is found
3334         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
3335         (parse_glob): Sorted out quoting in a glob-able word.
3336         (parse_param): Added $* and $@ handling.
3337
3338 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
3339
3340         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
3341         parsing it.
3342
3343 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3344
3345         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
3346         _dl_debug_message.
3347
3348 1998-03-12  Matthias Urlichs  <smurf@noris.de>
3349
3350         * elf/dl-misc.c: Default for debug output should be stderr.
3351         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
3352         * elf/dl-lookup.c: reference_name may be NULL or empty.
3353
3354 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3355
3356         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
3357
3358 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
3359
3360         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
3361
3362         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
3363
3364 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3365
3366         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
3367         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
3368
3369 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3370
3371         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
3372         init stuff.
3373
3374 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
3375
3376         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
3377         flag.
3378
3379         * misc/syslog.c (vsyslog): Don't try to send if not connected to
3380         syslog daemon.
3381         (closelog_internal): Don't do anything if not connected.
3382
3383 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
3384
3385         * libc.map: Add _dl_debug_message.
3386         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
3387         before every line.
3388         * elf/fini.c: Correctly use new _dl_debug_message function.
3389         * elf/init.c: Likewise.
3390         * elf/dl-lookup.c: Likewise.
3391         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
3392         * elf/dl-load.c: Likewise.  Add more debugging prints.
3393         * elf/dl-reloc.c: Likewise.
3394         * elf/dl-version.c: Likewise.
3395         * elf/dl-support.c: Add variables for debugging.
3396         * elf/rtld.c: Likewise.  Recognize new debug options.
3397         * elf/link.h: Declare new variables.
3398
3399         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
3400
3401 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
3402
3403         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
3404         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
3405
3406 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
3407
3408         * posix/wordexp-test.c (command_line_test): New function to allow
3409         testing of specific cases from the command-line.
3410
3411 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
3412
3413         * elf/dl-init.c (_dl_init_next): Print nicer messages.
3414         * elf/dl-fini.c (_dl_fini): Likewise.
3415         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
3416
3417         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
3418         symbol in debug message.
3419         (_dl_lookup_versioned_symbol_skip): Likewise.
3420
3421 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
3422
3423         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
3424         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
3425         * manual/filesys/texi: Document this.
3426
3427 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
3428
3429         * manual/filesys.texi: Document the change below.
3430
3431 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3432
3433         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
3434         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
3435
3436 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
3437
3438         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
3439         instead scope.  If debugging display information about symbol
3440         resolving.
3441         (_dl_lookup_symbol): Call do_lookup with correct parameters.
3442         (_dl_lookup_symbol_skip): Likewise.
3443         (_dl_lookup_versioned_symbol): Likewise.
3444         (_dl_lookup_versioned_symbol_skip): Likewise.
3445         * elf/dl-support.c: Define _dl_debug_symbols.
3446         * elf/link.h: Add declaration for _dl_debug_symbols.
3447         * elf/rtld.c: Define _dl_debug_symbols.
3448         (process_dl_debug): Recognize symbols option.
3449
3450 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
3451
3452         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
3453         in correct format.
3454         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
3455         with correct parameters.
3456         [!PIC]: Initialize __libc_multiple_libcs.
3457
3458 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
3459
3460         * elf/dl-support.c (_dl_debug_bindings): Add definition.
3461         * elf/rtld.c (_dl_debug_bindings): Add definition.
3462         (process_dl_debug): Recognize bindings option.  Update help message.
3463         * elf/link.h (struct link_map): Add l_versyms member.
3464         (_dl_debug_bindings): Add declaration.
3465         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
3466         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
3467         and l_reloc_result.
3468         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
3469         (sym_val): Remove a member, add m as link_map.
3470         (do_lookup): Return result appropriately.
3471         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
3472         Call do_lookup correctly.
3473         (_dl_lookup_symbol_skip): Likewise.
3474         (_dl_lookup_versioned_symbol): Likewise.
3475         (_dl_lookup_versioned_symbol_skip): Likewise.
3476
3477 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
3478
3479         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
3480         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
3481
3482         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
3483         * libc.map: Add chown to GLIBC_2.1.
3484         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
3485         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
3486
3487 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3488
3489         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
3490         weak alias.
3491         * sysdeps/alpha/ffs.c: Likewise.
3492         * sysdeps/am29k/ffs.c: Likewise.
3493         * sysdeps/i386/ffs.c: Likewise.
3494         * sysdeps/i960/ffs.c: Likewise.
3495         * sysdeps/m68k/ffs.c: Likewise.
3496         * sysdeps/m88k/ffs.c: Likewise.
3497         * sysdeps/powerpc/ffs.c: Likewise.
3498         * sysdeps/rs6000/ffs.c: Likewise.
3499         * sysdeps/vax/ffs.s: Likewise.
3500         * string/string.h: Declare __ffs.
3501         * libc.map: Export it.
3502         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
3503         __builtin_ffs, which is not guaranteed to be namespace clean.
3504
3505 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3506
3507         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
3508         table, which is much more likely to exist than debugging symbols.
3509         (printsym): Remove const.
3510         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
3511         header table.
3512
3513         * libc.map: Export __profile_frequency, used by elf/sprof, to
3514         avoid infinite recursion during startup.
3515
3516 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3517
3518         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
3519         Readd lost negate.
3520
3521         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
3522
3523 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
3524
3525         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
3526
3527 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
3528
3529         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
3530         LD_PRELOAD, and LD_VERBOSE.
3531         (dl_main): Use global variables set by process_envvars instead of
3532         calling getenv.
3533         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
3534         LD_LIBRARY_PATH value, this comes with the parameter.
3535         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
3536         ("LD_LIBRARY_PATH") to _dl_init_paths.
3537
3538 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
3539
3540         * elf/rtld.c (dl_main): Delay initialization of path structure if
3541         the dynamically linker is invoked implicitly until we read the
3542         dynamic section.
3543
3544 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
3545
3546         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
3547
3548 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3549
3550         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
3551         Linux 2.0 and 2.1.
3552
3553         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
3554
3555 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
3556
3557         * Makeconfig (nisobjdir): Set to path to nis directory.
3558         (rpath-link): Add nisobjdir.
3559         Patch by Sven Verdoolaege <skimo@kotnet.org>.
3560
3561         * elf/Makefile: Pretty print.
3562         * elf/dl-lookup.c: Include unistd.h.
3563         * elf/dl-runtime.c: Likewise.
3564
3565         * localedata/Makefile (test-srcs): Add tst-rpmatch.
3566         (distribute): Add tst-rpmatch.sh.
3567         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
3568
3569         New tests for rpmatch function by
3570         Jochen Hein <jochen.hein@delphi.central.de>.
3571         * localedata/tst-rpmatch.c: New file.
3572         * localedata/tst-rpmatch.sh: New file.
3573
3574         * localedata/locales/de_DE: Correct yesexpr and noexpr.
3575         * localedata/locales/de_AT: Likewise.
3576
3577         * posix/getopt.c: Update contact address.
3578         * posix/getopt1.c: Pretty print.
3579
3580         * sysdeps/generic/libc-start.c: Do most of the initialization now
3581         here instead of in start.S.
3582         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
3583         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
3584
3585         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
3586         profil_counter to be public.
3587
3588 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
3589
3590         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
3591         (parse_param): Coded parameter length expansion (${#var}).
3592         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
3593         (parse_param): Cleaned up (fixed) error handling.
3594
3595         * posix/wordexp-test.c: IFS now includes non-whitespace character
3596         (comma).  Added more tests.
3597
3598 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
3599
3600         * elf/link.h: Fix typos.
3601         Reported by Andreas Jaeger.
3602
3603         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
3604         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
3605
3606 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
3607
3608         * argp/argp-help.c: Remove last bits of using gettext instead of
3609         dgettext.
3610
3611 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
3612
3613         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
3614         __libc_start_main.
3615         * csu/Makefile (routines): Add libc-start.
3616         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
3617         * elf/dl-lookup.c: Likewise.
3618         * elf/dl-version.c: Likewise.
3619         * sysdeps/i386/dl-machine.h: Likewise.
3620         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
3621         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
3622         _dl_sysdep_message macros which use _dl_sysdep_output.
3623         * elf/dl-fini.c: Write out which destructor is called while debugging.
3624         * elf/dl-init.c: Likewise for constructor.
3625         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
3626         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
3627         _dl_sysdep_message.  Add _dl_sysdep_output.
3628         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
3629         this file can be opened.
3630         For LD_DEBUG=libs also set _dl_debug_impcalls.
3631         * sysdeps/generic/dl-cache.c: Include unistd.h.
3632         * sysdeps/generic/libc-start.c: New file.
3633         * sysdeps/unix/sysv/linux/libc-start.c: New file.
3634         * sysdeps/i386/elf/start.S: Don't call main directly, call
3635         __libc_start_main instead.
3636
3637         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
3638
3639 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
3640
3641         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
3642
3643 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
3644
3645         * argp/argp.h (struct argp): Add new field domain.
3646         * argp/argp-help.c: Change all gettext calls to dgettext and use
3647         domain field from appropriate argp in call.
3648         * argp/argp-parse.c: Likewise.
3649
3650 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
3651
3652         * posix/wordexp-test.c: Change testsuite so that it can run even
3653         for ~root != /root.
3654
3655 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3656
3657         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
3658
3659 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3660
3661         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3662         Don't store into global errno if we already store through
3663         __errno_location.
3664         * sysdeps/unix/i386/sysdep.S: Likewise.
3665         * sysdeps/unix/alpha/sysdep.S: Likewise.
3666         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3667         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3668         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
3669         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
3670         PIC).
3671
3672 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3673
3674         * sysdeps/generic/sysdep.h (L): Remove definition.
3675         * sysdeps/i386/sysdep.h (L): Define it here instead.
3676
3677 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3678
3679         * nis/nis_call.c (__do_niscall): Safe and reset errno.
3680
3681         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
3682
3683 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3684
3685         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
3686         declaration style to avoid warnings.
3687
3688 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
3689
3690         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
3691         "LD_DEBUG".
3692
3693 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
3694
3695         * posix/Makefile (tests): Add wordexp-test.
3696         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
3697         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
3698
3699 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
3700
3701         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
3702         dependencies.
3703
3704         * elf/link.h (struct r_search_path_elem): Add two new field for
3705         lib path debugging.
3706         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
3707         variable accordingly.
3708         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
3709         is considered next along with information about load paths.
3710         * sysdeps/generic/dl-cache.c: Likewise.
3711         * elf/dl-support.c: Define _dl_debug_libs.
3712         * elf/genrtldtbl.awk: Add initializers for two new field in
3713         struct r_search_path_elem.
3714
3715 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3716
3717         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
3718         * sysdeps/m68k/lshift.S: Likewise.
3719         * sysdeps/m68k/rshift.S: Likewise.
3720         * sysdeps/m68k/sub_n.S: Likewise.
3721         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
3722         * sysdeps/m68k/m68020/mul_1.S: Likewise.
3723         * sysdeps/m68k/m68020/submul_1.S: Likewise.
3724
3725         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
3726         [_LIBC_REENTRANT]: Don't store into global errno.
3727
3728         * sysdeps/m68k/sysdep.h: New file.
3729         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
3730         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
3731         (DO_CALL): Change to expect syscall name as argument.
3732         (PSEUDO): Pass syscall_name to DO_CALL.
3733         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
3734         errno.
3735
3736 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
3737
3738         * elf/rtld.c: Speed up processing of environment variables.  Do
3739         only one run on the environment by avoiding to call getenv.
3740         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
3741         function.  Used by patch above.
3742
3743 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3744
3745         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
3746         running nscd.
3747         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
3748         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
3749         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
3750
3751 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
3752
3753         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
3754         module cannot be found.  Reported by Andreas Jaeger.
3755
3756 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3757
3758         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
3759         on platforms which default to unsigned chars.
3760         * nscd/nscd_getpw_r.c: Likewise.
3761         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
3762         defining it.
3763
3764 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3765
3766         * elf/Makefile (install-bin): Change = to += for sprof to install
3767         ldd also.
3768
3769 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
3770
3771         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
3772
3773 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
3774
3775         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
3776
3777 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3778
3779         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
3780         that a failure to connect to nscd doesn't change errno.
3781
3782 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3783
3784         * manual/maint.texi (Reporting Bugs): Change
3785         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
3786
3787         * locale/iso-4217.def: Likewise
3788
3789 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
3790
3791         * manual/texinfo.tex: Updated.
3792
3793 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3794
3795         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
3796         value.
3797         * sysdeps/posix/pathconf.c: Likewise.
3798         * posix/getconf.c: Print `undefined' if pathconf returns -1
3799         without setting errno.
3800
3801 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
3802
3803         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
3804         problem.
3805         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
3806         Patches by Elliot Lee <sopwith@cuc.edu>.
3807
3808 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
3809
3810         * elf/link.h (struct link_map): Add new field l_reloc_result.
3811         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
3812         of relocation for the object to be profiled.
3813         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
3814         to NULL.
3815         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
3816         array here.
3817         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
3818         contains a result from a previous run use this instead of computing
3819         the value again.
3820         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
3821
3822 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3823
3824         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
3825         offsets into the GOT.
3826         (RTLD_START): Likewise.
3827
3828 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
3829
3830         * elf/sprof.c: Cleanup a bit.
3831
3832 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
3833
3834         * sysdeps/generic/sysdep.h (L): New. Define.
3835
3836         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
3837
3838         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
3839
3840         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
3841         to have only one exit point for functions.
3842         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3843         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
3844         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
3845         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3846         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3847
3848 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3849
3850         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
3851         reset errno so that errno isn't set to ENOSYS in the first call.
3852         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
3853         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3854         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
3855         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
3856
3857 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
3858
3859         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
3860         * sysdeps/i386/addmul_1.S: Likewise.
3861         * sysdeps/i386/lshift.S: Likewise.
3862         * sysdeps/i386/mul_1.S: Likewise.
3863         * sysdeps/i386/rshift.S: Likewise.
3864         * sysdeps/i386/sub_n.S: Likewise.
3865         * sysdeps/i386/submul_1.S: Likewise.
3866         * sysdeps/i386/i586/add_n.S: Likewise.
3867         * sysdeps/i386/i586/addmul_1.S: Likewise.
3868         * sysdeps/i386/i586/lshift.S: Likewise.
3869         * sysdeps/i386/i586/mul_1.S: Likewise.
3870         * sysdeps/i386/i586/rshift.S: Likewise.
3871         * sysdeps/i386/i586/sub_n.S: Likewise.
3872         * sysdeps/i386/i586/submul_1.S: Likewise.
3873
3874         * sysdeps/i386/sysdep.h: Extend last change.
3875
3876         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
3877         to have only one exit point for functions.
3878
3879 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
3880
3881         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
3882         search.
3883
3884 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
3885
3886         * Makerules: Generate libc.so with absolute paths for the used
3887         shared objects.
3888
3889         * config.make.in: Add MAKEINFO definition.
3890
3891 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
3892
3893         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
3894         (ENTRY): Use STABS_FUN.
3895         (END): Use STABS_FUN_END.
3896         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
3897
3898         * elf/Makefile: Add rules to build sprof program.
3899         * elf/sprof.c: New file.
3900
3901 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3902
3903         * misc/syslog.c (openlog_internal): Insert missing closing brace.
3904
3905 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3906
3907         * configure.in: Check for working msgfmt version (from GNU gettext
3908         0.10 or later).
3909
3910 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
3911
3912         * configure.in: Avoid //s in sysdirs.
3913         Patch by Roland McGrath.
3914
3915         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
3916
3917 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
3918
3919         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
3920         setting _dl_global_scope for RTLD_GLOBAL.
3921
3922 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3923
3924         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
3925         possible lists of object-suffixes are taken care of.
3926
3927 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
3928
3929         * timezone/private.h: Update from tzcode1998c.
3930         * timezone/zic.c: Likewise.
3931         * timezone/antarctica: Updated from tzdata1998c.
3932         * timezone/asia: Likewise.
3933         * timezone/australasia: Likewise.
3934         * timezone/europe: Likewise.
3935         * timezone/southamerica: Likewise.
3936
3937 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
3938
3939         * posix/glob.c (glob_in_dir): Add support for cases insensitive
3940         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
3941
3942 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
3943
3944         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
3945         Changed type of TWO43, TWO52 from float to double.
3946         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
3947         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
3948         Changed type of TWO43 from float to double.
3949         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
3950         Use __isinff.
3951
3952 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
3953
3954         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
3955         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
3956         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
3957
3958 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
3959
3960         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
3961         kernel_termios.h.
3962         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
3963         Clean up random whitespace.
3964         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
3965         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
3966         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
3967         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
3968
3969 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
3970
3971         * shlib-versions: Match alpha*.
3972         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
3973         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
3974
3975         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
3976         Implement copysign* with and without __ prefix.
3977         Likewise for fabs; use builtin for gcc 2.8.
3978         (floor*): New.
3979         (fdim*): New.
3980
3981         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
3982         (R_SPARC*): Match current v9 ABI.
3983
3984         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
3985
3986         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
3987         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3988         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
3989         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
3990         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3991         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
3992         * sysdeps/unix/grantpt.c (argv): Fix consts.
3993         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
3994         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3995
3996 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
3997
3998         * misc/syslog.c: Change to allow user the interpretation of the
3999         outcome even with syslog having no return value.
4000
4001 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
4002
4003         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
4004         that the number of program headers is >0 (which is wrong for the
4005         loader itself).
4006
4007 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
4008
4009         * Makefile (distribute): Add README.libm.
4010
4011 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4012
4013         * time/clocktest.c (main): Correct typo: "--" -> "==".
4014
4015 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
4016
4017         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
4018         inline function.
4019         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
4020         inline functions.
4021
4022         * math/libm.map (__atan2): Added.
4023
4024 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
4025
4026         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
4027         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
4028
4029         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
4030         bug.
4031
4032 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4033
4034         * manual/arith.texi (Old-style number conversion): Correct
4035         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
4036
4037 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
4038
4039         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
4040         but does not require it.  Handle missing argv[] values gracefully.
4041         * posix/execl.c: Likewise.
4042         * posix/execle.c: Likewise.
4043
4044 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4045
4046         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
4047         bit.
4048         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
4049
4050 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
4051
4052         * libc.map: Add __adjtimex.
4053
4054 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4055
4056         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
4057         Remove memset.
4058
4059 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
4060
4061         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
4062         to 64.
4063
4064         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
4065
4066         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
4067         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
4068
4069         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
4070         for shared library.
4071
4072         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
4073
4074         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
4075         Added adjtimex and old_adjtimex.
4076
4077         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
4078         New.
4079         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
4080         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
4081
4082         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
4083         symbols only for shared library.
4084         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
4085         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
4086         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
4087         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
4088         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
4089         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
4090         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
4091
4092         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
4093         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
4094         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
4095         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
4096         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
4097         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
4098         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
4099         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
4100
4101         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
4102         rusage pointer.
4103
4104         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
4105         New macros.
4106         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
4107         timex and __adjtimex, respectively.
4108
4109         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
4110
4111         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
4112
4113 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
4114
4115         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
4116         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
4117
4118 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
4119
4120         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
4121
4122 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4123
4124         * Makefile.in: Disable built-in rules.
4125
4126 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4127
4128         * sysdeps/i386/fpu/t_exp.c: Move to ...
4129         * sysdeps/libm-i387/t_exp.c: ... here.
4130
4131 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
4132
4133         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
4134         from __exp2_deltatable.
4135
4136 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
4137
4138         * nis/ypclnt.c (yp_master): Check result of strdup.
4139         Patch by Thorsten Kukuk.
4140
4141 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4142
4143         * nis/ypclnt.c: Give clnt handle after error checking free, change
4144         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
4145
4146 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
4147
4148         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
4149         Patch by Joe Keane <jgk@jgk.org>.
4150
4151         * misc/fstab.h (struct fstab): Change fs_type member to be const.
4152         * misc/fstab.c: Remove casts in fs_type assignments.
4153
4154 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4155
4156         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
4157         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
4158         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
4159         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
4160         * sysdeps/powerpc/bits/fenv.h: Likewise.
4161         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
4162         * sysdeps/generic/bits/fenv.h: Likewise.
4163         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
4164         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
4165         * sysdeps/powerpc/test-arith.c (main): Likewise.
4166
4167 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
4168
4169         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
4170         the comparison macros.
4171
4172 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
4173
4174         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
4175         (__log2): Fixed return values.
4176         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
4177
4178 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
4179
4180         * math/math.h (isunordered): Rename local variables to ensure
4181         correct code.  Reported by HJ Lu.
4182
4183 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
4184
4185         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
4186         isless, islessequal, islessgreater, isunordered): Fix syntax for
4187         fucompip instruction.
4188         (isless, islessequal): Fix logic.
4189
4190 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4191
4192         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
4193         (comparisons_test): New tests for comparison macros.
4194
4195 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
4196
4197         * Makeconfig: Filter out frame-pointer effecting options when
4198         compiling profiling or debugging code.
4199         * config.h.in (internal_function): Don't define here if PROF is
4200         defined.
4201         * gmon/gmon.c (__moncontrol): Don't change state if already in error
4202         state.
4203         (__monstartup): If calloc fails set error state and mark array as
4204         not allocated.
4205         (_mcleanup): Don't call write_gmon if in error state.  Don't try
4206         to free array if not  successfully allocated.
4207
4208         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
4209         Include elf.h to get macro definitions.
4210         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
4211
4212 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
4213
4214         * elf/ldd.sh.in: Add compatibility for broken old shells.
4215         * elf/ldd.bash.in: Likewise.
4216
4217 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
4218
4219         * sunrpc/rpc_main.c (open_input): Check pipe return error.
4220
4221         * time/clocktest.c (main): Check signal return error.
4222
4223 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4224
4225         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
4226         "/" and use do-install-program. Reported by Mark M. Kettenis.
4227         (subdir_install):  Likewise.
4228
4229 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4230
4231         * sunrpc/rpc_sample.c: Fix typo.
4232
4233         * nscd/connections.c: Use locale.
4234         * nscd/grpcache.c: Add debug messages, gidtbl should get the
4235           calloc result.
4236         * nscd/nscd.c: Check if init functions fails.
4237         * nscd/nscd_conf.c: Allow disabling of group cache.
4238         * nscd/nscd_getgr_r.c: Fix return code if group not found.
4239         * nscd/pwdcache.c: Fix debug messages.
4240
4241 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4242
4243         * libc.map: Add __monstartup and _mcleanup for profiling support.
4244
4245 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4246
4247         * libc.map: Export __getpagesize, for binary compatibility with
4248         2.0.
4249
4250 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4251
4252         * posix/globtest.sh: Use --library-path instead of
4253         LD_LIBRARY_PATH.
4254         * localedata/sort-test.sh: Likewise.
4255         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
4256
4257 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4258
4259         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
4260         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
4261         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4262
4263         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
4264         kernel_sigaction): Define.
4265         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
4266         kernel_sigaction): Define.
4267
4268 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4269
4270         * math/libm-test.c: Change epsilons for libm-ieee754.
4271
4272 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
4273
4274         * sysdeps/i386/__longjmp.S: Fix race condition.
4275         Reported by Bruno Haible <haible@ilog.fr>.
4276
4277 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
4278
4279         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
4280         * iconvdata/8bit-gap.c: Likewise.
4281         * iconvdata/8bit-generic.c: Likewise.
4282         * iconvdata/iso6937.c: Likewise.
4283         * iconvdata/iso8859-1.c: Likewise.
4284         * iconvdata/sjis.c: Likewise.
4285         * iconvdata/t61.c: Likewise.
4286
4287 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4288
4289         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
4290         feature tests by positive feature tests.
4291
4292 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4293
4294         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
4295
4296 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
4297
4298         * elf/dlvsym.c (dlvsym_doit): More corrections.
4299         Patch by Andreas Jaeger.
4300
4301 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
4302
4303         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
4304
4305 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
4306
4307         * libc.map: More reordering for GLIBC_2.1 symbols.
4308
4309 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4310
4311         * libc.map: Move some functions from version GLIBC_2.0 to
4312         GLIBC_2.1, reorder declarations.
4313
4314 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
4315
4316         * resolv/gethnamaddr.c (addrsort): Make this function extern.
4317         Patch by zab@thebrain.grumblesmurf.net.
4318
4319 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4320
4321         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
4322         NIS+ functions with version GLIBC_2.1.
4323
4324 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
4325
4326         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
4327         with 2.0 binaries.  Reported by Thorsten Kukuk.
4328
4329 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4330
4331         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
4332
4333         * elf/dlsym.c (dlsym_doit): Likewise.
4334
4335 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4336
4337         * elf/link.h: Correct typos.
4338
4339         * iconv/iconv_prog.c: Correct typo.
4340
4341 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
4342
4343         * iconv/Makefile: Add rules to build and install iconv program.
4344         * iconv/iconv_prog.c: New file.
4345
4346 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
4347
4348         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
4349         _dl_lookup_symbol_skip call.
4350         * elf/dlvsym.c (dlvsym_doit): Likewise.
4351
4352 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
4353
4354         * libio/iovsscanf.c: Do not include errno.h.
4355
4356 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4357
4358         * elf/dl-load.c (add_name_to_object): Don't translate strings.
4359         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
4360         pulling in the whole error list.
4361         (__dcgettext, dcgettext): Removed.
4362         * libc.map: Export _strerror_internal.
4363
4364 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
4365
4366         * sysdeps/i386/fpu/t_exp.c: New file.
4367
4368 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4369
4370         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
4371         everything with version GLIBC_2.1.
4372         * hesiod/libnss_hesiod.map: Likewise.
4373
4374 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4375
4376         * manual/arith.texi (Old-style number conversion): This node is a
4377         section, not a subsection.
4378
4379 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4380
4381         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
4382
4383 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4384
4385         * elf/rtld.c (dl_main): Make sure that the library search paths
4386         have been initialized before the first call to _dl_map_object.
4387
4388 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4389
4390         * Makerules (common-generated): Add libc_pic.os.
4391
4392 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4393
4394         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
4395         of the executable.
4396
4397 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4398
4399         * sysdeps/m68k/fpu/t_exp.c: New file.
4400
4401 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
4402
4403         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
4404         to global errno variable anymore.
4405
4406 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
4407
4408         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
4409         If PRELOADED is nonzero check in case of an SUID application
4410         whether the shared object has the SUID bit set.
4411         Fix some other problems with handling shared objects in system
4412         specific directories.
4413         (_dl_map_object): Also take extra parameter and pass it to open_path.
4414         * elf/link.h (_dl_map_object): Correct prototype and comment.
4415         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
4416         * elf/dl-open.c (_dl_open): Likewise.
4417         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
4418
4419         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
4420
4421 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
4422
4423         * math/libm-test.c (modf_test): Add test for 1.5.
4424
4425         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
4426         0 to get always an int.
4427
4428 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4429
4430         * math/libm.map: Move all symbols that are new in glibc 2.1 to
4431         version GLIBC_2.1.
4432
4433 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
4434
4435         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
4436         trying to read another character.
4437
4438 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4439
4440         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
4441         name to lowercase.
4442
4443         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
4444         name to lowercase, add test for big enough buffer.
4445
4446 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4447
4448         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
4449         Make compatible with older kernels.  Patch by Richard Henderson.
4450
4451 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
4452
4453         * elf/dl-load.c (open_path): Use __xstat instead of stat.
4454
4455         * localedata/tst-locale.sh: Comment out first test for now.
4456
4457 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
4458
4459         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
4460         as 1.
4461         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4462         Likewise.
4463
4464         * libio/iogetline.c (_IO_getline_info): Renamed from
4465         _IO_getline.
4466         (_IO_getline): Just call _IO_getline_info.
4467
4468         * libio/libioP.h (_IO_getline_info): New declaration.
4469
4470         * libc.map (_IO_getline_info, __write): Added.
4471
4472 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4473
4474         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
4475         const char* to shut up gcc.
4476
4477 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
4478
4479         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
4480         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
4481
4482         * math/math.h: Define M_* constants always as `double' and add new
4483         macros M_*l which are of type `long double'.
4484         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
4485         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
4486         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
4487         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
4488         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
4489         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
4490         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
4491         * math/libm-tst.c: Likewise.
4492
4493         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
4494         define as long double unconditionally.
4495
4496 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4497
4498         * manual/arith.texi (Old-style number conversion): Correct some
4499         typos.
4500
4501 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
4502
4503         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
4504         Restore.
4505
4506         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
4507
4508 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
4509
4510         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
4511         on $(rtld-ldscript).
4512
4513         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
4514         starting from 0 not only from `from'.
4515         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4516
4517 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
4518
4519         * elf/rtld.c (dl_main): Recognize --library-path parameter and
4520         pass value (or NULL) to _dl_init_paths.
4521         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
4522         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
4523         environment variable.
4524         * elf/link.h: Change prototype for _dl_init_paths.
4525         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
4526
4527         * localedata/Makefile (distribute): Add test files.
4528
4529 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4530
4531         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
4532         test1.def, test2.def, test3.def, test4.def}: Simple input files
4533         for localedef. Contributed by Yung-Ching Hsiao
4534         <yhsiao@cae.wisc.edu>.
4535
4536         * localedata/Makefile (tests): Call tst-locale.sh.
4537
4538         * localedata/tst-locale.sh: New file, regression tests for some
4539         localedef problems.
4540
4541 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4542
4543         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
4544
4545         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
4546         terminated.
4547         * nis/nss_nisplus/nisplus-network.c: Likewise.
4548         * nis/nss_nisplus/nisplus-proto.c: Likewise.
4549         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4550         * nis/nss_nisplus/nisplus-service.c: Likewise.
4551
4552         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
4553         and support generating thread safe RPC code.
4554         * sunrpc/rpc_main.c: Add changes.
4555         * sunrpc/rpc_clntout.c: Likewise.
4556         * sunrpc/rpc_cout.c: Likewise.
4557         * sunrpc/rpc_hout.c: Likewise.
4558         * sunrpc/rpc_parse.c: Likewise.
4559         * sunrpc/rpc_sample.c: Likewise.
4560         * sunrpc/rpc_scan.c: Likewise.
4561         * sunrpc/rpc_svcout.c: Likewise.
4562         * sunrpc/rpc_util.c: Likewise.
4563         * sunrpc/rpc_util.h: Add new structs and prototypes.
4564         * sunrpc/proto.h: Remove prototypes for static functions.
4565
4566 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4567
4568         * locale/programs/ld-messages.c (messages_finish): Don't skip
4569         error checking when being quiet.
4570         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
4571         (set_class_defaults): Likewise.
4572         * locale/programs/charmap.c (parse_charmap): Likewise.
4573         * locale/programs/ld-collate.c (collate_finish): Likewise.
4574         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
4575         * locale/programs/ld-time.c (time_finish): Likewise.
4576         * locale/programs/locfile.c (write_locale_data): Likewise.
4577
4578         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
4579         unknown characters and empty ranges.
4580         * locale/programs/ld-collate.c (collate_order_elem): When
4581         processing an ellipsis properly form a linked list in the result
4582         table, fix typo when allocating ordering array.
4583         [PR libc/419]
4584
4585 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4586
4587         * elf/Makefile (ld-map): Define.
4588         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
4589         `$(rtld-ldscript)'.
4590         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
4591         on $(ld-map).
4592         (rtld-link): Combine the two versions of this definition.  Fixed
4593         to make it work when no symbol versioning is used.
4594
4595 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
4596
4597         * Makeconfig (build-program-cmd): Use --library-path parameter to
4598         ld.so instead of environment variable.
4599
4600         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
4601         * sunrpc/rpc_main.c: Remove support for -$$ option again.
4602
4603 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4604
4605         * Make-dist: Respect with-cvs setting.
4606         * MakeTAGS (all-pot): Likewise.
4607         * sysdeps/sparc/sparc32/Makefile: Likewise.
4608         * sysdeps/mach/hurd/Makefile: Likewise.
4609         * stdlib/Makefile: Likewise.
4610         * posix/Makefile: Likewise.
4611         * intl/Makefile: Likewise.
4612         * po/Makefile (linguas): Likewise
4613
4614 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4615
4616         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
4617
4618 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
4619
4620         * libc.map: Add __strcasecmp.
4621
4622         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
4623         module.
4624
4625         * nss/getXXent_r.c: If no more module is found don't try to call
4626         setXXent functions but leave unsuccessfully.
4627
4628         * malloc/obstack.h: Cleanups.
4629
4630         * sysdeps/wordsize-32/stdint.h: New file.
4631         * sysdeps/wordsize-64/stdint.h: New file.
4632         * sysdeps/generic/stdint.h: New file.
4633         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
4634         * sysdeps/wordsize-64/inttypes.h: Likewise.
4635         * stdlib/Makefile (headers): Add stdint.h.
4636
4637 1998-02-03  Paul Eggert  <eggert@twinsun.com>
4638
4639         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
4640
4641 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4642
4643         * timezone: New directory.
4644         * time/README, time/africa, time/antarctica, time/asia,
4645         time/australasia, time/backward, time/checktab.awk,
4646         time/etcetera, time/europe, time/factory, time/ialloc.c,
4647         time/iso3166.tab, time/leapseconds, time/northamerica,
4648         time/pacificnew, time/private.h, time/scheck.c,
4649         time/solar87, time/solar88, time/solar89, time/southamerica,
4650         time/systemv, time/test-tz.c, time/tzfile.h,
4651         time/tzselect.ksh, time/yearistype, time/zdump.c,
4652         time/zic.c, time/zone.tab: Moved to timezone.
4653         * time/tzfile.c: Include tzfile.h from timezone subdir.
4654         * time/tzset.c: Likewise.
4655         * time/Makefile: Cut out all code relating to timezones...
4656         * timezone/Makefile: ...and paste it in here.
4657         * Makefile (subdirs): Add timezone.
4658
4659 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
4660
4661         * libc.map (_sys_nerr): Added.
4662
4663         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
4664         versioned symbol.
4665
4666 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
4667
4668         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
4669         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
4670         Reported by Craig Metz <cmetz@inner.net>.
4671
4672 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4673
4674         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
4675         instead of strcasecmp.
4676         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
4677
4678         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
4679
4680 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
4681
4682         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
4683         Patch by Dean Gaudet <dgaudet@arctic.org>.
4684
4685 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
4686
4687         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
4688
4689 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4690
4691         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
4692         with no poll syscall, just include the BSD version.
4693         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
4694         kernel without the syscall, include the stub version.
4695         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
4696         * sysdeps/generic/getresuid.c: New file.
4697         * sysdeps/generic/getresgid.c: New file.
4698
4699 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
4700
4701         * stdio-common/vfscanf.c: Correct last change a bit.
4702
4703 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
4704
4705         * elf/Makefile: Don't use --version-script parameter to link ld.so
4706         unconditionally.
4707
4708 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
4709
4710         * math/Makefile: Add t_exp.
4711         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
4712         constants.
4713         * math/test-reduce.c: Remove temporarily, it seems to be broken.
4714         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
4715         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
4716         better accuracy.
4717         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
4718         algorithm for very large/very small arguments.
4719         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
4720         correct algorithm for very large/very small arguments; adjust for
4721         new table.
4722         * sysdeps/libm-ieee754/t_exp.c: New file.
4723         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
4724
4725         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
4726         back, with comment that explains what breaks when you remove it :-(.
4727
4728         * localedata/xfrm-test.c: Avoid integer overflow.
4729
4730         * stdlib/strfmon.c: char is unsigned, sometimes.
4731
4732         * sysdeps/powerpc/Makefile: Remove quad float support.
4733         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
4734         * sysdeps/powerpc/quad_float.h: Likewise.
4735         * sysdeps/powerpc/test-arith.c: Likewise.
4736         * sysdeps/powerpc/test-arithf.c: Likewise.
4737
4738         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
4739         * sysdeps/generic/s_exp2f.c: Likewise.
4740
4741         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
4742         don't try anything if _SOFT_FLOAT.
4743
4744 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4745
4746         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
4747         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
4748         * wctype/wctype.c: Likewise.
4749         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
4750         changed.  They are incompatible with the _ISxxx values from
4751         <ctype.h> on little endian machines.
4752         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
4753         bit number.  This fixes the real bug and restores the integrity of
4754         the ctype locale file.
4755         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
4756         * wctype/wcfuncs_l.c: Likewise.
4757         * wctype/wcextra.c: Likewise.
4758         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
4759         byte swapping.
4760
4761 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4762
4763         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
4764         into .bss segment instead of .common, so that aliases on it work.
4765
4766         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
4767         .size directives, put into .bss segment instead of initializing it
4768         to 4.
4769
4770 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
4771
4772         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
4773
4774         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
4775         functions.
4776         Make names without __ weak aliases.
4777         (__libc_release, __libc_version): Make them static.
4778
4779         * include/gnu/libc-version.h: New file.
4780         * Makefile (headers): Add gnu/libc-version.h.
4781
4782 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
4783
4784         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
4785         and use x for member name.
4786         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
4787
4788         * stdlib/drand48.c: Change according to member name change.
4789         * stdlib/drand48_r.c: Likewise.
4790         * stdlib/lcong48_r.c: Likewise.
4791         * stdlib/lrand48.c: Likewise.
4792         * stdlib/lrand48_r.c: Likewise.
4793         * stdlib/mrand48.c: Likewise.
4794         * stdlib/mrand48_r.c: Likewise.
4795         * stdlib/seed48.c: Likewise.
4796         * stdlib/seed48_r.c: Likewise.
4797         * stdlib/srand48_r.c: Likewise.
4798
4799 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4800
4801         * nss/test-netdb.c: Add some more test cases.
4802
4803 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
4804
4805         * libio/iovsscanf.c: Undo last change modifying errno.
4806
4807 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4808
4809         * stdio-common/vfscanf.c: Never try to read another character
4810         after EOF.  Don't decrement read_in after EOF, it wasn't
4811         incremented in the first place.
4812         (NEXT_WIDE_CHAR): Set First, not first.
4813
4814 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
4815
4816         * db/Makefile ($(inst_libdir)/libndbm.a,
4817         $(inst_libdir)/libndbm.so): New targets.
4818         * db2/Makefile: Likewise.
4819
4820 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
4821
4822         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
4823         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
4824
4825 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4826
4827         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
4828         <streambuf.h>.
4829         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
4830
4831 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4832
4833         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
4834         versioned symbols.
4835
4836 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
4837
4838         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
4839         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
4840         Added for libdl.so.
4841
4842 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4843
4844         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
4845         extra syscall.
4846
4847         * grp/Makefile: Fix logic when checking for thread package.
4848         * pwd/Makefile: Likewise.
4849
4850 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
4851
4852         * elf/Makefile (rtld-map): Replaced by libc-map.
4853
4854         * elf/rtld.map: Removed.
4855
4856         * libc.map (__libc_enable_secure, _dl_catch_error,
4857         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
4858         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
4859         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
4860         _dl_object_relocation_scope, _dl_relocate_object,
4861         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
4862         _r_debug): Added for ld.so.
4863
4864 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
4865
4866         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
4867         DO_VERSIONING.
4868         * libio/iofdopen.c: Ditto.
4869         * libio/iofopen.c: Ditto.
4870         * libio/oldfileops.c: Ditto.
4871
4872         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
4873         version GLIBC_2.1.
4874
4875         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
4876         oldsiglist from sysdep_routines and shared-only-routines.
4877
4878         * sysdeps/unix/sysv/linux/errlist.c: New.
4879         * sysdeps/unix/sysv/linux/errlist.h: New.
4880         * sysdeps/unix/sysv/linux/sizes.h: New.
4881         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
4882         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
4883
4884         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
4885
4886         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
4887         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
4888         directive.
4889
4890         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
4891
4892         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
4893         (oldsiglist.c): Removed.
4894
4895         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
4896         (_sys_siglist): Use SYS_SIGLIST instead.
4897         (_sys_nerr): Use SYS_NERR instead.
4898
4899         * sysdeps/gnu/errlist.c: Rebuilt.
4900
4901 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
4902
4903         * elf/Makefile (others-static): New, set to ldconfig.
4904         ($(objpfx)ldconfig): Removed.
4905
4906         * Rules (binaries-all, binaries-static, binaries-shared): New.
4907         Create targets for $(binaries-static) and $(binaries-shared).
4908
4909         * Makeconfig (+link-static, link-libc-static,
4910         link-extra-libs-static): New for static linking.
4911
4912 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4913
4914         * manual/memory.texi (Using the Memory Debugger): Fix typo.
4915
4916         * math/libm-test.c (modf_test): Add one more test for modf.
4917
4918 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
4919
4920         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
4921         Rename from __libc_have_rt_sigs and leave as COMMON data.
4922
4923 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
4924
4925         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
4926         of __finite.
4927
4928 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
4929
4930         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
4931
4932 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
4933
4934         * misc/tst-efgcvt.c: Add yet more tests.
4935         * misc/efgcvt_r.c: And correct for these tests again.
4936         Reported by HJ Lu.
4937
4938         * isomac.c: Move to...
4939         * stdlib/isomac.c: ...here.
4940         * Makefile: Move rules for handling isomac...
4941         * stdlib/Makefile: ...to here.
4942
4943 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
4944
4945         * misc/tst-efgcvt.c: Add more tests.
4946         * misc/efgcvt_r.c: Correct result for above new tests.
4947
4948 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
4949
4950         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
4951         NDIGIT <= 0.
4952
4953 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
4954
4955         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
4956         if the programs weren't built.
4957
4958 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
4959
4960         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
4961         FE_TONEAREST, soldier on regardless and do the best we can.
4962         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
4963
4964 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
4965
4966         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
4967         _STDIO_H, before including <bits/stdio_lim.h>.
4968
4969         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
4970
4971         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
4972         exist.
4973
4974         * sysdeps/arm/sys/ucontext.h: New file.
4975
4976 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
4977
4978         * manual/stdio.texi (Formatted Output Functions): Explicitly say
4979         that the return value from snprintf() does not count the
4980         terminating NUL as a character.
4981
4982 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
4983
4984         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
4985         add description for sete[ug]id and general cleanup.
4986         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4987
4988 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4989
4990         * Makefile (parent-clean): Don't remove makefile fragments here.
4991         (postclean): New variable.
4992         (clean): Remove makefile fragments here.
4993         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
4994         (generated): Add isomac and isomanc.out.
4995         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
4996         avoid-generated is set.
4997         (postclean-generated): Add soversion.mk.
4998         ($(common-objpfx)version.mk): Don't include if avoid-generated is
4999         set.
5000         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
5001         avoid-generated is set.
5002         (common-generated): Add libc.so and libc.so$(libc.so-version).
5003         (generated): Add versioned libraries.
5004         (common-mostlyclean): Also remove %.so and %_pic.a.
5005         * csu/Makefile (generated): Add abi-tag.h.
5006         * db2/Makefile (extra-objs): Add getlong.o.
5007         * elf/Makefile (generated): Add ld.so, ldd and
5008         $(rtld-installed-name).
5009         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
5010         * malloc/Makefile (generated): Add mtrace.
5011         * po/Makefile: Don't include version.mk, not needed any more.
5012         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
5013         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
5014         syscall.h -> sys/syscall.h.
5015         (common-generated): Add s-proto.d.
5016         (postclean-generated): Add sysd-syscalls.
5017         * localedata/Makefile (test-output): Add all output files.
5018         (generated): Add test-input and test-output.
5019         (generated-dirs): Add all the dirs.
5020
5021 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5022
5023         * Makefile (test-output, generated, generated-dirs): New
5024         variables.
5025
5026 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
5027
5028         * resolv/nss_dns/dns-host.c: Various code cleanups.
5029
5030 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
5031
5032         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
5033         From Philip Blundell <pb@nexus.co.uk>.
5034         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
5035
5036 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5037
5038         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
5039         Suggested by debian/sparc porters.
5040
5041 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5042
5043         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
5044         for ecvt and fcvt.
5045
5046 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
5047
5048         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
5049         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
5050
5051         * signal/signal.h: Always define sigset_t if __need_sigset_t is
5052         defined even if __USE_POSIX is not defined.
5053
5054 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5055
5056         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
5057         to support obsolete tty major numbers correctly.
5058
5059 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
5060
5061         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
5062         directory first and ignore install error.
5063
5064         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
5065         128 from ptyno and fix a typo for the BSD style pty.
5066
5067 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5068
5069         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
5070         syscalls.list's.
5071
5072 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5073
5074         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5075         getresuid and getresgid.
5076
5077         * sysdeps/unix/sysv/linux/getresuid.c: New file.
5078         * sysdeps/unix/sysv/linux/getresgid.c: New file.
5079
5080         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
5081         s_getres[ug]id.
5082
5083         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
5084         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5085         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5086         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5087
5088 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
5089
5090         * nscd/grpcache.c: Include <stdlib.h>.
5091
5092 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
5093
5094         * stdlib/atoll.c: Fix comments.
5095
5096         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
5097         * sysdeps/posix/ttyname_r.c: Ditto.
5098
5099 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5100
5101         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
5102         __USE_MISC, independent of __USE_UNIX98.
5103
5104 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
5105
5106         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
5107         Rename from __libc_have_rt_sigs and leave as COMMON data.
5108
5109 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
5110
5111         * Makeconfig (CFLAGS-.os): Kill -fno-common.
5112         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
5113
5114         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
5115         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
5116         version symbols.
5117         * include/libc-symbols.h (symbol_version, default_symbol_version):
5118         Provide asm versions and correct !DO_VERSIONING versions.
5119         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
5120         the weak symbol list.
5121
5122         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
5123         Rename from __libc_have_rt_sigs and leave as COMMON data.
5124         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5125         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5126         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5127
5128 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5129
5130         * sunrpc/Makefile: Correct dependencies of rpcgen.
5131
5132 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
5133
5134         * nscd/Makefile: Fix test for available linuxthreads add-on.
5135         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5136
5137 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5138
5139         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
5140
5141 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5142
5143         * sysdeps/gnu/Makefile: Respect with-cvs variable.
5144
5145         * manual/errno.texi (Error Messages): Correct description of
5146         strerror_r.  Pointed out by jonas@bagge.se.
5147
5148 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5149
5150         * manual/socket.texi (Host Address Functions): Clarify description
5151         of inet_network.
5152
5153 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5154
5155         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
5156         (grantpt): Delete superfluous cast.
5157
5158 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5159
5160         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
5161         elf/ldso_install instead of elf/subdir_install.
5162         (elf/ldso_install): New target.
5163
5164         * elf/Makefile (ldso_install): New target.
5165
5166 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5167
5168         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
5169         of 1998-01-06.
5170
5171 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5172
5173         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
5174         constant expressions.
5175
5176 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5177
5178         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
5179         for __nss_configure_lookup.
5180         (output_hostent): Remove unused variable.
5181
5182 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5183
5184         * string/tst-inlcall.c: Fix format string.
5185
5186 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5187
5188         * inet/netinet/in.h: Rename second parameter of bindresvport to
5189         avoid buggy gcc warning. [PR libc/412]
5190
5191 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
5192
5193         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
5194         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
5195
5196         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
5197         Follow POSIX and make tv_sec a time_t.
5198         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
5199         new tv64 syscall as well as fall back to tv32.
5200         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
5201         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
5202         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
5203         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
5204         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
5205         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
5206         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
5207         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
5208
5209         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
5210         * include/rpcsvc/nis_tags.h: Likewise.
5211         * include/rpcsvc/nislib.h: Likewise.
5212
5213 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
5214
5215         * libc.map: Add _h_errno.
5216         * inet/herrno.c: Make _h_errno weak alias.
5217
5218         * login/Makefile (distribute): Add pty-internal.h.
5219
5220         * nscd/Makefile (distribute): Add all the files missing.
5221
5222         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
5223         are available.
5224
5225         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
5226         and report status at the end.
5227
5228         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
5229
5230         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
5231         variable.
5232         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
5233         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
5234         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
5235
5236 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
5237
5238         * configure.in: Fix --enable-add-ons code.
5239
5240 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5241
5242         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
5243         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
5244         [PR libc/441]
5245
5246         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
5247         occurence in cache.  Reported by Rudolf Leitgeb
5248         <leitgeb@leland.stanford.edu>.
5249         [PR libc/440]
5250
5251 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
5252
5253         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
5254         that it never is EINTR (which is tested for in _IO_vfscanf).
5255
5256         * Makefile.in: Call sub-make with CVSOPTS.
5257
5258         * elf/Makefile (distribute): Add dl-procinfo.h.
5259
5260         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
5261
5262 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
5263
5264         * version.h (VERSION): Bump to 2.0.92.
5265
5266 1998-01-31  Phil Blundell  <philb@gnu.org>
5267
5268         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
5269         alias for __new_sys_siglist.
5270
5271 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
5272
5273         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
5274         getgrgid_r.c if thread package is available.
5275         * pwd/Makefile: Likewise.
5276         * grp/getgrnam_r.c: Remove USE_NSCD definition.
5277         * grp/getgrgid_r.c: Likewise.
5278         * pwd/getpwnam_r.c: Likewise.
5279         * pwd/getpwuid_r.c: Likewise.
5280
5281 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
5282
5283         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
5284         with error to allow user intervention.
5285         * nss/getXXent_r.c: Likewise.
5286
5287 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
5288
5289         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
5290         AT_PLATFORM string.  Pretty print AT_BASE info.
5291
5292         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
5293         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
5294         * sysdeps/generic/dl-procinfo.h: New file.
5295         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
5296
5297 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
5298
5299         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
5300
5301         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
5302         thread and not pthread_detach.
5303
5304         * nscd/nscd.c: Rewrite to use argp instead of getopt.
5305
5306 1998-01-31  Phil Blundell  <philb@gnu.org>
5307
5308         * configure.in: Add --without-cvs option to suppress automatic
5309         checkin of regenerated files.
5310         * config.make.in: Likewise.
5311         * Makefile: Respect with-cvs setting.
5312         * Makerules: Likewise.
5313
5314         * configure.in: Allow the standalone ARM port to be configured.
5315
5316 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5317
5318         * grp/getgrgid_r.c: Define USE_NSCD.
5319         * grp/getgrnam_r.c: Likewise.
5320         * pwd/getpwuid_r.c: Likewise.
5321         * pwd/getpwnam_r.c: Likewise.
5322
5323         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
5324
5325         * nss/getXXbyYY_r.c: Try at first nscd.
5326
5327         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
5328         * nscd/connections.c: New file.
5329         * nscd/dbg_log.c: New file.
5330         * nscd/dbg_log.h: New file.
5331         * nscd/grpcache.c: New file.
5332         * nscd/nscd.c: New file.
5333         * nscd/nscd.h: New file.
5334         * nscd/nscd_conf.c: New file.
5335         * nscd/nscd_stat.c: New file.
5336         * nscd/pwdcache.c: New file.
5337
5338         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
5339         * nscd/nscd_getpw_r.c: Likewise.
5340         * nscd/nscd_proto.h: New, prototypes for client functions.
5341
5342         * nscd/nscd.conf: New, example for a configuration file.
5343         * nscd/nscd.init: New, example for a startup script.
5344
5345         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
5346         avoid deadlocks.
5347         * nscd/getgrnam_r.c: Likewise.
5348         * nscd/getpwnam_r.c: Likewise.
5349         * nscd/getpwuid_r.c: Likewise.
5350
5351 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
5352
5353         * intl/Makefile: Use CVSOPTS in cvs invocation.
5354         * po/Makefile: Likewise.
5355         * posix/Makefile: Likewise.
5356         * stdlib/Makefile: Likewise.
5357
5358 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
5359
5360         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
5361         [PR libc/410]
5362         * misc/Makefile (tests): Add tst-efgcvt.
5363         * misc/tst-efgcvt.c: New file.
5364
5365 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
5366
5367         * posix/regex.c: Add some more cleanups by Akim Demaille.
5368
5369 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
5370
5371         * signal/signal.h: Revert last change.
5372         * string/strsignal.c: Regard signal number NSGI as illegal.
5373         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
5374         members.
5375
5376 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
5377
5378         * Makefile.in: Add comment about CVSOPTS Makefile variable.
5379         * Makerules: Use CVSOPTS in cvs invocation.
5380         * Makefile: Likewise.
5381         * MakeTAGS: Likewise.
5382         * Make-dist: Likewise.
5383
5384 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
5385
5386         * sysdeps/generic/memmem.c: Correct last change.
5387
5388 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
5389
5390         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
5391         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
5392
5393 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5394
5395         * nis/ypclnt.c: Try at first to use the binding file from ypbind
5396         before using RPC.
5397
5398 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5399
5400         * manual/memory.texi (Heap Consistency Checking): mcheck is
5401         declared in <mcheck.h>.
5402         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
5403
5404 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5405
5406         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
5407         beginning of haystack.
5408
5409 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5410
5411         * nss/nss_files/files-service.c: Correct last patch.
5412
5413 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
5414
5415         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
5416         __libc_have_rt_sigs.
5417         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
5418         including <bits/setjmp.h>.
5419         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
5420         Patch from the Debian glibc/SPARC package.
5421
5422 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
5423
5424         * sysdeps/alpha/bzero.S: Fix a typo.
5425         * sysdeps/alpha/htonl.S: Ditto.
5426         * sysdeps/alpha/htons.S: Ditto.
5427
5428 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5429
5430         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
5431
5432 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
5433
5434         * include/cpio.h: Move to ...
5435         * posix/cpio.h: ...here.
5436
5437         * locale/programs/ld-collate.c: Fix typo.
5438
5439         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
5440
5441         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
5442
5443         * login/utmp_file.c (pututline_file): Don't always report success
5444         if similar entry is found.  Patch by Mark M. Kettenis.
5445
5446 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
5447
5448         * manual/Makefile: Don't try to install the info files if makeinfo
5449         is not available.
5450
5451 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
5452
5453         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
5454         kernel's network ioctls, rather than using <linux/sockios.h> to
5455         get them.  This way we are sure of maintaining compatibility if
5456         the kernel interface should change.
5457
5458 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
5459
5460         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
5461
5462 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
5463
5464         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
5465         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
5466
5467 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5468
5469         Implement System V pseudoterminal handling.
5470
5471         * login/Makefile
5472         (routines): Add getpt, grantpt, unlockpt, ptsname.
5473         (libutil-routines): Remove pty. Add openpty, forkpty.
5474         (distribute): New internal header pty-internal.h.
5475         (others): Add the helper program, pt_chown.
5476         (install-others): Install it, in $(libexecdir), mode 4755.
5477
5478         * login/pty-internal.h: New file.
5479         * login/openpty.c: New file.
5480         * login/forkpty.c: New file.
5481         * login/programs/pt_chown.c: New file.
5482
5483         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
5484         * stdlib/stdlib.h: Prototype them.
5485
5486         * config.make.in: Define $(libexecdir).
5487         * Makeconfig: Define $(inst_libexecdir).
5488
5489         * sysdeps/generic/pty.c: Removed.
5490         * sysdeps/unix/sysv/linux/pty.c: Removed.
5491
5492         * sysdeps/generic/getpt.c: Stub out.
5493         * sysdeps/generic/grantpt.c: Likewise.
5494         * sysdeps/generic/ptsname.c: Likewise.
5495         * sysdeps/generic/unlockpt.c: Likewise.
5496
5497         * sysdeps/unix/grantpt.c: New file.
5498         * sysdeps/unix/bsd/getpt.c: New file.
5499         * sysdeps/unix/bsd/unlockpt.c: New file.
5500         * sysdeps/unix/sysv/linux/getpt.c: New file.
5501         * sysdeps/unix/sysv/linux/ptsname.c: New file.
5502         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
5503
5504 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
5505
5506         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
5507
5508 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5509
5510         * nss/Makefile (tests): Add rule for test-netdb.c.
5511
5512         * nss/test-netdb.c: New file.
5513
5514 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
5515
5516         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
5517         really kept as a variable.  Patch by Richard Henderson,
5518         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
5519
5520         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
5521         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
5522         entries as not existing.
5523
5524 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5525
5526         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
5527         zero in alternate form with precision of zero, which must produce
5528         "0".  Add braces to avoid ambiguous `else'.
5529
5530 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5531
5532         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
5533         problem with strncpy.
5534         * nis/nss_compat/compat-pwd.c: Likewise.
5535         * nis/nss_compat/comapt-spwd.c: Likewise.
5536
5537 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5538
5539         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
5540         by uch@nop.or.jp. [PR libc/437]
5541
5542 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5543
5544         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
5545
5546 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5547
5548         * stdio-common/test-popen.c: Include <errno.h>.
5549
5550         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
5551         close.
5552
5553         * inet/getnetgrent_r.c: Include <errno.h>.
5554
5555         * db2/db/db_conv.c: Include <string.h> for memcpy.
5556
5557         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
5558         so that memcpy is declared.
5559
5560         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
5561
5562         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
5563
5564 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5565
5566         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
5567         overflow while reading line with fgets.
5568         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
5569
5570 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
5571
5572         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
5573         unsigned short, not short.
5574         Reported by Andreas Jaeger.
5575
5576 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5577
5578         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
5579         (ccept->accept).
5580
5581         * sysdeps/generic/inttypes.h: Fix spelling.
5582
5583 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5584
5585         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
5586
5587         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
5588
5589 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
5590
5591         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
5592         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
5593         field for hh modifier.
5594         * stdio-common/vfprint.c: Use is_char field and do not depend in
5595         is_short having the value 2.
5596         Bug reported by Andreas Jaeger.
5597
5598 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5599
5600         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
5601         PIC && DO_VERSIONING.
5602
5603 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5604
5605         * Rules: Add rules for $(common-objpfx)dummy$o.
5606
5607 1998-01-26  Richard Henderson  <rth@cygnus.com>
5608
5609         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
5610         unimplemented OSF/1 definitions so that they are not accidentally seen.
5611
5612         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
5613         of the trampoline function into the macro.
5614         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
5615         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
5616         kernel 2.1.82 has this fixed.
5617
5618         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
5619         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
5620
5621 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
5622
5623         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
5624         support sigaction on kernels > 2.1.7x.
5625
5626 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
5627
5628         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
5629         if it is empty.
5630
5631         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
5632         Patch by David Engel <david@sw.ods.com>.
5633
5634         * configure.in: Fix another typo in --enable-add-ons code.
5635
5636 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
5637
5638         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
5639
5640 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5641
5642         * nss/nss_files/files-network.c: Correct order of parameters for
5643         getnetbyaddr.
5644
5645 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
5646
5647         * db2/Makefile (routines): Add os_alloc.
5648         * db2/db.h: Update from db-2.3.16.
5649         * db2/db_185.h: Likewise.
5650         * db2/db_int.h: Likewise.
5651         * db2/btree/bt_close.c: Likewise.
5652         * db2/btree/bt_cursor.c: Likewise.
5653         * db2/btree/bt_delete.c: Likewise.
5654         * db2/btree/bt_open.c: Likewise.
5655         * db2/btree/bt_page.c: Likewise.
5656         * db2/btree/bt_put.c: Likewise.
5657         * db2/btree/bt_rec.c: Likewise.
5658         * db2/btree/bt_recno.c: Likewise.
5659         * db2/btree/btree_auto.c: Likewise.
5660         * db2/common/db_appinit.c: Likewise.
5661         * db2/common/db_apprec.c: Likewise.
5662         * db2/common/db_err.c: Likewise.
5663         * db2/common/db_region.c: Likewise.
5664         * db2/common/db_shash.c: Likewise.
5665         * db2/db/db.c: Likewise.
5666         * db2/db/db_auto.c: Likewise.
5667         * db2/db/db_conv.c: Likewise.
5668         * db2/db/db_dispatch.c: Likewise.
5669         * db2/db/db_dup.c: Likewise.
5670         * db2/db/db_pr.c: Likewise.
5671         * db2/db/db_rec.c: Likewise.
5672         * db2/db185/db185.c: Likewise.
5673         * db2/dbm/dbm.c: Likewise.
5674         * db2/hash/hash.c: Likewise.
5675         * db2/hash/hash_auto.c: Likewise.
5676         * db2/hash/hash_dup.c: Likewise.
5677         * db2/hash/hash_page.c: Likewise.
5678         * db2/hash/hash_rec.c: Likewise.
5679         * db2/include/btree_ext.h: Likewise.
5680         * db2/include/clib_ext.h: Likewise.
5681         * db2/include/common_ext.h: Likewise.
5682         * db2/include/db.h.src: Likewise.
5683         * db2/include/db_185.h.src: Likewise.
5684         * db2/include/db_am.h: Likewise.
5685         * db2/include/db_ext.h: Likewise.
5686         * db2/include/db_int.h.src: Likewise.
5687         * db2/include/hash_ext.h: Likewise.
5688         * db2/include/lock_ext.h: Likewise.
5689         * db2/include/log.h: Likewise.
5690         * db2/include/log_auto.h: Likewise.
5691         * db2/include/log_ext.h: Likewise.
5692         * db2/include/mp.h: Likewise.
5693         * db2/include/mp_ext.h: Likewise.
5694         * db2/include/mutex_ext.h: Likewise.
5695         * db2/include/os_ext.h: Likewise.
5696         * db2/include/os_func.h: Likewise.
5697         * db2/include/txn_ext.h: Likewise.
5698         * db2/lock/lock.c: Likewise.
5699         * db2/lock/lock_util.c: Likewise.
5700         * db2/log/log.c: Likewise.
5701         * db2/log/log.src: Likewise.
5702         * db2/log/log_archive.c: Likewise.
5703         * db2/log/log_auto.c: Likewise.
5704         * db2/log/log_get.c: Likewise.
5705         * db2/log/log_put.c: Likewise.
5706         * db2/log/log_rec.c: Likewise.
5707         * db2/log/log_register.c: Likewise.
5708         * db2/mp/mp_bh.c: Likewise.
5709         * db2/mp/mp_fget.c: Likewise.
5710         * db2/mp/mp_fopen.c: Likewise.
5711         * db2/mp/mp_fput.c: Likewise.
5712         * db2/mp/mp_pr.c: Likewise.
5713         * db2/mp/mp_sync.c: Likewise.
5714         * db2/mutex/mutex.c: Likewise.
5715         * db2/os/os_alloc.c: Likewise.
5716         * db2/os/os_config.c: Likewise.
5717         * db2/os/os_stat.c: Likewise.
5718         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
5719         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
5720         * db2/progs/db_load/db_load.c: Likewise.
5721         * db2/progs/db_printlog/db_printlog.c: Likewise.
5722         * db2/progs/db_recover/db_recover.c: Likewise.
5723         * db2/progs/db_stat/db_stat.c: Likewise.
5724         * db2/txn/txn.c: Likewise.
5725
5726         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
5727         Unmap memory blocks in reverse order of allocation.
5728         Call munmap with load address added to offset.
5729         Bug reported by Miguel de Icaza.
5730
5731         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
5732         up weight array.
5733
5734         * localedata/locales/cs_CZ: Update by Michael Mraka
5735         <michael@informatics.muni.cz>.
5736
5737         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
5738         __USE_BSD.
5739
5740         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
5741         reading line with fgets.
5742         * nis/nss_compat/compat-pwd.c: Likewise.
5743         * nis/nss_compat/compat-spwd.c: Likewise.
5744         * nss/nss_files/files-XXX.c: Likewise.
5745         * nss/nss_files/files-alias.c: Likewise.
5746         * shadow/fgetspent_r.c: Likewise.
5747
5748         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
5749
5750         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
5751         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5752         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5753
5754         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
5755         FP register content in ucontext_t.
5756
5757 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5758
5759         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
5760         calculation.  Patch by Markus Schoder
5761         <Markus.Schoder@dresdner-bank.de>.
5762
5763         * math/libm-test.c (modf_test): Add more tests for modf.
5764
5765         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
5766         munlock according to Unix98.
5767
5768 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5769
5770         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
5771         AF_INET.
5772
5773 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
5774
5775         * sysdeps/posix/ttyname.c: Handle symbolic links.
5776         * sysdeps/posix/ttyname_r.c: Ditto.
5777
5778 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
5779
5780         * db2/makedb.c (process_input): Write terminating \0 for value.
5781         (print_database): Simply print value string, don't use length.
5782
5783 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5784
5785         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
5786         exit of loop.
5787
5788 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5789
5790         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
5791         close all sockets.
5792
5793 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
5794
5795         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
5796         sigset.
5797         * signal/sighold.c: New file.
5798         * signal/sigrelse.c: New file.
5799         * sysdeps/generic/sigignore.c: New file.
5800         * sysdeps/generic/sigset.c: New file.
5801         * sysdeps/posix/sigignore.c: New file.
5802         * sysdeps/posix/sigset.c: New file.
5803         * signal/signal.h: Add prototypes for new functions.
5804
5805         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
5806         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
5807         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
5808         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
5809
5810 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
5811
5812         * posix/wordexp.c: Added IFS field-splitting in parameter and
5813         command substitution.  Fixed an IFS-related bug that caused an
5814         infinite loop.
5815
5816 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
5817
5818         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
5819         and swapcontext.
5820         * stdlib/ucontext.h: Correct prototypes.
5821         * sysdeps/generic/getcontext.c: New file.
5822         * sysdeps/generic/setcontext.c: New file.
5823         * sysdeps/generic/makecontext.c: New file.
5824         * sysdeps/generic/swapcontext.c: New file.
5825         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
5826
5827 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
5828
5829         * resource/sys/resource.h: Remove #include of ulimit.h which is
5830         not allowed by SUSv2 and not available on other systems.
5831         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
5832
5833         * streams/Makefile: New file.
5834         * streams/stropts.h: New file.
5835         * sysdeps/generic/bits/stropts.h: New file.
5836         * sysdeps/generic/isastream.c: New file.
5837         * sysdeps/generic/getmsg.c: New file.
5838         * sysdeps/generic/getpmsg.c: New file.
5839         * sysdeps/generic/putmsg.c: New file.
5840         * sysdeps/generic/putpmsg.c: New file.
5841         * sysdeps/generic/fattach.c: New file.
5842         * sysdeps/generic/fdetach.c: New file.
5843         * sysdeps/unix/inet/Subdirs: Add streams.
5844         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
5845         __t_uscalar_t.
5846         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5847         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5848         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5849         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
5850
5851         * sysdeps/mach/_strerror.c: Follow changes of generic version to
5852         handle small buffers correctly.
5853
5854 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
5855
5856         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
5857         Remove the 3rd arg and add declaration for _dl_runtime_resolve
5858         and _dl_runtime_profile.
5859
5860 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
5861
5862         * include/cpio.h: New file.  Mainly copied from GNU cpio.
5863         * posix/Makefile (headers): Add cpio.h.
5864
5865 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5866
5867         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
5868         to routines.
5869         * nis/nis_cache.c: New file.
5870         * nis/nis_cache2.h: New file.
5871         * nis/nis_cache2_xdr.c: New file.
5872         * nis/nis_call.c: Changes for cache2_info parameter.
5873         * nis/nis_checkpoint.c: Likewise.
5874         * nis/nis_intern.h: Likewise.
5875         * nis/nis_mkdir.c: Likewise.
5876         * nis/nis_ping.c: Likewise.
5877         * nis/nis_rmdir.c: Likewise.
5878         * nis/nis_server.c: Likewise.
5879         * nis/nis_util.c: Likewise.
5880
5881 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5882
5883         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
5884         return/errnop codes.
5885         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
5886         * nis/nss_nisplus/nisplus-grp.c: Likewise.
5887         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
5888         * nis/nss_nisplus/nisplus-proto.c: Likewise.
5889         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
5890         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
5891         * nis/nss_nisplus/nisplus-rpc.c: Likewise
5892         * nis/nss_nisplus/nisplus-service.c: Likewise.
5893         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
5894
5895 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5896
5897         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
5898         * nis/nss_nis/nis-ethers.c: Likewise.
5899         * nis/nss_nis/nis-grp.c: Likewise.
5900         * nis/nss_nis/nis-hosts.c: Likewise.
5901         * nis/nss_nis/nis-network.c: Likewise.
5902         * nis/nss_nis/nis-proto.c: Likewise.
5903         * nis/nss_nis/nis-hosts.c: Likewise.
5904         * nis/nss_nis/nis-network.c: Likewise.
5905         * nis/nss_nis/nis-proto.c: Likewise.
5906         * nis/nss_nis/nis-publickey.c: Likewise.
5907         * nis/nss_nis/nis-pwd.c: Likewise.
5908         * nis/nss_nis/nis-rpc.c: Likewise.
5909         * nis/nss_nis/nis-service.c: Likewise.
5910         * nis/nss_nis/nis-spwd.c: Likewise.
5911
5912 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
5913
5914         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
5915         Added to follow latest kernel development.
5916
5917 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
5918
5919         * nss/db-Makefile: Handle empty and comment lines better.
5920         ($(VAR_DB)/services.db): Generate entries with missing protocol
5921         value.
5922
5923 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5924
5925         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
5926           NULL.
5927           (getservbyname): Allow proto == NULL.
5928           Pointed out by David N. Welton <davidw@gate.cks.com>.
5929           [PR libc/430].
5930
5931 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
5932
5933         * nis/nislib/nislib.h: Finally removed.
5934
5935         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
5936         C compiler.  From Kaveh Ghazi.
5937         (TYPE_MINIMUM): Define.
5938         (TYPE_MAXIMUM): Define.
5939         (TIME_T_MIN): Use TYPE_MINIMUM.
5940         (TIME_T_MAX): Use TYPE_MAXIMUM.
5941         Patch by Jim Meyering <meyering@ascend.com>.
5942
5943 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
5944
5945         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
5946         __pread64, __pwrite64, and __getpid.
5947
5948         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
5949         versions.
5950
5951 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5952
5953         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
5954         cancelable socket functions as __libc_xxx with __xxx as weak
5955         alias.
5956         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5957         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5958
5959         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
5960         redefined.
5961         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5962         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
5963         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
5964         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5965
5966         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
5967         and __xxx a weak alias.
5968         * sysdeps/unix/sysv/linux/connect.S: Likewise.
5969         * sysdeps/unix/sysv/linux/recv.S: Likewise.
5970         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5971         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5972         * sysdeps/unix/sysv/linux/send.S: Likewise.
5973         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5974         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5975
5976 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5977
5978         * locale/langinfo.h: Add defines.
5979
5980         * dirent/dirent.h: Add defines for DT_*, check also for
5981         _DIRENT_HAVE_D_TYPE.
5982         Suggested by Roland McGrath.
5983
5984 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5985
5986         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
5987         Update from Linux 2.1.73+79.
5988
5989         * README.template: Update information about possible
5990         configurations.
5991
5992         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
5993         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
5994         [PR libc/417].
5995
5996         * manual/time.texi (Priority): Correct description of
5997         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
5998         [PR libc/416].
5999
6000 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
6001
6002         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
6003         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
6004
6005 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
6006
6007         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
6008         Andreas Jaeger.
6009
6010 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
6011
6012         * locale/programs/ld-collate.c: Little optimizations.
6013
6014         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
6015
6016         * string/Makefile (tests): Add tst-inlcall.
6017         * string/tst-inlcall.c: New file.
6018
6019         * string/strsignal.c: Add support for real-time signals.
6020
6021         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
6022         presense of small buffer.
6023
6024         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
6025
6026         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
6027         for i686.
6028
6029         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
6030         _NSIG + 1.
6031
6032 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
6033
6034         * Rules: Add explicit rule for dummy.o; at least one library needs
6035           it and it isn't autogenerated by the default rules.
6036
6037 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6038
6039         * math/libm-test.c: Tweak epsilons.
6040
6041 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6042
6043         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
6044         child.
6045         (feenv_mask_test): Likewise.
6046
6047 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6048
6049         * Makeconfig: Don't export CPPFLAGS.
6050
6051 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6052
6053         * sunrpc/rpc_main.c (parseargs): Use perror to print error
6054         message.
6055
6056 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6057
6058         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
6059         terminating null in key size.
6060
6061 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6062
6063         * nss/nss_files/files-service.c: Fix allocation size to include
6064         length of PROTO.
6065
6066         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
6067         applicable.  Fix return value and error checking.
6068         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
6069         unparsable lines.
6070         (DB_LOOKUP): Allocate space for terminating null byte.
6071
6072         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
6073         uids specially.
6074
6075         * db2/makedb.c (process_input): Continue processing if a duplicate
6076         key is encountered.
6077
6078 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
6079
6080         * time/tzfile.h: Updated from tzcode1998b.
6081         * time/zdump.c: Likewise.
6082         * time/zic.c: Likewise.
6083         * time/africa: Update from tzdata1998b.
6084         * time/antarctica: Likewise.
6085         * time/asia: Likewise.
6086         * time/australasia: Likewise.
6087         * time/etcetera: Likewise.
6088         * time/europe: Likewise.
6089         * time/leapseconds: Likewise.
6090         * time/northamerica: Likewise.
6091         * time/southamerica: Likewise.
6092
6093 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6094
6095         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
6096         lookups ignoring case.
6097         * nss/nss_files/files-network.c: Do network lookups ignoring
6098         case.
6099         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
6100         case.
6101         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
6102         case insensitive comparing.
6103         Patches by Cristian Gafton <gafton@redhat.com>.
6104
6105 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6106
6107         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
6108         by Roland McGrath. [PR libc/395]
6109
6110 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6111
6112         * manual/arith.texi (Parsing of Integers): Correct description of
6113         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
6114         [PR libc/396]
6115
6116 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
6117
6118         * misc/lsearch.c (lsearch): Return a pointer to the new element
6119         if one was "allocated".
6120
6121 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6122
6123         * string/strsignal.c: NSIG is not a valid index into
6124         _sys_siglist.  Don't zap the last character of the "Unknown
6125         signal" message.
6126
6127 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
6128
6129         * locale/programs/charmap.c (parse_charmap): Correct parsing of
6130         ellipsis expressions.
6131
6132         * locale/programs/charset.c (insert_char): Correctly insert value
6133         of eliipsis expression.
6134
6135 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
6136
6137         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
6138         <bits/setjmp.h>.
6139         * sysdeps/powerpc/setjmp.S: Likewise.
6140         Patches by Matt McLean <keys@keys.got.net>.
6141
6142         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
6143
6144         * Makefile: Undo last patch.
6145         (distribute): Add test-installation.pl.
6146
6147         * configure.in: Correct handling of --enable-add-ons without parameter.
6148         Correct address of WWW pages.
6149
6150         * libc.map: Add _nl_domain_bindings.
6151
6152         * db2/mutex/tsl_parisc.s: New file.
6153
6154         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
6155         and extra-module.mk.
6156
6157         * localedata/Makefile (distribute): New.  Add all the files.
6158
6159         * stdlib/Makefile (headers): Add inttypes.h.
6160         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
6161         * sysdeps/generic/inttypes.h: New file.
6162         * sysdeps/generic/strtoimax.c: New file.
6163         * sysdeps/generic/strtoumax.c: New file.
6164         * sysdeps/generic/wcstoimax.c: New file.
6165         * sysdeps/generic/wcstoumax.c: New file.
6166         * sysdeps/wordsize-32/Dist: Removed.
6167         * sysdeps/wordsize-32/Makefile: Removed.
6168         * sysdeps/wordsize-64/Dist: Removed.
6169         * sysdeps/wordsize-64/Makefile: Removed.
6170         * sysdeps/generic/bits/environments.h: New file.
6171
6172         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
6173         header is still not correct.
6174
6175         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
6176         * posix/unistd.h: Likewise.
6177         * sysdeps/generic/sys/mman.h: Likewise.
6178         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
6179
6180         * manual/arith.texi: Change definition of mul macro.
6181         * manual/math.texi: Likewise.
6182
6183         * misc/Makefile (routines): Add mmap64.
6184         * sysdeps/generic/mmap64.c: New file.
6185         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
6186         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
6187         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
6188         aliases to mmap.
6189         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6190
6191         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
6192
6193         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
6194
6195         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
6196
6197         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
6198         FOPEN_MAX also when included by limits.h.
6199         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
6200
6201         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
6202         and netrom/netrom.h.
6203         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
6204         oldsiglist to sysdep_routines, not aux.
6205         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
6206
6207         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
6208         and SOL_NETROM definition.
6209
6210         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
6211
6212         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
6213         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
6214
6215 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
6216
6217         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
6218
6219         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
6220         sa_handler with k_sa_handler.
6221         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
6222         strong alias.
6223         Reported by a sun.
6224
6225         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
6226         __libc_have_rt_sigs here.
6227         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
6228         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6229         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
6230         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6231
6232 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
6233
6234         * sysdeps/powerpc/atomicity.h: New file.
6235         * sysdeps/mach/powerpc/machine-lock.h: New file.
6236
6237         * Rules: Use -fpic to build anything that might end up in a users'
6238         shared library.
6239
6240         * sysdeps/powerpc/s_fdim.c: New file.
6241         * sysdeps/powerpc/s_fdimf.c: New file.
6242         * sysdeps/powerpc/s_fmax.S: New file.
6243         * sysdeps/powerpc/s_fmaxf.S: New file.
6244         * sysdeps/powerpc/s_fmin.S: New file.
6245         * sysdeps/powerpc/s_fminf.S: New file.
6246         * sysdeps/powerpc/s_llrint.c: Now is for double.
6247         * sysdeps/powerpc/s_llrintf.c: New file.
6248         * sysdeps/powerpc/s_llround.c: Now is for double.
6249         * sysdeps/powerpc/s_llroundf.c: New file.
6250         * sysdeps/powerpc/s_lrint.c: Now is for double.
6251         * sysdeps/powerpc/s_lrintf.S: New file.
6252         * sysdeps/powerpc/s_lround.c: Now is for double.
6253         * sysdeps/powerpc/s_lroundf.c: New file.
6254         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
6255         lrintf, fdim, fdimf.
6256
6257         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
6258         file directly, use its parent.
6259
6260         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
6261         (for the third time).
6262
6263 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
6264
6265         * posix/sched.h: timespec is in <time.h>.
6266
6267         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
6268
6269 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
6270
6271         * configure.in: Stop with error if --disable-static is used when
6272         the shared lib uses this library.
6273
6274         * gen-FAQ.pl: I've perl installed in /usr/bin.
6275
6276         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
6277
6278         Fix Unix98 conformance problems in the headers.
6279         * catgets/nl_types.h: Define nl_item.
6280         * grp/grp.h: Define gid_t.
6281         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
6282         * include/nl_types.h: New file.
6283         * include/ulimit.h: New file.
6284         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
6285         constants in POSIX mode.
6286         * io/utime.h: Get definition for time_t.
6287         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
6288         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
6289         * libio/stdio.h: Define va_list.  Make snprintf also available is
6290         __USE_UNIX98.  Declare getopt function and variables.
6291         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
6292         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
6293         * math/math.h: Defined M_* constants as double for Unix98 mode.
6294         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
6295         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
6296         * posix/regex.h: Define REG_NOSYS.
6297         * posix/wordexp.h: Define WRDE_NOSYS.
6298         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
6299         500 for Unix98.
6300         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
6301         somewhere else as well.  Define clock_t for Unix98.
6302         * posix/sys/wait.h: Define pid_t.
6303         * pwd/pwd.h: Define gid_t, uid_t.
6304         * resource/Makefile (headers): Add ulimit.h.
6305         * resource/ulimit.h: New file.
6306         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
6307         instead of second argument.
6308         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
6309         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
6310         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
6311         * signal/signal.h: Define pid_t.
6312         * string/string.h: Don't declare BSD string functions in POSIX mode.
6313         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
6314         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
6315         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
6316         and POSIX.
6317
6318         * inet/test_ifindex.c: Change test so that it does not fail for
6319         interface aliases.
6320
6321         * locale/programs/locale.c (show_info): Use correct cast sequence
6322         for 64bit machines.
6323
6324         * malloc/malloc.c: __malloc_initialized now signals three states:
6325         uninitialized, initializing, initialized.  Used in mcheck.
6326         * malloc/mcheck.c (mabort): Add '\n' to messages.
6327         (mcheck): Allow installation when malloc is uninitialized or is
6328         just initializing.
6329
6330         * manual/memory.texi: Explain mtrace output a bit more.
6331
6332         * math/libm-test.c: Add more epsilons.
6333
6334         * misc/regexp.h (compile): Remove __ prefix from parameter names.
6335
6336         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
6337         instead of strcpy for security.
6338         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
6339         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
6340         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
6341
6342         * nss/digits_dots.c: Pretty print.
6343
6344         * posix/getconf.c (vars): Add symbols for programming environment
6345         recognition.  Recognize --version.
6346
6347         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
6348         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
6349         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
6350
6351         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
6352         __need_FOPEN_MAX.
6353         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
6354         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
6355         __need_FOPEN_MAX.
6356
6357         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
6358         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
6359
6360         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
6361         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6362         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
6363         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
6364         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6365         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
6366
6367         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
6368         SCNu*.
6369         * sysdeps/wordsize-64/inttypes.h: Likewise.
6370
6371         * time/africa: Update from tzdata1997j.
6372         * time/antarctica: Likewise.
6373         * time/asia: Likewise.
6374         * time/australasia: Likewise.
6375         * time/backward: Likewise.
6376         * time/etcetera: Likewise.
6377         * time/europe: Likewise.
6378         * time/factory: Likewise.
6379         * time/northamerica: Likewise.
6380         * time/pacificnew: Likewise.
6381         * time/southamerica: Likewise.
6382
6383         * time/tzfile.h: Update from tzcode1997h.
6384         * time/zic.c: Likewise.
6385
6386         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
6387         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
6388         isw*() functions for Unix98.
6389         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
6390         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
6391         is defined.
6392
6393 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6394
6395         * locale/duplocale.c: Increase usage_count only if less than
6396         MAX_USAGE_COUNT.
6397         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
6398         MAX_USAGE_COUNT.
6399         * locale/setlocale.c: Likewise.
6400
6401 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6402
6403         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
6404         dependency to make it easier to install it selectively.
6405
6406         * Makerules (.SUFFIXES): Don't define any suffixes.
6407
6408 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6409
6410         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
6411         * sysdeps/generic/statfs64.c: Emulate using statfs.
6412         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
6413         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
6414         * sysdpes/generic/ftruncate64.c: New file.
6415         * sysdpes/generic/truncate64.c: New file.
6416
6417         * sysdeps/generic/bits/stat.h: Add LFS support.
6418         * sysdeps/generic/bits/statfs.h: Likewise.
6419
6420         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
6421         [__USE_FILE_OFFSET64]: Make long long constant.
6422         (RLIM64_INFINITY): Likewise.
6423
6424         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
6425         for LFS support.
6426         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
6427         * sysdeps/generic/bits/resource.h: Likewise.
6428
6429         * misc/Makefile (routines): Add truncate64 and ftruncate64.
6430
6431         * include/features.h: Don't prevent LFS support from defining BSD
6432         and SYSV things.
6433
6434         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
6435         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
6436         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
6437
6438         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
6439         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
6440         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6441
6442         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
6443         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
6444         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
6445         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
6446         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
6447         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
6448         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
6449         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
6450         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
6451         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
6452         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
6453         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
6454         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
6455         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
6456         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
6457         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
6458         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
6459         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
6460         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
6461         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
6462
6463         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
6464         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
6465         * sysdeps/unix/sysv/linux/xstat64.c: New file.
6466         * sysdeps/unix/sysv/linux/readdir64.c: New file.
6467         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
6468
6469         * sysdeps/unix/sysv/linux/getdents64.c: New file.
6470         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
6471         [$(subdir)=dirent]: Add getdents64.
6472         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
6473
6474         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
6475
6476 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
6477
6478         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
6479
6480         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
6481         * sysdeps/generic/getrlimit64.c: Likewise.
6482         * sysdeps/generic/setrlimit.c: Likewise.
6483         * sysdeps/generic/setrlimit64.c: Likewise.
6484
6485 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
6486
6487         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
6488         using versioning.
6489
6490         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
6491
6492         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
6493
6494 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6495
6496         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
6497         after the codeset name.
6498
6499 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6500
6501         * libc.map: Add get_kernel_syms.
6502
6503 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6504
6505         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
6506         static.
6507         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
6508         Likewise.  Fix condition.
6509
6510 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6511
6512         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
6513
6514 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6515
6516         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
6517         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
6518
6519 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6520
6521         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
6522         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
6523         instead.  Oops.
6524
6525 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6526
6527         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
6528
6529 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6530
6531         * math/libm-test.c (catanh_test): Change epsilon.
6532         Reported by H.J. Lu.
6533
6534 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
6535
6536         * libc.map (__getpid): Added for linuxthreads.
6537
6538 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
6539
6540         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
6541         it if gcc uses static variable in DWARF2 unwind information
6542         for exception support.
6543
6544         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
6545
6546         * elf/soinit.c (__libc_global_ctors, _fini): Handle
6547         HAVE_DWARF2_UNWIND_INFO_STATIC.
6548
6549         * libc.map (__register_frame*, __deregister_frame*): Make them
6550         global.
6551
6552 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6553
6554         * math/libm-test.c: Add more tests for "normal" values.
6555
6556 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6557
6558         * stdio-common/printf_fphex.c: Fix printing of long double number
6559         with a biased exponent of zero.  Fix rounding.
6560
6561 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6562
6563         * sunrpc/rpc_main.c: Accept new flag -$.
6564         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
6565
6566 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6567
6568         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
6569         dynamic linker first, in case the interface has changed.
6570
6571 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6572
6573         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
6574         order.
6575
6576 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6577
6578         * math/tgmath.h: Check for double first, for architectures where
6579         sizeof (long double) == sizeof (double).
6580
6581 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6582
6583         * math/libm-test.c: New tests for "normal" values added for most
6584         functions.
6585
6586 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
6587
6588         * version.h (VERSION): Bump to 2.0.91.
6589
6590         * db2/makedb.c (process_input): Fix typo in message.
6591         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
6592
6593         * elf/dynamic-link.h: Pretty print.
6594
6595         * elf/rtld.c: Allow multiple preloading of a shared object.
6596
6597         * include/limits.h: Prevent multiple inclusion.
6598
6599         * malloc/Makefile (headers): Add mcheck.h.
6600         (distribute): Remove it here.
6601         * malloc/mcheck.h: Pretty print.
6602         * malloc/mtrace.c (mallenv): Make `const'.
6603         * malloc/mtrace.pl: Don't print table head for memory leaks if there
6604         are none.
6605         * manual/memory.texi: Update descriptor of malloc hooks.
6606
6607         * posix/Makefile (routines): Add waitid.
6608         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
6609         on __id_t.
6610         * posix/sys/wait.h: Define idtype_t type.
6611         Add prototype for waitid.
6612         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
6613         * sysdeps/generic/waitid.c: Stub for waitid.
6614         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
6615         the __need_siginfo_t defined.
6616         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
6617         * sysdeps/generic/bits/types.h: Define __id_t.
6618         Correct definition of __FDMASK.
6619         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6620         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6621         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
6622
6623         * sysdeps/posix/waitid.c: New file.
6624         Provided by Zack Weinberg.
6625
6626         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
6627
6628         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6629         Add missing parameters.
6630
6631         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
6632         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
6633         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
6634         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
6635         initialized.
6636
6637         * sysdeps/i386/dl-machine.h: Little cleanup.
6638
6639         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
6640         (__finite): Mark function as const.
6641         Add inline code for __ieee754_atan2.
6642
6643         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
6644         (but don't use it now).
6645         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
6646         __atan.
6647         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
6648         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
6649         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
6650         real part.
6651         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
6652         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
6653         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
6654         __ieee754_atan2 to base 10.
6655         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
6656         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
6657
6658         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
6659         old_kernel_sigaction.
6660
6661         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
6662
6663         * wctype/Makefile (routines): Add wctype_l.
6664         * wctype/wctype.h: Add declaration of __wctype_l.
6665         * wctype/wctype_l.c: New file.
6666
6667 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
6668
6669         * locale/C-ctype.c: Correct data for isw* functions.
6670         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
6671         byte order.
6672         * wctype/test_wctype.c: Add test for isw* functions.
6673         * wctype/wctype.c: Return value with expected byte order.
6674
6675 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6676
6677         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
6678
6679 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
6680
6681         * iconvdata/Makefile: Fix a typo.
6682
6683         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
6684         oldsiglist for shared library.
6685
6686         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
6687         sys_sigabbrev): Make them as the default version GLIBC_2.1.
6688
6689         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
6690         sys_siglist, sys_sigabbrev): New file. Make them as the old
6691         version GLIBC_2.0.
6692
6693         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
6694         to GLIBC_2.1.
6695
6696 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
6697
6698         * libio/iofgets.c (_IO_fgets): Return an error only if there
6699         is a new error.
6700         * libio/iogets.c (_IO_gets): Ditto.
6701
6702 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
6703
6704         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
6705
6706         * libio/Makefile (routines, shared-only-routines): Add
6707         oldiofdopen.
6708
6709         * libio/fileops.c: Don't use _IO_FILE_complete.
6710         * libio/iofdopen.c: Ditto.
6711         * libio/iofopen.c: Ditto.
6712         * libio/iofopen64.c: Ditto.
6713         * libio/iopopen.c: Ditto.
6714         * libio/iovdprintf.c: Ditto.
6715
6716         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
6717
6718         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
6719         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
6720
6721         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
6722         _IO_old_fdopen, _IO_new_fdopen): New declaration.
6723
6724         * libio/libio.h (_IO_FILE): Add more fields.
6725         (_IO_FILE_complete): Defined and make _IO_FILE be the old
6726         one if _IO_USE_OLD_IO_FILE is defined
6727         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
6728         them _IO_FILE_complete.
6729
6730         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
6731         to adjust vtable.
6732         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
6733         _IO_JUMPS.
6734         (_IO_FILE_complete): Commented out.
6735
6736         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
6737         * libio/oldiofclose.c: Ditto.
6738         * libio/oldiofopen.c: Ditto.
6739         * libio/oldstdfiles.c: Ditto.
6740
6741         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
6742         for the old _IO_FILE.
6743
6744         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
6745         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
6746         and stderr.
6747
6748         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
6749         and remove INAME.
6750
6751         * libio/stdio.c (stdin, stdout, stdin): Don't use
6752         _IO_FILE_complete.
6753
6754         * libio/oldiofdopen.c: New.
6755
6756         * stdio-common/vfprintf.c (buffered_vfprintf): Set
6757         hp->_vtable_offset to 0.
6758
6759 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
6760
6761         * libc.map (_IO_file_open): Added.
6762
6763         * libio/libioP.h (_IO_file_open): Declared.
6764
6765         * libio/fileops.c (_IO_file_open): New.
6766         (_IO_file_fopen): Call _IO_file_open ().
6767
6768         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
6769         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
6770
6771 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6772
6773         * signal/signal.h: Fix selection of signal semantics to match
6774         comment.
6775
6776 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6777
6778         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
6779         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
6780         rt_sigreturn.
6781         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
6782         [$(subdir)=signal]: Remove rt_sigreturn.
6783         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
6784         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
6785         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
6786
6787 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6788
6789         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
6790         declarations.
6791
6792 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6793
6794         * iconvdata/extra-module.mk: Expand extra-objs now.
6795
6796 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6797
6798         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
6799         inline functions by feature tests to avoid warning about missing
6800         prototype declarations.
6801
6802 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6803
6804         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
6805         return code for non existent +name entries.
6806         * nis/nss_compat/compat-pwd.c: Likewise.
6807         * nis/nss_compat/compat-spwd.c: Likewise.
6808
6809 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
6810
6811         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
6812         (EIO): Likewise.
6813         (ENOSPC): Likewise.
6814         (EEXIST): Likewise.
6815         (__errno_location): Likewise.
6816
6817         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
6818
6819         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
6820
6821 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6822
6823         * sunrpc/publickey.c: Use new NSS interface.
6824
6825 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
6826
6827         * manual/malloc.texi: Document mtrace/muntrace and the concept.
6828
6829 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6830
6831         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
6832         value, to match spirit of the standard.
6833         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
6834         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
6835         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
6836
6837 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6838
6839         * manual/signal.texi (Signal Stack): Remove spurious @item.
6840
6841 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6842
6843         * rt/aio.h: Remove double semicolon.
6844
6845         * rt/librt.map: Add aio_init.
6846
6847 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
6848
6849         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
6850         * Makefile (subdirs): Replace rt by $(rt).
6851
6852         * shlib-versions: Use version .2 for NSS modules.
6853
6854         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
6855         argument.
6856         * pwd/fgetpwent_r.c: Likewise.
6857         * spwd/fgetspent_r.c: Likewise.
6858         * spwd/sgetspent_r.c: Likewise.
6859         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
6860         Store error number in *ERRNOP.  Little optimization.
6861         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
6862         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
6863         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
6864         (__internal_getnetgrent_r): New argument.
6865         Call __internal_setnetgrent_reuse with new argument.
6866         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
6867         * inet/netgroup.h: Add argument to prototypes.
6868         * nis/nisplus-parser.h: Likewise.
6869         * nis/nss_compat/compat-grp.c: Change everything to store error
6870         code through provided pointer and not use errno.
6871         * nis/nss_compat/compat-pwd.c: Likewise.
6872         * nis/nss_compat/compat-spwd.c: Likewise.
6873         * nis/nss_nis/nis-alias.c: Likewise.
6874         * nis/nss_nis/nis-ethers.c: Likewise.
6875         * nis/nss_nis/nis-grp.c: Likewise.
6876         * nis/nss_nis/nis-hosts.c: Likewise.
6877         * nis/nss_nis/nis-netgrp.c: Likewise.
6878         * nis/nss_nis/nis-network.c: Likewise.
6879         * nis/nss_nis/nis-proto.c: Likewise.
6880         * nis/nss_nis/nis-publickey.c: Likewise.
6881         * nis/nss_nis/nis-pwd.c: Likewise.
6882         * nis/nss_nis/nis-rpc.c: Likewise.
6883         * nis/nss_nis/nis-service.c: Likewise.
6884         * nis/nss_nis/nis-spwd.c: Likewise.
6885         * nis/nss_nisplus/nisplus-alias.c: Likewise.
6886         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6887         * nis/nss_nisplus/nisplus-grp.c: Likewise.
6888         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6889         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
6890         * nis/nss_nisplus/nisplus-network.c: Likewise.
6891         * nis/nss_nisplus/nisplus-parser.c: Likewise.
6892         * nis/nss_nisplus/nisplus-proto.c: Likewise.
6893         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
6894         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6895         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6896         * nis/nss_nisplus/nisplus-service.c: Likewise.
6897         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6898         * nss/nss_db/db-XXX.c: Likewise.
6899         * nss/nss_db/db-alias.c: Likewise.
6900         * nss/nss_db/db-netgrp.c: Likewise.
6901         * nss/nss_files/files-XXX.c: Likewise
6902         * nss/nss_files/files-alias.c: Likewise
6903         * nss/nss_files/files-netgrp.c: Likewise
6904         * nss/nss_files/files-parse.c: Likewise
6905         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
6906         parameter of get functions.
6907         * nss/getXXent_r.c: Likewise.
6908
6909         * localedata/tst-fmon.c: Print debug info if test fails.
6910
6911         * rt/Makefile (routines): Add aio_notify.
6912         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
6913         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
6914         * rt/aio_fsync.c: Likewise.
6915         * rt/aio_misc.c: Likewise.
6916         * rt/aio_misc.h: Likewise.
6917         * rt/aio_read.c: Likewise.
6918         * rt/aio_read64.c: Likewise.
6919         * rt/aio_suspend.c: Likewise.
6920         * rt/aio_write.c: Likewise.
6921         * rt/aio_write64.c: Likewise.
6922         * rt/lio_listio.c: Likewise.
6923         * rt/lio_listio64.c: Likewise.
6924         * rt/aio_notify.c: New file.
6925
6926         * sysdeps/generic/bits/sigset.h: Pretty print.
6927
6928         * sysdeps/posix/pwrite.c: Define weak alias only if function is
6929         really defined as __pwrite.
6930
6931         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
6932         instead of pread64.
6933         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6934
6935         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
6936         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
6937         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
6938         size in syscall.
6939         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6940         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6941         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
6942         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6943         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
6944         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6945         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
6946         for ACT being NULL.
6947         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
6948         RT signals.
6949         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
6950         __NR_pread is not defined.
6951         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
6952         __NR_pwrite is not defined.
6953
6954 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6955
6956         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
6957         handle for /etc/group back in some more cases.
6958         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
6959         handle for /etc/passwd back in some more cases.
6960         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
6961         handle for /etc/shadow back in some more cases.
6962
6963 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
6964
6965         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
6966         beyound its size.
6967         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
6968         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
6969
6970 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
6971
6972         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
6973         handling.  Don't use macros, we need functions.  Use inline functions
6974         for optimization.
6975         * sysdeps/wordsize-64/inttypes.h: Likewise.
6976         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
6977         and wcstoumax.
6978         * sysdeps/wordsize-64/Makefile: Likewise.
6979         * sysdeps/wordsize-32/Dist: Likewise.
6980         * sysdeps/wordsize-64/Dist: Likewise.
6981         * sysdeps/wordsize-32/strtoimax.c: New file.
6982         * sysdeps/wordsize-32/strtoumax.c: New file.
6983         * sysdeps/wordsize-32/wcstoimax.c: New file.
6984         * sysdeps/wordsize-32/wcstoumax.c: New file.
6985         * sysdeps/wordsize-64/strtoimax.c: New file.
6986         * sysdeps/wordsize-64/strtoumax.c: New file.
6987         * sysdeps/wordsize-64/wcstoimax.c: New file.
6988         * sysdeps/wordsize-64/wcstoumax.c: New file.
6989
6990 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
6991
6992         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
6993         that transparent union works.
6994         * sysdeps/generic/wait4.c (__wait4): Likewise.
6995         * sysdeps/generic/wait.c (__wait): Likewise.
6996
6997         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
6998         size_t.
6999
7000         * sysdeps/generic/syscall.c (syscall): Return value and arg are
7001         long, to match prototype.
7002
7003         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
7004         have mremap() yet.
7005
7006         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
7007
7008         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
7009
7010         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
7011
7012         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
7013         __rlim_t.
7014
7015         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
7016
7017         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
7018
7019         * io/sys/stat.h (S_ISLNK): Always false if we don't have
7020         __S_IFLNK.
7021
7022         * sysdeps/standalone/close.c (_STDIO_H): Define before including
7023         <bits/stdio_lim.h>.
7024         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
7025
7026 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
7027
7028         * posix/sys/wait.h: Don't use transparent unions in C++.
7029
7030 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7031
7032         * time/time.h: Add strfxtime.
7033
7034         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
7035         sysv_signal, strfxtime, pread64, pwrite64.
7036
7037 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
7038
7039         Alpha changes for EGCS:
7040         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
7041         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
7042         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
7043         (_start): Likewise.
7044         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
7045
7046 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
7047
7048         The kernel expects the arguments in a different order.
7049         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
7050         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
7051
7052         * FAQ.in: New file.
7053         * gen-FAQ.pl: New file.
7054         * Makefile (FAQ): Add rule to generate from FAQ.in.
7055
7056         * iconvdata/Makefile: Treat libJIS like the other modules.
7057
7058         * rt/librt.map: New file.
7059
7060         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
7061         inclusion.
7062         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
7063         comment.
7064
7065 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
7066
7067         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
7068         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
7069         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
7070         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
7071
7072 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7073
7074         * string/bits/string2.h: Fix spellings.
7075
7076         * string/string.h: Fix spellings.
7077
7078 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7079
7080         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
7081         declaration to __syscall_rt_sigaction.
7082
7083         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
7084         non-existant <sigcontext.h>.
7085
7086 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7087
7088         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
7089         typo.
7090
7091 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7092
7093         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
7094
7095         * Makeconfig (shared-thread-library): Correct spelling.
7096
7097         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
7098         <asm/pci.h>.
7099
7100 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7101
7102         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
7103         constants from Linux headers. Pointed out by
7104         csmall@scooter.o.i.net. [PR libc/369]
7105
7106 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7107
7108         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
7109
7110 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7111
7112         * configure.in: If --enable-add-ons is given without an
7113         argument, set the addons list to all subdirs with a configure
7114         script.
7115
7116 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
7117
7118         * Makeconfig: Add shared-thread-library variable.
7119
7120         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
7121         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
7122         here.
7123         * sysdeps/m68k/fpu/e_acos.c: Likewise.
7124         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
7125         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
7126         * sysdeps/m68k/fpu/e_pow.c: Likewise.
7127         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
7128         * sysdeps/m68k/fpu/k_cos.c: Likewise.
7129         * sysdeps/m68k/fpu/k_sin.c: Likewise.
7130         * sysdeps/m68k/fpu/k_tan.c: Likewise.
7131         * sysdeps/m68k/fpu/s_atan.c: Likewise.
7132         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
7133         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
7134         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
7135         * sysdeps/m68k/fpu/s_csin.c: Likewise.
7136         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
7137         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
7138         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
7139         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
7140         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
7141         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
7142         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
7143         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
7144         * sysdeps/m68k/fpu/s_modf.c: Likewise.
7145         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
7146         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
7147         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
7148
7149         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
7150         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
7151         * signal/Makefile (headers): Add bits/siginfo.h.
7152         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
7153         (distribute): Add testrtsig.h.
7154         * signal/allocrtsig.c: New file.
7155         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
7156         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
7157         __libc_current_sigrtmax.
7158         * sysdeps/generic/sigqueue.c: New file.
7159         * sysdeps/generic/sigtimedwait.c: New file.
7160         * sysdeps/generic/sigwaitinfo.c: New file.
7161         * sysdeps/generic/testrtsig.h: New file.
7162         * sysdeps/generic/bits/siginfo.h: New file.
7163         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
7164         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
7165         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
7166         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
7167         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
7168         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
7169         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
7170         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
7171         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
7172         * sysdeps/unix/sysv/linux/sigpending.c: New file.
7173         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
7174         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
7175         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
7176         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
7177         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
7178         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
7179         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
7180         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
7181         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
7182         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
7183         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
7184         and _POSIX_REALTIME_SIGNALS.
7185         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
7186         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
7187         update _NSIG.
7188         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
7189         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
7190         definitions.
7191
7192         * Makefile (subdirs): Add rt.
7193         * shlib-versions: Add entry for librt.
7194         * rt/Makefile: New file.
7195         * rt/aio.h: New file.
7196         * rt/aio_cancel.c: New file.
7197         * rt/aio_error.c: New file.
7198         * rt/aio_fsync.c: New file.
7199         * rt/aio_misc.c: New file.
7200         * rt/aio_misc.h: New file.
7201         * rt/aio_read.c: New file.
7202         * rt/aio_read64.c: New file.
7203         * rt/aio_return.c: New file.
7204         * rt/aio_suspend.c: New file.
7205         * rt/aio_write.c: New file.
7206         * rt/aio_write64.c: New file.
7207         * rt/lio_listio.c: New file.
7208         * rt/lio_listio64.c: New file.
7209         * sysdeps/generic/aio_sigqueue.c: New file.
7210         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
7211         * sysdeps/unix/sysv/linux/Dist: Add new files
7212         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
7213         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
7214         rt_sigqueueinfo, rt_sigaction.
7215
7216         * posix/Makefile (headers): Add bits/environments.h.
7217         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
7218         and _CS_LFS_CFLAGS on 64bit platforms.
7219         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
7220         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
7221         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
7222         compilation modules.
7223         * sysdeps/wordsize-32/bits/environments.h: New file.
7224         * sysdeps/wordsize-64/bits/environments.h: New file.
7225
7226         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
7227         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
7228         __libc_pid.
7229         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
7230         0xf00baa.
7231
7232         * string/string.h: Add declaration of __strverscmp.
7233         * string/strverscmp.c: Rename function ot __strverscmp and make old
7234         name weak alias.
7235
7236         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
7237         * sysdeps/generic/enbl-secure.c: Likewise.
7238         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7239
7240         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
7241
7242         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
7243
7244 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
7245
7246         * posix/sys/wait.h: Use __transparent_union__ instead of
7247         transparent_union.  Reported by Roland McGrath.
7248
7249 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7250
7251         * resolv/inet_neta.c (inet_neta): Change type of first parameter
7252         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
7253         [PR libc/366].
7254
7255         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
7256
7257         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
7258
7259 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7260
7261         * grp/initgroups.c: Increase buffer if it is too small.
7262
7263 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
7264
7265         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
7266         fields, this is no ISO C.  Reported by Andreas Jaeger.
7267
7268 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7269
7270         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
7271
7272 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
7273
7274         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
7275         _SYS_UTSNAME_H not _UTSNAME_H.
7276
7277 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7278
7279         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
7280         computing s_scale.
7281
7282 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7283
7284         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
7285         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
7286         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
7287
7288         * math/libm-test.c (csqrt_test): Add testcase.
7289
7290 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
7291
7292         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
7293         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
7294         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
7295
7296 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7297
7298         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
7299
7300 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7301
7302         * math/libm-test.c (acos_test): Add more tests.
7303         (asin_test): Likewise.
7304         (atan_test): Likewise.
7305         (exp_test): Likewise.
7306         (sin_test): Likewise.
7307         (sqrt_test): Likewise.
7308         (cpow_test): Likewise.
7309         (csqrt_test): Likewise.
7310         (cexp_test): Correct typo in gcc version test.
7311
7312 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
7313
7314         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
7315         <bits/setjmp.h>.
7316         * sysdeps/arm/setjmp.S: Likewise.
7317
7318         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
7319
7320 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
7321
7322         * stdio/stdio.h: Add prototype for tmpfile64().
7323
7324 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
7325
7326         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
7327         prototype to keep in step with libio version.
7328
7329         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
7330
7331 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
7332
7333         * sysdeps/generic/Makefile: Don't try to use make_siglist if
7334         cross-compiling.
7335
7336 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
7337
7338         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
7339         load GOT ptr before jumping to _exit.
7340         Reported by Xavier Leroy.
7341
7342 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
7343
7344         * Makefile (subdirs): Add iconvdata and localedata.
7345
7346         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
7347
7348         * iconv/gconv_conf.c (read_conf_file): Little optimization.
7349
7350         * iconvdata/8bit-gap.c: New file.
7351         * iconvdata/8bit-generic.c: Renamed from ...
7352         * iconvdata/iso8859-generic.c: ...this.
7353         * iconvdata/configure: Removed.
7354         * iconvdata/Makefile: Add new modules and better rules.
7355         * iconvdata/iso6937.c: Minor bug fixes.
7356         * iconvdata/iso8859-1.c: Likewise.
7357         * iconvdata/t61.c: Likewise.
7358         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
7359         Minor bug fixes.
7360         * iconvdata/iso8859-3.c: Likewise.
7361         * iconvdata/iso8859-4.c: Likewise.
7362         * iconvdata/iso8859-5.c: Likewise.
7363         * iconvdata/iso8859-6.c: Likewise.
7364         * iconvdata/iso8859-7.c: Likewise.
7365         * iconvdata/iso8859-8.c: Likewise.
7366         * iconvdata/iso8859-9.c: Likewise.
7367         * iconvdata/iso8859-10.c: Likewise.
7368         * iconvdata/ebcdic-at-de-a.c: New file.
7369         * iconvdata/ebcdic-at-de.c: New file.
7370         * iconvdata/ebcdic-ca-fr.c: New file.
7371         * iconvdata/hp-roman8.c: New file.
7372         * iconvdata/koi-8.c: New file.
7373         * iconvdata/koi8-r.c: New file.
7374         * iconvdata/koi8-h.c: New file.
7375         * iconvdata/latin-greek-1.c: New file.
7376         * iconvdata/latin-greek-1.h: New file.
7377         * iconvdata/latin-greek.c: New file.
7378         * iconvdata/latin-greek.h: New file.
7379         * iconvdata/jis0201.c: New file.
7380         * iconvdata/jis0201.h: New file.
7381         * iconvdata/jis0208.c: New file.
7382         * iconvdata/jis0208.h: New file.
7383         * iconvdata/jis0212.c: New file.
7384         * iconvdata/jis0212.h: New file.
7385         * iconvdata/sjis.c: New file.
7386         * iconvdata/gap.pl: New file.  Script to generate table header.
7387         * iconvdata/gaptab.pl: New file.
7388         * iconvdata/gconv-modules: Add info about new modules.
7389
7390         * locale/programs/charmap.c: Also examine alias names given in charmap
7391         files.
7392
7393         * localedata/*: Add to here from add-on.  We need the information
7394         to generate tables for iconv.
7395
7396         Update from db-2.3.14.
7397         * db2/Makefile: Updated.
7398         * db2/config.h: Likewise.
7399         * db2/db.h: Likewise.
7400         * db2/db_int.h: Likewise.
7401         * db2/btree/bt_cursor.c: Likewise.
7402         * db2/btree/bt_delete.c: Likewise.
7403         * db2/btree/bt_put.c: Likewise.
7404         * db2/btree/bt_search.c: Likewise.
7405         * db2/btree/bt_split.c: Likewise.
7406         * db2/btree/btree_auto.c: Likewise.
7407         * db2/common/db_appinit.c: Likewise.
7408         * db2/common/db_apprec.c: Likewise.
7409         * db2/common/db_err.c: Likewise.
7410         * db2/common/db_region.c: Likewise.
7411         * db2/db/db_auto.c: Likewise.
7412         * db2/db/db_dispatch.c: Likewise.
7413         * db2/db/db_ret.c: Likewise.
7414         * db2/dbm/dbm.c: Likewise.
7415         * db2/hash/hash_auto.c: Likewise.
7416         * db2/include/btree_ext.h: Likewise.
7417         * db2/include/common_ext.h: Likewise.
7418         * db2/include/db.h.src: Likewise.
7419         * db2/include/db_cxx.h: Likewise.
7420         * db2/include/db_ext.h: Likewise.
7421         * db2/include/db_int.h.src: Likewise.
7422         * db2/include/lock.h: Likewise.
7423         * db2/include/log.h: Likewise.
7424         * db2/include/mp.h: Likewise.
7425         * db2/include/mp_ext.h: Likewise.
7426         * db2/include/os_ext.h: Likewise.
7427         * db2/include/os_func.h: Likewise.
7428         * db2/lock/lock.c: Likewise.
7429         * db2/lock/lock_deadlock.c: Likewise.
7430         * db2/log/log.c: Likewise.
7431         * db2/log/log_archive.c: Likewise.
7432         * db2/log/log_auto.c: Likewise.
7433         * db2/log/log_get.c: Likewise.
7434         * db2/log/log_put.c: Likewise.
7435         * db2/mp/mp_bh.c: Likewise.
7436         * db2/mp/mp_fget.c: Likewise.
7437         * db2/mp/mp_fopen.c: Likewise.
7438         * db2/mp/mp_fput.c: Likewise.
7439         * db2/mp/mp_fset.c: Likewise.
7440         * db2/mp/mp_open.c: Likewise.
7441         * db2/mp/mp_pr.c: Likewise.
7442         * db2/mp/mp_region.c: Likewise.
7443         * db2/mp/mp_sync.c: Likewise.
7444         * db2/mutex/README: Likewise.
7445         * db2/mutex/mutex.c: Likewise.
7446         * db2/os/os_open.c: Likewise.
7447         * db2/os/os_func.c: Removed.
7448         * db2/os/os_config.c: New file.
7449         * db2/os/os_spin.c: New file.
7450         * db2/txn/txn.c: Likewise.
7451         * db2/txn/txn_auto.c: Likewise.
7452
7453 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
7454
7455         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
7456         __typeof for C++ since this fails for class members.
7457         Reported by Neal Becker <neal@ctd.comsat.com>.
7458
7459 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7460
7461         * configure.in: Check for a working makeinfo (3.11 or better).
7462         * config.make.in: Add MAKEINFO to be substituted.
7463         * manual/Makefile: Don't update info if makeinfo is too old.
7464
7465 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
7466
7467         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
7468         * sysdeps/alpha/__longjmp.S: Likewise.
7469         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
7470         not <bits/termios.h>.
7471
7472         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
7473         __llseek and make llseek and lseek64 weak aliases.
7474         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7475         Patches by a sun <asun@zoology.washington.edu>.
7476
7477 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7478
7479         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
7480         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7481         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7482         * misc/sys/syslog.h: Clean up BSD header.
7483
7484 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7485
7486         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
7487
7488         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
7489         for ctan(+-inf,x).
7490         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
7491         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
7492
7493         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
7494         csqrt (-1), ctanh(i*pi/4).
7495
7496 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7497
7498         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
7499
7500 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
7501
7502         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
7503
7504 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7505
7506         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
7507
7508 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
7509
7510         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
7511         and use.  Define GETCWD_RETURN_TYPE instead and use it.
7512         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
7513         of GETCWD_STORYGE_CLASS and put the return type and the
7514         `internal_function' in the right order for gcc 2.7.2.
7515
7516 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7517
7518         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
7519         incompatible with Linux 2.1.x.  Packages using modules
7520         (e.g. modutils) should/do provide their own version.  Suggested by
7521         Richard Henderson.
7522
7523         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
7524
7525         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
7526         [$(subdir)=socket]: Remove sys/module.h.
7527
7528 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
7529
7530         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
7531         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
7532
7533         * iconv/gconv_close.c: Correct freeing of descriptor data.
7534         * iconv/gconv_simple.c: Return correct error values for illegal or
7535         incomplete characters.
7536
7537         * Makefile (iconvdata/%): Special goal to simplify iconvdata
7538         development.
7539         * iconvdata/Makefile: New file.
7540         * iconvdata/configure: Likewise.
7541         * iconvdata/extra-module.mk: Likewise.
7542         * iconvdata/gconv-modules: Likewise.
7543         * iconvdata/iso6937.c: Likewise.
7544         * iconvdata/iso8859-1.c: Likewise.
7545         * iconvdata/iso8859-10.c: Likewise.
7546         * iconvdata/iso8859-10.h: Likewise.
7547         * iconvdata/iso8859-2.c: Likewise.
7548         * iconvdata/iso8859-2.h: Likewise.
7549         * iconvdata/iso8859-3.c: Likewise.
7550         * iconvdata/iso8859-3.h: Likewise.
7551         * iconvdata/iso8859-4.c: Likewise.
7552         * iconvdata/iso8859-4.h: Likewise.
7553         * iconvdata/iso8859-5.c: Likewise.
7554         * iconvdata/iso8859-5.h: Likewise.
7555         * iconvdata/iso8859-6.c: Likewise.
7556         * iconvdata/iso8859-6.h: Likewise.
7557         * iconvdata/iso8859-7.c: Likewise.
7558         * iconvdata/iso8859-7.h: Likewise.
7559         * iconvdata/iso8859-8.c: Likewise.
7560         * iconvdata/iso8859-8.h: Likewise.
7561         * iconvdata/iso8859-9.c: Likewise.
7562         * iconvdata/iso8859-9.h: Likewise.
7563         * iconvdata/iso8859-generic.c: Likewise.
7564         * iconvdata/t61.c: Likewise.
7565
7566         * string/Makefile (routines): Add strcasestr.
7567         * string/string.h: Add prototype for strcasestr.
7568         * sysdeps/generic/strcasestr.c: New file.
7569         * wcsmbs/mbrtowc.c: Simplify special case a bit.
7570         * wcsmbs/wcrtomb.c: Likewise.
7571         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
7572         * wcsmbs/wcsnrtombs.c: Likewise.
7573         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
7574         partial character is read.
7575         * wcsmbs/wcsrtombs.c: Likewise.
7576         * wcsmbs/wmemrtombs.c: Likewise.
7577         * wcsmbs/wmemrtowcs.c: Likewise.
7578
7579         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
7580         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
7581         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
7582         * sysdeps/i386/elf/setjmp.S: Likewise.
7583         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
7584         <bits/termios.h>.
7585
7586         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
7587         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
7588
7589         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
7590         * sysvipc/sys/ipc.h: Likewise.
7591         * sysvipc/sys/msg.h: Likewise.
7592         * sysvipc/sys/sem.h: Likewise.
7593         * sysvipc/sys/shm.h: Likewise.
7594
7595         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
7596         used directly.
7597         * sysdeps/alpha/bits/setjmp.h: Likewise.
7598         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7599         * sysdeps/arm/bits/endian.h: Likewise.
7600         * sysdeps/arm/bits/setjmp.h: Likewise.
7601         * sysdeps/generic/bits/byteswap.h: Likewise.
7602         * sysdeps/generic/bits/confname.h: Likewise.
7603         * sysdeps/generic/bits/dirent.h: Likewise.
7604         * sysdeps/generic/bits/dlfcn.h: Likewise.
7605         * sysdeps/generic/bits/endian.h: Likewise.
7606         * sysdeps/generic/bits/fenv.h: Likewise.
7607         * sysdeps/generic/bits/huge_val.h: Likewise.
7608         * sysdeps/generic/bits/in.h: Likewise.
7609         * sysdeps/generic/bits/ioctl-types.h: Likewise.
7610         * sysdeps/generic/bits/ioctls.h: Likewise.
7611         * sysdeps/generic/bits/ipc.h: Likewise.
7612         * sysdeps/generic/bits/msq.h: Likewise.
7613         * sysdeps/generic/bits/poll.h: Likewise.
7614         * sysdeps/generic/bits/resource.h: Likewise.
7615         * sysdeps/generic/bits/sched.h: Likewise.
7616         * sysdeps/generic/bits/sem.h: Likewise.
7617         * sysdeps/generic/bits/setjmp.h: Likewise.
7618         * sysdeps/generic/bits/shm.h: Likewise.
7619         * sysdeps/generic/bits/sigaction.h: Likewise.
7620         * sysdeps/generic/bits/sigcontext.h: Likewise.
7621         * sysdeps/generic/bits/socket.h: Likewise.
7622         * sysdeps/generic/bits/stat.h: Likewise.
7623         * sysdeps/generic/bits/statfs.h: Likewise.
7624         * sysdeps/generic/bits/stdio_lim.h: Likewise.
7625         * sysdeps/generic/bits/termios.h: Likewise.
7626         * sysdeps/generic/bits/time.h: Likewise.
7627         * sysdeps/generic/bits/uio.h: Likewise.
7628         * sysdeps/generic/bits/utmp.h: Likewise.
7629         * sysdeps/generic/bits/utmpx.h: Likewise.
7630         * sysdeps/generic/bits/utsname.h: Likewise.
7631         * sysdeps/generic/bits/waitflags.h: Likewise.
7632         * sysdeps/generic/bits/waitstatus.h: Likewise.
7633         * sysdeps/gnu/bits/utmp.h: Likewise.
7634         * sysdeps/gnu/bits/utmpx.h: Likewise.
7635         * sysdeps/i386/bits/byteswap.h: Likewise.
7636         * sysdeps/i386/bits/endian.h: Likewise.
7637         * sysdeps/i386/bits/huge_val.h: Likewise.
7638         * sysdeps/i386/bits/setjmp.h: Likewise.
7639         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7640         * sysdeps/ieee754/bits/huge_val.h: Likewise.
7641         * sysdeps/m68k/bits/byteswap.h: Likewise.
7642         * sysdeps/m68k/bits/endian.h: Likewise.
7643         * sysdeps/m68k/bits/setjmp.h: Likewise.
7644         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
7645         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
7646         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
7647         * sysdeps/mach/hurd/bits/stat.h: Likewise.
7648         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
7649         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
7650         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
7651         * sysdeps/mips/bits/dlfcn.h: Likewise.
7652         * sysdeps/mips/bits/endian.h: Likewise.
7653         * sysdeps/mips/bits/setjmp.h: Likewise.
7654         * sysdeps/mips/dec/bits/endian.h: Likewise.
7655         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
7656         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
7657         * sysdeps/mips/p40/bits/endian.h: Likewise.
7658         * sysdeps/powerpc/bits/endian.h: Likewise.
7659         * sysdeps/powerpc/bits/fenv.h: Likewise.
7660         * sysdeps/powerpc/bits/setjmp.h: Likewise.
7661         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
7662         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
7663         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
7664         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
7665         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
7666         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
7667         * sysdeps/unix/bsd/bits/stat.h: Likewise.
7668         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
7669         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
7670         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
7671         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
7672         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
7673         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
7674         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
7675         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
7676         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
7677         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
7678         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
7679         * sysdeps/unix/common/bits/dirent.h: Likewise.
7680         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
7681         * sysdeps/unix/sysv/bits/stat.h: Likewise.
7682         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7683         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7684         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
7685         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
7686         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
7687         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
7688         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
7689         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
7690         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
7691         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7692         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
7693         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
7694         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
7695         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
7696         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
7697         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7698         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7699         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
7700         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7701         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7702         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7703         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7704         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
7705         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
7706         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7707         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7708         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
7709         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7710         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
7711         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7712         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
7713         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
7714         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
7715         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7716         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
7717         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
7718         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
7719         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
7720         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
7721         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
7722         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7723         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
7724         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
7725         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
7726         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
7727         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7728         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
7729         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
7730         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7731         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7732         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
7733         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
7734         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
7735         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7736         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
7737         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
7738         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
7739         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
7740         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
7741         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
7742         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
7743         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
7744         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
7745         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
7746         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
7747         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
7748         * sysdeps/vax/bits/huge_val.h: Likewise.
7749         * sysdeps/vax/bits/setjmp.h: Likewise.
7750         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
7751         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
7752
7753 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7754
7755         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
7756
7757 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
7758
7759         * strftime.c (strftime):
7760         No longer any need to undef or declare if emacs is defined.
7761         (my_strftime): When checking a -1 returned by mktime, don't blow up
7762         if localtime_r returns NULL.
7763
7764 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7765
7766         * README.template: Fix spelling.
7767
7768 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7769
7770         * configure.in: Enhance --enable-add-ons description a wee bit.
7771
7772 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7773
7774         * glibcbug.in: Add more information of build environment and flags.
7775
7776 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7777
7778         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
7779         it into ENOENT.
7780
7781 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
7782
7783         * elf/dl-support.c: Call __libc_init_secure to make sure
7784         __libc_enable_secure is defined early.
7785         * sysdeps/generic/enbl-secure.c: Change function name to
7786         __libc_init_secure and make it global instead of a constructor.
7787
7788         * iconv/gconv.c: Fix lots of bugs.
7789         * iconv/gconv.h: Likewise.
7790         * iconv/gconv_builtin.h: Likewise.
7791         * iconv/gconv_close.c: Likewise.
7792         * iconv/gconv_conf.c: Likewise.
7793         * iconv/gconv_db.c: Likewise.
7794         * iconv/gconv_dl.c: Likewise.
7795         * iconv/gconv_open.c: Likewise.
7796         * iconv/gconv_simple.c: Likewise.
7797         * iconv/iconv.c: Likewise.
7798         * iconv/iconv_close.c: Likewise.
7799         * iconv/iconv_open.c: Likewise.
7800
7801         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
7802         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
7803         * wcsmbs/wmemrtombs.c: New file.
7804         * wcsmbs/wmemrtowcs.c: New file.
7805
7806 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
7807
7808         * iconv/gconv_simple.c: Fix lots of bugs.
7809         * iconv/iconv_open.c: Normalize names before passing them to
7810         __gconv_open.
7811
7812         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
7813
7814         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
7815         * stdio-common/test-popen.c: Add test for above change.
7816
7817         * math/libm-test.c: Print test results also using %a format,
7818         specified in PRINTF_XEXPR macro.
7819         * math/test-double.c: Define PRINTF_XEXPR.
7820         * math/test-float.c: Likewise.
7821         * math/test-ldouble.c: Likewise.
7822         * math/test-idouble.c: Likewise.
7823         * math/test-ifloat.c: Likewise.
7824         * math/test-ildoubl.c: Likewise.
7825
7826         * stdio-common/vfscanf.c: Recognize a in format specifier only as
7827         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
7828         FP number format.
7829
7830         * stdlib/strtod.c: Little code cleanup.
7831
7832         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
7833         compiling in math subdir.
7834
7835         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
7836         instead of __LIBC_M81_MATH_INLINES.
7837         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
7838         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
7839         * sysdeps/m68k/fpu/e_pow.c: Likewise.
7840         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
7841         * sysdeps/m68k/fpu/k_cos.c: Likewise.
7842         * sysdeps/m68k/fpu/k_sin.c: Likewise.
7843         * sysdeps/m68k/fpu/k_tan.c: Likewise.
7844         * sysdeps/m68k/fpu/s_atan.c: Likewise.
7845         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
7846         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
7847         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
7848         * sysdeps/m68k/fpu/s_csin.c: Likewise.
7849         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
7850         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
7851         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
7852         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
7853         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
7854         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
7855         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
7856         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
7857         * sysdeps/m68k/fpu/s_modf.c: Likewise.
7858         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
7859         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
7860         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
7861         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
7862         __LIBC_INTERNAL_MATH_INLINES is defined.
7863
7864         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
7865         of compare macros from ISO C 9X.  Optimize generic versions a bit.
7866         Define __signbit inline functions and __ieee754_sqrt which can be
7867         used if the ompiler is fixed.
7868
7869         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
7870
7871 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7872
7873         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
7874         sysdeps/generic in the whole dep file, not only in the first line.
7875
7876 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7877
7878         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
7879
7880 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7881
7882         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
7883         place.
7884
7885 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7886
7887         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
7888         is non-empty.
7889
7890 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
7891
7892         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
7893         return value.
7894
7895 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
7896
7897         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
7898         readlink succeeds but the return value is too long.
7899
7900         * stdio-common/printf_fphex.c: Determine sign of number correctly.
7901
7902 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
7903
7904         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
7905         __remqu for Alpha.
7906
7907 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
7908
7909         * sysdeps/generic/sys/ucontext.h: Stub context file.
7910
7911         * libio/iofprintf.c: Removed.  We use the stdio-common version.
7912
7913         * manual/Makefile (distribute): Add stdio-fp.c.
7914
7915         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
7916
7917         * db2/Makefile (distribute): Add include/os_func.h, README and
7918         mutex/tsl_parisc.s.
7919
7920         * hesiod/Makefile (distribute): Add README.hesiod.
7921
7922 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
7923
7924         * iconv/gconv.c: Correctly call transformation function.
7925
7926         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
7927
7928 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7929
7930         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
7931         wrong results for e.g. remquo (3,2, &x)).
7932         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
7933         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
7934
7935 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7936
7937         * configure.in (ld --version-script): Test if the same symbol
7938         maybe defined in all versions (needed by recent changes to
7939         libc.map and supported with binutils 2.8.1.0.17) and issue warning
7940         if versioning is not supported/enabled.
7941         (bash test): Correct test case.
7942
7943         * math/libm-test.c: Added counting/reporting of number of test cases.
7944
7945         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
7946         use awk instead.
7947
7948         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
7949
7950 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7951
7952         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
7953
7954 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
7955
7956         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
7957         Replace revoke call by use of REVOKE.
7958         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
7959         empty and #include generic version.
7960         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7961
7962 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
7963
7964         * libc.map: Add socket functions with __libc_* names.
7965         Reported by Andreas Jaeger.
7966
7967 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7968
7969         * libc.map: Tidy up (remove duplicates, sort entries).
7970
7971 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7972
7973         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
7974
7975 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
7976
7977         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
7978         again after successful call.
7979         Patch by Marc Lehmann <pcg@goof.com>.
7980
7981 1997-11-17  Paul Eggert  <eggert@twinsun.com>
7982
7983         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
7984         as some hosts need this to declare localtime_r properly.
7985
7986 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
7987
7988         * libc.map: Add iconv_open, iconv, and iconv_close.
7989
7990 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
7991
7992         * iconv/Makefile: New file.
7993         * iconv/gconv.c: New file.
7994         * iconv/gconv.h: New file.
7995         * iconv/gconv_builtin.c: New file.
7996         * iconv/gconv_builtin.h: New file.
7997         * iconv/gconv_close.c: New file.
7998         * iconv/gconv_conf.c: New file.
7999         * iconv/gconv_db.c: New file.
8000         * iconv/gconv_dl.c: New file.
8001         * iconv/gconv_open.c: New file.
8002         * iconv/gconv_simple.c: New file.
8003         * iconv/iconv.c: New file.
8004         * iconv/iconv.h: New file.
8005         * iconv/iconv_close.c: New file.
8006         * iconv/iconv_open.c: New file.
8007         * include/gconv.h: New file.
8008
8009         * Makeconfig: Define gconvdir.
8010         * Makefile (subdirs): Add iconv.
8011
8012         * string/bits/string2.h: Add optimization for strtok_r.
8013
8014         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
8015         for NULL.
8016         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8017         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
8018
8019         * configure.in: Correct test for bash2.
8020         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8021
8022         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
8023         (CFLAGS-locfile.c): Likewise.
8024         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8025
8026         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
8027         non-existing entry if the table is full.
8028
8029         * posix/regex.h: Pretty print.
8030
8031         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
8032
8033         * sysdeps/posix/ctermid.c: Simplify a bit.
8034
8035         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
8036
8037 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8038
8039         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
8040         <sys/types.h> instead of <asm/types.h>.
8041
8042 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8043
8044         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
8045
8046 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
8047
8048         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
8049         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
8050         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
8051         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
8052         fclose): Added to GLIBC_2.1.
8053
8054         * libio/Makefile (routines, shared-only-routines): Add
8055         oldiofclose.  Remove oldfreopen.
8056
8057         * libio/freopen.c (freopen): When PIC is defined, call
8058         _IO_old_freopen () for old stdio.
8059
8060         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
8061         (_IO_fclose, fclose): Use _IO_new_fclose as default version
8062         for GLIBC_2.1.
8063
8064         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
8065         instead of _IO_file_close_it.
8066
8067         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
8068         to _IO_2_1_stdxxx_.
8069         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
8070         is defined.
8071
8072         * libio/libioP.h (_IO_old_do_flush): New.
8073
8074         * libio/oldfileops.c (_IO_old_file_close_it,
8075         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
8076         Call _IO_old_do_flush () instead of _IO_do_flush ().
8077         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
8078         _IO_do_write ().
8079
8080         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
8081         instead of _IO_file_init ().
8082         Bind old symbols to version GLIBC_2.0.
8083
8084         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
8085         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
8086         _IO_stdxxx_.
8087         (_IO_check_libio): New function in .init.
8088
8089         * libio/oldiofclose.c: New file.
8090
8091         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
8092         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
8093         (DEF_STDFILE): Don't use default_symbol_version.
8094
8095         * libio/stdio.c (stdin, stdout, stderr): Set to
8096         _IO_2_1_stdxxx_._
8097         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
8098         stdxxx.
8099
8100         * csu/Makefile (distribute): Add init.c.
8101         (extra-objs): Add init.o for ELF.
8102         (start-installed-name): Add $(objpfx)init.o.
8103
8104         * csu/init.c: New file.
8105
8106 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
8107
8108         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
8109         definition as the default.
8110
8111 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
8112
8113         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
8114
8115 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8116
8117         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
8118         (PR 351).
8119
8120 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
8121
8122         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
8123         to preserve condition codes on function call.
8124
8125 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8126
8127         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
8128
8129 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8130
8131         * math/libm-test.c (asin_test): Add epsilon for float.
8132         (tan_test): Add epsilon for float.
8133         (log1p_test): Add epsilon for float.
8134         (inverse_functions): Add epsilons.
8135
8136         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
8137         net/if_packet.h.
8138
8139         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
8140
8141 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8142
8143         * md5-crypt/Makefile (extra-objs): Make recursively expanded
8144         variable, since $(object-suffixes) is not defined yet.
8145
8146 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8147
8148         * db2/Makefile (distribute): db185/db185_int.src ->
8149         db185/db185_int.h.
8150
8151 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8152
8153         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
8154         exactly one.
8155
8156 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8157
8158         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
8159         name.
8160         * sysdeps/generic/e_acosl.c: Likewise.
8161         * sysdeps/generic/e_asinl.c: Likewise.
8162         * sysdeps/generic/e_atan2l.c: Likewise.
8163         * sysdeps/generic/e_expl.c: Likewise.
8164         * sysdeps/generic/e_fmodl.c: Likewise.
8165         * sysdeps/generic/e_j0l.c: Likewise.
8166         * sysdeps/generic/e_j1l.c: Likewise.
8167         * sysdeps/generic/e_jnl.c: Likewise.
8168         * sysdeps/generic/e_lgammal_r.c: Likewise.
8169         * sysdeps/generic/e_log10l.c: Likewise.
8170         * sysdeps/generic/e_logl.c: Likewise.
8171         * sysdeps/generic/e_powl.c: Likewise.
8172         * sysdeps/generic/e_sqrtl.c: Likewise.
8173         * sysdeps/generic/e_exp2l.c: Likewise.
8174
8175 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8176
8177         * Make-dist (+sysdep-names): Remove extra paren.
8178         * Makefile (distribute): Add stub-tag.h.
8179         * elf/Makefile (distribute): Add atomicity.h.
8180         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
8181         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
8182         [$(subdir)=socket]: Add net/if_packet.h.
8183         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
8184         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
8185         net/if_packet.h, scsi/sg.h.
8186
8187 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8188
8189         * Makefile (install): Quote $(CC) expansion.
8190
8191 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8192
8193         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
8194         working /proc cwd and no restrictions on path length.  Following
8195         some ideas from Andi Kleen <ak@muc.de> (PR 350).
8196
8197 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8198
8199         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
8200         * nis/nss_compat/compat-pwd.c: Likewise.
8201         * nis/nss_compat/compat-spwd.c: Likewise.
8202
8203 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
8204
8205         * sysdeps/libm-i387/s_fdim.S: New file.
8206         * sysdeps/libm-i387/s_fdimf.S: New file.
8207         * sysdeps/libm-i387/s_fdiml.S: New file.
8208         * sysdeps/libm-i387/i686/s_fdim.S: New file.
8209         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
8210         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
8211
8212 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8213
8214         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
8215         pointer to unsigned char.
8216
8217 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8218
8219         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
8220
8221         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
8222
8223         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
8224
8225 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8226
8227         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
8228         ilogb(0/NaN).
8229         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
8230         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
8231
8232 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
8233
8234         * sysdeps/libm-i387/s_fmin.S: New file.
8235         * sysdeps/libm-i387/s_fminf.S: New file.
8236         * sysdeps/libm-i387/s_fminl.S: New file.
8237         * sysdeps/libm-i387/s_fmax.S: New file.
8238         * sysdeps/libm-i387/s_fmaxf.S: New file.
8239         * sysdeps/libm-i387/s_fmaxl.S: New file.
8240         * sysdeps/libm-i387/i686/s_fmin.S: New file.
8241         * sysdeps/libm-i387/i686/s_fminf.S: New file.
8242         * sysdeps/libm-i387/i686/s_fminl.S: New file.
8243         * sysdeps/libm-i387/i686/s_fmax.S: New file.
8244         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
8245         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
8246
8247 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
8248
8249         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
8250         * sysdeps/unix/sysv/linux/send.S: Likewise.
8251         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
8252         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
8253         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
8254         * sysdeps/unix/sysv/linux/recv.S: Likewise.
8255         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
8256         * sysdeps/unix/sysv/linux/connect.S: Likewise.
8257         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
8258
8259 See ChangeLog.7 for earlier changes.