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