platform/upstream/glibc.git
26 years agoUpdate.
Ulrich Drepper [Wed, 18 Mar 1998 17:57:13 +0000 (17:57 +0000)]
Update.

1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/memory.texi (Heap Consistency Checking): Document
MALLOC_CHECK_.  Based on a text by Wolfram Gloger.

1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* manual/Makefile: Add missing rules.

1998-03-18  Ulrich Drepper  <drepper@cygnus.com>

* timezone/Makefile (generated): Define to remove all stamp files.

* sysdeps/generic/strsep.c: Also undefine __strsep.

* string/strdup.c: Undefine __strdup and strdup first.
* string/strndup.c: Likewise.

* string/bits/string2.h: Correct strtok_r and strsep.
Add strndup optimization.

* sysdeps/generic/strsep.c: Little optimization.

26 years agoUpdate.
Ulrich Drepper [Wed, 18 Mar 1998 14:42:25 +0000 (14:42 +0000)]
Update.

1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>

* string/bits/string2.h: Add optimization for strdup.
Always define __strsep and __strtok_r and make real names available
when feature select macros are defined.

1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/install.texi (Installation): Use i486-linux as example
instead of the unsupported sunos4.
(Reporting Bugs): Mention glibcbug script.
(Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.

1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* posix/wordexp-tst.sh: Make portable.  Add more tests.

* posix/Makefile (do-globtest do-wordexp-test): New targets.

1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
* sysdeps/generic/libc-start.c: ...here, replacing former content.

* sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
netpacket/packet.h.

* sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.

1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
in enumerator for strict standard compliance.
* sysdeps/generic/bits/resource.h: Likewise.

1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
(PLTJMP): New macro.

* sysdeps/arm/fpu/__longjmp.S: New file, implementation of
longjmp() when floating point enabled.
* sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
* sysdeps/arm/__longjmp.S: Remove floating point code.
* sysdeps/arm/setjmp.S: Likewise.

* sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
* sysdeps/arm/bsd-_setjmp.S: Likewise.

* sysdeps/arm/memset.S: New file; optimised ARM implementation of
memset().

* sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
prototype.

1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>

Based on patches from Pat Beirne and Scott Bambrough:

* sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.

* sysdeps/arm/bits/fenv.h: New file.

* sysdeps/arm/dl-machine.h: New file.  Add ELF support.
* sysdeps/arm/elf/setjmp.S: Likewise.
* sysdeps/arm/elf/start.S: Likewise.
* sysdeps/arm/init-first.c: Likewise.
* sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
* sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
comment about floating point to reflect current reality.

* sysdeps/unix/arm/brk.S: Support PIC.
* sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
re-entrant code.
* sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
return; call syscall_error through PLT.
* sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.

1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
* sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.

26 years agoUpdate.
Ulrich Drepper [Wed, 18 Mar 1998 13:36:59 +0000 (13:36 +0000)]
Update.

1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* manager.c (__pthread_manager): Reduce first argument to select
to include just the needed file descriptor.

26 years agoUpdate.
Ulrich Drepper [Wed, 18 Mar 1998 12:22:11 +0000 (12:22 +0000)]
Update.

* dirent/list.c (test): Return error value.
(main): Exit with error value.

* sysdeps/unix/opendir.c (__opendir): Add missing initialization.

* Makefile (distribute): Add test-skeleton.c.
* test-skeleton.c: New file.
* dirent/Makefile (tests): Add opendir-tst1.
* dirent/opendir-tst1.c: New file.

1998-03-18  Ulrich Drepper  <drepper@cygnus.com>

Optimize memory handling.

26 years agoUpdate.
Ulrich Drepper [Wed, 18 Mar 1998 09:01:59 +0000 (09:01 +0000)]
Update.

1998-03-18  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
Optimize memmory handling.
* sysdeps/unix/closedir.c: Optmize memory handling.

26 years agoUpdate.
Ulrich Drepper [Tue, 17 Mar 1998 17:40:39 +0000 (17:40 +0000)]
Update.

1998-03-17  Ulrich Drepper  <drepper@cygnus.com>

* posix/wordexp.c (parse_param): Fix off-by-on error in $@
handling.  Optimize a bit.

26 years agoUpdate.
Ulrich Drepper [Tue, 17 Mar 1998 17:27:52 +0000 (17:27 +0000)]
Update.

1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>

* posix/wordexp.c (parse_comm): Allow quoting inside $(...).
(parse_param): Fold in Andreas' fixes to do with when the end of
the parameter name has been reached, and quoting inside ${...}.
(parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
$((echo);(ls)).

1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* manual/maint.texi: Split out installation and contribution
sections to their own appendices.  Misc cleanups.
* manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
* manual/contrib.texi: New file.
* manual/libc.texinfo: Pull in new appendices.
* manual/header.texi: Correct node pointer.

1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/process.texi (Process Completion): Clarify return value
of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]

26 years agoUpdate.
Ulrich Drepper [Tue, 17 Mar 1998 00:07:36 +0000 (00:07 +0000)]
Update.

1998-03-17 00:06  Ulrich Drepper  <drepper@cygnus.com>

* manager.c: Fix last patch which caused core dumps.

* pthread.c: Correctly handle missing SIGRTMIN.

26 years agoUpdate.
Ulrich Drepper [Mon, 16 Mar 1998 18:30:44 +0000 (18:30 +0000)]
Update.

1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* posix/wordexp-test.c: Add more tests.
(testit): Fix logic.

* posix/wordexp.c (exec_comm): In the child, redirect stderr to
/dev/null instead of closing it, close pipe.  Always chop off all
trailing newlines.  Kill and reap child before returning error.
(w_addword, parse_glob): Fix memory leak.
(wordexp): Fix dangling pointer problem.

1998-03-16  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-close.c (_dl_close): Correct and simplify unmapping.

* posix/wordexp-test.c (main): Fix little thinkos and typos.

* catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
directory index by only the language.

26 years agoUpdate.
Ulrich Drepper [Mon, 16 Mar 1998 13:39:33 +0000 (13:39 +0000)]
Update.

1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>

* posix/wordexp-tst.sh: Store test results in the
${common_objpfx}posix directory.

* posix/wordexp-test.c: Remove temporary directory afterwards.

26 years agoUpdate.
Ulrich Drepper [Mon, 16 Mar 1998 09:09:16 +0000 (09:09 +0000)]
Update.

1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* libc.map: Export internal versions of cancelable functions.

1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makerules (MAKEFLAGS): Append `r'.

1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makeconfig: Define have-thread-library, shared-thread-library
and static-thread-library if a thread library is available.  Don't
define rt.
* nscd/Makefile: Compile nscd if have-thread-library.  Rename
nscd-routines to nscd-modules.  Use shared-thread-library and
static-thread-library in dependencies.
* rt/Makefile: Only compile librt if have-thread-library is
defined.
* Makefile (subdirs): Always include rt subdir.

1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.

26 years ago($(common-objpfx)gnu/lib-names.h): Add dummy command.
Ulrich Drepper [Mon, 16 Mar 1998 08:22:36 +0000 (08:22 +0000)]
($(common-objpfx)gnu/lib-names.h): Add dummy command.

26 years agoEntry for localedata/locales/pl_PL moved to correct file.
Andreas Schwab [Mon, 16 Mar 1998 05:17:48 +0000 (05:17 +0000)]
Entry for localedata/locales/pl_PL moved to correct file.

26 years agoUpdate.
Ulrich Drepper [Sat, 14 Mar 1998 22:01:46 +0000 (22:01 +0000)]
Update.

1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>

* configure.in: Recognize variations for 32 MIPS processors.
Don't assume ELF systems always have .weak, test for .weakext.

26 years agoUpdate.
Ulrich Drepper [Sat, 14 Mar 1998 19:44:22 +0000 (19:44 +0000)]
Update.

1998-03-14  Ulrich Drepper  <drepper@cygnus.com>

* configure.in: Irix6 is an ELF platform.

26 years agoUpdate.
Ulrich Drepper [Sat, 14 Mar 1998 16:08:16 +0000 (16:08 +0000)]
Update.

1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>

* elf/dl-close.c (_dl_close): Stop unmapping the segments after
unmapping the last loaded segment.

1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>

* configure.in: Set base_os for Irix6.
Correct test for .weakext.

1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* elf/dl-deps.c (_dl_map_object_deps): Add first parameter
(new_line) to _dl_debug_message call.

* locale/programs/linereader.c (lr_token): Return EOF token at EOF.

26 years agoUpdate.
Ulrich Drepper [Sat, 14 Mar 1998 09:27:24 +0000 (09:27 +0000)]
Update.

1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>

* posix/wordexp.c (parse_param): Perform field-splitting after
expanding positional parameter.

* posix/wordexp-tst.sh: Test that field-splitting is performed
after expanding positional parameter.

* posix/wordexp.c (parse_param): Fixed memory leak in
field-splitting after parameter expansion.

1998-03-14  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/linereader.c (lr_token): Return EOF token at
EOF.
(get_toplvl_escape): Correctly terminate loop at EOF.
Patch by Cristian Gafton <gafton@redhat.com>.

26 years agoUpdate.
Ulrich Drepper [Fri, 13 Mar 1998 17:02:23 +0000 (17:02 +0000)]
Update.

1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>

* string/tester.c (test_strpbrk): Add more strpbrk tests.
(test_strsep): Likewise.  Correct horrible bugs.

* string/bits/string2.h (strcspn): Optimize also reject string of
length 2 and 3.
(strspn): Likewise.
(strpbrk): Likewise.
(strsep): Likewise.  Correct bug with successive separators and
separators at the end of the string.
* sysdeps/generic/strsep.c: Correct bug with successive separators
and separators at the end of the string.

1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>

* posix/wordexp.c (parse_param): Positional parameters ($1, $2
etc) now handled, as well as $$ (pid).

* posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
(distribute): Add wordexp-tst.sh.

* posix/wordexp-tst.sh: New file.

* posix/wordexp.c (parse_param): $# (or ${#}) expands to the
number of positional parameters.  Renamed substitute_length to
seen_hash.
Don't free(env) is env is NULL.

1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>

* libc.map: Add pthread_attr_init to GLIBC_2.1.

1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>

* gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
for output file replacing gmon.out.
Patch by Dean Gaudet <dgaudet@arctic.org>.

1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
up namespace.  Optimize finding end of line.

1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
securely.  Optimized.
(process_dl_debug): Add ':' to list of separators.  Optimized.

1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

26 years agoAdd pthread_attr_init to GLIBC_2.1.
Ulrich Drepper [Fri, 13 Mar 1998 16:53:01 +0000 (16:53 +0000)]
Add pthread_attr_init to GLIBC_2.1.

26 years ago* sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
Andreas Schwab [Fri, 13 Mar 1998 01:27:51 +0000 (01:27 +0000)]
* sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,

isless, islessequal, islessgreater, isunordered): Return zero or
one.
Fri Mar 13 10:25:26 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
isless, islessequal, islessgreater, isunordered): Return zero or
one.

26 years agoUpdate.
Ulrich Drepper [Fri, 13 Mar 1998 00:56:15 +0000 (00:56 +0000)]
Update.

1998-03-13 00:46  Ulrich Drepper  <drepper@cygnus.com>

* attr.c: Implement pthread_attr_[gs]etguardsize,
pthread_attr_[gs]setstackaddr, pthread_attr_[gs]etstacksize.
Change pthread_attr_init to have two interfaces.
* internals.h (struct _pthread_descr_struct): Add new fields for
above functions.
* libpthread.map: Add names in GLIBC_2.1 section.
* manager.c (pthread_handle_create): Implement guardsize and
user stack.
(pthread_free): Likewise.
* pthread.c (pthread_create): Add new interface for changed
pthread_attr_t.
* sysdeps/pthread/pthread.h: Add prototypes for new functions.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Add definition of
PTHREAD_STACK_MIN.

* manager.c: Enable resetting of the thread scheduling policy
to SCHED_OTHER when the parent thread has a different one.

26 years agoUpdate
Ulrich Drepper [Thu, 12 Mar 1998 22:04:57 +0000 (22:04 +0000)]
Update

1998-03-10  Ulrich Drepper  <drepper@cygnus.com>

* aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.

* sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
constants.

* sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
definition here.
* sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
definition here.

* sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
AF_* and PF_* constants.

* sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.

26 years agoUpdate.
Ulrich Drepper [Thu, 12 Mar 1998 17:26:19 +0000 (17:26 +0000)]
Update.

1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>

* posix/wordexp-test.c: More tests.
(main): Set up arena for pathname expansion tests (in a temporary
directory).
(testit): Don't check word count or word vector if return value is
non-zero.

* posix/wordexp.c (exec_comm): Always chop off terminating
linefeed (just like bash does).
(parse_param): Change lots of occurrences of "if (!*env)" to "if
(!env || !*env)".
(parse_param): For assignment inside parameter expansion, use all
expanded words in assignment rather than just the first.
(parse_param): Corrected return value for parameter expansion of
an unset variable when WRDE_UNDEF is in effect.
(parse_dollars): Don't field-split if quoted.
(wordexp): Opening brace character isn't allowed unquoted.

1998-03-12  Ulrich Drepper  <drepper@cygnus.com>

* elf/dlerror.c: Fix concurrency problems with error string and
number.

* elf/dl-deps.c (_dl_map_object_deps): Print debug info when
filter/auxiliary are being loaded.

1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>

* elf/dlerror.c (last_object_name): Removed.
(dlerror): Don't use last_object_name.
(_dl_error_run): Omit second argument to _dl_catch_error.
* elf/dl-error.c (struct catch): Remove objname member.
(_dl_signal_error): Construct string including objname when given.
(_dl_catch_error): Remove objname handling.
* elf/link.h (_dl_catch_error): Fix prototype and comment.
* elf/rtld.c (dl_main): Call _dl_catch_error correctly.
* elf/dl-deps.c (_dl_map_objet_deps): Likewise.
* nss/nsswitch.c (nss_dlerror_run): Likewise.
* iconv/gconv_dl.c (dlerror_run): Likewise.
[Corrects PR libc/501].

26 years agoUpdate.
Ulrich Drepper [Thu, 12 Mar 1998 09:35:57 +0000 (09:35 +0000)]
Update.

1998-03-12  Matthias Urlichs <smurf@noris.de>

* nscd/nscd.c: Ignore SIGPIPE.

1998-03-12  Ulrich Drepper  <drepper@cygnus.com>

* nscd/nscd_getgr_r.c: Use __ protected names.
* nscd/nscd_getpw_r.c: Likewise.

1998-03-12  Matthias Urlichs <smurf@noris.de>

* nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
* nscd/nscd_getpw_r.c: Fix length calculation in result check,
null bytes are not transmitted.

1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>

* powerpc/syscalls.list: Correct typo.
* alpha/syscalls.list: Likewise.
* mips/syscalls.list: Likewise.

1998-03-12  Ulrich Drepper  <drepper@cygnus.com>

* socket/sys/socket.h: Add prototype for __socket.

26 years agoUpdate.
Ulrich Drepper [Wed, 11 Mar 1998 15:33:24 +0000 (15:33 +0000)]
Update.

1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>

* elf/rtld.c: Update help message.
Install link maps for preloaded objects using main_map as loader.

* elf/dl-misc.c: Use __libc_write instead of __write for debugging.
* elf/dl-profile.c: Likewise.

* elf/dlsym.c: Little optimization.
* elf/dlvsym.c: Likewise.

1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>

* posix/wordexp-test.c: Move test for parameter list at the very
beginning.

1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>

* posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
WRDE_REUSE flag is set.
(parse_param): Allow `*', `@', and numbers in parameter names.
(parse_dollars): Differentiate between arithmetic expansion and a
command substitution that starts immediately with a sub-shell
(like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
(parse_param): Memory allocated with __alloca in a block was
referenced outside that block.  Adjusted to use malloc/free.
(parse_param): Adjusted field-splitting algorithm so that there is
not necessarily a field split at the end of a parameter expansion.

1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>

* posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
don't free words that have already been allocated.
(parse_param): A dollar sign on its own will never have a pattern
associated with it (like "${HOME%%/}" has), so don't try to free it.
(parse_glob): Attempt to glob when an unquoted `[' is found
(rather than an unquoted '{' (!)).  Also for unquoted '?'.
(parse_glob): Sorted out quoting in a glob-able word.
(parse_param): Added $* and $@ handling.

26 years agoLinuxThreads library.
Ulrich Drepper [Wed, 11 Mar 1998 12:42:25 +0000 (12:42 +0000)]
LinuxThreads library.

1998-03-11 00:42  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
* linuxthreads/manager.c: Enable resetting of the thread
scheduling policy to SCHED_OTHER when the parent thread
has a different one.
1998-02-01 13:51  Ulrich Drepper  <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
_POSIX_ASYNCHRONOUS_IO.
* sysdeps/pthread/pthread.h: Define bits for Unix98 variants of
mutexes.
* mutex.c: Implement new mutex types.
* internals.h: Include <signal.h>.
* libpthread.map: Add __erno_location and __h_errno_location.
* errno.c: Return pointer to variable actually in use.  This might
not be the one in the thread structure.
* internals.h (struct _pthread_descr_struct): Add new fields p_errnop
and p_h_errnop.
* manager.c (__pthread_manager): Set p_errnop and p_h_errnop member
of manager thread structure.
(pthread_handle_create): Set p_errnop and p_h_errnop members for new
thread.
* pthread.c: Adapt initializer for thread structures.
(__pthread_initial_thread): Set p_errnop and p_h_errnop member.
(__pthread_reset_main_thread): Reset p_errnop and p_h_errnop of
current thread to global variables.
1998-01-31 17:27  Ulrich Drepper  <drepper@cygnus.com>
* rwlock.c: New file.
* Makefile (libpthread-routines): Add rwlock.
* sysdeps/pthread/pthread.h: Define data structures and declare
functions.
* libpthread.map: Add new functions.
1997-12-18 13:50  Philip Blundell  <pb@nexus.co.uk>
* sysdeps/arm/pt-machine.h: New file; add ARM support.
* sysdeps/arm/Implies: likewise.
* README: Document it.
1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
* signals.c: Remove unneeded initializer for sigwaited, saving a
1997-04-11 01:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
* semaphore.c (sem_init): Set sem_spinlock only if available.
1997-12-04 01:48  Ulrich Drepper  <drepper@cygnus.com>
* mutex.c: Implement PTHREAD_MUTEX_CHECKERROR.
* sysdeps/pthread/pthread.h: Define PTHREAD_MUTEX_CHECKERROR.
* Makefile: Update from LinuxThreads 0.7.
* internals.h. Likewise.
* manager.c: Likewise.
* mutex.c: Likewise.
* pthread.c: Likewise.
* signals.c: Likewise.
* specific.c: Likewise.
* Examples/ex3.c: Likewise.
1997-11-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
* pthread.c (__pthread_reset_main_thread): Close pipe only if still
open.
1997-10-29 05:38  Ulrich Drepper  <drepper@cygnus.com>

* wrapsyscall.c: Add socket functions which are also cancelation
points.

1997-10-19 21:40  Wolfram Gloger  <wg@wolfram.dent.med.uni-muenchen.de>

* specific.c (__libc_internal_tsd_set, __libc_internal_tsd_get):
New functions for fast thread specific data within libc.

* internals.h: Add new array p_libc_specific to struct
_pthread_descr_struct.

* sysdeps/pthread/bits/libc-lock.h: Declare new functions.

1997-10-13 05:39  Ulrich Drepper  <drepper@cygnus.com>

* semaphore.h: Add __BEGIN_DECLS/__END_DECLS.
Reported by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.

1997-08-29 03:05  Ulrich Drepper  <drepper@cygnus.com>

* internals.h (struct _pthread_descr_struct): Add definitions for
two-level specific key handling.
* manager.c (pthread_handle_create): Initialize specific memory array.
* specific.c: Implement two-level key handling.
* weaks.c: Don't provide dummy key handling.
* sysdeps/pthread/bits/libc-lock.h: Typedef __libc_lock_t (no #define).
Add definition of __libc_key_t.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Define PTHREAD_KEYS_MAX
as 1024.
Add definition of _POSIX_THREAD_DESTRUCTOR_ITERATIONS and
PTHREAD_DESTRUCTOR_ITERATIONS.

* manager.c (pthread_handle_create): Compare mmap result with
MAP_FAILED.

* ptfork.c: Rename to __pthread_atfork and make old name a weak alias.
* sysdeps/pthread/bits/pthread.h: Add prototype for __pthread_atfork.

1997-08-22 19:04  Richard Henderson  <rth@cygnus.com>

sysdeps/sparc -> sysdeps/sparc/sparc32
sysdeps/sparc64 -> sysdeps/sparc/sparc64

* internals.h: Change definition of THREAD_SELF to be an expression,
not a statement that did a return.
* sysdeps/alpha/pt-machine.h (THREAD_SELF): Update accordingly.
* sysdeps/sparc/sparc32/pt-machine.h (THREAD_SELF, INIT_THREAD_SELF):
Follow Solaris and use a "system reserved" register (%g6) to hold
the thread descriptor.
* sysdeps/sparc/sparc64/pt-machine.h: Likewise.

1997-08-03 00:09  Ulrich Drepper  <drepper@cygnus.com>

* mutex.c: Correct pthread_once.  Patch by Xavier Leroy.
* sysdeps/pthread/pthread.h: Add prototype for __pthread_once.
* sysdeps/pthread/bits/pthread.h: Add macros for __libc_once.

* semaphore.c: Include spinlock.h only when needed.

* specific.c (__pthread_setsepcific, __pthread_getspecific): Reject
keys for entries not in use.

* weaks.c: Implement key handling functions for real.

1997-06-29  01:04  Richard Henderson  <richard@gnu.ai.mit.edu>

Initial sparc64-linux support:
* linuxthreads/sysdeps/sparc64/Implies: New file.
* linuxthreads/sysdeps/sparc64/pt-machine.h: Likewise.

1997-06-29 00:48  Ulrich Drepper  <drepper@cygnus.com>

* semaphore.c: Include spinlock.h at correct place.
Patch by HJ Lu.

1997-06-13 10:06  Richard Henderson  <rth@tamu.edu>

The Great Bit File Move:
* sysdeps/alpha/semaphorebits.h: -> .../bits/semaphore.h.
* sysdeps/powerpc/semaphorebits.h: Likewise.
* sysdeps/pthread/cmpxchg/semaphorebits.h: Likewise.
* sysdeps/pthread/no-cmpxchg/semaphorebits.h: Likewise.
* sysdeps/pthread/libc-lock.h: -> bits/
* sysdeps/pthread/stdio-lock.h: Likewise.
* sysdeps/unix/sysv/linux/local_lim.h: Likewise.
* sysdeps/unix/sysv/linux/posix_opt.h: Likewise.
* semaphore.h: Likewise.
* sysdeps/pthread/pthread.h: Likewise.

* lockfile.c: <foo.h> -> <bits/foo.h>.
* semaphore.h: Likewise.

* Makefile: (headers): foo.h -> bits/foo.h.
* sysdeps/pthread/Makefile: Likewise.

1997-04-11 01:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* semaphore.c (sem_init): Set sem_spinlock only if available.

* sysdeps/m68k/pt-machine.h (testandset, __compare_and_swap): Fix
asm constraints.

1997-04-09 03:00  Ulrich Drepper  <drepper@cygnus.com>

Update from LinuxThreads 0.6.

* attr.c (pthread_attr_getdetachstate): Use __sched_get_priority_max
and __sched_get_priority_min instead of names without `__'.

* manager.c: Rewrite large parts to implement opaque pthread_t.

* cancel.c: Adapt for opaque pthread_t type.
* condvar.c: Likewise.
* errno.c: Likewise.
* join.c: Likewise.
* mutex.c: Likewise.
* pthread.c: Likewise.
* signals.c: Likewise.
* specific.c: Likewise.
* restart.h: Likewise.
* queue.h: Likewise.
* Examples/ex3.c: Likewise.
* Examples/ex4.c: Likewise.
* sysdeps/pthread/pthread.h: Likewise.

* pthread.c: Accumulate time for all threads in thread manager.

* semaphore.c: Implement fallback implementation for architectures
sometimes missing compare-exchange operations.

* cancel.c (pthread_cancel): Validate handle argument.
* join.c (pthread_join): Likewise.
(pthread_detach): Likewise.
* signals.c (pthread_kill): Likewise.

* spinlock.h (acquire): Use __sched_yield not sched_yield.

* queue.h (enqueue): Enqueue thread according to priority.

* internals.c (struct pthread_start_args): New struct for passing
args to cloning function.
(struct _pthread): Rename to _pthread_descr_struct and adapt for
opaque pthread_t.

* Examples/Makefile (clean): Pass -f option to rm.

* sysdeps/i386/pt-machine.h: Add check for compare-exchange instruction
and define TEST_FOR_COMPARE_AND_SWAP.
* sysdeps/i386/i486/pt-machine.h: Removed.

* sysdeps/unix/sysv/linux/local_lim.h (PTHREAD_THREADS_MAX): Increase
to 1024.

1997-04-04 16:38  Ulrich Drepper  <drepper@cygnus.com>

* restart.h (suspend): Clear p_signal before suspending.
(suspend_with_cancellation): Likewise.
Patch by Xavier Leroy <Xavier.Leroy@inria.fr>.

* weaks.c: Make __pthread_key_create return 1.
* sysdeps/pthread/libc-lock.h: Define __libc_key_create,
__libc_getspecific, __libc_setspecific, and __libc_key_t.
* sysdeps/pthread/stdio-lock.h: Don't care for implementation not
using libio.

1997-03-19 15:13  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* sysdeps/sparc/pt-machine (RELEASE): Fix.

1997-03-01 07:55  Geoff Keating  <geoffk@ozemail.com.au>

* sysdeps/powerpc/Implies: Added.
* sysdeps/powerpc/pt-machine.h: Added.
* sysdeps/powerpc/semaphorebits.h: Added.

1997-01-22 01:22  Ulrich Drepper  <drepper@cygnus.com>

* linuxtheads/pthread.c (__pthread_initial_thread): Correct
initializer.
(__pthread_manager_thread): Likewise.
Reported by Andreas Jaeger.

1997-01-18 22:15  Richard Henderson  <rth@tamu.edu>

Since sigset_t no longer fits in a register, we can't pass in the
thread's initial mask so easily.  Take this opportunity to simplify
the clone implementation by only accepting a single void* argument.

* linuxthreads/manager.c (__pthread_manager): Put thread vitals
in the thread struct instead of as arguments through clone.
(pthread_start_thread): Look for them there.
* linuxthreads/internals.h (struct _pthread): Add p_initial_fn,
p_initial_fn_arg, p_initial_mask.  Fix __pthread_manager proto.
* linuxthreads/pthread.c (pthread_initialize_manager): Revise
clone invocation.

26 years agoUpdate.
Ulrich Drepper [Wed, 11 Mar 1998 11:09:56 +0000 (11:09 +0000)]
Update.

1998-03-11  Ulrich Drepper  <drepper@cygnus.com>

* nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
parsing it.

26 years agoUpdate.
Ulrich Drepper [Wed, 11 Mar 1998 09:54:55 +0000 (09:54 +0000)]
Update.

1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
_dl_debug_message.

1998-03-12  Matthias Urlichs  <smurf@noris.de>

* elf/dl-misc.c: Default for debug output should be stderr.
* elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
* elf/dl-lookup.c: reference_name may be NULL or empty.

1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.

1998-03-11  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.

* sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.

1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.

1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

26 years agoInfo from kernel header.
Ulrich Drepper [Wed, 11 Mar 1998 09:31:14 +0000 (09:31 +0000)]
Info from kernel header.

26 years ago* sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
Andreas Schwab [Wed, 11 Mar 1998 01:32:12 +0000 (01:32 +0000)]
* sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the

init stuff.
Wed Mar 11 10:30:53 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
init stuff.

26 years agoRegenerated.
Ulrich Drepper [Wed, 11 Mar 1998 00:00:40 +0000 (00:00 +0000)]
Regenerated.

26 years agoUpdate.
Ulrich Drepper [Tue, 10 Mar 1998 20:32:27 +0000 (20:32 +0000)]
Update.

1998-03-10  Ulrich Drepper  <drepper@cygnus.com>

* libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
flag.

* misc/syslog.c (vsyslog): Don't try to send if not connected to
syslog daemon.
(closelog_internal): Don't do anything if not connected.

26 years agoUpdate.
Ulrich Drepper [Tue, 10 Mar 1998 18:04:16 +0000 (18:04 +0000)]
Update.

1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>

* libc.map: Add _dl_debug_message.
* elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
before every line.
* elf/fini.c: Correctly use new _dl_debug_message function.
* elf/init.c: Likewise.
* elf/dl-lookup.c: Likewise.
* sysdeps/unix/sysv/linux/libc-start.c: Likewise.
* elf/dl-load.c: Likewise.  Add more debugging prints.
* elf/dl-reloc.c: Likewise.
* elf/dl-version.c: Likewise.
* elf/dl-support.c: Add variables for debugging.
* elf/rtld.c: Likewise.  Recognize new debug options.
* elf/link.h: Declare new variables.

* elf/dl-deps.c (_dl_map_object_deps): Little optimizations.

* sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.

1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>

* posix/wordexp-test.c (command_line_test): New function to allow
testing of specific cases from the command-line.

1998-03-10  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-init.c (_dl_init_next): Print nicer messages.
* elf/dl-fini.c (_dl_fini): Likewise.
* sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.

26 years agoUpdate.
Ulrich Drepper [Tue, 10 Mar 1998 12:44:51 +0000 (12:44 +0000)]
Update.

26 years agoUpdate.
Ulrich Drepper [Tue, 10 Mar 1998 12:20:58 +0000 (12:20 +0000)]
Update.

1998-03-10 07:54  H.J. Lu  <hjl@gnu.org>

* elf/rtld.c (dl_main): Load the preloaded objects dependencies.

* sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.

26 years agoUpdate.
Ulrich Drepper [Tue, 10 Mar 1998 12:04:08 +0000 (12:04 +0000)]
Update.

1998-03-10  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
symbol in debug message.
(_dl_lookup_versioned_symbol_skip): Likewise.

* sysdeps/unix/readdir_r.c: Zero out *result on EOF.
* manual/filesys/texi: Document this.
0600.  Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.

26 years agoUpdate.
Ulrich Drepper [Tue, 10 Mar 1998 11:10:51 +0000 (11:10 +0000)]
Update.

1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>

* sysdeps/unix/readdir_r.c: zero out *result on EOF.
* sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
* manual/filesys/texi: document this.

26 years agoUpdate.
Ulrich Drepper [Tue, 10 Mar 1998 10:51:25 +0000 (10:51 +0000)]
Update.

1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>

* manual/filesys.texi: Document the change below.

26 years agoUpdate.
Ulrich Drepper [Tue, 10 Mar 1998 10:45:39 +0000 (10:45 +0000)]
Update.

1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode
0600. Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.

26 years agoUpdate.
Ulrich Drepper [Tue, 10 Mar 1998 00:16:33 +0000 (00:16 +0000)]
Update.

1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
instead scope.  If debugging display information about symbol
resolving.
(_dl_lookup_symbol): Call do_lookup with correct parameters.
(_dl_lookup_symbol_skip): Likewise.
(_dl_lookup_versioned_symbol): Likewise.
(_dl_lookup_versioned_symbol_skip): Likewise.
* elf/dl-support.c: Define _dl_debug_symbols.
* elf/link.h: Add declaration for _dl_debug_symbols.
* elf/rtld.c: Define _dl_debug_symbols.
(process_dl_debug): Recognize symbols option.

26 years agoUpdate.
Ulrich Drepper [Mon, 9 Mar 1998 23:40:44 +0000 (23:40 +0000)]
Update.

1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
in correct format.
* sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
with correct parameters.
[!PIC]: Initialize __libc_multiple_libcs.

26 years agoUpdate.
Ulrich Drepper [Mon, 9 Mar 1998 18:30:58 +0000 (18:30 +0000)]
Update.

1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-support.c (_dl_debug_bindings): Add definition.
* elf/rtld.c (_dl_debug_bindings): Add definition.
(process_dl_debug): Recognize bindings option.  Update help message.
* elf/link.h (struct link_map): Add l_versyms member.
(_dl_debug_bindings): Add declaration.
* elf/version.c (_dl_check_map_versions): Initialize l_versyms.
* elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
and l_reloc_result.
* elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
(sym_val): Remove a member, add m as link_map.
(do_lookup): Return result appropriately.
(_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
Call do_lookup correctly.
(_dl_lookup_symbol_skip): Likewise.
(_dl_lookup_versioned_symbol): Likewise.
(_dl_lookup_versioned_symbol_skip): Likewise.

26 years agoUpdate.
Ulrich Drepper [Mon, 9 Mar 1998 09:11:57 +0000 (09:11 +0000)]
Update.

1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/chown.c: Moved to ...
* sysdeps/unix/sysv/linux/i386/chown.c: ...here.

* sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
* libc.map: Add chown to GLIBC_2.1.
* sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
* sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.

1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
weak alias.
* sysdeps/alpha/ffs.c: Likewise.
* sysdeps/am29k/ffs.c: Likewise.
* sysdeps/i386/ffs.c: Likewise.
* sysdeps/i960/ffs.c: Likewise.
* sysdeps/m68k/ffs.c: Likewise.
* sysdeps/m88k/ffs.c: Likewise.
* sysdeps/powerpc/ffs.c: Likewise.
* sysdeps/rs6000/ffs.c: Likewise.
* sysdeps/vax/ffs.s: Likewise.
* string/string.h: Declare __ffs.
* libc.map: Export it.
* elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
__builtin_ffs, which is not guaranteed to be namespace clean.

1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/sprof.c: Rewrite symbol handling to use the normal symbol
table, which is much more likely to exist than debugging symbols.
(printsym): Remove const.
(load_shobj): Don't use _dl_pagesize.  Fix mapping of section
header table.

* libc.map: Export __profile_frequency, used by elf/sprof, to
avoid infinite recursion during startup.

1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

26 years agoMoved to i386.
Ulrich Drepper [Mon, 9 Mar 1998 08:20:38 +0000 (08:20 +0000)]
Moved to i386.

26 years ago* sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
Andreas Schwab [Mon, 9 Mar 1998 03:20:41 +0000 (03:20 +0000)]
* sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):

Readd lost negate.
* sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
Mon Mar  9 12:16:42 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
Readd lost negate.

* sysdeps/m68k/sysdep.h: Remove the stabs stuff again.

26 years agoUpdate.
Ulrich Drepper [Mon, 9 Mar 1998 00:16:45 +0000 (00:16 +0000)]
Update.

1998-03-09  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-support.c: Add definition of _dl_debug_impcalls.

26 years agoUpdate.
Ulrich Drepper [Mon, 9 Mar 1998 00:01:13 +0000 (00:01 +0000)]
Update.

* elf/dl-support.c (non_dynamic_init): Pass return value of getenv
("LD_LIBRARY_PATH") to _dl_init_paths.

26 years agoUpdate.
Ulrich Drepper [Sun, 8 Mar 1998 23:58:37 +0000 (23:58 +0000)]
Update.

1998-03-08  Ulrich Drepper  <drepper@cygnus.com>

* elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
LD_PRELOAD, and LD_VERBOSE.
(dl_main): Use global variables set by process_envvars instead of
calling getenv.
* elf/dl-load.c (_dl_init_paths): Don't call getenv to get
LD_LIBRARY_PATH value, this comes with the parameter.

26 years agoUpdate.
Ulrich Drepper [Sun, 8 Mar 1998 22:56:54 +0000 (22:56 +0000)]
Update.

1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>

* elf/rtld.c (dl_main): Delay initialization of path structure if
the dynamically linker is invoked implicitly until we read the
dynamic section.

26 years agoUpdate.
Ulrich Drepper [Sun, 8 Mar 1998 18:18:43 +0000 (18:18 +0000)]
Update.

1998-03-08  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.

26 years agoUpdate.
Ulrich Drepper [Sun, 8 Mar 1998 17:12:51 +0000 (17:12 +0000)]
Update.

1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
Linux 2.0 and 2.1.

* sysdeps/unix/sysv/linux/syscalls.list: Add chown.

26 years agoUpdate.
Ulrich Drepper [Sun, 8 Mar 1998 15:26:29 +0000 (15:26 +0000)]
Update.

1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>

* Makeconfig (nisobjdir): Set to path to nis directory.
(rpath-link): Add nisobjdir.
Patch by Sven Verdoolaege <skimo@kotnet.org>.

* elf/Makefile: Pretty print.
* elf/dl-lookup.c: Include unistd.h.
* elf/dl-runtime.c: Likewise.

* localedata/Makefile (test-srcs): Add tst-rpmatch.
(distribute): Add tst-rpmatch.sh.
(tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.

New tests for rpmatch function by
Jochen Hein <jochen.hein@delphi.central.de>.
* localedata/tst-rpmatch.c: New file.
* localedata/tst-rpmatch.sh: New file.

* localedata/locales/de_DE: Correct yesexpr and noexpr.
* localedata/locales/de_AT: Likewise.

* posix/getopt.c: Update contact address.
* posix/getopt1.c: Pretty print.

* sysdeps/generic/libc-start.c: Do most of the initialization now
here instead of in start.S.
* sysdeps/unix/sysv/linux/libc-start.c: Likewise.
* sysdeps/i386/elf/start.S: Remove most of the initialization code.

* sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
profil_counter to be public.

1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>

* posix/wordexp.c (parse_arith): Now works for negative numbers too.
(parse_param): Coded parameter length expansion (${#var}).
(parse_param): Handling for "=", "+", "-", and the ":" versions added.
(parse_param): Cleaned up (fixed) error handling.

* posix/wordexp-test.c: IFS now includes non-whitespace character
(comma).  Added more tests.

26 years agoUpdate.
Ulrich Drepper [Sat, 7 Mar 1998 19:52:45 +0000 (19:52 +0000)]
Update.

1998-03-07  Ulrich Drepper  <drepper@cygnus.com>

* elf/link.h: Fix typos.
Reported by Andreas Jaeger.

* nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
* nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.

* sysdeps/i386/elf/start.S: Don't call main directly, call
* nis/nis_call.c (__do_niscall): Safe and reset errno.
* nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.

26 years agoUpdate.
Ulrich Drepper [Fri, 6 Mar 1998 22:15:32 +0000 (22:15 +0000)]
Update.

1998-03-06  Ulrich Drepper  <drepper@cygnus.com>

* argp/argp-help.c: Remove last bits of using gettext instead of
dgettext.

26 years agoUpdate.
Ulrich Drepper [Fri, 6 Mar 1998 17:21:43 +0000 (17:21 +0000)]
Update.

1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>

* libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
__libc_start_main.
* csu/Makefile (routines): Add libc-start.
* elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
* elf/dl-lookup.c: Likewise.
* elf/dl-version.c: Likewise.
* sysdeps/i386/dl-machine.h: Likewise.
* elf/link.h: Declare _dl_argv, _dl_debug_fd.
Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
_dl_sysdep_message macros which use _dl_sysdep_output.
* elf/dl-fini.c: Write out which destructor is called while debugging.
* elf/dl-init.c: Likewise for constructor.
* elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
* elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
_dl_sysdep_message.  Add _dl_sysdep_output.
* elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
this file can be opened.
For LD_DEBUG=libs also set _dl_debug_impcalls.
* sysdeps/generic/dl-cache.c: Include unistd.h.
* sysdeps/generic/libc-start.c: New file.
* sysdeps/i386/elf/start.S: Don't call main directly, call
* sysdeps/unix/sysv/linux/libc-start.c: New file.
__libc_start_main instead.

* elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.

26 years agoUodate.
Ulrich Drepper [Fri, 6 Mar 1998 13:26:10 +0000 (13:26 +0000)]
Uodate.

1998-03-06  Ulrich Drepper  <drepper@cygnus.com>

* nss/nsswitch.c (__nss_nscd_not_available): Removed.

26 years agoUpdate.
Ulrich Drepper [Fri, 6 Mar 1998 12:45:08 +0000 (12:45 +0000)]
Update.

1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>

* argp/argp.h (struct argp): Add new field domain.
* argp/argp-help.c: Change all gettext calls to dgettext and use
domain field from appropriate argp in call.
* argp/argp-parse.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Fri, 6 Mar 1998 11:39:36 +0000 (11:39 +0000)]
Update.

1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>

* posix/wordexp-test.c: Change testsuite so that it can run even
for ~root != /root.

1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.

1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
Don't store into global errno if we already store through
__errno_location.
* sysdeps/unix/i386/sysdep.S: Likewise.
* sysdeps/unix/alpha/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
PIC).

1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/generic/sysdep.h (L): Remove definition.
* sysdeps/i386/sysdep.h (L): Define it here instead.

1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
* nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
running nscd.
* nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
* nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
* nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.

26 years agoUpdate.
Ulrich Drepper [Fri, 6 Mar 1998 09:18:45 +0000 (09:18 +0000)]
Update.

* nis/nis_call.c (do_ypcall, yp_all): Safe and reset errno.

26 years agoUpdate.
Ulrich Drepper [Fri, 6 Mar 1998 08:52:47 +0000 (08:52 +0000)]
Update.

1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* nis/nis_call.c (__do_niscall): Safe and reset errno.

* nis/ypclnt.c (__yp_bind): Safe and reset errno.

26 years agoUpdate.
Ulrich Drepper [Fri, 6 Mar 1998 08:41:12 +0000 (08:41 +0000)]
Update.

1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/generic/getresuid.c (__getresuid): Use ISO C
declaration style to avoid warnings.

26 years agoUpdate.
Ulrich Drepper [Fri, 6 Mar 1998 08:31:59 +0000 (08:31 +0000)]
Update.

1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>

* elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
"LD_DEBUG".

26 years agoUpdate.
Ulrich Drepper [Fri, 6 Mar 1998 08:30:22 +0000 (08:30 +0000)]
Update.

1998-03-05  Ulrich Drepper  <drepper@cygnus.com>

* posix/Makefile (tests): Add wordexp-test.
* posix/wordexp-test.c: New file.  Testsuite for wrodexp.
Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.

1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>

* elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
dependencies.

* elf/link.h (struct r_search_path_elem): Add two new field for
lib path debugging.
* elf/rtld.c: Recognize LD_DEBUG environment variable and set
variable accordingly.
* elf/dl-load.c: If _dl_debug_libs is nonzero print what library
is considered next along with information about load paths.
* sysdeps/generic/dl-cache.c: Likewise.
* elf/dl-support.c: Define _dl_debug_libs.
* elf/genrtldtbl.awk: Add initializers for two new field in
struct r_search_path_elem.

1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

26 years ago* sysdeps/m68k/add_n.S: Use ENTRY and END macros.
Andreas Schwab [Fri, 6 Mar 1998 01:48:50 +0000 (01:48 +0000)]
* sysdeps/m68k/add_n.S: Use ENTRY and END macros.

* sysdeps/m68k/lshift.S: Likewise.
* sysdeps/m68k/rshift.S: Likewise.
* sysdeps/m68k/sub_n.S: Likewise.
* sysdeps/m68k/m68020/addmul_1.S: Likewise.
* sysdeps/m68k/m68020/mul_1.S: Likewise.
* sysdeps/m68k/m68020/submul_1.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
[_LIBC_REENTRANT]: Don't store into global errno.
* sysdeps/m68k/sysdep.h: New file.
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
(DO_CALL): Change to expect syscall name as argument.
(PSEUDO): Pass syscall_name to DO_CALL.
(SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
errno.
Fri Mar  6 10:40:30 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/m68k/add_n.S: Use ENTRY and END macros.
* sysdeps/m68k/lshift.S: Likewise.
* sysdeps/m68k/rshift.S: Likewise.
* sysdeps/m68k/sub_n.S: Likewise.
* sysdeps/m68k/m68020/addmul_1.S: Likewise.
* sysdeps/m68k/m68020/mul_1.S: Likewise.
* sysdeps/m68k/m68020/submul_1.S: Likewise.

* sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
[_LIBC_REENTRANT]: Don't store into global errno.

* sysdeps/m68k/sysdep.h: New file.
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
(DO_CALL): Change to expect syscall name as argument.
(PSEUDO): Pass syscall_name to DO_CALL.
(SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
errno.

26 years agoTestsuite for owrdexp.
Ulrich Drepper [Thu, 5 Mar 1998 16:42:56 +0000 (16:42 +0000)]
Testsuite for owrdexp.

26 years agoUpdate.
Ulrich Drepper [Thu, 5 Mar 1998 14:03:24 +0000 (14:03 +0000)]
Update.

1998-03-05  Ulrich Drepper  <drepper@cygnus.com>

* elf/rtld.c: Speed up processing of environment variables.  Do
only one run on the environment by avoiding to call getenv.
* sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
function.  Used by patch above.

1998-03-05 10:25  Ulrich Drepper  <drepper@cygnus.com>

* nss/getXXbyYY_r.c: Don't try to contact nscd every time when it
failed.  Only do this every NSS_NSCD_RETRY times.
* nss/nsswitch.c: Define __nss_nscd_not_available, used by above
change.
* nscd/nscd_getgr_r.c (__nscd_getgr_r): Return 2 if contacting the
daemon failed.
* nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.

1998-03-05  Ulrich Drepper  <drepper@cygnus.com>

* nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
module cannot be found.  Reported by Andreas Jaeger.

1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>

* nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
on platforms which default to unsigned chars.
* nscd/nscd_getpw_r.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
defining it.

1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* elf/Makefile (install-bin): Change = to += for sprof to install
ldd also.

26 years agoUpdate.
Ulrich Drepper [Wed, 4 Mar 1998 17:14:36 +0000 (17:14 +0000)]
Update.

1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>

* libio/strops.c (_IO_str_seekoff): Handle MODE == 0.

1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>

* nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.

1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
that a failure to connect to nscd doesn't change errno.

1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/maint.texi (Reporting Bugs): Change
bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.

* locale/iso-4217.def: Likewise

1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>

* manual/texinfo.tex: Updated.

1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
value.
* sysdeps/posix/pathconf.c: Likewise.
* posix/getconf.c: Print `undefined' if pathconf returns -1
without setting errno.

1998-03-04  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
problem.
* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
Patches by Elliot Lee <sopwith@cuc.edu>.

26 years agoUpdate.
Ulrich Drepper [Wed, 4 Mar 1998 09:53:17 +0000 (09:53 +0000)]
Update.

1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>

* elf/link.h (struct link_map): Add new field l_reloc_result.
* elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
of relocation for the object to be profiled.
* elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
to NULL.
* elf/rtld.c (_dl_start): Add comment that we must not allocate an
array here.
* elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
contains a result from a previous run use this instead of computing
the value again.
* elf/dl-minimal.c (malloc): Remove limit for size of allocation.

1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

26 years ago(struct link_map): Add new field l_reloc_result.
Ulrich Drepper [Wed, 4 Mar 1998 09:45:23 +0000 (09:45 +0000)]
(struct link_map): Add new field l_reloc_result.

26 years ago* sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
Andreas Schwab [Wed, 4 Mar 1998 02:37:43 +0000 (02:37 +0000)]
* sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word

offsets into the GOT.
(RTLD_START): Likewise.
Wed Mar  4 11:32:01 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
offsets into the GOT.
(RTLD_START): Likewise.

26 years agoUpdate.
Ulrich Drepper [Tue, 3 Mar 1998 17:58:38 +0000 (17:58 +0000)]
Update.

1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>

* elf/sprof.c: Cleanup a bit.

1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>

* sysdeps/generic/sysdep.h (L): New. Define.

* sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.

* sysdeps/i386/i586/addmul_1.S: Fix a typo.

* sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
to have only one exit point for functions.
* sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
* sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
* sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
* sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
* sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.

1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
reset errno so that errno isn't set to ENOSYS in the first call.
* sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
* sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
* sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
* sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.

26 years agoUpdate.
Ulrich Drepper [Mon, 2 Mar 1998 18:02:11 +0000 (18:02 +0000)]
Update.

1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
* sysdeps/i386/addmul_1.S: Likewise.
* sysdeps/i386/lshift.S: Likewise.
* sysdeps/i386/mul_1.S: Likewise.
* sysdeps/i386/rshift.S: Likewise.
* sysdeps/i386/sub_n.S: Likewise.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/i586/add_n.S: Likewise.
* sysdeps/i386/i586/addmul_1.S: Likewise.
* sysdeps/i386/i586/lshift.S: Likewise.
* sysdeps/i386/i586/mul_1.S: Likewise.
* sysdeps/i386/i586/rshift.S: Likewise.
* sysdeps/i386/i586/sub_n.S: Likewise.
* sysdeps/i386/i586/submul_1.S: Likewise.

* sysdeps/i386/sysdep.h: Extend last change.

* sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
to have only one exit point for functions.

1998-03-02  Ulrich Drepper  <drepper@cygnus.com>

* configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
search.

1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>

* Makerules: Generate libc.so with absolute paths for the used
shared objects.

* config.make.in: Add MAKEINFO definition.

1998-03-02  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
(ENTRY): Use STABS_FUN.
(END): Use STABS_FUN_END.
(STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.

* elf/Makefile: Add rules to build sprof program.
* elf/sprof.c: New file.

1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* misc/syslog.c (openlog_internal): Insert missing closing brace.

1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* configure.in: Check for working msgfmt version (from GNU gettext
0.10 or later).

1998-03-02  Ulrich Drepper  <drepper@cygnus.com>

* configure.in: Avoid //s in sysdirs.
Patch by Roland McGrath.

* stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.

1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>

* elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
setting _dl_global_scope for RTLD_GLOBAL.

1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/make-syscalls.sh: Fix last change so that all
possible lists of object-suffixes are taken care of.

1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>

* timezone/private.h: Update from tzcode1998c.
* timezone/zic.c: Likewise.
* timezone/antarctica: Updated from tzdata1998c.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/europe: Likewise.
* timezone/southamerica: Likewise.

1998-03-02  Ulrich Drepper  <drepper@cygnus.com>

* posix/glob.c (glob_in_dir): Add support for cases insensitive
VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.

26 years ago(glob_in_dir): Add support for cases insensitive VMS.
Ulrich Drepper [Mon, 2 Mar 1998 09:49:48 +0000 (09:49 +0000)]
(glob_in_dir): Add support for cases insensitive VMS.

26 years ago1998-03-01 19:05 H.J. Lu (hjl@gnu.org) * sysdeps/libm-ieee754/e_exp.c ...
Richard Henderson [Sun, 1 Mar 1998 11:06:48 +0000 (11:06 +0000)]
1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.         Changed type of TWO43, TWO52 from float to double.         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.         Changed type of TWO43 from float to double.         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.         Use __isinff.

1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)

* sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
Changed type of TWO43, TWO52 from float to double.
* sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
* sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
Changed type of TWO43 from float to double.
* sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
Use __isinff.

26 years ago1998-03-01 18:52 H.J. Lu (hjl@gnu.org) * sysdeps/unix/sysv/linux/alpha...
Richard Henderson [Sun, 1 Mar 1998 10:53:22 +0000 (10:53 +0000)]
1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.

1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)

* sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
osf_wait4): Removed __xxxx symbol for GLIBC_2.0.

26 years ago * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include kernel_t...
Richard Henderson [Sun, 1 Mar 1998 01:19:00 +0000 (01:19 +0000)]
    * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include         kernel_termios.h.         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.         Clean up random whitespace.         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.

1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>

* sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
kernel_termios.h.
* sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
Clean up random whitespace.
* sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
* sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
* sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.

1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>

26 years ago * shlib-versions: Match alpha*. * sysdeps/unix/sysv/linux/alpha/sysca...
Richard Henderson [Sun, 1 Mar 1998 00:56:42 +0000 (00:56 +0000)]
    * shlib-versions: Match alpha*.         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.         Implement copysign* with and without __ prefix.         Likewise for fabs; use builtin for gcc 2.8.         (floor*): New.         (fdim*): New.         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.         (R_SPARC*): Match current v9 ABI.         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.         * sysdeps/generic/getresgid.c: Use prototype form because of warning.         * sysdeps/unix/sysv/linux/getdents.c: Likewise.         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.         * sysdeps/unix/grantpt.c (argv): Fix consts.         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.

1998-03-01  Richard Henderson  <rth@cygnus.com>

* shlib-versions: Match alpha*.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
* sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.

* sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
Implement copysign* with and without __ prefix.
Likewise for fabs; use builtin for gcc 2.8.
(floor*): New.
(fdim*): New.

* elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
(R_SPARC*): Match current v9 ABI.

* sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.

* sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
* sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
* sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
* sysdeps/generic/getresgid.c: Use prototype form because of warning.
* sysdeps/unix/sysv/linux/getdents.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
* sysdeps/unix/grantpt.c (argv): Fix consts.
* sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
* sysdeps/unix/sysv/linux/sigaction.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Fri, 27 Feb 1998 18:32:03 +0000 (18:32 +0000)]
Update.

* misc/syslog.c: Change to allow user the interpretation of the
outcome even with syslog having no return value.

1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>

* elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
that the number of program headers is >0 (which is wrong for the
loader itself).

1998-02-27  Ulrich Drepper  <drepper@cygnus.com>

26 years agoUpdate.
Ulrich Drepper [Fri, 27 Feb 1998 16:53:21 +0000 (16:53 +0000)]
Update.

* Makefile (distribute): Add README.libm.

1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* time/clocktest.c (main): Correct typo: "--" -> "==".

1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>

* sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
inline function.
(copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
inline functions.

* math/libm.map (__atan2): Added.

1998-02-27  Ulrich Drepper  <drepper@cygnus.com>

26 years agoUpdate.
Ulrich Drepper [Fri, 27 Feb 1998 11:52:41 +0000 (11:52 +0000)]
Update.

* misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.

26 years agoUpdate.
Ulrich Drepper [Fri, 27 Feb 1998 11:47:27 +0000 (11:47 +0000)]
Update.

* misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
bug.

1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/arith.texi (Old-style number conversion): Correct
typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.

1998-02-27  Ulrich Drepper  <drepper@cygnus.com>

26 years agoUpdate.
Ulrich Drepper [Fri, 27 Feb 1998 10:19:10 +0000 (10:19 +0000)]
Update.

1998-02-27  Ulrich Drepper  <drepper@cygnus.com>

* posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
but does not require it.  Handle missing argv[] values gracefully.
* posix/execl.c: Likewise.
* posix/execle.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Fri, 27 Feb 1998 10:00:44 +0000 (10:00 +0000)]
Update.

1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
bit.
* sysdeps/libm-ieee754/s_isinfl.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Fri, 27 Feb 1998 08:47:42 +0000 (08:47 +0000)]
Update.

1998-02-27  Ulrich Drepper  <drepper@cygnus.com>

* libc.map: Add __adjtimex.

1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
Remove memset.

* libc.map (adjtime, adjtimex): Added for GLIBC_2.1.

26 years agoUpdate. cvs/libc-980226
Ulrich Drepper [Thu, 26 Feb 1998 17:17:05 +0000 (17:17 +0000)]
Update.

1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>

* sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
to 64.

* sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.

* sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
* sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.

* sysdeps/unix/make-syscalls.sh: Make versioned symbols only
for shared library.

* libc.map (adjtime, __adjtimex, adjtimex): Added for GLIBC_2.1.

* sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
Added adjtimex and old_adjtimex.

* sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
New.
(osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.

* sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
symbols only for shared library.
* sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.

* sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
* sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.

* sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
rusage pointer.

* sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
New macros.
(__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
timex and __adjtimex, respectively.

* sysdeps/unix/sysv/linux/alpha/adjtime.c: New.

* sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.

26 years agoUpdate.
Ulrich Drepper [Thu, 26 Feb 1998 16:30:54 +0000 (16:30 +0000)]
Update.

1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>

* math/test-fenv.c (print_rounding): Fix a typo in
FE_TOWARDSZERO.

* sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.

1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.

1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* Makefile.in: Disable built-in rules.

1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/i386/fpu/t_exp.c: Move to ...
* sysdeps/libm-i387/t_exp.c: ... here.

1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>

* sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
from __exp2_deltatable.

26 years agoUpdate.
Ulrich Drepper [Thu, 26 Feb 1998 11:20:59 +0000 (11:20 +0000)]
Update.

1998-02-26  Ulrich Drepper  <drepper@cygnus.com>

* nis/ypclnt.c (yp_master): Check result of strdup.
Patch by Thorsten Kukuk.

1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/ypclnt.c: Give clnt handle after error checking free, change
return codes to fix problems with rpc.nisd in YP mode on Ultra's.

1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>

* misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
Patch by Joe Keane <jgk@jgk.org>.

* misc/fstab.h (struct fstab): Change fs_type member to be const.
* misc/fstab.c: Remove casts in fs_type assignments.

1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
* sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
* sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
* sysdeps/powerpc/bits/fenv.h: Likewise.
* sysdeps/m68k/fpu/bits/fenv.h: Likewise.
* sysdeps/generic/bits/fenv.h: Likewise.
* sysdeps/alpha/fpu/bits/fenv.h: Likewise.
* sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/powerpc/test-arith.c (main): Likewise.

1998-02-25  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
the comparison macros.

1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>

* sysdeps/libm-ieee754/s_log2.c (ln2): Added.
(__log2): Fixed return values.
* sysdeps/libm-ieee754/s_log2f.c: Likewise.

1998-02-25  Ulrich Drepper  <drepper@cygnus.com>

* math/math.h (isunordered): Rename local variables to ensure
correct code.  Reported by HJ Lu.

1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>

* sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
isless, islessequal, islessgreater, isunordered): Fix syntax for
fucompip instruction.
(isless, islessequal): Fix logic.

1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* math/libm-test.c (sqrt_test): Add test for sqrt(2).
(comparisons_test): New tests for comparison macros.

26 years agoUpdate.
Ulrich Drepper [Tue, 24 Feb 1998 15:22:29 +0000 (15:22 +0000)]
Update.

1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>

* Makeconfig: Filter out frame-pointer effecting options when
compiling profiling or debugging code.
* config.h.in (internal_function): Don't define here if PROF is
defined.
* gmon/gmon.c (__moncontrol): Don't change state if already in error
state.
(__monstartup): If calloc fails set error state and mark array as
not allocated.
(_mcleanup): Don't call write_gmon if in error state.  Don't try
to free array if not  successfully allocated.

* elf/dl-load.c (STRING): Define to __STRING to enble expansion.
Include elf.h to get macro definitions.
Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.

1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>

* elf/ldd.sh.in: Add compatibility for broken old shells.
* elf/ldd.bash.in: Likewise.

1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>

* sunrpc/rpc_main.c (open_input): Check pipe return error.

* time/clocktest.c (main): Check signal return error.

1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
"/" and use do-install-program. Reported by Mark M. Kettenis.
(subdir_install):  Likewise.

1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* sunrpc/rpc_sample.c: Fix typo.

* nscd/connections.c: Use locale.
* nscd/grpcache.c: Add debug messages, gidtbl should get the
  calloc result.
* nscd/nscd.c: Check if init functions fails.
* nscd/nscd_conf.c: Allow disabling of group cache.
* nscd/nscd_getgr_r.c: Fix return code if group not found.
* nscd/pwdcache.c: Fix debug messages.

1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* libc.map: Add __monstartup and _mcleanup for profiling support.

1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* libc.map: Export __getpagesize, for binary compatibility with
2.0.

1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* posix/globtest.sh: Use --library-path instead of
LD_LIBRARY_PATH.
* localedata/sort-test.sh: Likewise.
* localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.

1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.

* sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
kernel_sigaction): Define.
* sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
kernel_sigaction): Define.

1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* math/libm-test.c: Change epsilons for libm-ieee754.

1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/i386/__longjmp.S: Fix race condition.
Reported by Bruno Haible <haible@ilog.fr>.

26 years agoUpdate.
Ulrich Drepper [Fri, 20 Feb 1998 18:45:36 +0000 (18:45 +0000)]
Update.

1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>

* hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
* iconvdata/8bit-gap.c: Likewise.
* iconvdata/8bit-generic.c: Likewise.
* iconvdata/iso6937.c: Likewise.
* iconvdata/iso8859-1.c: Likewise.
* iconvdata/sjis.c: Likewise.
* iconvdata/t61.c: Likewise.

1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
feature tests by positive feature tests.

1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.

1998-02-20  Ulrich Drepper  <drepper@cygnus.com>

* elf/dlvsym.c (dlvsym_doit): More corrections.
Patch by Andreas Jaeger.

26 years agoUpdate.
Ulrich Drepper [Thu, 19 Feb 1998 18:52:30 +0000 (18:52 +0000)]
Update.

1998-02-19  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.

1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>

* libc.map: More reordering for GLIBC_2.1 symbols.

1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* libc.map: Move some functions from version GLIBC_2.0 to
GLIBC_2.1, reorder declarations.

1998-02-19  Ulrich Drepper  <drepper@cygnus.com>

* resolv/gethnamaddr.c (addrsort): Make this function extern.
Patch by zab@thebrain.grumblesmurf.net.

1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/libnsl.map: NIS+ support is new in glibc 2.1, add
NIS+ functions with version GLIBC_2.1.

1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>

* libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
with 2.0 binaries.  Reported by Thorsten Kukuk.

1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* elf/dlvsym.c (dlvsym_doit): Correct last patch.

* elf/dlsym.c (dlsym_doit): Likewise.

1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* elf/link.h: Correct typos.

* iconv/iconv_prog.c: Correct typo.

* elf/dl-open.c (_dl_open): Assign correct value to new->l_global.

26 years agoUpdate.
Ulrich Drepper [Wed, 18 Feb 1998 17:59:16 +0000 (17:59 +0000)]
Update.

1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>

* iconv/Makefile: Add rules to build and install iconv program.
* iconv/iconv_prog.c: New file.

1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>

* elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
_dl_lookup_symbol_skip call.
* elf/dlvsym.c (dlvsym_doit): Likewise.

1998-02-18  Ulrich Drepper  <drepper@cygnus.com>

* libio/iovsscanf.c: Do not include errno.h.

26 years agoUpdate. cvs/libc-980218
Ulrich Drepper [Wed, 18 Feb 1998 11:00:24 +0000 (11:00 +0000)]
Update.

1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/dl-load.c (add_name_to_object): Don't translate strings.
* elf/dl-minimal.c (_strerror_internal): Define it here to avoid
pulling in the whole error list.
(__dcgettext, dcgettext): Removed.
* libc.map: Export _strerror_internal.

1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/i386/fpu/t_exp.c: New file.

1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
everything with version GLIBC_2.1.
* hesiod/libnss_hesiod.map: Likewise.

1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/arith.texi (Old-style number conversion): This node is a
section, not a subsection.

1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.

1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/rtld.c (dl_main): Make sure that the library search paths
have been initialized before the first call to _dl_map_object.

1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makerules (common-generated): Add libc_pic.os.

1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
of the executable.

1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

26 years ago(common-generated): Add libc_pic.os.
Ulrich Drepper [Wed, 18 Feb 1998 09:12:35 +0000 (09:12 +0000)]
(common-generated): Add libc_pic.os.

26 years agoUpdate.
Andreas Schwab [Wed, 18 Feb 1998 01:33:32 +0000 (01:33 +0000)]
Update.

Wed Feb 18 10:28:58 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/m68k/fpu/t_exp.c: New file.

26 years agoStub file
Andreas Schwab [Wed, 18 Feb 1998 01:32:32 +0000 (01:32 +0000)]
Stub file

26 years agoUpdate.
Ulrich Drepper [Tue, 17 Feb 1998 18:43:17 +0000 (18:43 +0000)]
Update.

1998-02-17  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
to global errno variable anymore.

26 years agoUpdate.
Ulrich Drepper [Tue, 17 Feb 1998 18:23:42 +0000 (18:23 +0000)]
Update.

1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-load.c (open_path): Take extra argument PRELOADED.
If PRELOADED is nonzero check in case of an SUID application
whether the shared object has the SUID bit set.
Fix some other problems with handling shared objects in system
specific directories.
(_dl_map_object): Also take extra parameter and pass it to open_path.
* elf/link.h (_dl_map_object): Correct prototype and comment.
* elf/rtld.c (dl_main): Call _dl_map_object correctly.
* elf/dl-open.c (_dl_open): Likewise.
* elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.

* sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.

* math/libm-test.c (modf_test): Add test for 1.5.

26 years agoUpdate.
Ulrich Drepper [Tue, 17 Feb 1998 16:14:44 +0000 (16:14 +0000)]
Update.

1998-02-17  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
0 to get always an int.

Make compatible with older kernels.  Patch by Richard Henderson.

26 years agoUpdate.
Ulrich Drepper [Tue, 17 Feb 1998 15:51:21 +0000 (15:51 +0000)]
Update.

1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* math/libm.map: Move all symbols that are new in glibc 2.1 to
version GLIBC_2.1.

1998-02-17  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/vfscanf.c (inchar): Check c for being EOF before
trying to read another character.

1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
name to lowercase.

* nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
name to lowercase, add test for big enough buffer.

1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
Make compatible with older kernels. Patch by Richard Henderson.

26 years agoUpdate.
Ulrich Drepper [Tue, 17 Feb 1998 15:15:51 +0000 (15:15 +0000)]
Update.

1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-load.c (open_path): Use __xstat instead of stat.

* localedata/tst-locale.sh: Comment out first test for now.

1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>

* sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
as 1.
* sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
Likewise.

* libio/iogetline.c (_IO_getline_info): Renamed from
_IO_getline.
(_IO_getline): Just call _IO_getline_info.

* libio/libioP.h (_IO_getline_info): New declaration.

* libc.map (_IO_getline_info, __write): Added.

1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
const char* to shut up gcc.

1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>

* eld/dl-open.c (_dl_open): Assign correct value to new->l_global.
Patch forwarded by Cristian Gafton <gafton@redhat.com>.

* math/math.h: Define M_* constants always as `double' and add new
macros M_*l which are of type `long double'.
* sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
* sysdeps/libm-ieee754/s_cacosl.c: Likewise.
* sysdeps/libm-ieee754/s_casinhl.c: Likewise.
* sysdeps/libm-ieee754/s_catanhl.c: Likewise.
* sysdeps/libm-ieee754/s_catanl.c: Likewise.
* sysdeps/libm-ieee754/s_clog10l.c: Likewise.
* sysdeps/libm-ieee754/s_clogl.c: Likewise.
* math/libm-tst.c: Likewise.

* sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
define as long double unconditionally.

1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/arith.texi (Old-style number conversion): Correct some
typos.

1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>

* time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
Restore.

* timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.