Update.
[platform/upstream/glibc.git] / ChangeLog
1 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2
3         * manual/memory.texi (Heap Consistency Checking): Document
4         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
5
6 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7
8         * manual/Makefile: Add missing rules.
9
10 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
11
12         * timezone/Makefile (generated): Define to remove all stamp files.
13
14         * sysdeps/generic/strsep.c: Also undefine __strsep.
15
16         * string/strdup.c: Undefine __strdup and strdup first.
17         * string/strndup.c: Likewise.
18
19         * string/bits/string2.h: Correct strtok_r and strsep.
20         Add strndup optimization.
21
22         * sysdeps/generic/strsep.c: Little optimization.
23
24 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
25
26         * string/bits/string2.h: Add optimization for strdup.
27         Always define __strsep and __strtok_r and make real names available
28         when feature select macros are defined.
29
30 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
31
32         * manual/install.texi (Installation): Use i486-linux as example
33         instead of the unsupported sunos4.
34         (Reporting Bugs): Mention glibcbug script.
35         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
36
37 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
38
39         * posix/wordexp-tst.sh: Make portable.  Add more tests.
40
41         * posix/Makefile (do-globtest do-wordexp-test): New targets.
42
43 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
44
45         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
46         * sysdeps/generic/libc-start.c: ...here, replacing former content.
47
48         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
49         netpacket/packet.h.
50
51         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
52
53 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
54
55         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
56         in enumerator for strict standard compliance.
57         * sysdeps/generic/bits/resource.h: Likewise.
58
59 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
60
61         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
62         (PLTJMP): New macro.
63
64         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
65         longjmp() when floating point enabled.
66         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
67         * sysdeps/arm/__longjmp.S: Remove floating point code.
68         * sysdeps/arm/setjmp.S: Likewise.
69
70         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
71         * sysdeps/arm/bsd-_setjmp.S: Likewise.
72
73         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
74         memset().
75
76         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
77         prototype.
78
79 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
80
81         Based on patches from Pat Beirne and Scott Bambrough:
82
83         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
84
85         * sysdeps/arm/bits/fenv.h: New file.
86
87         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
88         * sysdeps/arm/elf/setjmp.S: Likewise.
89         * sysdeps/arm/elf/start.S: Likewise.
90         * sysdeps/arm/init-first.c: Likewise.
91         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
92         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
93         comment about floating point to reflect current reality.
94
95         * sysdeps/unix/arm/brk.S: Support PIC.
96         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
97         re-entrant code.
98         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
99         return; call syscall_error through PLT.
100         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
101
102 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
103
104         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
105         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
106         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
107
108 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
109
110         * dirent/list.c (test): Return error value.
111         (main): Exit with error value.
112
113         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
114
115         * Makefile (distribute): Add test-skeleton.c.
116         * test-skeleton.c: New file.
117         * dirent/Makefile (tests): Add opendir-tst1.
118         * dirent/opendir-tst1.c: New file.
119
120 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
121
122         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
123         Optimize memory handling.
124         * sysdeps/unix/closedir.c: Optmize memory handling.
125
126 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
127
128         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
129         handling.  Optimize a bit.
130
131 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
132
133         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
134         (parse_param): Fold in Andreas' fixes to do with when the end of
135         the parameter name has been reached, and quoting inside ${...}.
136         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
137         $((echo);(ls)).
138
139 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
140
141         * manual/maint.texi: Split out installation and contribution
142         sections to their own appendices.  Misc cleanups.
143         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
144         * manual/contrib.texi: New file.
145         * manual/libc.texinfo: Pull in new appendices.
146         * manual/header.texi: Correct node pointer.
147
148 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
149
150         * manual/process.texi (Process Completion): Clarify return value
151         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
152
153 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
154
155         * posix/wordexp-test.c: Add more tests.
156         (testit): Fix logic.
157
158         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
159         /dev/null instead of closing it, close pipe.  Always chop off all
160         trailing newlines.  Kill and reap child before returning error.
161         (w_addword, parse_glob): Fix memory leak.
162         (wordexp): Fix dangling pointer problem.
163
164 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
165
166         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
167
168         * posix/wordexp-test.c (main): Fix little thinkos and typos.
169
170         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
171         directory index by only the language.
172
173 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
174
175         * posix/wordexp-tst.sh: Store test results in the
176         ${common_objpfx}posix directory.
177
178         * posix/wordexp-test.c: Remove temporary directory afterwards.
179
180 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
181
182         * libc.map: Export internal versions of cancelable functions.
183
184 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
185
186         * Makerules (MAKEFLAGS): Append `r'.
187
188 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
189
190         * Makeconfig: Define have-thread-library, shared-thread-library
191         and static-thread-library if a thread library is available.  Don't
192         define rt.
193         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
194         nscd-routines to nscd-modules.  Use shared-thread-library and
195         static-thread-library in dependencies.
196         * rt/Makefile: Only compile librt if have-thread-library is
197         defined.
198         * Makefile (subdirs): Always include rt subdir.
199
200 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
201
202         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
203
204 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
205
206         * configure.in: Recognize variations for 32 MIPS processors.
207         Don't assume ELF systems always have .weak, test for .weakext.
208
209 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
210
211         * configure.in: Irix6 is an ELF platform.
212
213 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
214
215         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
216         unmapping the last loaded segment.
217
218 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
219
220         * configure.in: Set base_os for Irix6.
221         Correct test for .weakext.
222
223 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
224
225         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
226         (new_line) to _dl_debug_message call.
227
228 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
229
230         * posix/wordexp.c (parse_param): Perform field-splitting after
231         expanding positional parameter.
232
233         * posix/wordexp-tst.sh: Test that field-splitting is performed
234         after expanding positional parameter.
235
236         * posix/wordexp.c (parse_param): Fixed memory leak in
237         field-splitting after parameter expansion.
238
239 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
240
241         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
242         (get_toplvl_escape): Correctly terminate loop at EOF.
243         Patch by Cristian Gafton <gafton@redhat.com>.
244
245 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
246
247         * string/tester.c (test_strpbrk): Add more strpbrk tests.
248         (test_strsep): Likewise.  Correct horrible bugs.
249
250         * string/bits/string2.h (strcspn): Optimize also reject string of
251         length 2 and 3.
252         (strspn): Likewise.
253         (strpbrk): Likewise.
254         (strsep): Likewise.  Correct bug with successive separators and
255         separators at the end of the string.
256         * sysdeps/generic/strsep.c: Correct bug with successive separators
257         and separators at the end of the string.
258
259 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
260
261         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
262         etc) now handled, as well as $$ (pid).
263
264         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
265         (distribute): Add wordexp-tst.sh.
266
267         * posix/wordexp-tst.sh: New file.
268
269         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
270         number of positional parameters.  Renamed substitute_length to
271         seen_hash.
272         Don't free(env) is env is NULL.
273
274 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
275
276         * libc.map: Add pthread_attr_init to GLIBC_2.1.
277
278 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
279
280         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
281         for output file replacing gmon.out.
282         Patch by Dean Gaudet <dgaudet@arctic.org>.
283
284 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
285
286         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
287         up namespace.  Optimize finding end of line.
288
289 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
290
291         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
292         securely.  Optimized.
293         (process_dl_debug): Add ':' to list of separators.  Optimized.
294
295 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
296
297         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
298         isless, islessequal, islessgreater, isunordered): Return zero or
299         one.
300
301 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
302
303         * posix/wordexp-test.c: More tests.
304         (main): Set up arena for pathname expansion tests (in a temporary
305         directory).
306         (testit): Don't check word count or word vector if return value is
307         non-zero.
308
309         * posix/wordexp.c (exec_comm): Always chop off terminating
310         linefeed (just like bash does).
311         (parse_param): Change lots of occurrences of "if (!*env)" to "if
312         (!env || !*env)".
313         (parse_param): For assignment inside parameter expansion, use all
314         expanded words in assignment rather than just the first.
315         (parse_param): Corrected return value for parameter expansion of
316         an unset variable when WRDE_UNDEF is in effect.
317         (parse_dollars): Don't field-split if quoted.
318         (wordexp): Opening brace character isn't allowed unquoted.
319
320 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
321
322         * elf/dlerror.c: Fix concurrency problems with error string and
323         number.
324
325         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
326         filter/auxiliary are being loaded.
327
328 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
329
330         * elf/dlerror.c (last_object_name): Removed.
331         (dlerror): Don't use last_object_name.
332         (_dl_error_run): Omit second argument to _dl_catch_error.
333         * elf/dl-error.c (struct catch): Remove objname member.
334         (_dl_signal_error): Construct string including objname when given.
335         (_dl_catch_error): Remove objname handling.
336         * elf/link.h (_dl_catch_error): Fix prototype and comment.
337         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
338         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
339         * nss/nsswitch.c (nss_dlerror_run): Likewise.
340         * iconv/gconv_dl.c (dlerror_run): Likewise.
341         [Corrects PR libc/501].
342
343 1998-03-12  Matthias Urlichs <smurf@noris.de>
344
345         * nscd/nscd.c: Ignore SIGPIPE.
346
347 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
348
349         * nscd/nscd_getgr_r.c: Use __ protected names.
350         * nscd/nscd_getpw_r.c: Likewise.
351
352 1998-03-12  Matthias Urlichs <smurf@noris.de>
353
354         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
355         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
356         null bytes are not transmitted.
357
358 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
359
360         * powerpc/syscalls.list: Correct typo.
361         * alpha/syscalls.list: Likewise.
362         * mips/syscalls.list: Likewise.
363
364 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
365
366         * socket/sys/socket.h: Add prototype for __socket.
367
368 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
369
370         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
371
372         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
373         constants.
374
375         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
376         definition here.
377         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
378         definition here.
379
380         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
381         AF_* and PF_* constants.
382
383         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
384
385 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
386
387         * elf/rtld.c: Update help message.
388         Install link maps for preloaded objects using main_map as loader.
389
390         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
391         * elf/dl-profile.c: Likewise.
392
393         * elf/dlsym.c: Little optimization.
394         * elf/dlvsym.c: Likewise.
395
396 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
397
398         * posix/wordexp-test.c: Move test for parameter list at the very
399         beginning.
400
401 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
402
403         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
404         WRDE_REUSE flag is set.
405         (parse_param): Allow `*', `@', and numbers in parameter names.
406         (parse_dollars): Differentiate between arithmetic expansion and a
407         command substitution that starts immediately with a sub-shell
408         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
409         (parse_param): Memory allocated with __alloca in a block was
410         referenced outside that block.  Adjusted to use malloc/free.
411         (parse_param): Adjusted field-splitting algorithm so that there is
412         not necessarily a field split at the end of a parameter expansion.
413
414 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
415
416         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
417         don't free words that have already been allocated.
418         (parse_param): A dollar sign on its own will never have a pattern
419         associated with it (like "${HOME%%/}" has), so don't try to free it.
420         (parse_glob): Attempt to glob when an unquoted `[' is found
421         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
422         (parse_glob): Sorted out quoting in a glob-able word.
423         (parse_param): Added $* and $@ handling.
424
425 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
426
427         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
428         parsing it.
429
430 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
431
432         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
433         _dl_debug_message.
434
435 1998-03-12  Matthias Urlichs  <smurf@noris.de>
436
437         * elf/dl-misc.c: Default for debug output should be stderr.
438         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
439         * elf/dl-lookup.c: reference_name may be NULL or empty.
440
441 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
442
443         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
444
445 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
446
447         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
448
449         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
450
451 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
452
453         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
454         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
455
456 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
457
458         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
459         init stuff.
460
461 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
462
463         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
464         flag.
465
466         * misc/syslog.c (vsyslog): Don't try to send if not connected to
467         syslog daemon.
468         (closelog_internal): Don't do anything if not connected.
469
470 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
471
472         * libc.map: Add _dl_debug_message.
473         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
474         before every line.
475         * elf/fini.c: Correctly use new _dl_debug_message function.
476         * elf/init.c: Likewise.
477         * elf/dl-lookup.c: Likewise.
478         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
479         * elf/dl-load.c: Likewise.  Add more debugging prints.
480         * elf/dl-reloc.c: Likewise.
481         * elf/dl-version.c: Likewise.
482         * elf/dl-support.c: Add variables for debugging.
483         * elf/rtld.c: Likewise.  Recognize new debug options.
484         * elf/link.h: Declare new variables.
485
486         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
487
488 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
489
490         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
491         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
492
493 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
494
495         * posix/wordexp-test.c (command_line_test): New function to allow
496         testing of specific cases from the command-line.
497
498 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
499
500         * elf/dl-init.c (_dl_init_next): Print nicer messages.
501         * elf/dl-fini.c (_dl_fini): Likewise.
502         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
503
504         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
505         symbol in debug message.
506         (_dl_lookup_versioned_symbol_skip): Likewise.
507
508 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
509
510         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
511         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
512         * manual/filesys/texi: Document this.
513
514 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
515
516         * manual/filesys.texi: Document the change below.
517
518 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
519
520         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
521         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
522
523 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
524
525         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
526         instead scope.  If debugging display information about symbol
527         resolving.
528         (_dl_lookup_symbol): Call do_lookup with correct parameters.
529         (_dl_lookup_symbol_skip): Likewise.
530         (_dl_lookup_versioned_symbol): Likewise.
531         (_dl_lookup_versioned_symbol_skip): Likewise.
532         * elf/dl-support.c: Define _dl_debug_symbols.
533         * elf/link.h: Add declaration for _dl_debug_symbols.
534         * elf/rtld.c: Define _dl_debug_symbols.
535         (process_dl_debug): Recognize symbols option.
536
537 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
538
539         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
540         in correct format.
541         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
542         with correct parameters.
543         [!PIC]: Initialize __libc_multiple_libcs.
544
545 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
546
547         * elf/dl-support.c (_dl_debug_bindings): Add definition.
548         * elf/rtld.c (_dl_debug_bindings): Add definition.
549         (process_dl_debug): Recognize bindings option.  Update help message.
550         * elf/link.h (struct link_map): Add l_versyms member.
551         (_dl_debug_bindings): Add declaration.
552         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
553         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
554         and l_reloc_result.
555         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
556         (sym_val): Remove a member, add m as link_map.
557         (do_lookup): Return result appropriately.
558         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
559         Call do_lookup correctly.
560         (_dl_lookup_symbol_skip): Likewise.
561         (_dl_lookup_versioned_symbol): Likewise.
562         (_dl_lookup_versioned_symbol_skip): Likewise.
563
564 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
565
566         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
567         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
568
569         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
570         * libc.map: Add chown to GLIBC_2.1.
571         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
572         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
573
574 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
575
576         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
577         weak alias.
578         * sysdeps/alpha/ffs.c: Likewise.
579         * sysdeps/am29k/ffs.c: Likewise.
580         * sysdeps/i386/ffs.c: Likewise.
581         * sysdeps/i960/ffs.c: Likewise.
582         * sysdeps/m68k/ffs.c: Likewise.
583         * sysdeps/m88k/ffs.c: Likewise.
584         * sysdeps/powerpc/ffs.c: Likewise.
585         * sysdeps/rs6000/ffs.c: Likewise.
586         * sysdeps/vax/ffs.s: Likewise.
587         * string/string.h: Declare __ffs.
588         * libc.map: Export it.
589         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
590         __builtin_ffs, which is not guaranteed to be namespace clean.
591
592 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
593
594         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
595         table, which is much more likely to exist than debugging symbols.
596         (printsym): Remove const.
597         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
598         header table.
599
600         * libc.map: Export __profile_frequency, used by elf/sprof, to
601         avoid infinite recursion during startup.
602
603 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
604
605         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
606         Readd lost negate.
607
608         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
609
610 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
611
612         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
613
614 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
615
616         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
617         LD_PRELOAD, and LD_VERBOSE.
618         (dl_main): Use global variables set by process_envvars instead of
619         calling getenv.
620         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
621         LD_LIBRARY_PATH value, this comes with the parameter.
622         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
623         ("LD_LIBRARY_PATH") to _dl_init_paths.
624
625 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
626
627         * elf/rtld.c (dl_main): Delay initialization of path structure if
628         the dynamically linker is invoked implicitly until we read the
629         dynamic section.
630
631 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
632
633         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
634
635 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
636
637         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
638         Linux 2.0 and 2.1.
639
640         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
641
642 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
643
644         * Makeconfig (nisobjdir): Set to path to nis directory.
645         (rpath-link): Add nisobjdir.
646         Patch by Sven Verdoolaege <skimo@kotnet.org>.
647
648         * elf/Makefile: Pretty print.
649         * elf/dl-lookup.c: Include unistd.h.
650         * elf/dl-runtime.c: Likewise.
651
652         * localedata/Makefile (test-srcs): Add tst-rpmatch.
653         (distribute): Add tst-rpmatch.sh.
654         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
655
656         New tests for rpmatch function by
657         Jochen Hein <jochen.hein@delphi.central.de>.
658         * localedata/tst-rpmatch.c: New file.
659         * localedata/tst-rpmatch.sh: New file.
660
661         * localedata/locales/de_DE: Correct yesexpr and noexpr.
662         * localedata/locales/de_AT: Likewise.
663
664         * posix/getopt.c: Update contact address.
665         * posix/getopt1.c: Pretty print.
666
667         * sysdeps/generic/libc-start.c: Do most of the initialization now
668         here instead of in start.S.
669         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
670         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
671
672         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
673         profil_counter to be public.
674
675 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
676
677         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
678         (parse_param): Coded parameter length expansion (${#var}).
679         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
680         (parse_param): Cleaned up (fixed) error handling.
681
682         * posix/wordexp-test.c: IFS now includes non-whitespace character
683         (comma).  Added more tests.
684
685 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
686
687         * elf/link.h: Fix typos.
688         Reported by Andreas Jaeger.
689
690         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
691         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
692
693 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
694
695         * argp/argp-help.c: Remove last bits of using gettext instead of
696         dgettext.
697
698 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
699
700         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
701         __libc_start_main.
702         * csu/Makefile (routines): Add libc-start.
703         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
704         * elf/dl-lookup.c: Likewise.
705         * elf/dl-version.c: Likewise.
706         * sysdeps/i386/dl-machine.h: Likewise.
707         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
708         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
709         _dl_sysdep_message macros which use _dl_sysdep_output.
710         * elf/dl-fini.c: Write out which destructor is called while debugging.
711         * elf/dl-init.c: Likewise for constructor.
712         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
713         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
714         _dl_sysdep_message.  Add _dl_sysdep_output.
715         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
716         this file can be opened.
717         For LD_DEBUG=libs also set _dl_debug_impcalls.
718         * sysdeps/generic/dl-cache.c: Include unistd.h.
719         * sysdeps/generic/libc-start.c: New file.
720         * sysdeps/unix/sysv/linux/libc-start.c: New file.
721         * sysdeps/i386/elf/start.S: Don't call main directly, call
722         __libc_start_main instead.
723
724         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
725
726 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
727
728         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
729
730 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
731
732         * argp/argp.h (struct argp): Add new field domain.
733         * argp/argp-help.c: Change all gettext calls to dgettext and use
734         domain field from appropriate argp in call.
735         * argp/argp-parse.c: Likewise.
736
737 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
738
739         * posix/wordexp-test.c: Change testsuite so that it can run even
740         for ~root != /root.
741
742 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
743
744         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
745
746 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
747
748         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
749         Don't store into global errno if we already store through
750         __errno_location.
751         * sysdeps/unix/i386/sysdep.S: Likewise.
752         * sysdeps/unix/alpha/sysdep.S: Likewise.
753         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
754         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
755         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
756         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
757         PIC).
758
759 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
760
761         * sysdeps/generic/sysdep.h (L): Remove definition.
762         * sysdeps/i386/sysdep.h (L): Define it here instead.
763
764 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
765
766         * nis/nis_call.c (__do_niscall): Safe and reset errno.
767
768         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
769
770 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
771
772         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
773         declaration style to avoid warnings.
774
775 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
776
777         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
778         "LD_DEBUG".
779
780 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
781
782         * posix/Makefile (tests): Add wordexp-test.
783         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
784         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
785
786 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
787
788         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
789         dependencies.
790
791         * elf/link.h (struct r_search_path_elem): Add two new field for
792         lib path debugging.
793         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
794         variable accordingly.
795         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
796         is considered next along with information about load paths.
797         * sysdeps/generic/dl-cache.c: Likewise.
798         * elf/dl-support.c: Define _dl_debug_libs.
799         * elf/genrtldtbl.awk: Add initializers for two new field in
800         struct r_search_path_elem.
801
802 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
803
804         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
805         * sysdeps/m68k/lshift.S: Likewise.
806         * sysdeps/m68k/rshift.S: Likewise.
807         * sysdeps/m68k/sub_n.S: Likewise.
808         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
809         * sysdeps/m68k/m68020/mul_1.S: Likewise.
810         * sysdeps/m68k/m68020/submul_1.S: Likewise.
811
812         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
813         [_LIBC_REENTRANT]: Don't store into global errno.
814
815         * sysdeps/m68k/sysdep.h: New file.
816         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
817         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
818         (DO_CALL): Change to expect syscall name as argument.
819         (PSEUDO): Pass syscall_name to DO_CALL.
820         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
821         errno.
822
823 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
824
825         * elf/rtld.c: Speed up processing of environment variables.  Do
826         only one run on the environment by avoiding to call getenv.
827         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
828         function.  Used by patch above.
829
830 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
831
832         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
833         running nscd.
834         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
835         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
836         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
837
838 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
839
840         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
841         module cannot be found.  Reported by Andreas Jaeger.
842
843 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
844
845         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
846         on platforms which default to unsigned chars.
847         * nscd/nscd_getpw_r.c: Likewise.
848         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
849         defining it.
850
851 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
852
853         * elf/Makefile (install-bin): Change = to += for sprof to install
854         ldd also.
855
856 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
857
858         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
859
860 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
861
862         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
863
864 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
865
866         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
867         that a failure to connect to nscd doesn't change errno.
868
869 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
870
871         * manual/maint.texi (Reporting Bugs): Change
872         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
873
874         * locale/iso-4217.def: Likewise
875
876 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
877
878         * manual/texinfo.tex: Updated.
879
880 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
881
882         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
883         value.
884         * sysdeps/posix/pathconf.c: Likewise.
885         * posix/getconf.c: Print `undefined' if pathconf returns -1
886         without setting errno.
887
888 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
889
890         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
891         problem.
892         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
893         Patches by Elliot Lee <sopwith@cuc.edu>.
894
895 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
896
897         * elf/link.h (struct link_map): Add new field l_reloc_result.
898         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
899         of relocation for the object to be profiled.
900         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
901         to NULL.
902         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
903         array here.
904         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
905         contains a result from a previous run use this instead of computing
906         the value again.
907         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
908
909 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
910
911         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
912         offsets into the GOT.
913         (RTLD_START): Likewise.
914
915 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
916
917         * elf/sprof.c: Cleanup a bit.
918
919 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
920
921         * sysdeps/generic/sysdep.h (L): New. Define.
922
923         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
924
925         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
926
927         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
928         to have only one exit point for functions.
929         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
930         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
931         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
932         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
933         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
934
935 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
936
937         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
938         reset errno so that errno isn't set to ENOSYS in the first call.
939         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
940         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
941         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
942         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
943
944 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
945
946         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
947         * sysdeps/i386/addmul_1.S: Likewise.
948         * sysdeps/i386/lshift.S: Likewise.
949         * sysdeps/i386/mul_1.S: Likewise.
950         * sysdeps/i386/rshift.S: Likewise.
951         * sysdeps/i386/sub_n.S: Likewise.
952         * sysdeps/i386/submul_1.S: Likewise.
953         * sysdeps/i386/i586/add_n.S: Likewise.
954         * sysdeps/i386/i586/addmul_1.S: Likewise.
955         * sysdeps/i386/i586/lshift.S: Likewise.
956         * sysdeps/i386/i586/mul_1.S: Likewise.
957         * sysdeps/i386/i586/rshift.S: Likewise.
958         * sysdeps/i386/i586/sub_n.S: Likewise.
959         * sysdeps/i386/i586/submul_1.S: Likewise.
960
961         * sysdeps/i386/sysdep.h: Extend last change.
962
963         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
964         to have only one exit point for functions.
965
966 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
967
968         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
969         search.
970
971 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
972
973         * Makerules: Generate libc.so with absolute paths for the used
974         shared objects.
975
976         * config.make.in: Add MAKEINFO definition.
977
978 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
979
980         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
981         (ENTRY): Use STABS_FUN.
982         (END): Use STABS_FUN_END.
983         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
984
985         * elf/Makefile: Add rules to build sprof program.
986         * elf/sprof.c: New file.
987
988 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
989
990         * misc/syslog.c (openlog_internal): Insert missing closing brace.
991
992 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
993
994         * configure.in: Check for working msgfmt version (from GNU gettext
995         0.10 or later).
996
997 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
998
999         * configure.in: Avoid //s in sysdirs.
1000         Patch by Roland McGrath.
1001
1002         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
1003
1004 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
1005
1006         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
1007         setting _dl_global_scope for RTLD_GLOBAL.
1008
1009 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1010
1011         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
1012         possible lists of object-suffixes are taken care of.
1013
1014 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
1015
1016         * timezone/private.h: Update from tzcode1998c.
1017         * timezone/zic.c: Likewise.
1018         * timezone/antarctica: Updated from tzdata1998c.
1019         * timezone/asia: Likewise.
1020         * timezone/australasia: Likewise.
1021         * timezone/europe: Likewise.
1022         * timezone/southamerica: Likewise.
1023
1024 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
1025
1026         * posix/glob.c (glob_in_dir): Add support for cases insensitive
1027         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
1028
1029 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
1030
1031         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
1032         Changed type of TWO43, TWO52 from float to double.
1033         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
1034         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
1035         Changed type of TWO43 from float to double.
1036         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
1037         Use __isinff.
1038
1039 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
1040
1041         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
1042         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
1043         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
1044
1045 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
1046
1047         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
1048         kernel_termios.h.
1049         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
1050         Clean up random whitespace.
1051         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
1052         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
1053         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
1054         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
1055
1056 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
1057
1058         * shlib-versions: Match alpha*.
1059         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
1060         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
1061
1062         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
1063         Implement copysign* with and without __ prefix.
1064         Likewise for fabs; use builtin for gcc 2.8.
1065         (floor*): New.
1066         (fdim*): New.
1067
1068         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
1069         (R_SPARC*): Match current v9 ABI.
1070
1071         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
1072
1073         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
1074         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1075         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
1076         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
1077         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1078         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
1079         * sysdeps/unix/grantpt.c (argv): Fix consts.
1080         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
1081         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1082
1083 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
1084
1085         * misc/syslog.c: Change to allow user the interpretation of the
1086         outcome even with syslog having no return value.
1087
1088 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
1089
1090         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
1091         that the number of program headers is >0 (which is wrong for the
1092         loader itself).
1093
1094 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
1095
1096         * Makefile (distribute): Add README.libm.
1097
1098 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1099
1100         * time/clocktest.c (main): Correct typo: "--" -> "==".
1101
1102 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
1103
1104         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
1105         inline function.
1106         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
1107         inline functions.
1108
1109         * math/libm.map (__atan2): Added.
1110
1111 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
1112
1113         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
1114         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
1115
1116         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
1117         bug.
1118
1119 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1120
1121         * manual/arith.texi (Old-style number conversion): Correct
1122         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
1123
1124 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
1125
1126         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
1127         but does not require it.  Handle missing argv[] values gracefully.
1128         * posix/execl.c: Likewise.
1129         * posix/execle.c: Likewise.
1130
1131 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1132
1133         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
1134         bit.
1135         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
1136
1137 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
1138
1139         * libc.map: Add __adjtimex.
1140
1141 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1142
1143         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
1144         Remove memset.
1145
1146 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
1147
1148         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
1149         to 64.
1150
1151         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
1152
1153         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
1154         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
1155
1156         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
1157         for shared library.
1158
1159         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
1160
1161         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
1162         Added adjtimex and old_adjtimex.
1163
1164         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
1165         New.
1166         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
1167         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
1168
1169         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
1170         symbols only for shared library.
1171         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1172         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1173         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1174         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1175         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1176         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1177         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1178
1179         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
1180         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1181         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1182         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1183         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1184         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1185         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1186         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1187
1188         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
1189         rusage pointer.
1190
1191         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
1192         New macros.
1193         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
1194         timex and __adjtimex, respectively.
1195
1196         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
1197
1198         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
1199
1200 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
1201
1202         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
1203         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
1204
1205 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
1206
1207         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
1208
1209 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1210
1211         * Makefile.in: Disable built-in rules.
1212
1213 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1214
1215         * sysdeps/i386/fpu/t_exp.c: Move to ...
1216         * sysdeps/libm-i387/t_exp.c: ... here.
1217
1218 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
1219
1220         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
1221         from __exp2_deltatable.
1222
1223 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
1224
1225         * nis/ypclnt.c (yp_master): Check result of strdup.
1226         Patch by Thorsten Kukuk.
1227
1228 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1229
1230         * nis/ypclnt.c: Give clnt handle after error checking free, change
1231         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
1232
1233 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
1234
1235         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
1236         Patch by Joe Keane <jgk@jgk.org>.
1237
1238         * misc/fstab.h (struct fstab): Change fs_type member to be const.
1239         * misc/fstab.c: Remove casts in fs_type assignments.
1240
1241 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1242
1243         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
1244         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
1245         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
1246         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
1247         * sysdeps/powerpc/bits/fenv.h: Likewise.
1248         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
1249         * sysdeps/generic/bits/fenv.h: Likewise.
1250         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
1251         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
1252         * sysdeps/powerpc/test-arith.c (main): Likewise.
1253
1254 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
1255
1256         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
1257         the comparison macros.
1258
1259 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
1260
1261         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
1262         (__log2): Fixed return values.
1263         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
1264
1265 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
1266
1267         * math/math.h (isunordered): Rename local variables to ensure
1268         correct code.  Reported by HJ Lu.
1269
1270 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
1271
1272         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
1273         isless, islessequal, islessgreater, isunordered): Fix syntax for
1274         fucompip instruction.
1275         (isless, islessequal): Fix logic.
1276
1277 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1278
1279         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
1280         (comparisons_test): New tests for comparison macros.
1281
1282 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
1283
1284         * Makeconfig: Filter out frame-pointer effecting options when
1285         compiling profiling or debugging code.
1286         * config.h.in (internal_function): Don't define here if PROF is
1287         defined.
1288         * gmon/gmon.c (__moncontrol): Don't change state if already in error
1289         state.
1290         (__monstartup): If calloc fails set error state and mark array as
1291         not allocated.
1292         (_mcleanup): Don't call write_gmon if in error state.  Don't try
1293         to free array if not  successfully allocated.
1294
1295         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
1296         Include elf.h to get macro definitions.
1297         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
1298
1299 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
1300
1301         * elf/ldd.sh.in: Add compatibility for broken old shells.
1302         * elf/ldd.bash.in: Likewise.
1303
1304 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
1305
1306         * sunrpc/rpc_main.c (open_input): Check pipe return error.
1307
1308         * time/clocktest.c (main): Check signal return error.
1309
1310 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1311
1312         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
1313         "/" and use do-install-program. Reported by Mark M. Kettenis.
1314         (subdir_install):  Likewise.
1315
1316 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1317
1318         * sunrpc/rpc_sample.c: Fix typo.
1319
1320         * nscd/connections.c: Use locale.
1321         * nscd/grpcache.c: Add debug messages, gidtbl should get the
1322           calloc result.
1323         * nscd/nscd.c: Check if init functions fails.
1324         * nscd/nscd_conf.c: Allow disabling of group cache.
1325         * nscd/nscd_getgr_r.c: Fix return code if group not found.
1326         * nscd/pwdcache.c: Fix debug messages.
1327
1328 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1329
1330         * libc.map: Add __monstartup and _mcleanup for profiling support.
1331
1332 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1333
1334         * libc.map: Export __getpagesize, for binary compatibility with
1335         2.0.
1336
1337 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1338
1339         * posix/globtest.sh: Use --library-path instead of
1340         LD_LIBRARY_PATH.
1341         * localedata/sort-test.sh: Likewise.
1342         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
1343
1344 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1345
1346         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
1347         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
1348         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1349
1350         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
1351         kernel_sigaction): Define.
1352         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
1353         kernel_sigaction): Define.
1354
1355 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1356
1357         * math/libm-test.c: Change epsilons for libm-ieee754.
1358
1359 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
1360
1361         * sysdeps/i386/__longjmp.S: Fix race condition.
1362         Reported by Bruno Haible <haible@ilog.fr>.
1363
1364 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
1365
1366         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
1367         * iconvdata/8bit-gap.c: Likewise.
1368         * iconvdata/8bit-generic.c: Likewise.
1369         * iconvdata/iso6937.c: Likewise.
1370         * iconvdata/iso8859-1.c: Likewise.
1371         * iconvdata/sjis.c: Likewise.
1372         * iconvdata/t61.c: Likewise.
1373
1374 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1375
1376         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
1377         feature tests by positive feature tests.
1378
1379 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1380
1381         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
1382
1383 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
1384
1385         * elf/dlvsym.c (dlvsym_doit): More corrections.
1386         Patch by Andreas Jaeger.
1387
1388 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
1389
1390         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
1391
1392 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
1393
1394         * libc.map: More reordering for GLIBC_2.1 symbols.
1395
1396 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1397
1398         * libc.map: Move some functions from version GLIBC_2.0 to
1399         GLIBC_2.1, reorder declarations.
1400
1401 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
1402
1403         * resolv/gethnamaddr.c (addrsort): Make this function extern.
1404         Patch by zab@thebrain.grumblesmurf.net.
1405
1406 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1407
1408         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
1409         NIS+ functions with version GLIBC_2.1.
1410
1411 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
1412
1413         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
1414         with 2.0 binaries.  Reported by Thorsten Kukuk.
1415
1416 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1417
1418         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
1419
1420         * elf/dlsym.c (dlsym_doit): Likewise.
1421
1422 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1423
1424         * elf/link.h: Correct typos.
1425
1426         * iconv/iconv_prog.c: Correct typo.
1427
1428 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
1429
1430         * iconv/Makefile: Add rules to build and install iconv program.
1431         * iconv/iconv_prog.c: New file.
1432
1433 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
1434
1435         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
1436         _dl_lookup_symbol_skip call.
1437         * elf/dlvsym.c (dlvsym_doit): Likewise.
1438
1439 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
1440
1441         * libio/iovsscanf.c: Do not include errno.h.
1442
1443 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1444
1445         * elf/dl-load.c (add_name_to_object): Don't translate strings.
1446         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
1447         pulling in the whole error list.
1448         (__dcgettext, dcgettext): Removed.
1449         * libc.map: Export _strerror_internal.
1450
1451 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
1452
1453         * sysdeps/i386/fpu/t_exp.c: New file.
1454
1455 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1456
1457         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
1458         everything with version GLIBC_2.1.
1459         * hesiod/libnss_hesiod.map: Likewise.
1460
1461 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1462
1463         * manual/arith.texi (Old-style number conversion): This node is a
1464         section, not a subsection.
1465
1466 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1467
1468         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
1469
1470 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1471
1472         * elf/rtld.c (dl_main): Make sure that the library search paths
1473         have been initialized before the first call to _dl_map_object.
1474
1475 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1476
1477         * Makerules (common-generated): Add libc_pic.os.
1478
1479 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1480
1481         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
1482         of the executable.
1483
1484 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1485
1486         * sysdeps/m68k/fpu/t_exp.c: New file.
1487
1488 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
1489
1490         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
1491         to global errno variable anymore.
1492
1493 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
1494
1495         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
1496         If PRELOADED is nonzero check in case of an SUID application
1497         whether the shared object has the SUID bit set.
1498         Fix some other problems with handling shared objects in system
1499         specific directories.
1500         (_dl_map_object): Also take extra parameter and pass it to open_path.
1501         * elf/link.h (_dl_map_object): Correct prototype and comment.
1502         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
1503         * elf/dl-open.c (_dl_open): Likewise.
1504         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
1505
1506         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
1507
1508 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
1509
1510         * math/libm-test.c (modf_test): Add test for 1.5.
1511
1512         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
1513         0 to get always an int.
1514
1515 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1516
1517         * math/libm.map: Move all symbols that are new in glibc 2.1 to
1518         version GLIBC_2.1.
1519
1520 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
1521
1522         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
1523         trying to read another character.
1524
1525 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1526
1527         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
1528         name to lowercase.
1529
1530         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
1531         name to lowercase, add test for big enough buffer.
1532
1533 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1534
1535         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
1536         Make compatible with older kernels.  Patch by Richard Henderson.
1537
1538 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
1539
1540         * elf/dl-load.c (open_path): Use __xstat instead of stat.
1541
1542         * localedata/tst-locale.sh: Comment out first test for now.
1543
1544 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
1545
1546         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
1547         as 1.
1548         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1549         Likewise.
1550
1551         * libio/iogetline.c (_IO_getline_info): Renamed from
1552         _IO_getline.
1553         (_IO_getline): Just call _IO_getline_info.
1554
1555         * libio/libioP.h (_IO_getline_info): New declaration.
1556
1557         * libc.map (_IO_getline_info, __write): Added.
1558
1559 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1560
1561         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
1562         const char* to shut up gcc.
1563
1564 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
1565
1566         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
1567         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
1568
1569         * math/math.h: Define M_* constants always as `double' and add new
1570         macros M_*l which are of type `long double'.
1571         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
1572         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
1573         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
1574         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
1575         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
1576         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
1577         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
1578         * math/libm-tst.c: Likewise.
1579
1580         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
1581         define as long double unconditionally.
1582
1583 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1584
1585         * manual/arith.texi (Old-style number conversion): Correct some
1586         typos.
1587
1588 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
1589
1590         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
1591         Restore.
1592
1593         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
1594
1595 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
1596
1597         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
1598         on $(rtld-ldscript).
1599
1600         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
1601         starting from 0 not only from `from'.
1602         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1603
1604 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
1605
1606         * elf/rtld.c (dl_main): Recognize --library-path parameter and
1607         pass value (or NULL) to _dl_init_paths.
1608         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
1609         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
1610         environment variable.
1611         * elf/link.h: Change prototype for _dl_init_paths.
1612         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
1613
1614         * localedata/Makefile (distribute): Add test files.
1615
1616 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1617
1618         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
1619         test1.def, test2.def, test3.def, test4.def}: Simple input files
1620         for localedef. Contributed by Yung-Ching Hsiao
1621         <yhsiao@cae.wisc.edu>.
1622
1623         * localedata/Makefile (tests): Call tst-locale.sh.
1624
1625         * localedata/tst-locale.sh: New file, regression tests for some
1626         localedef problems.
1627
1628 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1629
1630         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
1631
1632         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
1633         terminated.
1634         * nis/nss_nisplus/nisplus-network.c: Likewise.
1635         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1636         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1637         * nis/nss_nisplus/nisplus-service.c: Likewise.
1638
1639         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
1640         and support generating thread safe RPC code.
1641         * sunrpc/rpc_main.c: Add changes.
1642         * sunrpc/rpc_clntout.c: Likewise.
1643         * sunrpc/rpc_cout.c: Likewise.
1644         * sunrpc/rpc_hout.c: Likewise.
1645         * sunrpc/rpc_parse.c: Likewise.
1646         * sunrpc/rpc_sample.c: Likewise.
1647         * sunrpc/rpc_scan.c: Likewise.
1648         * sunrpc/rpc_svcout.c: Likewise.
1649         * sunrpc/rpc_util.c: Likewise.
1650         * sunrpc/rpc_util.h: Add new structs and prototypes.
1651         * sunrpc/proto.h: Remove prototypes for static functions.
1652
1653 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1654
1655         * locale/programs/ld-messages.c (messages_finish): Don't skip
1656         error checking when being quiet.
1657         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
1658         (set_class_defaults): Likewise.
1659         * locale/programs/charmap.c (parse_charmap): Likewise.
1660         * locale/programs/ld-collate.c (collate_finish): Likewise.
1661         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
1662         * locale/programs/ld-time.c (time_finish): Likewise.
1663         * locale/programs/locfile.c (write_locale_data): Likewise.
1664
1665         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
1666         unknown characters and empty ranges.
1667         * locale/programs/ld-collate.c (collate_order_elem): When
1668         processing an ellipsis properly form a linked list in the result
1669         table, fix typo when allocating ordering array.
1670         [PR libc/419]
1671
1672 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1673
1674         * elf/Makefile (ld-map): Define.
1675         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
1676         `$(rtld-ldscript)'.
1677         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
1678         on $(ld-map).
1679         (rtld-link): Combine the two versions of this definition.  Fixed
1680         to make it work when no symbol versioning is used.
1681
1682 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
1683
1684         * Makeconfig (build-program-cmd): Use --library-path parameter to
1685         ld.so instead of environment variable.
1686
1687         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
1688         * sunrpc/rpc_main.c: Remove support for -$$ option again.
1689
1690 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1691
1692         * Make-dist: Respect with-cvs setting.
1693         * MakeTAGS (all-pot): Likewise.
1694         * sysdeps/sparc/sparc32/Makefile: Likewise.
1695         * sysdeps/mach/hurd/Makefile: Likewise.
1696         * stdlib/Makefile: Likewise.
1697         * posix/Makefile: Likewise.
1698         * intl/Makefile: Likewise.
1699         * po/Makefile (linguas): Likewise
1700
1701 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1702
1703         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
1704
1705 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
1706
1707         * libc.map: Add __strcasecmp.
1708
1709         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
1710         module.
1711
1712         * nss/getXXent_r.c: If no more module is found don't try to call
1713         setXXent functions but leave unsuccessfully.
1714
1715         * malloc/obstack.h: Cleanups.
1716
1717         * sysdeps/wordsize-32/stdint.h: New file.
1718         * sysdeps/wordsize-64/stdint.h: New file.
1719         * sysdeps/generic/stdint.h: New file.
1720         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
1721         * sysdeps/wordsize-64/inttypes.h: Likewise.
1722         * stdlib/Makefile (headers): Add stdint.h.
1723
1724 1998-02-03  Paul Eggert  <eggert@twinsun.com>
1725
1726         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
1727
1728 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1729
1730         * timezone: New directory.
1731         * time/README, time/africa, time/antarctica, time/asia,
1732         time/australasia, time/backward, time/checktab.awk,
1733         time/etcetera, time/europe, time/factory, time/ialloc.c,
1734         time/iso3166.tab, time/leapseconds, time/northamerica,
1735         time/pacificnew, time/private.h, time/scheck.c,
1736         time/solar87, time/solar88, time/solar89, time/southamerica,
1737         time/systemv, time/test-tz.c, time/tzfile.h,
1738         time/tzselect.ksh, time/yearistype, time/zdump.c,
1739         time/zic.c, time/zone.tab: Moved to timezone.
1740         * time/tzfile.c: Include tzfile.h from timezone subdir.
1741         * time/tzset.c: Likewise.
1742         * time/Makefile: Cut out all code relating to timezones...
1743         * timezone/Makefile: ...and paste it in here.
1744         * Makefile (subdirs): Add timezone.
1745
1746 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
1747
1748         * libc.map (_sys_nerr): Added.
1749
1750         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
1751         versioned symbol.
1752
1753 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
1754
1755         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
1756         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
1757         Reported by Craig Metz <cmetz@inner.net>.
1758
1759 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1760
1761         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
1762         instead of strcasecmp.
1763         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
1764
1765         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
1766
1767 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
1768
1769         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
1770         Patch by Dean Gaudet <dgaudet@arctic.org>.
1771
1772 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
1773
1774         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
1775
1776 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1777
1778         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
1779         with no poll syscall, just include the BSD version.
1780         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
1781         kernel without the syscall, include the stub version.
1782         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
1783         * sysdeps/generic/getresuid.c: New file.
1784         * sysdeps/generic/getresgid.c: New file.
1785
1786 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
1787
1788         * stdio-common/vfscanf.c: Correct last change a bit.
1789
1790 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
1791
1792         * elf/Makefile: Don't use --version-script parameter to link ld.so
1793         unconditionally.
1794
1795 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
1796
1797         * math/Makefile: Add t_exp.
1798         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
1799         constants.
1800         * math/test-reduce.c: Remove temporarily, it seems to be broken.
1801         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
1802         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
1803         better accuracy.
1804         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
1805         algorithm for very large/very small arguments.
1806         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
1807         correct algorithm for very large/very small arguments; adjust for
1808         new table.
1809         * sysdeps/libm-ieee754/t_exp.c: New file.
1810         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
1811
1812         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
1813         back, with comment that explains what breaks when you remove it :-(.
1814
1815         * localedata/xfrm-test.c: Avoid integer overflow.
1816
1817         * stdlib/strfmon.c: char is unsigned, sometimes.
1818
1819         * sysdeps/powerpc/Makefile: Remove quad float support.
1820         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
1821         * sysdeps/powerpc/quad_float.h: Likewise.
1822         * sysdeps/powerpc/test-arith.c: Likewise.
1823         * sysdeps/powerpc/test-arithf.c: Likewise.
1824
1825         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
1826         * sysdeps/generic/s_exp2f.c: Likewise.
1827
1828         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
1829         don't try anything if _SOFT_FLOAT.
1830
1831 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1832
1833         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
1834         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
1835         * wctype/wctype.c: Likewise.
1836         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
1837         changed.  They are incompatible with the _ISxxx values from
1838         <ctype.h> on little endian machines.
1839         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
1840         bit number.  This fixes the real bug and restores the integrity of
1841         the ctype locale file.
1842         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
1843         * wctype/wcfuncs_l.c: Likewise.
1844         * wctype/wcextra.c: Likewise.
1845         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
1846         byte swapping.
1847
1848 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1849
1850         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
1851         into .bss segment instead of .common, so that aliases on it work.
1852
1853         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
1854         .size directives, put into .bss segment instead of initializing it
1855         to 4.
1856
1857 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
1858
1859         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
1860
1861         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
1862         functions.
1863         Make names without __ weak aliases.
1864         (__libc_release, __libc_version): Make them static.
1865
1866         * include/gnu/libc-version.h: New file.
1867         * Makefile (headers): Add gnu/libc-version.h.
1868
1869 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
1870
1871         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
1872         and use x for member name.
1873         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
1874
1875         * stdlib/drand48.c: Change according to member name change.
1876         * stdlib/drand48_r.c: Likewise.
1877         * stdlib/lcong48_r.c: Likewise.
1878         * stdlib/lrand48.c: Likewise.
1879         * stdlib/lrand48_r.c: Likewise.
1880         * stdlib/mrand48.c: Likewise.
1881         * stdlib/mrand48_r.c: Likewise.
1882         * stdlib/seed48.c: Likewise.
1883         * stdlib/seed48_r.c: Likewise.
1884         * stdlib/srand48_r.c: Likewise.
1885
1886 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1887
1888         * nss/test-netdb.c: Add some more test cases.
1889
1890 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
1891
1892         * libio/iovsscanf.c: Undo last change modifying errno.
1893
1894 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1895
1896         * stdio-common/vfscanf.c: Never try to read another character
1897         after EOF.  Don't decrement read_in after EOF, it wasn't
1898         incremented in the first place.
1899         (NEXT_WIDE_CHAR): Set First, not first.
1900
1901 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
1902
1903         * db/Makefile ($(inst_libdir)/libndbm.a,
1904         $(inst_libdir)/libndbm.so): New targets.
1905         * db2/Makefile: Likewise.
1906
1907 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
1908
1909         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
1910         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
1911
1912 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1913
1914         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
1915         <streambuf.h>.
1916         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1917
1918 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1919
1920         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
1921         versioned symbols.
1922
1923 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
1924
1925         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
1926         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
1927         Added for libdl.so.
1928
1929 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1930
1931         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
1932         extra syscall.
1933
1934         * grp/Makefile: Fix logic when checking for thread package.
1935         * pwd/Makefile: Likewise.
1936
1937 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
1938
1939         * elf/Makefile (rtld-map): Replaced by libc-map.
1940
1941         * elf/rtld.map: Removed.
1942
1943         * libc.map (__libc_enable_secure, _dl_catch_error,
1944         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
1945         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
1946         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
1947         _dl_object_relocation_scope, _dl_relocate_object,
1948         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
1949         _r_debug): Added for ld.so.
1950
1951 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
1952
1953         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
1954         DO_VERSIONING.
1955         * libio/iofdopen.c: Ditto.
1956         * libio/iofopen.c: Ditto.
1957         * libio/oldfileops.c: Ditto.
1958
1959         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
1960         version GLIBC_2.1.
1961
1962         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
1963         oldsiglist from sysdep_routines and shared-only-routines.
1964
1965         * sysdeps/unix/sysv/linux/errlist.c: New.
1966         * sysdeps/unix/sysv/linux/errlist.h: New.
1967         * sysdeps/unix/sysv/linux/sizes.h: New.
1968         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
1969         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
1970
1971         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
1972
1973         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
1974         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
1975         directive.
1976
1977         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
1978
1979         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
1980         (oldsiglist.c): Removed.
1981
1982         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
1983         (_sys_siglist): Use SYS_SIGLIST instead.
1984         (_sys_nerr): Use SYS_NERR instead.
1985
1986         * sysdeps/gnu/errlist.c: Rebuilt.
1987
1988 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
1989
1990         * elf/Makefile (others-static): New, set to ldconfig.
1991         ($(objpfx)ldconfig): Removed.
1992
1993         * Rules (binaries-all, binaries-static, binaries-shared): New.
1994         Create targets for $(binaries-static) and $(binaries-shared).
1995
1996         * Makeconfig (+link-static, link-libc-static,
1997         link-extra-libs-static): New for static linking.
1998
1999 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2000
2001         * manual/memory.texi (Using the Memory Debugger): Fix typo.
2002
2003         * math/libm-test.c (modf_test): Add one more test for modf.
2004
2005 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
2006
2007         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
2008         Rename from __libc_have_rt_sigs and leave as COMMON data.
2009
2010 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
2011
2012         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
2013         of __finite.
2014
2015 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
2016
2017         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
2018
2019 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
2020
2021         * misc/tst-efgcvt.c: Add yet more tests.
2022         * misc/efgcvt_r.c: And correct for these tests again.
2023         Reported by HJ Lu.
2024
2025         * isomac.c: Move to...
2026         * stdlib/isomac.c: ...here.
2027         * Makefile: Move rules for handling isomac...
2028         * stdlib/Makefile: ...to here.
2029
2030 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
2031
2032         * misc/tst-efgcvt.c: Add more tests.
2033         * misc/efgcvt_r.c: Correct result for above new tests.
2034
2035 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
2036
2037         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
2038         NDIGIT <= 0.
2039
2040 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
2041
2042         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
2043         if the programs weren't built.
2044
2045 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
2046
2047         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
2048         FE_TONEAREST, soldier on regardless and do the best we can.
2049         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
2050
2051 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
2052
2053         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
2054         _STDIO_H, before including <bits/stdio_lim.h>.
2055
2056         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
2057
2058         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
2059         exist.
2060
2061         * sysdeps/arm/sys/ucontext.h: New file.
2062
2063 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
2064
2065         * manual/stdio.texi (Formatted Output Functions): Explicitly say
2066         that the return value from snprintf() does not count the
2067         terminating NUL as a character.
2068
2069 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
2070
2071         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
2072         add description for sete[ug]id and general cleanup.
2073         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2074
2075 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2076
2077         * Makefile (parent-clean): Don't remove makefile fragments here.
2078         (postclean): New variable.
2079         (clean): Remove makefile fragments here.
2080         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
2081         (generated): Add isomac and isomanc.out.
2082         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
2083         avoid-generated is set.
2084         (postclean-generated): Add soversion.mk.
2085         ($(common-objpfx)version.mk): Don't include if avoid-generated is
2086         set.
2087         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
2088         avoid-generated is set.
2089         (common-generated): Add libc.so and libc.so$(libc.so-version).
2090         (generated): Add versioned libraries.
2091         (common-mostlyclean): Also remove %.so and %_pic.a.
2092         * csu/Makefile (generated): Add abi-tag.h.
2093         * db2/Makefile (extra-objs): Add getlong.o.
2094         * elf/Makefile (generated): Add ld.so, ldd and
2095         $(rtld-installed-name).
2096         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
2097         * malloc/Makefile (generated): Add mtrace.
2098         * po/Makefile: Don't include version.mk, not needed any more.
2099         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
2100         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
2101         syscall.h -> sys/syscall.h.
2102         (common-generated): Add s-proto.d.
2103         (postclean-generated): Add sysd-syscalls.
2104         * localedata/Makefile (test-output): Add all output files.
2105         (generated): Add test-input and test-output.
2106         (generated-dirs): Add all the dirs.
2107
2108 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2109
2110         * Makefile (test-output, generated, generated-dirs): New
2111         variables.
2112
2113 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
2114
2115         * resolv/nss_dns/dns-host.c: Various code cleanups.
2116
2117 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
2118
2119         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
2120         From Philip Blundell <pb@nexus.co.uk>.
2121         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
2122
2123 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2124
2125         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
2126         Suggested by debian/sparc porters.
2127
2128 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2129
2130         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
2131         for ecvt and fcvt.
2132
2133 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
2134
2135         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
2136         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
2137
2138         * signal/signal.h: Always define sigset_t if __need_sigset_t is
2139         defined even if __USE_POSIX is not defined.
2140
2141 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2142
2143         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
2144         to support obsolete tty major numbers correctly.
2145
2146 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
2147
2148         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
2149         directory first and ignore install error.
2150
2151         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
2152         128 from ptyno and fix a typo for the BSD style pty.
2153
2154 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2155
2156         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
2157         syscalls.list's.
2158
2159 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2160
2161         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2162         getresuid and getresgid.
2163
2164         * sysdeps/unix/sysv/linux/getresuid.c: New file.
2165         * sysdeps/unix/sysv/linux/getresgid.c: New file.
2166
2167         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
2168         s_getres[ug]id.
2169
2170         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
2171         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2172         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2173         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
2174
2175 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
2176
2177         * nscd/grpcache.c: Include <stdlib.h>.
2178
2179 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
2180
2181         * stdlib/atoll.c: Fix comments.
2182
2183         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
2184         * sysdeps/posix/ttyname_r.c: Ditto.
2185
2186 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2187
2188         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
2189         __USE_MISC, independent of __USE_UNIX98.
2190
2191 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
2192
2193         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
2194         Rename from __libc_have_rt_sigs and leave as COMMON data.
2195
2196 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
2197
2198         * Makeconfig (CFLAGS-.os): Kill -fno-common.
2199         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
2200
2201         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
2202         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
2203         version symbols.
2204         * include/libc-symbols.h (symbol_version, default_symbol_version):
2205         Provide asm versions and correct !DO_VERSIONING versions.
2206         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
2207         the weak symbol list.
2208
2209         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
2210         Rename from __libc_have_rt_sigs and leave as COMMON data.
2211         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2212         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2213         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2214
2215 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2216
2217         * sunrpc/Makefile: Correct dependencies of rpcgen.
2218
2219 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
2220
2221         * nscd/Makefile: Fix test for available linuxthreads add-on.
2222         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2223
2224 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2225
2226         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
2227
2228 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2229
2230         * sysdeps/gnu/Makefile: Respect with-cvs variable.
2231
2232         * manual/errno.texi (Error Messages): Correct description of
2233         strerror_r.  Pointed out by jonas@bagge.se.
2234
2235 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2236
2237         * manual/socket.texi (Host Address Functions): Clarify description
2238         of inet_network.
2239
2240 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2241
2242         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
2243         (grantpt): Delete superfluous cast.
2244
2245 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2246
2247         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
2248         elf/ldso_install instead of elf/subdir_install.
2249         (elf/ldso_install): New target.
2250
2251         * elf/Makefile (ldso_install): New target.
2252
2253 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2254
2255         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
2256         of 1998-01-06.
2257
2258 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2259
2260         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
2261         constant expressions.
2262
2263 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2264
2265         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
2266         for __nss_configure_lookup.
2267         (output_hostent): Remove unused variable.
2268
2269 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2270
2271         * string/tst-inlcall.c: Fix format string.
2272
2273 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2274
2275         * inet/netinet/in.h: Rename second parameter of bindresvport to
2276         avoid buggy gcc warning. [PR libc/412]
2277
2278 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
2279
2280         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
2281         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
2282
2283         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
2284         Follow POSIX and make tv_sec a time_t.
2285         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
2286         new tv64 syscall as well as fall back to tv32.
2287         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2288         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2289         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2290         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2291         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2292         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2293         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2294         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
2295
2296         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
2297         * include/rpcsvc/nis_tags.h: Likewise.
2298         * include/rpcsvc/nislib.h: Likewise.
2299
2300 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
2301
2302         * libc.map: Add _h_errno.
2303         * inet/herrno.c: Make _h_errno weak alias.
2304
2305         * login/Makefile (distribute): Add pty-internal.h.
2306
2307         * nscd/Makefile (distribute): Add all the files missing.
2308
2309         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
2310         are available.
2311
2312         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
2313         and report status at the end.
2314
2315         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
2316
2317         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
2318         variable.
2319         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
2320         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
2321         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
2322
2323 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
2324
2325         * configure.in: Fix --enable-add-ons code.
2326
2327 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2328
2329         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
2330         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
2331         [PR libc/441]
2332
2333         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
2334         occurence in cache.  Reported by Rudolf Leitgeb
2335         <leitgeb@leland.stanford.edu>.
2336         [PR libc/440]
2337
2338 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
2339
2340         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
2341         that it never is EINTR (which is tested for in _IO_vfscanf).
2342
2343         * Makefile.in: Call sub-make with CVSOPTS.
2344
2345         * elf/Makefile (distribute): Add dl-procinfo.h.
2346
2347         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
2348
2349 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
2350
2351         * version.h (VERSION): Bump to 2.0.92.
2352
2353 1998-01-31  Phil Blundell  <philb@gnu.org>
2354
2355         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
2356         alias for __new_sys_siglist.
2357
2358 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
2359
2360         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
2361         getgrgid_r.c if thread package is available.
2362         * pwd/Makefile: Likewise.
2363         * grp/getgrnam_r.c: Remove USE_NSCD definition.
2364         * grp/getgrgid_r.c: Likewise.
2365         * pwd/getpwnam_r.c: Likewise.
2366         * pwd/getpwuid_r.c: Likewise.
2367
2368 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
2369
2370         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
2371         with error to allow user intervention.
2372         * nss/getXXent_r.c: Likewise.
2373
2374 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
2375
2376         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
2377         AT_PLATFORM string.  Pretty print AT_BASE info.
2378
2379         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
2380         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
2381         * sysdeps/generic/dl-procinfo.h: New file.
2382         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
2383
2384 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
2385
2386         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
2387
2388         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
2389         thread and not pthread_detach.
2390
2391         * nscd/nscd.c: Rewrite to use argp instead of getopt.
2392
2393 1998-01-31  Phil Blundell  <philb@gnu.org>
2394
2395         * configure.in: Add --without-cvs option to suppress automatic
2396         checkin of regenerated files.
2397         * config.make.in: Likewise.
2398         * Makefile: Respect with-cvs setting.
2399         * Makerules: Likewise.
2400
2401         * configure.in: Allow the standalone ARM port to be configured.
2402
2403 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2404
2405         * grp/getgrgid_r.c: Define USE_NSCD.
2406         * grp/getgrnam_r.c: Likewise.
2407         * pwd/getpwuid_r.c: Likewise.
2408         * pwd/getpwnam_r.c: Likewise.
2409
2410         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
2411
2412         * nss/getXXbyYY_r.c: Try at first nscd.
2413
2414         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
2415         * nscd/connections.c: New file.
2416         * nscd/dbg_log.c: New file.
2417         * nscd/dbg_log.h: New file.
2418         * nscd/grpcache.c: New file.
2419         * nscd/nscd.c: New file.
2420         * nscd/nscd.h: New file.
2421         * nscd/nscd_conf.c: New file.
2422         * nscd/nscd_stat.c: New file.
2423         * nscd/pwdcache.c: New file.
2424
2425         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
2426         * nscd/nscd_getpw_r.c: Likewise.
2427         * nscd/nscd_proto.h: New, prototypes for client functions.
2428
2429         * nscd/nscd.conf: New, example for a configuration file.
2430         * nscd/nscd.init: New, example for a startup script.
2431
2432         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
2433         avoid deadlocks.
2434         * nscd/getgrnam_r.c: Likewise.
2435         * nscd/getpwnam_r.c: Likewise.
2436         * nscd/getpwuid_r.c: Likewise.
2437
2438 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
2439
2440         * intl/Makefile: Use CVSOPTS in cvs invocation.
2441         * po/Makefile: Likewise.
2442         * posix/Makefile: Likewise.
2443         * stdlib/Makefile: Likewise.
2444
2445 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
2446
2447         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
2448         [PR libc/410]
2449         * misc/Makefile (tests): Add tst-efgcvt.
2450         * misc/tst-efgcvt.c: New file.
2451
2452 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
2453
2454         * posix/regex.c: Add some more cleanups by Akim Demaille.
2455
2456 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
2457
2458         * signal/signal.h: Revert last change.
2459         * string/strsignal.c: Regard signal number NSGI as illegal.
2460         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
2461         members.
2462
2463 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
2464
2465         * Makefile.in: Add comment about CVSOPTS Makefile variable.
2466         * Makerules: Use CVSOPTS in cvs invocation.
2467         * Makefile: Likewise.
2468         * MakeTAGS: Likewise.
2469         * Make-dist: Likewise.
2470
2471 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
2472
2473         * sysdeps/generic/memmem.c: Correct last change.
2474
2475 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
2476
2477         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
2478         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
2479
2480 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2481
2482         * nis/ypclnt.c: Try at first to use the binding file from ypbind
2483         before using RPC.
2484
2485 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2486
2487         * manual/memory.texi (Heap Consistency Checking): mcheck is
2488         declared in <mcheck.h>.
2489         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
2490
2491 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2492
2493         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
2494         beginning of haystack.
2495
2496 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2497
2498         * nss/nss_files/files-service.c: Correct last patch.
2499
2500 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
2501
2502         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
2503         __libc_have_rt_sigs.
2504         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
2505         including <bits/setjmp.h>.
2506         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
2507         Patch from the Debian glibc/SPARC package.
2508
2509 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
2510
2511         * sysdeps/alpha/bzero.S: Fix a typo.
2512         * sysdeps/alpha/htonl.S: Ditto.
2513         * sysdeps/alpha/htons.S: Ditto.
2514
2515 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2516
2517         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
2518
2519 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
2520
2521         * include/cpio.h: Move to ...
2522         * posix/cpio.h: ...here.
2523
2524         * locale/programs/ld-collate.c: Fix typo.
2525
2526         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
2527
2528         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
2529
2530         * login/utmp_file.c (pututline_file): Don't always report success
2531         if similar entry is found.  Patch by Mark M. Kettenis.
2532
2533 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
2534
2535         * manual/Makefile: Don't try to install the info files if makeinfo
2536         is not available.
2537
2538 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
2539
2540         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
2541         kernel's network ioctls, rather than using <linux/sockios.h> to
2542         get them.  This way we are sure of maintaining compatibility if
2543         the kernel interface should change.
2544
2545 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
2546
2547         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
2548
2549 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
2550
2551         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
2552         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
2553
2554 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2555
2556         Implement System V pseudoterminal handling.
2557
2558         * login/Makefile
2559         (routines): Add getpt, grantpt, unlockpt, ptsname.
2560         (libutil-routines): Remove pty. Add openpty, forkpty.
2561         (distribute): New internal header pty-internal.h.
2562         (others): Add the helper program, pt_chown.
2563         (install-others): Install it, in $(libexecdir), mode 4755.
2564
2565         * login/pty-internal.h: New file.
2566         * login/openpty.c: New file.
2567         * login/forkpty.c: New file.
2568         * login/programs/pt_chown.c: New file.
2569
2570         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
2571         * stdlib/stdlib.h: Prototype them.
2572
2573         * config.make.in: Define $(libexecdir).
2574         * Makeconfig: Define $(inst_libexecdir).
2575
2576         * sysdeps/generic/pty.c: Removed.
2577         * sysdeps/unix/sysv/linux/pty.c: Removed.
2578
2579         * sysdeps/generic/getpt.c: Stub out.
2580         * sysdeps/generic/grantpt.c: Likewise.
2581         * sysdeps/generic/ptsname.c: Likewise.
2582         * sysdeps/generic/unlockpt.c: Likewise.
2583
2584         * sysdeps/unix/grantpt.c: New file.
2585         * sysdeps/unix/bsd/getpt.c: New file.
2586         * sysdeps/unix/bsd/unlockpt.c: New file.
2587         * sysdeps/unix/sysv/linux/getpt.c: New file.
2588         * sysdeps/unix/sysv/linux/ptsname.c: New file.
2589         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
2590
2591 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
2592
2593         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
2594
2595 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2596
2597         * nss/Makefile (tests): Add rule for test-netdb.c.
2598
2599         * nss/test-netdb.c: New file.
2600
2601 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
2602
2603         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
2604         really kept as a variable.  Patch by Richard Henderson,
2605         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
2606
2607         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
2608         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
2609         entries as not existing.
2610
2611 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2612
2613         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
2614         zero in alternate form with precision of zero, which must produce
2615         "0".  Add braces to avoid ambiguous `else'.
2616
2617 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2618
2619         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
2620         problem with strncpy.
2621         * nis/nss_compat/compat-pwd.c: Likewise.
2622         * nis/nss_compat/comapt-spwd.c: Likewise.
2623
2624 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2625
2626         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
2627         by uch@nop.or.jp. [PR libc/437]
2628
2629 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2630
2631         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
2632
2633 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2634
2635         * stdio-common/test-popen.c: Include <errno.h>.
2636
2637         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
2638         close.
2639
2640         * inet/getnetgrent_r.c: Include <errno.h>.
2641
2642         * db2/db/db_conv.c: Include <string.h> for memcpy.
2643
2644         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
2645         so that memcpy is declared.
2646
2647         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
2648
2649         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
2650
2651 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2652
2653         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
2654         overflow while reading line with fgets.
2655         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
2656
2657 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
2658
2659         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
2660         unsigned short, not short.
2661         Reported by Andreas Jaeger.
2662
2663 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2664
2665         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
2666         (ccept->accept).
2667
2668         * sysdeps/generic/inttypes.h: Fix spelling.
2669
2670 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2671
2672         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
2673
2674         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
2675
2676 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
2677
2678         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
2679         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
2680         field for hh modifier.
2681         * stdio-common/vfprint.c: Use is_char field and do not depend in
2682         is_short having the value 2.
2683         Bug reported by Andreas Jaeger.
2684
2685 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2686
2687         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
2688         PIC && DO_VERSIONING.
2689
2690 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2691
2692         * Rules: Add rules for $(common-objpfx)dummy$o.
2693
2694 1998-01-26  Richard Henderson  <rth@cygnus.com>
2695
2696         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
2697         unimplemented OSF/1 definitions so that they are not accidentally seen.
2698
2699         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
2700         of the trampoline function into the macro.
2701         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
2702         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
2703         kernel 2.1.82 has this fixed.
2704
2705         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
2706         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
2707
2708 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
2709
2710         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
2711         support sigaction on kernels > 2.1.7x.
2712
2713 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
2714
2715         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
2716         if it is empty.
2717
2718         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
2719         Patch by David Engel <david@sw.ods.com>.
2720
2721         * configure.in: Fix another typo in --enable-add-ons code.
2722
2723 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
2724
2725         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
2726
2727 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2728
2729         * nss/nss_files/files-network.c: Correct order of parameters for
2730         getnetbyaddr.
2731
2732 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
2733
2734         * db2/Makefile (routines): Add os_alloc.
2735         * db2/db.h: Update from db-2.3.16.
2736         * db2/db_185.h: Likewise.
2737         * db2/db_int.h: Likewise.
2738         * db2/btree/bt_close.c: Likewise.
2739         * db2/btree/bt_cursor.c: Likewise.
2740         * db2/btree/bt_delete.c: Likewise.
2741         * db2/btree/bt_open.c: Likewise.
2742         * db2/btree/bt_page.c: Likewise.
2743         * db2/btree/bt_put.c: Likewise.
2744         * db2/btree/bt_rec.c: Likewise.
2745         * db2/btree/bt_recno.c: Likewise.
2746         * db2/btree/btree_auto.c: Likewise.
2747         * db2/common/db_appinit.c: Likewise.
2748         * db2/common/db_apprec.c: Likewise.
2749         * db2/common/db_err.c: Likewise.
2750         * db2/common/db_region.c: Likewise.
2751         * db2/common/db_shash.c: Likewise.
2752         * db2/db/db.c: Likewise.
2753         * db2/db/db_auto.c: Likewise.
2754         * db2/db/db_conv.c: Likewise.
2755         * db2/db/db_dispatch.c: Likewise.
2756         * db2/db/db_dup.c: Likewise.
2757         * db2/db/db_pr.c: Likewise.
2758         * db2/db/db_rec.c: Likewise.
2759         * db2/db185/db185.c: Likewise.
2760         * db2/dbm/dbm.c: Likewise.
2761         * db2/hash/hash.c: Likewise.
2762         * db2/hash/hash_auto.c: Likewise.
2763         * db2/hash/hash_dup.c: Likewise.
2764         * db2/hash/hash_page.c: Likewise.
2765         * db2/hash/hash_rec.c: Likewise.
2766         * db2/include/btree_ext.h: Likewise.
2767         * db2/include/clib_ext.h: Likewise.
2768         * db2/include/common_ext.h: Likewise.
2769         * db2/include/db.h.src: Likewise.
2770         * db2/include/db_185.h.src: Likewise.
2771         * db2/include/db_am.h: Likewise.
2772         * db2/include/db_ext.h: Likewise.
2773         * db2/include/db_int.h.src: Likewise.
2774         * db2/include/hash_ext.h: Likewise.
2775         * db2/include/lock_ext.h: Likewise.
2776         * db2/include/log.h: Likewise.
2777         * db2/include/log_auto.h: Likewise.
2778         * db2/include/log_ext.h: Likewise.
2779         * db2/include/mp.h: Likewise.
2780         * db2/include/mp_ext.h: Likewise.
2781         * db2/include/mutex_ext.h: Likewise.
2782         * db2/include/os_ext.h: Likewise.
2783         * db2/include/os_func.h: Likewise.
2784         * db2/include/txn_ext.h: Likewise.
2785         * db2/lock/lock.c: Likewise.
2786         * db2/lock/lock_util.c: Likewise.
2787         * db2/log/log.c: Likewise.
2788         * db2/log/log.src: Likewise.
2789         * db2/log/log_archive.c: Likewise.
2790         * db2/log/log_auto.c: Likewise.
2791         * db2/log/log_get.c: Likewise.
2792         * db2/log/log_put.c: Likewise.
2793         * db2/log/log_rec.c: Likewise.
2794         * db2/log/log_register.c: Likewise.
2795         * db2/mp/mp_bh.c: Likewise.
2796         * db2/mp/mp_fget.c: Likewise.
2797         * db2/mp/mp_fopen.c: Likewise.
2798         * db2/mp/mp_fput.c: Likewise.
2799         * db2/mp/mp_pr.c: Likewise.
2800         * db2/mp/mp_sync.c: Likewise.
2801         * db2/mutex/mutex.c: Likewise.
2802         * db2/os/os_alloc.c: Likewise.
2803         * db2/os/os_config.c: Likewise.
2804         * db2/os/os_stat.c: Likewise.
2805         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2806         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2807         * db2/progs/db_load/db_load.c: Likewise.
2808         * db2/progs/db_printlog/db_printlog.c: Likewise.
2809         * db2/progs/db_recover/db_recover.c: Likewise.
2810         * db2/progs/db_stat/db_stat.c: Likewise.
2811         * db2/txn/txn.c: Likewise.
2812
2813         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
2814         Unmap memory blocks in reverse order of allocation.
2815         Call munmap with load address added to offset.
2816         Bug reported by Miguel de Icaza.
2817
2818         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
2819         up weight array.
2820
2821         * localedata/locales/cs_CZ: Update by Michael Mraka
2822         <michael@informatics.muni.cz>.
2823
2824         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
2825         __USE_BSD.
2826
2827         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
2828         reading line with fgets.
2829         * nis/nss_compat/compat-pwd.c: Likewise.
2830         * nis/nss_compat/compat-spwd.c: Likewise.
2831         * nss/nss_files/files-XXX.c: Likewise.
2832         * nss/nss_files/files-alias.c: Likewise.
2833         * shadow/fgetspent_r.c: Likewise.
2834
2835         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
2836
2837         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
2838         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2839         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2840
2841         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
2842         FP register content in ucontext_t.
2843
2844 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2845
2846         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
2847         calculation.  Patch by Markus Schoder
2848         <Markus.Schoder@dresdner-bank.de>.
2849
2850         * math/libm-test.c (modf_test): Add more tests for modf.
2851
2852         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
2853         munlock according to Unix98.
2854
2855 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2856
2857         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
2858         AF_INET.
2859
2860 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
2861
2862         * sysdeps/posix/ttyname.c: Handle symbolic links.
2863         * sysdeps/posix/ttyname_r.c: Ditto.
2864
2865 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
2866
2867         * db2/makedb.c (process_input): Write terminating \0 for value.
2868         (print_database): Simply print value string, don't use length.
2869
2870 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2871
2872         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
2873         exit of loop.
2874
2875 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2876
2877         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
2878         close all sockets.
2879
2880 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
2881
2882         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
2883         sigset.
2884         * signal/sighold.c: New file.
2885         * signal/sigrelse.c: New file.
2886         * sysdeps/generic/sigignore.c: New file.
2887         * sysdeps/generic/sigset.c: New file.
2888         * sysdeps/posix/sigignore.c: New file.
2889         * sysdeps/posix/sigset.c: New file.
2890         * signal/signal.h: Add prototypes for new functions.
2891
2892         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
2893         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
2894         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
2895         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
2896
2897 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
2898
2899         * posix/wordexp.c: Added IFS field-splitting in parameter and
2900         command substitution.  Fixed an IFS-related bug that caused an
2901         infinite loop.
2902
2903 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
2904
2905         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
2906         and swapcontext.
2907         * stdlib/ucontext.h: Correct prototypes.
2908         * sysdeps/generic/getcontext.c: New file.
2909         * sysdeps/generic/setcontext.c: New file.
2910         * sysdeps/generic/makecontext.c: New file.
2911         * sysdeps/generic/swapcontext.c: New file.
2912         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
2913
2914 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
2915
2916         * resource/sys/resource.h: Remove #include of ulimit.h which is
2917         not allowed by SUSv2 and not available on other systems.
2918         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
2919
2920         * streams/Makefile: New file.
2921         * streams/stropts.h: New file.
2922         * sysdeps/generic/bits/stropts.h: New file.
2923         * sysdeps/generic/isastream.c: New file.
2924         * sysdeps/generic/getmsg.c: New file.
2925         * sysdeps/generic/getpmsg.c: New file.
2926         * sysdeps/generic/putmsg.c: New file.
2927         * sysdeps/generic/putpmsg.c: New file.
2928         * sysdeps/generic/fattach.c: New file.
2929         * sysdeps/generic/fdetach.c: New file.
2930         * sysdeps/unix/inet/Subdirs: Add streams.
2931         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
2932         __t_uscalar_t.
2933         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2934         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2935         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2936         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
2937
2938         * sysdeps/mach/_strerror.c: Follow changes of generic version to
2939         handle small buffers correctly.
2940
2941 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
2942
2943         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
2944         Remove the 3rd arg and add declaration for _dl_runtime_resolve
2945         and _dl_runtime_profile.
2946
2947 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
2948
2949         * include/cpio.h: New file.  Mainly copied from GNU cpio.
2950         * posix/Makefile (headers): Add cpio.h.
2951
2952 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2953
2954         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
2955         to routines.
2956         * nis/nis_cache.c: New file.
2957         * nis/nis_cache2.h: New file.
2958         * nis/nis_cache2_xdr.c: New file.
2959         * nis/nis_call.c: Changes for cache2_info parameter.
2960         * nis/nis_checkpoint.c: Likewise.
2961         * nis/nis_intern.h: Likewise.
2962         * nis/nis_mkdir.c: Likewise.
2963         * nis/nis_ping.c: Likewise.
2964         * nis/nis_rmdir.c: Likewise.
2965         * nis/nis_server.c: Likewise.
2966         * nis/nis_util.c: Likewise.
2967
2968 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2969
2970         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
2971         return/errnop codes.
2972         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2973         * nis/nss_nisplus/nisplus-grp.c: Likewise.
2974         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2975         * nis/nss_nisplus/nisplus-proto.c: Likewise.
2976         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
2977         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2978         * nis/nss_nisplus/nisplus-rpc.c: Likewise
2979         * nis/nss_nisplus/nisplus-service.c: Likewise.
2980         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2981
2982 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2983
2984         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
2985         * nis/nss_nis/nis-ethers.c: Likewise.
2986         * nis/nss_nis/nis-grp.c: Likewise.
2987         * nis/nss_nis/nis-hosts.c: Likewise.
2988         * nis/nss_nis/nis-network.c: Likewise.
2989         * nis/nss_nis/nis-proto.c: Likewise.
2990         * nis/nss_nis/nis-hosts.c: Likewise.
2991         * nis/nss_nis/nis-network.c: Likewise.
2992         * nis/nss_nis/nis-proto.c: Likewise.
2993         * nis/nss_nis/nis-publickey.c: Likewise.
2994         * nis/nss_nis/nis-pwd.c: Likewise.
2995         * nis/nss_nis/nis-rpc.c: Likewise.
2996         * nis/nss_nis/nis-service.c: Likewise.
2997         * nis/nss_nis/nis-spwd.c: Likewise.
2998
2999 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
3000
3001         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
3002         Added to follow latest kernel development.
3003
3004 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
3005
3006         * nss/db-Makefile: Handle empty and comment lines better.
3007         ($(VAR_DB)/services.db): Generate entries with missing protocol
3008         value.
3009
3010 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3011
3012         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
3013           NULL.
3014           (getservbyname): Allow proto == NULL.
3015           Pointed out by David N. Welton <davidw@gate.cks.com>.
3016           [PR libc/430].
3017
3018 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
3019
3020         * nis/nislib/nislib.h: Finally removed.
3021
3022         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
3023         C compiler.  From Kaveh Ghazi.
3024         (TYPE_MINIMUM): Define.
3025         (TYPE_MAXIMUM): Define.
3026         (TIME_T_MIN): Use TYPE_MINIMUM.
3027         (TIME_T_MAX): Use TYPE_MAXIMUM.
3028         Patch by Jim Meyering <meyering@ascend.com>.
3029
3030 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
3031
3032         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
3033         __pread64, __pwrite64, and __getpid.
3034
3035         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
3036         versions.
3037
3038 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3039
3040         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
3041         cancelable socket functions as __libc_xxx with __xxx as weak
3042         alias.
3043         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3044         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3045
3046         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
3047         redefined.
3048         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3049         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
3050         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
3051         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3052
3053         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
3054         and __xxx a weak alias.
3055         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3056         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3057         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3058         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3059         * sysdeps/unix/sysv/linux/send.S: Likewise.
3060         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3061         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3062
3063 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3064
3065         * locale/langinfo.h: Add defines.
3066
3067         * dirent/dirent.h: Add defines for DT_*, check also for
3068         _DIRENT_HAVE_D_TYPE.
3069         Suggested by Roland McGrath.
3070
3071 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3072
3073         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
3074         Update from Linux 2.1.73+79.
3075
3076         * README.template: Update information about possible
3077         configurations.
3078
3079         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
3080         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
3081         [PR libc/417].
3082
3083         * manual/time.texi (Priority): Correct description of
3084         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
3085         [PR libc/416].
3086
3087 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
3088
3089         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
3090         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
3091
3092 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
3093
3094         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
3095         Andreas Jaeger.
3096
3097 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
3098
3099         * locale/programs/ld-collate.c: Little optimizations.
3100
3101         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
3102
3103         * string/Makefile (tests): Add tst-inlcall.
3104         * string/tst-inlcall.c: New file.
3105
3106         * string/strsignal.c: Add support for real-time signals.
3107
3108         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
3109         presense of small buffer.
3110
3111         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
3112
3113         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
3114         for i686.
3115
3116         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
3117         _NSIG + 1.
3118
3119 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
3120
3121         * Rules: Add explicit rule for dummy.o; at least one library needs
3122           it and it isn't autogenerated by the default rules.
3123
3124 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3125
3126         * math/libm-test.c: Tweak epsilons.
3127
3128 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3129
3130         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
3131         child.
3132         (feenv_mask_test): Likewise.
3133
3134 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3135
3136         * Makeconfig: Don't export CPPFLAGS.
3137
3138 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3139
3140         * sunrpc/rpc_main.c (parseargs): Use perror to print error
3141         message.
3142
3143 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3144
3145         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
3146         terminating null in key size.
3147
3148 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3149
3150         * nss/nss_files/files-service.c: Fix allocation size to include
3151         length of PROTO.
3152
3153         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
3154         applicable.  Fix return value and error checking.
3155         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
3156         unparsable lines.
3157         (DB_LOOKUP): Allocate space for terminating null byte.
3158
3159         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
3160         uids specially.
3161
3162         * db2/makedb.c (process_input): Continue processing if a duplicate
3163         key is encountered.
3164
3165 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
3166
3167         * time/tzfile.h: Updated from tzcode1998b.
3168         * time/zdump.c: Likewise.
3169         * time/zic.c: Likewise.
3170         * time/africa: Update from tzdata1998b.
3171         * time/antarctica: Likewise.
3172         * time/asia: Likewise.
3173         * time/australasia: Likewise.
3174         * time/etcetera: Likewise.
3175         * time/europe: Likewise.
3176         * time/leapseconds: Likewise.
3177         * time/northamerica: Likewise.
3178         * time/southamerica: Likewise.
3179
3180 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3181
3182         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
3183         lookups ignoring case.
3184         * nss/nss_files/files-network.c: Do network lookups ignoring
3185         case.
3186         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
3187         case.
3188         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
3189         case insensitive comparing.
3190         Patches by Cristian Gafton <gafton@redhat.com>.
3191
3192 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3193
3194         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
3195         by Roland McGrath. [PR libc/395]
3196
3197 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3198
3199         * manual/arith.texi (Parsing of Integers): Correct description of
3200         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
3201         [PR libc/396]
3202
3203 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
3204
3205         * misc/lsearch.c (lsearch): Return a pointer to the new element
3206         if one was "allocated".
3207
3208 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3209
3210         * string/strsignal.c: NSIG is not a valid index into
3211         _sys_siglist.  Don't zap the last character of the "Unknown
3212         signal" message.
3213
3214 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
3215
3216         * locale/programs/charmap.c (parse_charmap): Correct parsing of
3217         ellipsis expressions.
3218
3219         * locale/programs/charset.c (insert_char): Correctly insert value
3220         of eliipsis expression.
3221
3222 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
3223
3224         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
3225         <bits/setjmp.h>.
3226         * sysdeps/powerpc/setjmp.S: Likewise.
3227         Patches by Matt McLean <keys@keys.got.net>.
3228
3229         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
3230
3231         * Makefile: Undo last patch.
3232         (distribute): Add test-installation.pl.
3233
3234         * configure.in: Correct handling of --enable-add-ons without parameter.
3235         Correct address of WWW pages.
3236
3237         * libc.map: Add _nl_domain_bindings.
3238
3239         * db2/mutex/tsl_parisc.s: New file.
3240
3241         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
3242         and extra-module.mk.
3243
3244         * localedata/Makefile (distribute): New.  Add all the files.
3245
3246         * stdlib/Makefile (headers): Add inttypes.h.
3247         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
3248         * sysdeps/generic/inttypes.h: New file.
3249         * sysdeps/generic/strtoimax.c: New file.
3250         * sysdeps/generic/strtoumax.c: New file.
3251         * sysdeps/generic/wcstoimax.c: New file.
3252         * sysdeps/generic/wcstoumax.c: New file.
3253         * sysdeps/wordsize-32/Dist: Removed.
3254         * sysdeps/wordsize-32/Makefile: Removed.
3255         * sysdeps/wordsize-64/Dist: Removed.
3256         * sysdeps/wordsize-64/Makefile: Removed.
3257         * sysdeps/generic/bits/environments.h: New file.
3258
3259         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
3260         header is still not correct.
3261
3262         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
3263         * posix/unistd.h: Likewise.
3264         * sysdeps/generic/sys/mman.h: Likewise.
3265         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
3266
3267         * manual/arith.texi: Change definition of mul macro.
3268         * manual/math.texi: Likewise.
3269
3270         * misc/Makefile (routines): Add mmap64.
3271         * sysdeps/generic/mmap64.c: New file.
3272         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
3273         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
3274         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
3275         aliases to mmap.
3276         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3277
3278         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
3279
3280         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
3281
3282         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
3283
3284         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
3285         FOPEN_MAX also when included by limits.h.
3286         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
3287
3288         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
3289         and netrom/netrom.h.
3290         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
3291         oldsiglist to sysdep_routines, not aux.
3292         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
3293
3294         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
3295         and SOL_NETROM definition.
3296
3297         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
3298
3299         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
3300         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
3301
3302 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
3303
3304         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
3305
3306         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
3307         sa_handler with k_sa_handler.
3308         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
3309         strong alias.
3310         Reported by a sun.
3311
3312         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
3313         __libc_have_rt_sigs here.
3314         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
3315         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3316         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
3317         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3318
3319 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
3320
3321         * sysdeps/powerpc/atomicity.h: New file.
3322         * sysdeps/mach/powerpc/machine-lock.h: New file.
3323
3324         * Rules: Use -fpic to build anything that might end up in a users'
3325         shared library.
3326
3327         * sysdeps/powerpc/s_fdim.c: New file.
3328         * sysdeps/powerpc/s_fdimf.c: New file.
3329         * sysdeps/powerpc/s_fmax.S: New file.
3330         * sysdeps/powerpc/s_fmaxf.S: New file.
3331         * sysdeps/powerpc/s_fmin.S: New file.
3332         * sysdeps/powerpc/s_fminf.S: New file.
3333         * sysdeps/powerpc/s_llrint.c: Now is for double.
3334         * sysdeps/powerpc/s_llrintf.c: New file.
3335         * sysdeps/powerpc/s_llround.c: Now is for double.
3336         * sysdeps/powerpc/s_llroundf.c: New file.
3337         * sysdeps/powerpc/s_lrint.c: Now is for double.
3338         * sysdeps/powerpc/s_lrintf.S: New file.
3339         * sysdeps/powerpc/s_lround.c: Now is for double.
3340         * sysdeps/powerpc/s_lroundf.c: New file.
3341         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
3342         lrintf, fdim, fdimf.
3343
3344         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
3345         file directly, use its parent.
3346
3347         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
3348         (for the third time).
3349
3350 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
3351
3352         * posix/sched.h: timespec is in <time.h>.
3353
3354         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
3355
3356 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
3357
3358         * configure.in: Stop with error if --disable-static is used when
3359         the shared lib uses this library.
3360
3361         * gen-FAQ.pl: I've perl installed in /usr/bin.
3362
3363         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
3364
3365         Fix Unix98 conformance problems in the headers.
3366         * catgets/nl_types.h: Define nl_item.
3367         * grp/grp.h: Define gid_t.
3368         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
3369         * include/nl_types.h: New file.
3370         * include/ulimit.h: New file.
3371         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
3372         constants in POSIX mode.
3373         * io/utime.h: Get definition for time_t.
3374         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
3375         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
3376         * libio/stdio.h: Define va_list.  Make snprintf also available is
3377         __USE_UNIX98.  Declare getopt function and variables.
3378         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
3379         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
3380         * math/math.h: Defined M_* constants as double for Unix98 mode.
3381         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
3382         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
3383         * posix/regex.h: Define REG_NOSYS.
3384         * posix/wordexp.h: Define WRDE_NOSYS.
3385         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
3386         500 for Unix98.
3387         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
3388         somewhere else as well.  Define clock_t for Unix98.
3389         * posix/sys/wait.h: Define pid_t.
3390         * pwd/pwd.h: Define gid_t, uid_t.
3391         * resource/Makefile (headers): Add ulimit.h.
3392         * resource/ulimit.h: New file.
3393         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
3394         instead of second argument.
3395         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
3396         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
3397         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
3398         * signal/signal.h: Define pid_t.
3399         * string/string.h: Don't declare BSD string functions in POSIX mode.
3400         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
3401         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
3402         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
3403         and POSIX.
3404
3405         * inet/test_ifindex.c: Change test so that it does not fail for
3406         interface aliases.
3407
3408         * locale/programs/locale.c (show_info): Use correct cast sequence
3409         for 64bit machines.
3410
3411         * malloc/malloc.c: __malloc_initialized now signals three states:
3412         uninitialized, initializing, initialized.  Used in mcheck.
3413         * malloc/mcheck.c (mabort): Add '\n' to messages.
3414         (mcheck): Allow installation when malloc is uninitialized or is
3415         just initializing.
3416
3417         * manual/memory.texi: Explain mtrace output a bit more.
3418
3419         * math/libm-test.c: Add more epsilons.
3420
3421         * misc/regexp.h (compile): Remove __ prefix from parameter names.
3422
3423         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
3424         instead of strcpy for security.
3425         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
3426         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
3427         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
3428
3429         * nss/digits_dots.c: Pretty print.
3430
3431         * posix/getconf.c (vars): Add symbols for programming environment
3432         recognition.  Recognize --version.
3433
3434         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
3435         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
3436         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
3437
3438         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
3439         __need_FOPEN_MAX.
3440         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
3441         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
3442         __need_FOPEN_MAX.
3443
3444         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
3445         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
3446
3447         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
3448         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3449         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
3450         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
3451         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3452         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
3453
3454         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
3455         SCNu*.
3456         * sysdeps/wordsize-64/inttypes.h: Likewise.
3457
3458         * time/africa: Update from tzdata1997j.
3459         * time/antarctica: Likewise.
3460         * time/asia: Likewise.
3461         * time/australasia: Likewise.
3462         * time/backward: Likewise.
3463         * time/etcetera: Likewise.
3464         * time/europe: Likewise.
3465         * time/factory: Likewise.
3466         * time/northamerica: Likewise.
3467         * time/pacificnew: Likewise.
3468         * time/southamerica: Likewise.
3469
3470         * time/tzfile.h: Update from tzcode1997h.
3471         * time/zic.c: Likewise.
3472
3473         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
3474         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
3475         isw*() functions for Unix98.
3476         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
3477         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
3478         is defined.
3479
3480 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3481
3482         * locale/duplocale.c: Increase usage_count only if less than
3483         MAX_USAGE_COUNT.
3484         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
3485         MAX_USAGE_COUNT.
3486         * locale/setlocale.c: Likewise.
3487
3488 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3489
3490         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
3491         dependency to make it easier to install it selectively.
3492
3493         * Makerules (.SUFFIXES): Don't define any suffixes.
3494
3495 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3496
3497         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
3498         * sysdeps/generic/statfs64.c: Emulate using statfs.
3499         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
3500         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
3501         * sysdpes/generic/ftruncate64.c: New file.
3502         * sysdpes/generic/truncate64.c: New file.
3503
3504         * sysdeps/generic/bits/stat.h: Add LFS support.
3505         * sysdeps/generic/bits/statfs.h: Likewise.
3506
3507         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
3508         [__USE_FILE_OFFSET64]: Make long long constant.
3509         (RLIM64_INFINITY): Likewise.
3510
3511         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
3512         for LFS support.
3513         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
3514         * sysdeps/generic/bits/resource.h: Likewise.
3515
3516         * misc/Makefile (routines): Add truncate64 and ftruncate64.
3517
3518         * include/features.h: Don't prevent LFS support from defining BSD
3519         and SYSV things.
3520
3521         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
3522         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
3523         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
3524
3525         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
3526         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
3527         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3528
3529         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
3530         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
3531         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
3532         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
3533         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
3534         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
3535         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
3536         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
3537         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
3538         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
3539         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
3540         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
3541         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
3542         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
3543         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
3544         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
3545         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
3546         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
3547         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
3548         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
3549
3550         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
3551         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
3552         * sysdeps/unix/sysv/linux/xstat64.c: New file.
3553         * sysdeps/unix/sysv/linux/readdir64.c: New file.
3554         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
3555
3556         * sysdeps/unix/sysv/linux/getdents64.c: New file.
3557         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
3558         [$(subdir)=dirent]: Add getdents64.
3559         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
3560
3561         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
3562
3563 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
3564
3565         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
3566
3567         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
3568         * sysdeps/generic/getrlimit64.c: Likewise.
3569         * sysdeps/generic/setrlimit.c: Likewise.
3570         * sysdeps/generic/setrlimit64.c: Likewise.
3571
3572 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
3573
3574         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
3575         using versioning.
3576
3577         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
3578
3579         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
3580
3581 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3582
3583         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
3584         after the codeset name.
3585
3586 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3587
3588         * libc.map: Add get_kernel_syms.
3589
3590 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3591
3592         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
3593         static.
3594         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
3595         Likewise.  Fix condition.
3596
3597 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3598
3599         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
3600
3601 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3602
3603         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
3604         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
3605
3606 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3607
3608         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
3609         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
3610         instead.  Oops.
3611
3612 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3613
3614         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
3615
3616 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3617
3618         * math/libm-test.c (catanh_test): Change epsilon.
3619         Reported by H.J. Lu.
3620
3621 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
3622
3623         * libc.map (__getpid): Added for linuxthreads.
3624
3625 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
3626
3627         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
3628         it if gcc uses static variable in DWARF2 unwind information
3629         for exception support.
3630
3631         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
3632
3633         * elf/soinit.c (__libc_global_ctors, _fini): Handle
3634         HAVE_DWARF2_UNWIND_INFO_STATIC.
3635
3636         * libc.map (__register_frame*, __deregister_frame*): Make them
3637         global.
3638
3639 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3640
3641         * math/libm-test.c: Add more tests for "normal" values.
3642
3643 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3644
3645         * stdio-common/printf_fphex.c: Fix printing of long double number
3646         with a biased exponent of zero.  Fix rounding.
3647
3648 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3649
3650         * sunrpc/rpc_main.c: Accept new flag -$.
3651         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
3652
3653 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3654
3655         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
3656         dynamic linker first, in case the interface has changed.
3657
3658 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3659
3660         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
3661         order.
3662
3663 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3664
3665         * math/tgmath.h: Check for double first, for architectures where
3666         sizeof (long double) == sizeof (double).
3667
3668 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3669
3670         * math/libm-test.c: New tests for "normal" values added for most
3671         functions.
3672
3673 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
3674
3675         * version.h (VERSION): Bump to 2.0.91.
3676
3677         * db2/makedb.c (process_input): Fix typo in message.
3678         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
3679
3680         * elf/dynamic-link.h: Pretty print.
3681
3682         * elf/rtld.c: Allow multiple preloading of a shared object.
3683
3684         * include/limits.h: Prevent multiple inclusion.
3685
3686         * malloc/Makefile (headers): Add mcheck.h.
3687         (distribute): Remove it here.
3688         * malloc/mcheck.h: Pretty print.
3689         * malloc/mtrace.c (mallenv): Make `const'.
3690         * malloc/mtrace.pl: Don't print table head for memory leaks if there
3691         are none.
3692         * manual/memory.texi: Update descriptor of malloc hooks.
3693
3694         * posix/Makefile (routines): Add waitid.
3695         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
3696         on __id_t.
3697         * posix/sys/wait.h: Define idtype_t type.
3698         Add prototype for waitid.
3699         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
3700         * sysdeps/generic/waitid.c: Stub for waitid.
3701         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
3702         the __need_siginfo_t defined.
3703         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
3704         * sysdeps/generic/bits/types.h: Define __id_t.
3705         Correct definition of __FDMASK.
3706         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3707         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3708         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
3709
3710         * sysdeps/posix/waitid.c: New file.
3711         Provided by Zack Weinberg.
3712
3713         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
3714
3715         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
3716         Add missing parameters.
3717
3718         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
3719         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
3720         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
3721         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
3722         initialized.
3723
3724         * sysdeps/i386/dl-machine.h: Little cleanup.
3725
3726         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
3727         (__finite): Mark function as const.
3728         Add inline code for __ieee754_atan2.
3729
3730         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
3731         (but don't use it now).
3732         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
3733         __atan.
3734         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
3735         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
3736         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
3737         real part.
3738         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
3739         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
3740         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
3741         __ieee754_atan2 to base 10.
3742         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
3743         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
3744
3745         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
3746         old_kernel_sigaction.
3747
3748         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
3749
3750         * wctype/Makefile (routines): Add wctype_l.
3751         * wctype/wctype.h: Add declaration of __wctype_l.
3752         * wctype/wctype_l.c: New file.
3753
3754 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
3755
3756         * locale/C-ctype.c: Correct data for isw* functions.
3757         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
3758         byte order.
3759         * wctype/test_wctype.c: Add test for isw* functions.
3760         * wctype/wctype.c: Return value with expected byte order.
3761
3762 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3763
3764         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
3765
3766 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
3767
3768         * iconvdata/Makefile: Fix a typo.
3769
3770         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
3771         oldsiglist for shared library.
3772
3773         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
3774         sys_sigabbrev): Make them as the default version GLIBC_2.1.
3775
3776         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
3777         sys_siglist, sys_sigabbrev): New file. Make them as the old
3778         version GLIBC_2.0.
3779
3780         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
3781         to GLIBC_2.1.
3782
3783 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
3784
3785         * libio/iofgets.c (_IO_fgets): Return an error only if there
3786         is a new error.
3787         * libio/iogets.c (_IO_gets): Ditto.
3788
3789 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
3790
3791         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
3792
3793         * libio/Makefile (routines, shared-only-routines): Add
3794         oldiofdopen.
3795
3796         * libio/fileops.c: Don't use _IO_FILE_complete.
3797         * libio/iofdopen.c: Ditto.
3798         * libio/iofopen.c: Ditto.
3799         * libio/iofopen64.c: Ditto.
3800         * libio/iopopen.c: Ditto.
3801         * libio/iovdprintf.c: Ditto.
3802
3803         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
3804
3805         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
3806         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
3807
3808         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
3809         _IO_old_fdopen, _IO_new_fdopen): New declaration.
3810
3811         * libio/libio.h (_IO_FILE): Add more fields.
3812         (_IO_FILE_complete): Defined and make _IO_FILE be the old
3813         one if _IO_USE_OLD_IO_FILE is defined
3814         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
3815         them _IO_FILE_complete.
3816
3817         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
3818         to adjust vtable.
3819         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
3820         _IO_JUMPS.
3821         (_IO_FILE_complete): Commented out.
3822
3823         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
3824         * libio/oldiofclose.c: Ditto.
3825         * libio/oldiofopen.c: Ditto.
3826         * libio/oldstdfiles.c: Ditto.
3827
3828         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
3829         for the old _IO_FILE.
3830
3831         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
3832         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
3833         and stderr.
3834
3835         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
3836         and remove INAME.
3837
3838         * libio/stdio.c (stdin, stdout, stdin): Don't use
3839         _IO_FILE_complete.
3840
3841         * libio/oldiofdopen.c: New.
3842
3843         * stdio-common/vfprintf.c (buffered_vfprintf): Set
3844         hp->_vtable_offset to 0.
3845
3846 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
3847
3848         * libc.map (_IO_file_open): Added.
3849
3850         * libio/libioP.h (_IO_file_open): Declared.
3851
3852         * libio/fileops.c (_IO_file_open): New.
3853         (_IO_file_fopen): Call _IO_file_open ().
3854
3855         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
3856         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
3857
3858 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3859
3860         * signal/signal.h: Fix selection of signal semantics to match
3861         comment.
3862
3863 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3864
3865         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
3866         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
3867         rt_sigreturn.
3868         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
3869         [$(subdir)=signal]: Remove rt_sigreturn.
3870         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
3871         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
3872         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
3873
3874 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3875
3876         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
3877         declarations.
3878
3879 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3880
3881         * iconvdata/extra-module.mk: Expand extra-objs now.
3882
3883 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3884
3885         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
3886         inline functions by feature tests to avoid warning about missing
3887         prototype declarations.
3888
3889 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3890
3891         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
3892         return code for non existent +name entries.
3893         * nis/nss_compat/compat-pwd.c: Likewise.
3894         * nis/nss_compat/compat-spwd.c: Likewise.
3895
3896 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
3897
3898         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
3899         (EIO): Likewise.
3900         (ENOSPC): Likewise.
3901         (EEXIST): Likewise.
3902         (__errno_location): Likewise.
3903
3904         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
3905
3906         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
3907
3908 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3909
3910         * sunrpc/publickey.c: Use new NSS interface.
3911
3912 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
3913
3914         * manual/malloc.texi: Document mtrace/muntrace and the concept.
3915
3916 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3917
3918         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
3919         value, to match spirit of the standard.
3920         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
3921         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
3922         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
3923
3924 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3925
3926         * manual/signal.texi (Signal Stack): Remove spurious @item.
3927
3928 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3929
3930         * rt/aio.h: Remove double semicolon.
3931
3932         * rt/librt.map: Add aio_init.
3933
3934 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
3935
3936         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
3937         * Makefile (subdirs): Replace rt by $(rt).
3938
3939         * shlib-versions: Use version .2 for NSS modules.
3940
3941         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
3942         argument.
3943         * pwd/fgetpwent_r.c: Likewise.
3944         * spwd/fgetspent_r.c: Likewise.
3945         * spwd/sgetspent_r.c: Likewise.
3946         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
3947         Store error number in *ERRNOP.  Little optimization.
3948         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
3949         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
3950         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
3951         (__internal_getnetgrent_r): New argument.
3952         Call __internal_setnetgrent_reuse with new argument.
3953         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
3954         * inet/netgroup.h: Add argument to prototypes.
3955         * nis/nisplus-parser.h: Likewise.
3956         * nis/nss_compat/compat-grp.c: Change everything to store error
3957         code through provided pointer and not use errno.
3958         * nis/nss_compat/compat-pwd.c: Likewise.
3959         * nis/nss_compat/compat-spwd.c: Likewise.
3960         * nis/nss_nis/nis-alias.c: Likewise.
3961         * nis/nss_nis/nis-ethers.c: Likewise.
3962         * nis/nss_nis/nis-grp.c: Likewise.
3963         * nis/nss_nis/nis-hosts.c: Likewise.
3964         * nis/nss_nis/nis-netgrp.c: Likewise.
3965         * nis/nss_nis/nis-network.c: Likewise.
3966         * nis/nss_nis/nis-proto.c: Likewise.
3967         * nis/nss_nis/nis-publickey.c: Likewise.
3968         * nis/nss_nis/nis-pwd.c: Likewise.
3969         * nis/nss_nis/nis-rpc.c: Likewise.
3970         * nis/nss_nis/nis-service.c: Likewise.
3971         * nis/nss_nis/nis-spwd.c: Likewise.
3972         * nis/nss_nisplus/nisplus-alias.c: Likewise.
3973         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
3974         * nis/nss_nisplus/nisplus-grp.c: Likewise.
3975         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
3976         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
3977         * nis/nss_nisplus/nisplus-network.c: Likewise.
3978         * nis/nss_nisplus/nisplus-parser.c: Likewise.
3979         * nis/nss_nisplus/nisplus-proto.c: Likewise.
3980         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
3981         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
3982         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
3983         * nis/nss_nisplus/nisplus-service.c: Likewise.
3984         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
3985         * nss/nss_db/db-XXX.c: Likewise.
3986         * nss/nss_db/db-alias.c: Likewise.
3987         * nss/nss_db/db-netgrp.c: Likewise.
3988         * nss/nss_files/files-XXX.c: Likewise
3989         * nss/nss_files/files-alias.c: Likewise
3990         * nss/nss_files/files-netgrp.c: Likewise
3991         * nss/nss_files/files-parse.c: Likewise
3992         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
3993         parameter of get functions.
3994         * nss/getXXent_r.c: Likewise.
3995
3996         * localedata/tst-fmon.c: Print debug info if test fails.
3997
3998         * rt/Makefile (routines): Add aio_notify.
3999         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
4000         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
4001         * rt/aio_fsync.c: Likewise.
4002         * rt/aio_misc.c: Likewise.
4003         * rt/aio_misc.h: Likewise.
4004         * rt/aio_read.c: Likewise.
4005         * rt/aio_read64.c: Likewise.
4006         * rt/aio_suspend.c: Likewise.
4007         * rt/aio_write.c: Likewise.
4008         * rt/aio_write64.c: Likewise.
4009         * rt/lio_listio.c: Likewise.
4010         * rt/lio_listio64.c: Likewise.
4011         * rt/aio_notify.c: New file.
4012
4013         * sysdeps/generic/bits/sigset.h: Pretty print.
4014
4015         * sysdeps/posix/pwrite.c: Define weak alias only if function is
4016         really defined as __pwrite.
4017
4018         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
4019         instead of pread64.
4020         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4021
4022         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
4023         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
4024         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
4025         size in syscall.
4026         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4027         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4028         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
4029         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4030         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
4031         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4032         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
4033         for ACT being NULL.
4034         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
4035         RT signals.
4036         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
4037         __NR_pread is not defined.
4038         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
4039         __NR_pwrite is not defined.
4040
4041 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4042
4043         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
4044         handle for /etc/group back in some more cases.
4045         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
4046         handle for /etc/passwd back in some more cases.
4047         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
4048         handle for /etc/shadow back in some more cases.
4049
4050 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
4051
4052         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
4053         beyound its size.
4054         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
4055         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
4056
4057 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
4058
4059         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
4060         handling.  Don't use macros, we need functions.  Use inline functions
4061         for optimization.
4062         * sysdeps/wordsize-64/inttypes.h: Likewise.
4063         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
4064         and wcstoumax.
4065         * sysdeps/wordsize-64/Makefile: Likewise.
4066         * sysdeps/wordsize-32/Dist: Likewise.
4067         * sysdeps/wordsize-64/Dist: Likewise.
4068         * sysdeps/wordsize-32/strtoimax.c: New file.
4069         * sysdeps/wordsize-32/strtoumax.c: New file.
4070         * sysdeps/wordsize-32/wcstoimax.c: New file.
4071         * sysdeps/wordsize-32/wcstoumax.c: New file.
4072         * sysdeps/wordsize-64/strtoimax.c: New file.
4073         * sysdeps/wordsize-64/strtoumax.c: New file.
4074         * sysdeps/wordsize-64/wcstoimax.c: New file.
4075         * sysdeps/wordsize-64/wcstoumax.c: New file.
4076
4077 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
4078
4079         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
4080         that transparent union works.
4081         * sysdeps/generic/wait4.c (__wait4): Likewise.
4082         * sysdeps/generic/wait.c (__wait): Likewise.
4083
4084         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
4085         size_t.
4086
4087         * sysdeps/generic/syscall.c (syscall): Return value and arg are
4088         long, to match prototype.
4089
4090         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
4091         have mremap() yet.
4092
4093         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
4094
4095         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
4096
4097         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
4098
4099         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
4100         __rlim_t.
4101
4102         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
4103
4104         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
4105
4106         * io/sys/stat.h (S_ISLNK): Always false if we don't have
4107         __S_IFLNK.
4108
4109         * sysdeps/standalone/close.c (_STDIO_H): Define before including
4110         <bits/stdio_lim.h>.
4111         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
4112
4113 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
4114
4115         * posix/sys/wait.h: Don't use transparent unions in C++.
4116
4117 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4118
4119         * time/time.h: Add strfxtime.
4120
4121         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
4122         sysv_signal, strfxtime, pread64, pwrite64.
4123
4124 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
4125
4126         Alpha changes for EGCS:
4127         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
4128         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
4129         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
4130         (_start): Likewise.
4131         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
4132
4133 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
4134
4135         The kernel expects the arguments in a different order.
4136         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
4137         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
4138
4139         * FAQ.in: New file.
4140         * gen-FAQ.pl: New file.
4141         * Makefile (FAQ): Add rule to generate from FAQ.in.
4142
4143         * iconvdata/Makefile: Treat libJIS like the other modules.
4144
4145         * rt/librt.map: New file.
4146
4147         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
4148         inclusion.
4149         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
4150         comment.
4151
4152 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
4153
4154         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
4155         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
4156         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
4157         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
4158
4159 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4160
4161         * string/bits/string2.h: Fix spellings.
4162
4163         * string/string.h: Fix spellings.
4164
4165 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4166
4167         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
4168         declaration to __syscall_rt_sigaction.
4169
4170         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
4171         non-existant <sigcontext.h>.
4172
4173 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4174
4175         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
4176         typo.
4177
4178 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4179
4180         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
4181
4182         * Makeconfig (shared-thread-library): Correct spelling.
4183
4184         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
4185         <asm/pci.h>.
4186
4187 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4188
4189         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
4190         constants from Linux headers. Pointed out by
4191         csmall@scooter.o.i.net. [PR libc/369]
4192
4193 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4194
4195         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
4196
4197 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4198
4199         * configure.in: If --enable-add-ons is given without an
4200         argument, set the addons list to all subdirs with a configure
4201         script.
4202
4203 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
4204
4205         * Makeconfig: Add shared-thread-library variable.
4206
4207         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
4208         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
4209         here.
4210         * sysdeps/m68k/fpu/e_acos.c: Likewise.
4211         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
4212         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
4213         * sysdeps/m68k/fpu/e_pow.c: Likewise.
4214         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
4215         * sysdeps/m68k/fpu/k_cos.c: Likewise.
4216         * sysdeps/m68k/fpu/k_sin.c: Likewise.
4217         * sysdeps/m68k/fpu/k_tan.c: Likewise.
4218         * sysdeps/m68k/fpu/s_atan.c: Likewise.
4219         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
4220         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
4221         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
4222         * sysdeps/m68k/fpu/s_csin.c: Likewise.
4223         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
4224         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
4225         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
4226         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
4227         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
4228         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
4229         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
4230         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
4231         * sysdeps/m68k/fpu/s_modf.c: Likewise.
4232         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
4233         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
4234         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
4235
4236         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
4237         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
4238         * signal/Makefile (headers): Add bits/siginfo.h.
4239         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
4240         (distribute): Add testrtsig.h.
4241         * signal/allocrtsig.c: New file.
4242         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
4243         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
4244         __libc_current_sigrtmax.
4245         * sysdeps/generic/sigqueue.c: New file.
4246         * sysdeps/generic/sigtimedwait.c: New file.
4247         * sysdeps/generic/sigwaitinfo.c: New file.
4248         * sysdeps/generic/testrtsig.h: New file.
4249         * sysdeps/generic/bits/siginfo.h: New file.
4250         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
4251         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
4252         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
4253         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
4254         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
4255         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
4256         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
4257         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
4258         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
4259         * sysdeps/unix/sysv/linux/sigpending.c: New file.
4260         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
4261         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
4262         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
4263         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
4264         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
4265         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
4266         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
4267         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
4268         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
4269         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
4270         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
4271         and _POSIX_REALTIME_SIGNALS.
4272         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
4273         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
4274         update _NSIG.
4275         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
4276         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
4277         definitions.
4278
4279         * Makefile (subdirs): Add rt.
4280         * shlib-versions: Add entry for librt.
4281         * rt/Makefile: New file.
4282         * rt/aio.h: New file.
4283         * rt/aio_cancel.c: New file.
4284         * rt/aio_error.c: New file.
4285         * rt/aio_fsync.c: New file.
4286         * rt/aio_misc.c: New file.
4287         * rt/aio_misc.h: New file.
4288         * rt/aio_read.c: New file.
4289         * rt/aio_read64.c: New file.
4290         * rt/aio_return.c: New file.
4291         * rt/aio_suspend.c: New file.
4292         * rt/aio_write.c: New file.
4293         * rt/aio_write64.c: New file.
4294         * rt/lio_listio.c: New file.
4295         * rt/lio_listio64.c: New file.
4296         * sysdeps/generic/aio_sigqueue.c: New file.
4297         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
4298         * sysdeps/unix/sysv/linux/Dist: Add new files
4299         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
4300         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
4301         rt_sigqueueinfo, rt_sigaction.
4302
4303         * posix/Makefile (headers): Add bits/environments.h.
4304         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
4305         and _CS_LFS_CFLAGS on 64bit platforms.
4306         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
4307         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
4308         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
4309         compilation modules.
4310         * sysdeps/wordsize-32/bits/environments.h: New file.
4311         * sysdeps/wordsize-64/bits/environments.h: New file.
4312
4313         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
4314         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
4315         __libc_pid.
4316         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
4317         0xf00baa.
4318
4319         * string/string.h: Add declaration of __strverscmp.
4320         * string/strverscmp.c: Rename function ot __strverscmp and make old
4321         name weak alias.
4322
4323         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
4324         * sysdeps/generic/enbl-secure.c: Likewise.
4325         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4326
4327         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
4328
4329         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
4330
4331 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
4332
4333         * posix/sys/wait.h: Use __transparent_union__ instead of
4334         transparent_union.  Reported by Roland McGrath.
4335
4336 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4337
4338         * resolv/inet_neta.c (inet_neta): Change type of first parameter
4339         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
4340         [PR libc/366].
4341
4342         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
4343
4344         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
4345
4346 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4347
4348         * grp/initgroups.c: Increase buffer if it is too small.
4349
4350 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
4351
4352         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
4353         fields, this is no ISO C.  Reported by Andreas Jaeger.
4354
4355 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4356
4357         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
4358
4359 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
4360
4361         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
4362         _SYS_UTSNAME_H not _UTSNAME_H.
4363
4364 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4365
4366         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
4367         computing s_scale.
4368
4369 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4370
4371         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
4372         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
4373         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
4374
4375         * math/libm-test.c (csqrt_test): Add testcase.
4376
4377 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
4378
4379         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
4380         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
4381         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
4382
4383 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4384
4385         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
4386
4387 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4388
4389         * math/libm-test.c (acos_test): Add more tests.
4390         (asin_test): Likewise.
4391         (atan_test): Likewise.
4392         (exp_test): Likewise.
4393         (sin_test): Likewise.
4394         (sqrt_test): Likewise.
4395         (cpow_test): Likewise.
4396         (csqrt_test): Likewise.
4397         (cexp_test): Correct typo in gcc version test.
4398
4399 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
4400
4401         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
4402         <bits/setjmp.h>.
4403         * sysdeps/arm/setjmp.S: Likewise.
4404
4405         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
4406
4407 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
4408
4409         * stdio/stdio.h: Add prototype for tmpfile64().
4410
4411 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
4412
4413         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
4414         prototype to keep in step with libio version.
4415
4416         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
4417
4418 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
4419
4420         * sysdeps/generic/Makefile: Don't try to use make_siglist if
4421         cross-compiling.
4422
4423 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
4424
4425         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
4426         load GOT ptr before jumping to _exit.
4427         Reported by Xavier Leroy.
4428
4429 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
4430
4431         * Makefile (subdirs): Add iconvdata and localedata.
4432
4433         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
4434
4435         * iconv/gconv_conf.c (read_conf_file): Little optimization.
4436
4437         * iconvdata/8bit-gap.c: New file.
4438         * iconvdata/8bit-generic.c: Renamed from ...
4439         * iconvdata/iso8859-generic.c: ...this.
4440         * iconvdata/configure: Removed.
4441         * iconvdata/Makefile: Add new modules and better rules.
4442         * iconvdata/iso6937.c: Minor bug fixes.
4443         * iconvdata/iso8859-1.c: Likewise.
4444         * iconvdata/t61.c: Likewise.
4445         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
4446         Minor bug fixes.
4447         * iconvdata/iso8859-3.c: Likewise.
4448         * iconvdata/iso8859-4.c: Likewise.
4449         * iconvdata/iso8859-5.c: Likewise.
4450         * iconvdata/iso8859-6.c: Likewise.
4451         * iconvdata/iso8859-7.c: Likewise.
4452         * iconvdata/iso8859-8.c: Likewise.
4453         * iconvdata/iso8859-9.c: Likewise.
4454         * iconvdata/iso8859-10.c: Likewise.
4455         * iconvdata/ebcdic-at-de-a.c: New file.
4456         * iconvdata/ebcdic-at-de.c: New file.
4457         * iconvdata/ebcdic-ca-fr.c: New file.
4458         * iconvdata/hp-roman8.c: New file.
4459         * iconvdata/koi-8.c: New file.
4460         * iconvdata/koi8-r.c: New file.
4461         * iconvdata/koi8-h.c: New file.
4462         * iconvdata/latin-greek-1.c: New file.
4463         * iconvdata/latin-greek-1.h: New file.
4464         * iconvdata/latin-greek.c: New file.
4465         * iconvdata/latin-greek.h: New file.
4466         * iconvdata/jis0201.c: New file.
4467         * iconvdata/jis0201.h: New file.
4468         * iconvdata/jis0208.c: New file.
4469         * iconvdata/jis0208.h: New file.
4470         * iconvdata/jis0212.c: New file.
4471         * iconvdata/jis0212.h: New file.
4472         * iconvdata/sjis.c: New file.
4473         * iconvdata/gap.pl: New file.  Script to generate table header.
4474         * iconvdata/gaptab.pl: New file.
4475         * iconvdata/gconv-modules: Add info about new modules.
4476
4477         * locale/programs/charmap.c: Also examine alias names given in charmap
4478         files.
4479
4480         * localedata/*: Add to here from add-on.  We need the information
4481         to generate tables for iconv.
4482
4483         Update from db-2.3.14.
4484         * db2/Makefile: Updated.
4485         * db2/config.h: Likewise.
4486         * db2/db.h: Likewise.
4487         * db2/db_int.h: Likewise.
4488         * db2/btree/bt_cursor.c: Likewise.
4489         * db2/btree/bt_delete.c: Likewise.
4490         * db2/btree/bt_put.c: Likewise.
4491         * db2/btree/bt_search.c: Likewise.
4492         * db2/btree/bt_split.c: Likewise.
4493         * db2/btree/btree_auto.c: Likewise.
4494         * db2/common/db_appinit.c: Likewise.
4495         * db2/common/db_apprec.c: Likewise.
4496         * db2/common/db_err.c: Likewise.
4497         * db2/common/db_region.c: Likewise.
4498         * db2/db/db_auto.c: Likewise.
4499         * db2/db/db_dispatch.c: Likewise.
4500         * db2/db/db_ret.c: Likewise.
4501         * db2/dbm/dbm.c: Likewise.
4502         * db2/hash/hash_auto.c: Likewise.
4503         * db2/include/btree_ext.h: Likewise.
4504         * db2/include/common_ext.h: Likewise.
4505         * db2/include/db.h.src: Likewise.
4506         * db2/include/db_cxx.h: Likewise.
4507         * db2/include/db_ext.h: Likewise.
4508         * db2/include/db_int.h.src: Likewise.
4509         * db2/include/lock.h: Likewise.
4510         * db2/include/log.h: Likewise.
4511         * db2/include/mp.h: Likewise.
4512         * db2/include/mp_ext.h: Likewise.
4513         * db2/include/os_ext.h: Likewise.
4514         * db2/include/os_func.h: Likewise.
4515         * db2/lock/lock.c: Likewise.
4516         * db2/lock/lock_deadlock.c: Likewise.
4517         * db2/log/log.c: Likewise.
4518         * db2/log/log_archive.c: Likewise.
4519         * db2/log/log_auto.c: Likewise.
4520         * db2/log/log_get.c: Likewise.
4521         * db2/log/log_put.c: Likewise.
4522         * db2/mp/mp_bh.c: Likewise.
4523         * db2/mp/mp_fget.c: Likewise.
4524         * db2/mp/mp_fopen.c: Likewise.
4525         * db2/mp/mp_fput.c: Likewise.
4526         * db2/mp/mp_fset.c: Likewise.
4527         * db2/mp/mp_open.c: Likewise.
4528         * db2/mp/mp_pr.c: Likewise.
4529         * db2/mp/mp_region.c: Likewise.
4530         * db2/mp/mp_sync.c: Likewise.
4531         * db2/mutex/README: Likewise.
4532         * db2/mutex/mutex.c: Likewise.
4533         * db2/os/os_open.c: Likewise.
4534         * db2/os/os_func.c: Removed.
4535         * db2/os/os_config.c: New file.
4536         * db2/os/os_spin.c: New file.
4537         * db2/txn/txn.c: Likewise.
4538         * db2/txn/txn_auto.c: Likewise.
4539
4540 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
4541
4542         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
4543         __typeof for C++ since this fails for class members.
4544         Reported by Neal Becker <neal@ctd.comsat.com>.
4545
4546 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4547
4548         * configure.in: Check for a working makeinfo (3.11 or better).
4549         * config.make.in: Add MAKEINFO to be substituted.
4550         * manual/Makefile: Don't update info if makeinfo is too old.
4551
4552 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
4553
4554         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
4555         * sysdeps/alpha/__longjmp.S: Likewise.
4556         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
4557         not <bits/termios.h>.
4558
4559         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
4560         __llseek and make llseek and lseek64 weak aliases.
4561         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4562         Patches by a sun <asun@zoology.washington.edu>.
4563
4564 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4565
4566         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
4567         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4568         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4569         * misc/sys/syslog.h: Clean up BSD header.
4570
4571 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4572
4573         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
4574
4575         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
4576         for ctan(+-inf,x).
4577         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
4578         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
4579
4580         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
4581         csqrt (-1), ctanh(i*pi/4).
4582
4583 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4584
4585         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
4586
4587 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
4588
4589         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
4590
4591 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4592
4593         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
4594
4595 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
4596
4597         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
4598         and use.  Define GETCWD_RETURN_TYPE instead and use it.
4599         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
4600         of GETCWD_STORYGE_CLASS and put the return type and the
4601         `internal_function' in the right order for gcc 2.7.2.
4602
4603 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4604
4605         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
4606         incompatible with Linux 2.1.x.  Packages using modules
4607         (e.g. modutils) should/do provide their own version.  Suggested by
4608         Richard Henderson.
4609
4610         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
4611
4612         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
4613         [$(subdir)=socket]: Remove sys/module.h.
4614
4615 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
4616
4617         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
4618         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
4619
4620         * iconv/gconv_close.c: Correct freeing of descriptor data.
4621         * iconv/gconv_simple.c: Return correct error values for illegal or
4622         incomplete characters.
4623
4624         * Makefile (iconvdata/%): Special goal to simplify iconvdata
4625         development.
4626         * iconvdata/Makefile: New file.
4627         * iconvdata/configure: Likewise.
4628         * iconvdata/extra-module.mk: Likewise.
4629         * iconvdata/gconv-modules: Likewise.
4630         * iconvdata/iso6937.c: Likewise.
4631         * iconvdata/iso8859-1.c: Likewise.
4632         * iconvdata/iso8859-10.c: Likewise.
4633         * iconvdata/iso8859-10.h: Likewise.
4634         * iconvdata/iso8859-2.c: Likewise.
4635         * iconvdata/iso8859-2.h: Likewise.
4636         * iconvdata/iso8859-3.c: Likewise.
4637         * iconvdata/iso8859-3.h: Likewise.
4638         * iconvdata/iso8859-4.c: Likewise.
4639         * iconvdata/iso8859-4.h: Likewise.
4640         * iconvdata/iso8859-5.c: Likewise.
4641         * iconvdata/iso8859-5.h: Likewise.
4642         * iconvdata/iso8859-6.c: Likewise.
4643         * iconvdata/iso8859-6.h: Likewise.
4644         * iconvdata/iso8859-7.c: Likewise.
4645         * iconvdata/iso8859-7.h: Likewise.
4646         * iconvdata/iso8859-8.c: Likewise.
4647         * iconvdata/iso8859-8.h: Likewise.
4648         * iconvdata/iso8859-9.c: Likewise.
4649         * iconvdata/iso8859-9.h: Likewise.
4650         * iconvdata/iso8859-generic.c: Likewise.
4651         * iconvdata/t61.c: Likewise.
4652
4653         * string/Makefile (routines): Add strcasestr.
4654         * string/string.h: Add prototype for strcasestr.
4655         * sysdeps/generic/strcasestr.c: New file.
4656         * wcsmbs/mbrtowc.c: Simplify special case a bit.
4657         * wcsmbs/wcrtomb.c: Likewise.
4658         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
4659         * wcsmbs/wcsnrtombs.c: Likewise.
4660         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
4661         partial character is read.
4662         * wcsmbs/wcsrtombs.c: Likewise.
4663         * wcsmbs/wmemrtombs.c: Likewise.
4664         * wcsmbs/wmemrtowcs.c: Likewise.
4665
4666         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
4667         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
4668         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
4669         * sysdeps/i386/elf/setjmp.S: Likewise.
4670         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
4671         <bits/termios.h>.
4672
4673         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
4674         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
4675
4676         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
4677         * sysvipc/sys/ipc.h: Likewise.
4678         * sysvipc/sys/msg.h: Likewise.
4679         * sysvipc/sys/sem.h: Likewise.
4680         * sysvipc/sys/shm.h: Likewise.
4681
4682         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
4683         used directly.
4684         * sysdeps/alpha/bits/setjmp.h: Likewise.
4685         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
4686         * sysdeps/arm/bits/endian.h: Likewise.
4687         * sysdeps/arm/bits/setjmp.h: Likewise.
4688         * sysdeps/generic/bits/byteswap.h: Likewise.
4689         * sysdeps/generic/bits/confname.h: Likewise.
4690         * sysdeps/generic/bits/dirent.h: Likewise.
4691         * sysdeps/generic/bits/dlfcn.h: Likewise.
4692         * sysdeps/generic/bits/endian.h: Likewise.
4693         * sysdeps/generic/bits/fenv.h: Likewise.
4694         * sysdeps/generic/bits/huge_val.h: Likewise.
4695         * sysdeps/generic/bits/in.h: Likewise.
4696         * sysdeps/generic/bits/ioctl-types.h: Likewise.
4697         * sysdeps/generic/bits/ioctls.h: Likewise.
4698         * sysdeps/generic/bits/ipc.h: Likewise.
4699         * sysdeps/generic/bits/msq.h: Likewise.
4700         * sysdeps/generic/bits/poll.h: Likewise.
4701         * sysdeps/generic/bits/resource.h: Likewise.
4702         * sysdeps/generic/bits/sched.h: Likewise.
4703         * sysdeps/generic/bits/sem.h: Likewise.
4704         * sysdeps/generic/bits/setjmp.h: Likewise.
4705         * sysdeps/generic/bits/shm.h: Likewise.
4706         * sysdeps/generic/bits/sigaction.h: Likewise.
4707         * sysdeps/generic/bits/sigcontext.h: Likewise.
4708         * sysdeps/generic/bits/socket.h: Likewise.
4709         * sysdeps/generic/bits/stat.h: Likewise.
4710         * sysdeps/generic/bits/statfs.h: Likewise.
4711         * sysdeps/generic/bits/stdio_lim.h: Likewise.
4712         * sysdeps/generic/bits/termios.h: Likewise.
4713         * sysdeps/generic/bits/time.h: Likewise.
4714         * sysdeps/generic/bits/uio.h: Likewise.
4715         * sysdeps/generic/bits/utmp.h: Likewise.
4716         * sysdeps/generic/bits/utmpx.h: Likewise.
4717         * sysdeps/generic/bits/utsname.h: Likewise.
4718         * sysdeps/generic/bits/waitflags.h: Likewise.
4719         * sysdeps/generic/bits/waitstatus.h: Likewise.
4720         * sysdeps/gnu/bits/utmp.h: Likewise.
4721         * sysdeps/gnu/bits/utmpx.h: Likewise.
4722         * sysdeps/i386/bits/byteswap.h: Likewise.
4723         * sysdeps/i386/bits/endian.h: Likewise.
4724         * sysdeps/i386/bits/huge_val.h: Likewise.
4725         * sysdeps/i386/bits/setjmp.h: Likewise.
4726         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4727         * sysdeps/ieee754/bits/huge_val.h: Likewise.
4728         * sysdeps/m68k/bits/byteswap.h: Likewise.
4729         * sysdeps/m68k/bits/endian.h: Likewise.
4730         * sysdeps/m68k/bits/setjmp.h: Likewise.
4731         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
4732         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
4733         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
4734         * sysdeps/mach/hurd/bits/stat.h: Likewise.
4735         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
4736         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
4737         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
4738         * sysdeps/mips/bits/dlfcn.h: Likewise.
4739         * sysdeps/mips/bits/endian.h: Likewise.
4740         * sysdeps/mips/bits/setjmp.h: Likewise.
4741         * sysdeps/mips/dec/bits/endian.h: Likewise.
4742         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
4743         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
4744         * sysdeps/mips/p40/bits/endian.h: Likewise.
4745         * sysdeps/powerpc/bits/endian.h: Likewise.
4746         * sysdeps/powerpc/bits/fenv.h: Likewise.
4747         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4748         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
4749         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
4750         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
4751         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
4752         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
4753         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
4754         * sysdeps/unix/bsd/bits/stat.h: Likewise.
4755         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
4756         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
4757         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
4758         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
4759         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
4760         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
4761         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
4762         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
4763         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
4764         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
4765         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
4766         * sysdeps/unix/common/bits/dirent.h: Likewise.
4767         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
4768         * sysdeps/unix/sysv/bits/stat.h: Likewise.
4769         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4770         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4771         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
4772         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
4773         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
4774         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
4775         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
4776         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
4777         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4778         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4779         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
4780         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
4781         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
4782         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
4783         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
4784         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4785         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4786         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
4787         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4788         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4789         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4790         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4791         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
4792         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
4793         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4794         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4795         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
4796         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4797         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
4798         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4799         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
4800         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
4801         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
4802         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
4803         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
4804         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
4805         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
4806         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
4807         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
4808         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
4809         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4810         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
4811         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4812         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4813         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
4814         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4815         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
4816         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
4817         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4818         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4819         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
4820         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
4821         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
4822         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4823         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
4824         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
4825         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
4826         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
4827         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
4828         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
4829         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
4830         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
4831         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
4832         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
4833         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
4834         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
4835         * sysdeps/vax/bits/huge_val.h: Likewise.
4836         * sysdeps/vax/bits/setjmp.h: Likewise.
4837         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
4838         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
4839
4840 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4841
4842         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
4843
4844 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
4845
4846         * strftime.c (strftime):
4847         No longer any need to undef or declare if emacs is defined.
4848         (my_strftime): When checking a -1 returned by mktime, don't blow up
4849         if localtime_r returns NULL.
4850
4851 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4852
4853         * README.template: Fix spelling.
4854
4855 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4856
4857         * configure.in: Enhance --enable-add-ons description a wee bit.
4858
4859 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4860
4861         * glibcbug.in: Add more information of build environment and flags.
4862
4863 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4864
4865         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
4866         it into ENOENT.
4867
4868 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
4869
4870         * elf/dl-support.c: Call __libc_init_secure to make sure
4871         __libc_enable_secure is defined early.
4872         * sysdeps/generic/enbl-secure.c: Change function name to
4873         __libc_init_secure and make it global instead of a constructor.
4874
4875         * iconv/gconv.c: Fix lots of bugs.
4876         * iconv/gconv.h: Likewise.
4877         * iconv/gconv_builtin.h: Likewise.
4878         * iconv/gconv_close.c: Likewise.
4879         * iconv/gconv_conf.c: Likewise.
4880         * iconv/gconv_db.c: Likewise.
4881         * iconv/gconv_dl.c: Likewise.
4882         * iconv/gconv_open.c: Likewise.
4883         * iconv/gconv_simple.c: Likewise.
4884         * iconv/iconv.c: Likewise.
4885         * iconv/iconv_close.c: Likewise.
4886         * iconv/iconv_open.c: Likewise.
4887
4888         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
4889         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
4890         * wcsmbs/wmemrtombs.c: New file.
4891         * wcsmbs/wmemrtowcs.c: New file.
4892
4893 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
4894
4895         * iconv/gconv_simple.c: Fix lots of bugs.
4896         * iconv/iconv_open.c: Normalize names before passing them to
4897         __gconv_open.
4898
4899         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
4900
4901         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
4902         * stdio-common/test-popen.c: Add test for above change.
4903
4904         * math/libm-test.c: Print test results also using %a format,
4905         specified in PRINTF_XEXPR macro.
4906         * math/test-double.c: Define PRINTF_XEXPR.
4907         * math/test-float.c: Likewise.
4908         * math/test-ldouble.c: Likewise.
4909         * math/test-idouble.c: Likewise.
4910         * math/test-ifloat.c: Likewise.
4911         * math/test-ildoubl.c: Likewise.
4912
4913         * stdio-common/vfscanf.c: Recognize a in format specifier only as
4914         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
4915         FP number format.
4916
4917         * stdlib/strtod.c: Little code cleanup.
4918
4919         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
4920         compiling in math subdir.
4921
4922         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
4923         instead of __LIBC_M81_MATH_INLINES.
4924         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
4925         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
4926         * sysdeps/m68k/fpu/e_pow.c: Likewise.
4927         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
4928         * sysdeps/m68k/fpu/k_cos.c: Likewise.
4929         * sysdeps/m68k/fpu/k_sin.c: Likewise.
4930         * sysdeps/m68k/fpu/k_tan.c: Likewise.
4931         * sysdeps/m68k/fpu/s_atan.c: Likewise.
4932         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
4933         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
4934         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
4935         * sysdeps/m68k/fpu/s_csin.c: Likewise.
4936         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
4937         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
4938         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
4939         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
4940         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
4941         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
4942         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
4943         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
4944         * sysdeps/m68k/fpu/s_modf.c: Likewise.
4945         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
4946         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
4947         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
4948         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
4949         __LIBC_INTERNAL_MATH_INLINES is defined.
4950
4951         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
4952         of compare macros from ISO C 9X.  Optimize generic versions a bit.
4953         Define __signbit inline functions and __ieee754_sqrt which can be
4954         used if the ompiler is fixed.
4955
4956         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
4957
4958 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4959
4960         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
4961         sysdeps/generic in the whole dep file, not only in the first line.
4962
4963 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4964
4965         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
4966
4967 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4968
4969         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
4970         place.
4971
4972 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4973
4974         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
4975         is non-empty.
4976
4977 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
4978
4979         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
4980         return value.
4981
4982 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
4983
4984         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
4985         readlink succeeds but the return value is too long.
4986
4987         * stdio-common/printf_fphex.c: Determine sign of number correctly.
4988
4989 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
4990
4991         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
4992         __remqu for Alpha.
4993
4994 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
4995
4996         * sysdeps/generic/sys/ucontext.h: Stub context file.
4997
4998         * libio/iofprintf.c: Removed.  We use the stdio-common version.
4999
5000         * manual/Makefile (distribute): Add stdio-fp.c.
5001
5002         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
5003
5004         * db2/Makefile (distribute): Add include/os_func.h, README and
5005         mutex/tsl_parisc.s.
5006
5007         * hesiod/Makefile (distribute): Add README.hesiod.
5008
5009 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
5010
5011         * iconv/gconv.c: Correctly call transformation function.
5012
5013         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
5014
5015 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5016
5017         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
5018         wrong results for e.g. remquo (3,2, &x)).
5019         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
5020         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
5021
5022 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5023
5024         * configure.in (ld --version-script): Test if the same symbol
5025         maybe defined in all versions (needed by recent changes to
5026         libc.map and supported with binutils 2.8.1.0.17) and issue warning
5027         if versioning is not supported/enabled.
5028         (bash test): Correct test case.
5029
5030         * math/libm-test.c: Added counting/reporting of number of test cases.
5031
5032         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
5033         use awk instead.
5034
5035         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
5036
5037 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5038
5039         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
5040
5041 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
5042
5043         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
5044         Replace revoke call by use of REVOKE.
5045         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
5046         empty and #include generic version.
5047         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5048
5049 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
5050
5051         * libc.map: Add socket functions with __libc_* names.
5052         Reported by Andreas Jaeger.
5053
5054 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5055
5056         * libc.map: Tidy up (remove duplicates, sort entries).
5057
5058 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5059
5060         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
5061
5062 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
5063
5064         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
5065         again after successful call.
5066         Patch by Marc Lehmann <pcg@goof.com>.
5067
5068 1997-11-17  Paul Eggert  <eggert@twinsun.com>
5069
5070         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
5071         as some hosts need this to declare localtime_r properly.
5072
5073 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
5074
5075         * libc.map: Add iconv_open, iconv, and iconv_close.
5076
5077 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
5078
5079         * iconv/Makefile: New file.
5080         * iconv/gconv.c: New file.
5081         * iconv/gconv.h: New file.
5082         * iconv/gconv_builtin.c: New file.
5083         * iconv/gconv_builtin.h: New file.
5084         * iconv/gconv_close.c: New file.
5085         * iconv/gconv_conf.c: New file.
5086         * iconv/gconv_db.c: New file.
5087         * iconv/gconv_dl.c: New file.
5088         * iconv/gconv_open.c: New file.
5089         * iconv/gconv_simple.c: New file.
5090         * iconv/iconv.c: New file.
5091         * iconv/iconv.h: New file.
5092         * iconv/iconv_close.c: New file.
5093         * iconv/iconv_open.c: New file.
5094         * include/gconv.h: New file.
5095
5096         * Makeconfig: Define gconvdir.
5097         * Makefile (subdirs): Add iconv.
5098
5099         * string/bits/string2.h: Add optimization for strtok_r.
5100
5101         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
5102         for NULL.
5103         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
5104         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
5105
5106         * configure.in: Correct test for bash2.
5107         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5108
5109         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
5110         (CFLAGS-locfile.c): Likewise.
5111         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5112
5113         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
5114         non-existing entry if the table is full.
5115
5116         * posix/regex.h: Pretty print.
5117
5118         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
5119
5120         * sysdeps/posix/ctermid.c: Simplify a bit.
5121
5122         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
5123
5124 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5125
5126         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
5127         <sys/types.h> instead of <asm/types.h>.
5128
5129 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5130
5131         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
5132
5133 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
5134
5135         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
5136         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
5137         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
5138         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
5139         fclose): Added to GLIBC_2.1.
5140
5141         * libio/Makefile (routines, shared-only-routines): Add
5142         oldiofclose.  Remove oldfreopen.
5143
5144         * libio/freopen.c (freopen): When PIC is defined, call
5145         _IO_old_freopen () for old stdio.
5146
5147         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
5148         (_IO_fclose, fclose): Use _IO_new_fclose as default version
5149         for GLIBC_2.1.
5150
5151         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
5152         instead of _IO_file_close_it.
5153
5154         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
5155         to _IO_2_1_stdxxx_.
5156         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
5157         is defined.
5158
5159         * libio/libioP.h (_IO_old_do_flush): New.
5160
5161         * libio/oldfileops.c (_IO_old_file_close_it,
5162         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
5163         Call _IO_old_do_flush () instead of _IO_do_flush ().
5164         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
5165         _IO_do_write ().
5166
5167         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
5168         instead of _IO_file_init ().
5169         Bind old symbols to version GLIBC_2.0.
5170
5171         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
5172         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
5173         _IO_stdxxx_.
5174         (_IO_check_libio): New function in .init.
5175
5176         * libio/oldiofclose.c: New file.
5177
5178         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
5179         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
5180         (DEF_STDFILE): Don't use default_symbol_version.
5181
5182         * libio/stdio.c (stdin, stdout, stderr): Set to
5183         _IO_2_1_stdxxx_._
5184         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
5185         stdxxx.
5186
5187         * csu/Makefile (distribute): Add init.c.
5188         (extra-objs): Add init.o for ELF.
5189         (start-installed-name): Add $(objpfx)init.o.
5190
5191         * csu/init.c: New file.
5192
5193 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
5194
5195         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
5196         definition as the default.
5197
5198 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
5199
5200         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
5201
5202 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5203
5204         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
5205         (PR 351).
5206
5207 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
5208
5209         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
5210         to preserve condition codes on function call.
5211
5212 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5213
5214         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
5215
5216 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5217
5218         * math/libm-test.c (asin_test): Add epsilon for float.
5219         (tan_test): Add epsilon for float.
5220         (log1p_test): Add epsilon for float.
5221         (inverse_functions): Add epsilons.
5222
5223         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
5224         net/if_packet.h.
5225
5226         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
5227
5228 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5229
5230         * md5-crypt/Makefile (extra-objs): Make recursively expanded
5231         variable, since $(object-suffixes) is not defined yet.
5232
5233 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5234
5235         * db2/Makefile (distribute): db185/db185_int.src ->
5236         db185/db185_int.h.
5237
5238 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5239
5240         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
5241         exactly one.
5242
5243 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5244
5245         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
5246         name.
5247         * sysdeps/generic/e_acosl.c: Likewise.
5248         * sysdeps/generic/e_asinl.c: Likewise.
5249         * sysdeps/generic/e_atan2l.c: Likewise.
5250         * sysdeps/generic/e_expl.c: Likewise.
5251         * sysdeps/generic/e_fmodl.c: Likewise.
5252         * sysdeps/generic/e_j0l.c: Likewise.
5253         * sysdeps/generic/e_j1l.c: Likewise.
5254         * sysdeps/generic/e_jnl.c: Likewise.
5255         * sysdeps/generic/e_lgammal_r.c: Likewise.
5256         * sysdeps/generic/e_log10l.c: Likewise.
5257         * sysdeps/generic/e_logl.c: Likewise.
5258         * sysdeps/generic/e_powl.c: Likewise.
5259         * sysdeps/generic/e_sqrtl.c: Likewise.
5260         * sysdeps/generic/e_exp2l.c: Likewise.
5261
5262 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5263
5264         * Make-dist (+sysdep-names): Remove extra paren.
5265         * Makefile (distribute): Add stub-tag.h.
5266         * elf/Makefile (distribute): Add atomicity.h.
5267         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
5268         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
5269         [$(subdir)=socket]: Add net/if_packet.h.
5270         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
5271         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
5272         net/if_packet.h, scsi/sg.h.
5273
5274 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5275
5276         * Makefile (install): Quote $(CC) expansion.
5277
5278 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5279
5280         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
5281         working /proc cwd and no restrictions on path length.  Following
5282         some ideas from Andi Kleen <ak@muc.de> (PR 350).
5283
5284 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5285
5286         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
5287         * nis/nss_compat/compat-pwd.c: Likewise.
5288         * nis/nss_compat/compat-spwd.c: Likewise.
5289
5290 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
5291
5292         * sysdeps/libm-i387/s_fdim.S: New file.
5293         * sysdeps/libm-i387/s_fdimf.S: New file.
5294         * sysdeps/libm-i387/s_fdiml.S: New file.
5295         * sysdeps/libm-i387/i686/s_fdim.S: New file.
5296         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
5297         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
5298
5299 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5300
5301         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
5302         pointer to unsigned char.
5303
5304 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5305
5306         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
5307
5308         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
5309
5310         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
5311
5312 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5313
5314         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
5315         ilogb(0/NaN).
5316         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
5317         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
5318
5319 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
5320
5321         * sysdeps/libm-i387/s_fmin.S: New file.
5322         * sysdeps/libm-i387/s_fminf.S: New file.
5323         * sysdeps/libm-i387/s_fminl.S: New file.
5324         * sysdeps/libm-i387/s_fmax.S: New file.
5325         * sysdeps/libm-i387/s_fmaxf.S: New file.
5326         * sysdeps/libm-i387/s_fmaxl.S: New file.
5327         * sysdeps/libm-i387/i686/s_fmin.S: New file.
5328         * sysdeps/libm-i387/i686/s_fminf.S: New file.
5329         * sysdeps/libm-i387/i686/s_fminl.S: New file.
5330         * sysdeps/libm-i387/i686/s_fmax.S: New file.
5331         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
5332         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
5333
5334 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
5335
5336         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
5337         * sysdeps/unix/sysv/linux/send.S: Likewise.
5338         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5339         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5340         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5341         * sysdeps/unix/sysv/linux/recv.S: Likewise.
5342         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5343         * sysdeps/unix/sysv/linux/connect.S: Likewise.
5344         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
5345
5346 See ChangeLog.7 for earlier changes.