platform/upstream/linaro-glibc.git
26 years agoUpdate.
Ulrich Drepper [Fri, 13 Nov 1998 14:41:36 +0000 (14:41 +0000)]
Update.

* version.h (VERSION): Bump to 2.0.101.

26 years agoUpdate.
Ulrich Drepper [Fri, 13 Nov 1998 14:06:33 +0000 (14:06 +0000)]
Update.

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

* Makerules (Versions.all): Generate this file from all Versions.def
files.
(sysd-versions): Use Versions.all instead of Versions.def.

26 years agoUpdate.
Ulrich Drepper [Fri, 13 Nov 1998 13:27:37 +0000 (13:27 +0000)]
Update.

1998-11-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.

26 years agoUpdate.
Ulrich Drepper [Fri, 13 Nov 1998 13:25:47 +0000 (13:25 +0000)]
Update.

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

* libio/bits/stdio.h: Correct and improve fread_unlocked and
fwrite_unlocked optimizations.

* time/tzfile.c (__tzfile_read): Set __tzname based on last names
in time not to last entries in the file.
(__tzfile_compute): Likewise.  Fix for PR libc/863.

* timezone/Makefile: Generate GB timezone data for test.
* timezone/tst-timezone.c: More tests for DST switching time (disabled
for now).

1998-11-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
* sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to

26 years agoCorrect and improve fread_unlocked and fwrite_unlocked optimizations.
Ulrich Drepper [Fri, 13 Nov 1998 13:21:56 +0000 (13:21 +0000)]
Correct and improve fread_unlocked and fwrite_unlocked optimizations.

26 years ago* sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
Andreas Schwab [Fri, 13 Nov 1998 03:01:32 +0000 (03:01 +0000)]
* sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove

d0 from clobber list.
Fri Nov 13 11:57:21 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
d0 from clobber list.

26 years agoUpdate.
Ulrich Drepper [Thu, 12 Nov 1998 18:06:31 +0000 (18:06 +0000)]
Update.

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

* inet/netinet/in.h: Add a few more IPPROTO_* macros.

* libio/Makefile (headers): Add bits/stdio.h.
* libio/iofread_u.c: Undefine fread_unlocked before definition.
* libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
* libio/stdio.h: Move optimizations into ...
* libio/bits/stdio.h: ...here.  New file.

* libio/iofread.c: Pretty print.

1998-11-12  Mark Kettenis  <kettenis@phys.uva.nl>

* sysdeps/gnu/bits/utmpx.h: Protect members of struct
__exit_status with `__'.  Rename pad member of struct utmpx to
__unused.
(RUN_LVL): Define unconditionally.
* sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmpx to
__unused.

1998-11-12  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
Linux AF_NETLINK sockets (needed since the kernel version is
unusable).
* sysdeps/unix/sysv/linux/Makefile: Install it.
* sysdeps/unix/sysv/linux/Dist: Distribute it.

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

* timezone/tst-timezone.c (tests): Add entry for America/Chicago
to test for bug in PR libc/863.

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

* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.

* elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
parameter lazy to do_lazy to avoid clashing with struct member name.
Reported by Ralf Baechle <ralf@uni-koblenz.de>.

1998-11-10  H.J. Lu  <hjl@gnu.org>

* sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
if it is defined in <linux/limits.h>.

1998-11-09 13:07 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* include/protocols/routed.h: Include the real header with
a full path from the top of the source tree.
* include/protocols/rwhod.h: Likewise.
* include/protocols/talkd.h: Likewise.
* include/protocols/timed.h: Likewise.

* timezone/Makefile: Don't include z.ZONE files if no_deps
is set, not if avoid-generated is set.

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

* signal/signal.h: Undo last change.  Get definition of timespec
if __USE_POSIX199309.

* string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
size_t to prevent gcc warning when using -Wqual-cast.
(__strpbrk_c3): Likewise.
Suggested by Alan Curry <pacman@cqc.com>.

26 years ago(abmon): Remove spaces.
Ulrich Drepper [Thu, 12 Nov 1998 18:03:43 +0000 (18:03 +0000)]
(abmon): Remove spaces.

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

* locales/el_GR (abmon): Remove spaces at end of strings.

26 years agoUndo last change. Get definition of timespec if __USE_POSIX199309.
Ulrich Drepper [Thu, 12 Nov 1998 10:01:28 +0000 (10:01 +0000)]
Undo last change.  Get definition of timespec if __USE_POSIX199309.

26 years ago* hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,
Roland McGrath [Wed, 11 Nov 1998 11:28:20 +0000 (11:28 +0000)]
* hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,

unblocked signals are set in the startup masks.

26 years ago1998-11-11 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Wed, 11 Nov 1998 09:57:56 +0000 (09:57 +0000)]
1998-11-11  Roland McGrath  <roland@baalperazim.frob.com>

* hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
INTARRAYSIZE.  Initialize main thread's sigstate from INIT_SIG* ints.
* hurd/hurd/signal.h: Update _hurdsig_init decl.
* hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
INTARRAYSIZE, pass them down to _hurdsig_init.
* hurd/hurd.h: Update _hurd_proc_init decl.

26 years ago1998-11-11 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Wed, 11 Nov 1998 09:56:51 +0000 (09:56 +0000)]
1998-11-11  Roland McGrath  <roland@baalperazim.frob.com>

* hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
INTARRAYSIZE.  Initialize main thread's sigstate from INIT_SIG* ints.
* hurd/hurd/signal.h: Update _hurdsig_init decl.
* hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
INTARRAYSIZE, pass them down to _hurdsig_init.
* hurd/hurd.h: Update _hurd_proc_init decl.

26 years agoUpdate.
Ulrich Drepper [Tue, 10 Nov 1998 19:11:20 +0000 (19:11 +0000)]
Update.

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

* math/cabs.c: Replace complex by _Complex.
* math/cabsf.c: Likewise.
* math/cabsl.c: Likewise.
* math/cimag.c: Likewise.
* math/cimagf.c: Likewise.
* math/cimagl.c: Likewise.
* math/conj.c: Likewise.
* math/conjf.c: Likewise.
* math/conjl.c: Likewise.
* math/creal.c: Likewise.
* math/crealf.c: Likewise.
* math/creall.c: Likewise.

* sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if
included from math.h and __USE_ISOC9X is defined.
* sysdeps/generic/bits/mathdef.h: Likewise.
* sysdeps/generic/i386/fpu/mathdef.h: Likewise.
* sysdeps/generic/m68k/fpu/mathdef.h: Likewise.
* sysdeps/generic/powerpc/bits/mathdef.h: Likewise.
* sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise.

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

* sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by
<complex.h>.
* sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
* sysdeps/generic/bits/mathdef.h: Likewise.
* sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
* sysdeps/powerpc/bits/mathdef.h: Likewise.
* sysdeps/sparc/fpu/bits/mathdef.h: Likewise.

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

* extra-lib.mk: Fix typo in last change.

26 years agoUpdate.
Ulrich Drepper [Mon, 9 Nov 1998 18:21:06 +0000 (18:21 +0000)]
Update.

1998-11-09 18:16  Ulrich Drepper  <drepper@cygnus.com>

* math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH
is needed.
Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined.
Don't define `complex' but instead `_Complex'.  The later is the
reserved keyword.
* math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex,
not complex.

1998-11-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* manual/libc.texinfo: Remove colon from category name.
* manual/Makefile (dir-add.info): Likewise.

1998-11-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* configure.in: Avoid autoconf bug.

1998-10-28  H.J. Lu  <hjl@gnu.org>

* posix/getopt.h: Add "__" to arguments in prototypes.

1998-11-05  H.J. Lu  <hjl@gnu.org>

* libio/iofgets.c (_IO_fgets): Don't report error
if something was read in and errno is set to
EAGAIN.
* libio/iofgets_u.c (fgets_unlocked): Likewise.

1998-11-05  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
header; it defines too much.  Provide a local definition of struct
sockaddr_pkt and a comment advising against its use.

1998-11-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* extra-lib.mk: Avoid empty include list.

1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* extra-lib.mk: Add support for $(lib)-shared-only-routines.

* elf/Makefile (libdl-routines): Add dlopenold only if doing
versioning.
(libdl-shared-only-routines): New variable.

1998-11-06  Paul Eggert  <eggert@twinsun.com>

Don't invoke localtime_r or gmtime_r unless it's the GNU C
library's localtime_r and gmtime_r; there are too many buggy
implementations of localtime_r and gmtime_r out there, and
it's not worth keeping track of all the different bugs.

* time/mktime.c (__EXTENSIONS__): Remove.
(<unistd.h>): No need to include.
Remove.
(my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
Base it on localtime unless _LIBC.

* time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
all uses changed.
(my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
Base them on localtime/gmtime if not _LIBC.

26 years agoUpdate.
Ulrich Drepper [Sun, 8 Nov 1998 12:02:25 +0000 (12:02 +0000)]
Update.

1998-10-28  H.J. Lu  <hjl@gnu.org>

* posix/getopt.h: Add "__" to arguments in prototypes.

1998-11-05  H.J. Lu  <hjl@gnu.org>
1998-11-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

26 years agoUpdate.
Ulrich Drepper [Sun, 8 Nov 1998 10:40:28 +0000 (10:40 +0000)]
Update.

1998-11-05 1998  H.J. Lu  <hjl@gnu.org>

* libio/iofgets.c (_IO_fgets): Don't report error
if something was read in and errno is set to
EAGAIN.
* libio/iofgets_u.c (fgets_unlocked): Likewise.

1998-11-05  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
header; it defines too much.  Provide a local definition of struct
sockaddr_pkt and a comment advising against its use.

1998-11-06 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* extra-lib.mk: Avoid empty include list.

1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* extra-lib.mk: Add support for $(lib)-shared-only-routines.

* elf/Makefile (libdl-routines): Add dlopenold only if doing
versioning.
(libdl-shared-only-routines): New variable.

1998-11-06  Paul Eggert  <eggert@twinsun.com>

Don't invoke localtime_r or gmtime_r unless it's the GNU C
library's localtime_r and gmtime_r; there are too many buggy
implementations of localtime_r and gmtime_r out there, and
it's not worth keeping track of all the different bugs.

* time/mktime.c (__EXTENSIONS__): Remove.
(<unistd.h>): No need to include.
* time/strftime.c: Likewise.

* time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R):
Remove.
(my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
Base it on localtime unless _LIBC.

* time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
all uses changed.
(my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
Base them on localtime/gmtime if not _LIBC.

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

* sysdeps/generic/isastream.c: Always return 0 unless it is an invalid
file descriptor.  This makes this function actually usable.
Proposed by Mark Kettenis <kettenis@phys.uva.nl>.

26 years agoUpdate.
Ulrich Drepper [Thu, 5 Nov 1998 18:07:15 +0000 (18:07 +0000)]
Update.

* math/math.h: Unconditionally include bits/mathdef.h.  Declare
long double functions only if __NO_LONG_DOUBLE_MATH is not
defined.
* sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X.
Define __NO_LONG_DOUBLE_MATH.
* sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X.
* sysdeps/i386/fpu/bits/mathdef.h: Likewise.

26 years agoUpdate.
Ulrich Drepper [Thu, 5 Nov 1998 17:52:04 +0000 (17:52 +0000)]
Update.

* elf/rtld.c: Add a few __builtin_expects where they will improve
a lot.

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

1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* libio/genops.c (_IO_least_marker): Add additional parameter
end_p replacing fp->_IO_read_end.
(save_for_backup): Likewise.  All callers changed.  Use _IO_size_t
and _IO_ssize_t instead of int.
(_IO_switch_to_main_get_area): Remove use of _IO_save_ptr.
(_IO_switch_to_backup_area): Likewise.  Fix comments.
(_IO_seekmark): Undo last change.
(_IO_default_pbackfail): Correct use of backup area.
* libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr.

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

* version.h (VERSION): Bump to 2.0.100.

26 years agoUpdate.
Ulrich Drepper [Thu, 5 Nov 1998 12:26:43 +0000 (12:26 +0000)]
Update.

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

* sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.

* sysdeps/libm-i387/s_fma.S: Optimize a bit.
* sysdeps/libm-i387/s_fmaf.S: Likewise.

1998-11-04 19:47 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* configure.in: Search for install-info and substitute it.
Determine whether install-info is the buggy Debian version
that doesn't understand INFO-DIR-SECTION.
* config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
to be substituted.
* manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
install-info the --section argument it needs to work properly.
(dir-add.texinfo): Delete target.
(dir-add.info): Generate this directly.  Sort entries.  Put a
colon at the end of the INFO-DIR-SECTION line.
* manual/libc.texinfo: Put a colon at the end of the
@dircategory line.

1998-11-05  Paul Eggert  <eggert@twinsun.com>

* time/mktime.c (__mktime_internal): Adopt the traditional (and
problematic) notion of what to do when tm_isdst doesn't match.

1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* posix/PTESTS: Fix spelling.

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

* elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.

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

* libio/fileops.c (new_do_write): New function.
(_IO_new_do_write): Call new_do_write.
(_IO_new_file_xsputn): Likewise.

* libio/oldfileops.c (old_do_write): New function.
(_IO_old_do_write): Call old_do_write.
(_IO_old_file_xsputn): Likewise.

26 years agoUpdate.
Ulrich Drepper [Wed, 4 Nov 1998 23:55:44 +0000 (23:55 +0000)]
Update.

Reported by Christian Gafton.

* sysdeps/libm-i387/e_hypot.S: New file.
* sysdeps/libm-i387/e_hypotf.S: New file.

26 years agoUpdate.
Ulrich Drepper [Wed, 4 Nov 1998 23:45:45 +0000 (23:45 +0000)]
Update.

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

* misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
functions.  Reduce error in computing normalized value by multiplying
factor in loop and compute result in one step.

26 years agoUpdate.
Ulrich Drepper [Wed, 4 Nov 1998 23:04:21 +0000 (23:04 +0000)]
Update.

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

* elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.

26 years agoUpdate.
Ulrich Drepper [Wed, 4 Nov 1998 22:59:09 +0000 (22:59 +0000)]
Update.

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

* libio/fileops.c (new_do_write): New function.
(_IO_new_do_write): Call new_do_write.
(_IO_new_file_xsputn): Likewise.

* libio/oldfileops.c (old_do_write): New function.
(_IO_old_do_write): Call old_do_write.
(_IO_old_file_xsputn): Likewise.

26 years agoUpdate.
Ulrich Drepper [Wed, 4 Nov 1998 21:20:17 +0000 (21:20 +0000)]
Update.

* time/mktime.c (__mktime_internal): Correct last change.  We must
stop searching for the right isdst value before stepping to the
initial value.

26 years agoUpdate.
Ulrich Drepper [Wed, 4 Nov 1998 12:06:57 +0000 (12:06 +0000)]
Update.

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

* malloc/malloc.c: Make sure calloc really returned zeroed memory.
Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.

26 years agoUpdate.
Ulrich Drepper [Tue, 3 Nov 1998 17:21:07 +0000 (17:21 +0000)]
Update.

1998-11-02 16:12 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* sysdeps/generic/bits/signum.h: Define signals with their
historical numbers when those are in the 1-15 range and
consistent across platforms.
Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
appropriately instead of with fake function declarations
(would cause link errors).
If __USE_UNIX98, define SIG_HOLD.

1998-10-29  H.J. Lu  <hjl@gnu.org>

* sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
union only if __USE_POSIX199309 is defined.

* misc/sys/select.h (pselect): Declared only if __USE_GNU is
defined.

* sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
before <sys/socket.h> to make sockaddr_at available to
<sys/socket.h>.

26 years agoUpdate.
Ulrich Drepper [Tue, 3 Nov 1998 15:49:43 +0000 (15:49 +0000)]
Update.

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

* time/mktime.c (__mktime_internal): Handle broken down times
around the time of the DST switches more correctly.

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

        * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
        before <sys/socket.h> to make sockaddr_at available to
        <sys/socket.h>.

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

* time/tzset.c (tz_compute): Remove unused parameter timer.
Change caller.

1998-11-02  Mark Kettenis  <kettenis@phys.uva.nl>

* sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.

26 years agoUpdate.
Ulrich Drepper [Mon, 2 Nov 1998 22:26:02 +0000 (22:26 +0000)]
Update.

* elf/Makefile (libdl-routines): Add dlopenold.
* elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
* elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
is set and bounce otherwise.
* elf/dlopen.c: Rename function to __dlopen_check and make version
named dlopen.
* elf/dlopenold.c: New file.

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

26 years agoUpdate.
Ulrich Drepper [Mon, 2 Nov 1998 21:48:45 +0000 (21:48 +0000)]
Update.

* elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
* elf/dl-open.c (_dl_global_scope_alloc): Move definition to
* elf/dl-deps.c: ...here.
* elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
new parameter and expect result.  Remove code handling RTLD_GLOBAL.
Add return value of _dl_map_object_deps to
_dl_main_searchlist->r_nlist.
* elf/dl-deps.c (_dl_map_object_deps): Change to return value.
If we parameter GLOBAL is nonzero add object and dependencies to
the global scope.
* elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
* elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
Mark all objects as in global scope.
* elf/dl-object.c (_dl_new_object): Initialize l_global to zero.

* sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.

* sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
used in macro magic.

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

        * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
        before <sys/socket.h> to make sockaddr_at available to
        <sys/socket.h>.

* posix/glob.h: Remove __P from parameter lists of declarations.

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

* time/tzset.c (tz_compute): Remove unused parameter timer.
Change caller.

1998-11-02  Mark Kettenis  <kettenis@phys.uva.nl>

* sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.

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

26 years agoUpdate.
Ulrich Drepper [Mon, 2 Nov 1998 10:07:25 +0000 (10:07 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
unnecessary test and add cast.

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

* posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.

* sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
parameter fd.
* sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.

1998-11-02  Mark Kettenis  <kettenis@phys.uva.nl>

* sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
fds_bits member.
(__FDMASK): Use __fd_mask instead of unsigned long int in cast.

1998-10-31  Richard Henderson  <rth@cygnus.com>

* math/Makefile (gmp-objs): Add udiv_qrnnd.

* sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
(inline_syscall*): New.
* sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.

1998-10-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
* sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
* sunrpc/rpc/auth_des.h: Use uint32_t for time values.
* sunrpc/rpc/xdr.h: Add INT32 support.

* nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
* nis/nis_callback.c: Likewise.
* nis/nis_creategroup.c: Likewise.
* nis/nis_defaults.c: Likewise.
* nis/nis_intern.h: Likewise.
* nis/nis_lookup.c: Likewise.
* nis/nis_ping.c: Likewise.
* nis/nis_print.c: Likewise.
* nis/nis_table.c: Likewise.
* nis/nis_util.c: Likewise.
* nis/nis_xdr.c: Likewise.
* nis/rpcsvc/nis.h: Likewise.
* nis/rpcsvc/nis.x: Likewise.
* nis/rpcsvc/nis_callback.h: Likewise.
* nis/rpcsvc/nis_object.x: Likewise.
* nis/rpcsvc/nislib.h: Likewise.

* nis/rpcsvc/yp.h: Remove casts to (u_long).
* nis/rpcsvc/yp_prot.h: Likewise.
* nis/rpcsvc/ypupd.h: Likewise.
* nis/ypclnt.c: Change %ld to %d in sprintf.

1998-10-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* manual/locale.texi (Formatting Numbers): Fix strfmon examples.

1998-10-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
0, __fd_mask is usually not a char.

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

* sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
* sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
* sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
* sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
* sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.

* sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
compiling on systems without rt_sigaction syscall.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
Likewise.

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

* time/strptime.c (HERE_D_FMT): Fix typo.
Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.

26 years agoUpdate.
Ulrich Drepper [Sat, 31 Oct 1998 15:38:33 +0000 (15:38 +0000)]
Update.

* posix/PTESTS: Remove comment about incorrect test (it is correct).

26 years agoUpdate.
Ulrich Drepper [Sat, 31 Oct 1998 15:15:26 +0000 (15:15 +0000)]
Update.

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

* aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
avoid ld test generating an unwanted file.

26 years agoUpdate.
Ulrich Drepper [Sat, 31 Oct 1998 12:13:49 +0000 (12:13 +0000)]
Update.

1998-10-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
* sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
* sunrpc/rpc/auth_des.h: Use uint32_t for time values.
* sunrpc/rpc/xdr.h: Add INT32 support.
* sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .

* nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
* nis/nis_callback.c: Likewise.
* nis/nis_creategroup.c: Likewise.
* nis/nis_defaults.c: Likewise.
* nis/nis_intern.h: Likewise.
* nis/nis_lookup.c: Likewise.
* nis/nis_ping.c: Likewise.
* nis/nis_print.c: Likewise.
* nis/nis_table.c: Likewise.
* nis/nis_util.c: Likewise.
* nis/nis_xdr.c: Likewise.
* nis/rpcsvc/nis.h: Likewise.
* nis/rpcsvc/nis.x: Likewise.
* nis/rpcsvc/nis_callback.h: Likewise.
* nis/rpcsvc/nis_object.x: Likewise.
* nis/rpcsvc/nislib.h: Likewise.

* nis/rpcsvc/yp.h: Remove casts to (u_long).
* nis/rpcsvc/yp_prot.h: Likewise.
* nis/rpcsvc/ypupd.h: Likewise.
* nis/ypclnt.c: Change %ld to %d in sprintf.

26 years agoUpdate.
Ulrich Drepper [Sat, 31 Oct 1998 11:42:52 +0000 (11:42 +0000)]
Update.

1998-10-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* manual/locale.texi (Formatting Numbers): Fix strfmon examples.

1998-10-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
0, __fd_mask is usually not a char.

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

* sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
* sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
* sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
* sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
* sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.

* sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
compiling on systems without rt_sigaction syscall.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
Likewise.

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

* time/strptime.c (HERE_D_FMT): Fix typo.
Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.

* catgets/test1.msg: New file.

26 years agoUpdate.
Ulrich Drepper [Fri, 30 Oct 1998 19:17:59 +0000 (19:17 +0000)]
Update.

* catgets/Makefile (tests): Add rules to run gencat on test1.msg.
(generate): Add test1.cat and test1.h.
(distribute): Add test1.msg.

26 years agoUpdate.
Ulrich Drepper [Fri, 30 Oct 1998 18:53:29 +0000 (18:53 +0000)]
Update.

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

* catgets/gencat.c: Do a better job in initializing dynamic
memory [PR libc/844].

26 years agoUpdate.
Ulrich Drepper [Fri, 30 Oct 1998 18:18:59 +0000 (18:18 +0000)]
Update.

1998-10-30 18:11  Ulrich Drepper  <drepper@cygnus.com>

* iconv/gconv_conf.c (__gconv_read_conf): Don't define as
internal_function since it is called through a pointer.
* iconv/gconv_db.c (free_derivation): Likewise.
* iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.

* posix/wordexp.c: Add internal_function to parse_backtick definition.
* rt/aio_misc.c: Add internal_function to __aio_free_request,
__aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
definitions.
* rt/aio_notify.c: Add internal_function to __aio_notify_only and
__aio_notify definitions.
* wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.

26 years agoUpdate.
Ulrich Drepper [Fri, 30 Oct 1998 14:37:19 +0000 (14:37 +0000)]
Update.

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

* Makerules (build-shlib): Add -O to generate optimized shared
objects.

26 years agoUpdate.
Ulrich Drepper [Fri, 30 Oct 1998 11:17:41 +0000 (11:17 +0000)]
Update.

1998-10-30 11:15  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
* sysdeps/libm-i387/e_fmodf.S: Likewise.
* sysdeps/libm-i387/e_fmodl.S: Likewise.
* sysdeps/libm-i387/s_ilogb.S: Likewise.
* sysdeps/libm-i387/s_ilogbf.S: Likewise.
* sysdeps/libm-i387/s_logb.S: Likewise.
* sysdeps/libm-i387/s_logbf.S: Likewise.
* sysdeps/libm-i387/s_remquo.S: Likewise.
* sysdeps/libm-i387/s_remquof.S: Likewise.
* sysdeps/libm-i387/s_remquol.S: Likewise.
* sysdeps/libm-i387/s_significand.S: Likewise.
* sysdeps/libm-i387/s_significandf.S: Likewise.

1998-10-30  Geoff Keating  <geoffk@ozemail.com.au>

* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
_llseek.

1998-10-30  Geoff Keating  <geoffk@ozemail.com.au>

* math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.

26 years agoUpdate.
Ulrich Drepper [Thu, 29 Oct 1998 23:55:05 +0000 (23:55 +0000)]
Update.

1998-10-30  Geoff Keating  <geoffk@ozemail.com.au>

* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
_llseek.

1998-10-30  Geoff Keating  <geoffk@ozemail.com.au>

* math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.

26 years agoUpdate.
Ulrich Drepper [Thu, 29 Oct 1998 20:36:52 +0000 (20:36 +0000)]
Update.

(printf_unknown): Add label all_done.

26 years agoUpdate.
Ulrich Drepper [Thu, 29 Oct 1998 20:29:35 +0000 (20:29 +0000)]
Update.

* stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
returns without cleaning up the lock.

26 years agoUpdate.
Ulrich Drepper [Thu, 29 Oct 1998 17:48:35 +0000 (17:48 +0000)]
Update.

* sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
kernels in mind when reading /proc/self/fd/FD.
* sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.

26 years agoUpdate.
Ulrich Drepper [Thu, 29 Oct 1998 15:36:59 +0000 (15:36 +0000)]
Update.

* nscd/nscd.c (doc): It's "Name Service" not "Name Switch".

26 years agoUpdate.
Ulrich Drepper [Thu, 29 Oct 1998 15:31:47 +0000 (15:31 +0000)]
Update.

* malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
_fitoa.

26 years agoUpdate.
Ulrich Drepper [Thu, 29 Oct 1998 15:17:25 +0000 (15:17 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
/prof/self/fd/FD first.
* sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.

* stdio-common/_itoa.h (_fitoa_word): New inline function.  Write
formatted number starting at given position and return pointer to
following byte.
(_fitoa): Likewise, for long long.

26 years ago(__pthread_trylock): Define inline. (__pthread_lock): Add extra parameter to declarat...
Ulrich Drepper [Thu, 29 Oct 1998 14:31:12 +0000 (14:31 +0000)]
(__pthread_trylock): Define inline. (__pthread_lock): Add extra parameter to declaration.  Declare using internal_function. (__pthread_unlock): Declare using internal_function.

26 years ago1998-10-29 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Thu, 29 Oct 1998 12:24:28 +0000 (12:24 +0000)]
1998-10-29  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/unix/sysv/linux/bits/sem.h,
sysdeps/unix/sysv/linux/bits/ipc.h,
sysdeps/unix/sysv/linux/bits/shm.h,
sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
* sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
so the same bits will be used for the Hurd.

26 years ago1998-10-29 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Thu, 29 Oct 1998 11:51:58 +0000 (11:51 +0000)]
1998-10-29  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/unix/sysv/linux/bits/sem.h,
sysdeps/unix/sysv/linux/bits/ipc.h,
sysdeps/unix/sysv/linux/bits/shm.h,
sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
* sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
so the same bits will be used for the Hurd.

26 years agoUpdate.
Ulrich Drepper [Thu, 29 Oct 1998 10:32:47 +0000 (10:32 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
compiling on systems without rt_sigaction syscall.

1998-10-12  Philip Blundell  <pb@nexus.co.uk>

* Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
directories as well as add them.

1998-10-28  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/unix/sysv/linux/neteconet/ec.h: New file.  Support for
AF_ECONET sockets as found in recent Linux 2.1 kernels.
* sysdeps/unix/sysv/linux/Dist: Distribute it.
* sysdeps/unix/sysv/linux/Makefile: Install it.

1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* string/bits/string2.h: __USE_GNU already implies __USE_MISC.

1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
fds_bits member.
* sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
* sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
Likewise.
* sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
__FD_ISSET): Use it.
* sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
__FD_ISSET): Likewise.

26 years agoUpdate.
Ulrich Drepper [Wed, 28 Oct 1998 17:14:02 +0000 (17:14 +0000)]
Update.

1998-10-12  Philip Blundell  <pb@nexus.co.uk>

* Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
directories as well as add them.

26 years agoUpdate.
Ulrich Drepper [Wed, 28 Oct 1998 17:09:17 +0000 (17:09 +0000)]
Update.

1998-10-28  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/unix/sysv/linux/neteconet/ec.h: New file.  Support for
AF_ECONET sockets as found in recent Linux 2.1 kernels.
* sysdeps/unix/sysv/linux/Dist: Distribute it.
* sysdeps/unix/sysv/linux/Makefile: Install it.

26 years agoUpdate.
Ulrich Drepper [Wed, 28 Oct 1998 14:41:59 +0000 (14:41 +0000)]
Update.

1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* string/bits/string2.h: __USE_GNU already implies __USE_MISC.

1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
fds_bits member.
* sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
* sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
Likewise.
* sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
__FD_ISSET): Use it.
* sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
__FD_ISSET): Likewise.

26 years agoUpdate.
Ulrich Drepper [Tue, 27 Oct 1998 14:19:07 +0000 (14:19 +0000)]
Update.

* sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
Instead call the system call wrapper function using an 64bit argument.
* sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Tue, 27 Oct 1998 12:23:36 +0000 (12:23 +0000)]
Update.

1998-10-28  Geoff Keating  <geoffk@ozemail.com.au>

* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
llseek.

26 years agoUpdate.
Ulrich Drepper [Tue, 27 Oct 1998 12:07:44 +0000 (12:07 +0000)]
Update.

* signal/signal.h: Don't include <time.h> for timespec, add
forward declaration.

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

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

* sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
of __FD_* macros which use __fds_bits.
* sysdeps/generic/bits/select.h: Likewise.
Reported by Matt McLean <keys@yikes.com>.

26 years agoUpdate.
Ulrich Drepper [Tue, 27 Oct 1998 09:44:35 +0000 (09:44 +0000)]
Update.

1998-10-27  Philip Blundell  <pb@nexus.co.uk>

* elf/elf.h: Update ARM definitions.

26 years agoUpdate.
Ulrich Drepper [Tue, 27 Oct 1998 09:17:20 +0000 (09:17 +0000)]
Update.

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

* signal/signal.h: Include bits/sigthread.h only for Unix98.

26 years agoUpdate.
Ulrich Drepper [Mon, 26 Oct 1998 17:59:59 +0000 (17:59 +0000)]
Update.

* include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
define __builtin_expect as a macro substituting to the first
argument.
* config.h.in: Define HAVE_BUILTIN_EXPECT.
* configure.in: Add test for __builtin_expect.

26 years agoUpdate.
Ulrich Drepper [Mon, 26 Oct 1998 15:43:58 +0000 (15:43 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/bits/types.h: Include
bits/pthreadtypes.h only not for POSIX 199506.
* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.

26 years agoUpdate.
Ulrich Drepper [Mon, 26 Oct 1998 11:46:26 +0000 (11:46 +0000)]
Update.

1998-10-26  Mark Kettenis  <kettenis@phys.uva.nl>

* sysdeps/unix/sysv/linux/Versions: Move shutdown ...
* socket/Versions [libc, GLIBC_2.0]: ... to here.

26 years agoUpdate.
Ulrich Drepper [Mon, 26 Oct 1998 11:44:32 +0000 (11:44 +0000)]
Update.

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

* include/stdio.h: Included <stddef.h> for size_t.

* stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
to ...
* include/stdio.h: ...here.
* libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.

26 years agoUpdate.
Ulrich Drepper [Mon, 26 Oct 1998 11:11:28 +0000 (11:11 +0000)]
Update.

1998-10-26 11:09  Ulrich Drepper  <drepper@cygnus.com>

* time/Makefile (tests): Add tst-posixtz.
* time/tst-posixtz.c: New file.

1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* elf/rtld.c (process_envvars): Accept any non-null value of
LD_BIND_NOW, as mandated by the ABI.

1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
__syscall_pread.
* sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
__syscall_pwrite.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.  Remove
duplicate entries.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
s_pread64 and s_pwrite64.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.

1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
* sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
to __syscall__llseek.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
__sys_llseek.

1998-10-26  Cristian Gafton  <gafton@redhat.com>

* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
and s_setfsuid.

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

* time/tzset.c (tz_compute): Correct last patch and describe this
in a comment.

26 years ago(tz_compute): Correct last patch and describe this in a comment.
Ulrich Drepper [Mon, 26 Oct 1998 09:35:41 +0000 (09:35 +0000)]
(tz_compute): Correct last patch and describe this in a comment.

26 years ago* sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
Andreas Schwab [Mon, 26 Oct 1998 01:47:41 +0000 (01:47 +0000)]
* sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove

rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
rt_sigaction and rt_sigpending.
* sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
for __syscall_* functions.
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
rt_sigaction and rt_sigpending.
* sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
for __syscall_* functions.
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.

26 years ago1998-10-26 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Mon, 26 Oct 1998 00:11:36 +0000 (00:11 +0000)]
1998-10-26  Roland McGrath  <roland@baalperazim.frob.com>

* hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
_hurd_dtable_lock, _hurd_intern_fd.

* sysdeps/mach/hurd/Versions: Add cthread_keycreate,
cthread_getspecific, cthread_setspecific, __libc_getspecific.

* mach/Versions: Fix typo in last change.

__mach_port_insert_right __mutex_trylock, __mutex_lock,
__mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
__task_set_special_port, __task_terminate, __thread_depress_abort,
__thread_switch, __vm_allocate, __vm_deallocate, __vm_map.  These
functions are not used outside libc.

26 years ago1998-10-26 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Mon, 26 Oct 1998 00:03:17 +0000 (00:03 +0000)]
1998-10-26  Roland McGrath  <roland@baalperazim.frob.com>

* hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
_hurd_dtable_lock, _hurd_intern_fd.

26 years agoUpdate.
Ulrich Drepper [Sun, 25 Oct 1998 22:12:57 +0000 (22:12 +0000)]
Update.

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

* time/tzset.c (tz_compute): If time to switch to DST is later in
the year switch back in the next year.
Reported by jwitford@hutch.com.au.

26 years ago(tz_compute): If time to switch to DST is later in the year switch back in the next...
Ulrich Drepper [Sun, 25 Oct 1998 22:10:12 +0000 (22:10 +0000)]
(tz_compute): If time to switch to DST is later in the year switch back in the next year.

26 years ago1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
Roland McGrath [Sun, 25 Oct 1998 20:09:00 +0000 (20:09 +0000)]
1998-10-24  Mark Kettenis  <kettenis@phys.uva.nl>

* mach/Versions: Add evc_wait, mach_error, mach_error_string,
mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
__mach_port_allocate, __mach_port_allocate_name,
__mach_port_deallocate, __mach_port_insert_right, __mutex_init,
__mutex_trylock, __mutex_lock, __mutex_unlock, __swtch, __switch,
__task_create, __task_suspend, __task_set_special_port,
__task_terminate, __thread_depress_abort, __thread_switch,
__vm_allocate, __vm_deallocate, __vm_map.  These functions are not
used outside libc.

* sysdeps/mach/hurd/Versions: New file.
[libc, GLIBC_2.0]: Add _cthread_exit_routine and
_cthread_init_routine.  These are set by the Hurd cthreads library.
Add __getcwd, __mmap.  If we don't add these, the weak definitions in
the dynamic linker will not be replaced by the corresponding shared
library routines once they are loaded.

1998-10-21  Mark Kettenis  <kettenis@phys.uva.nl>

* sysdeps/mach/hurd/i386/init-first.c: Only define
__libc_enable_secure if PIC is not defined.

1998-10-25  Roland McGrath  <roland@baalperazim.frob.com>

* argp/Versions: Add _argp_unlock_xxx.  Lock-savvy functions call this
to recurse into argp.

26 years ago1998-10-25 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sun, 25 Oct 1998 20:02:56 +0000 (20:02 +0000)]
1998-10-25  Roland McGrath  <roland@baalperazim.frob.com>

* argp/Versions: Add _argp_unlock_xxx.  Lock-savvy functions call this
to recurse into argp.

26 years agoRegenerated: /usr/unsupported/bin/perl scripts/gen-FAQ.pl FAQ.in
Ulrich Drepper [Sun, 25 Oct 1998 09:16:51 +0000 (09:16 +0000)]
Regenerated:  /usr/unsupported/bin/perl scripts/gen-FAQ.pl FAQ.in

26 years agoUpdate.
Ulrich Drepper [Sun, 25 Oct 1998 09:11:53 +0000 (09:11 +0000)]
Update.

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

* include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
greater or equal than 199506L.

* sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
only is __USE_XOPEN.  Otherwise use __fds_bits.
* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/bits/types.h: Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.

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

* locale/programs/charmap.c (parse_charmap): Accept tok_string
for <code_set_name>.

1998-10-25  H.J. Lu  <hjl@gnu.org>

* locale/programs/ld-ctype.c (ctype_finish): Also check
<space>.

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

* signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.

* sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
if __USE_POSIX199506 or __USE_UNIX98.

1998-10-24 22:34 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* string/bits/string2.h: Inline strdup+friends only if
__USE_MISC || __USE_GNU (prevents namespace pollution).

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

* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
LOCK_NB, LOCK_UN): Likewise.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
LOCK_NB, LOCK_UN): Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
LOCK_NB, LOCK_UN): Likewise.
* sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
LOCK_NB, LOCK_UN): Likewise.

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

* libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.

* libio/rewind.c (rewind): Clear the error.

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

* grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
"buffer".

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

* sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
with __need_timeval.
* sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
* sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.

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

* signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
sigqueue): Protect with __USE_POSIX199309.

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

* time/time.h (timespec): Protect with __USE_POSIX199309 instead of
__USE_POSIX.

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

* libio/fileops.c (_IO_new_file_seekoff): Always resync with
the kernel file offset.
* libio/oldfileops.c (_IO_old_file_seekoff): Likewise.

26 years agoUpdate.
Ulrich Drepper [Sat, 24 Oct 1998 21:51:25 +0000 (21:51 +0000)]
Update.

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

* time/tzfile.c (__tzfile_default): Set num_types to 2.

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

* rt/aio.h: Move __aio_init to...
* include/aio.h: ...here.

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

* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
definition of O_LARGEFILE.

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

* sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
as first argument to statfs.

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

* sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.

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

* malloc/mtrace.c: Include <string.h> for strlen.

26 years agoUpdate.
Ulrich Drepper [Sat, 24 Oct 1998 15:02:35 +0000 (15:02 +0000)]
Update.

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

* rt/aio.h: Move __aio_init to...
* include/aio.h: ...here.

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

* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
definition of O_LARGEFILE.

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

* sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
as first argument to statfs.

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

* sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.

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

* malloc/mtrace.c: Include <string.h> for strlen.

26 years agoDescription for supported environments for Hurd/i386.
Ulrich Drepper [Sat, 24 Oct 1998 14:58:08 +0000 (14:58 +0000)]
Description for supported environments for Hurd/i386.

26 years ago* sysdeps/mach/hurd/bits/environments.h: New file.
Roland McGrath [Sat, 24 Oct 1998 11:15:15 +0000 (11:15 +0000)]
* sysdeps/mach/hurd/bits/environments.h: New file.

26 years ago1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sat, 24 Oct 1998 11:14:29 +0000 (11:14 +0000)]
1998-10-24  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/bits/environments.h: New file.

26 years agoDeclare __aio_init.
Ulrich Drepper [Sat, 24 Oct 1998 11:06:07 +0000 (11:06 +0000)]
Declare __aio_init.

26 years agoInclude <string.h> for strlen.
Ulrich Drepper [Sat, 24 Oct 1998 10:44:47 +0000 (10:44 +0000)]
Include <string.h> for strlen.

26 years ago1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sat, 24 Oct 1998 01:36:01 +0000 (01:36 +0000)]
1998-10-24  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.

* mach/Versions, hurd/Versions: Add numerous symbols.
Remove libmachuser and libhurduser sections, punt
versioning for those libraries for now.

* misc/Versions: Add reboot here; it exists on all platforms.
* sysdeps/unix/sysv/linux/Versions: Remove reboot here.

26 years ago1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sat, 24 Oct 1998 01:31:41 +0000 (01:31 +0000)]
1998-10-24  Roland McGrath  <roland@baalperazim.frob.com>

* misc/Versions: Add reboot here; it exists on all platforms.
* sysdeps/unix/sysv/linux/Versions: Remove reboot here.

26 years agoUpdate.
Ulrich Drepper [Fri, 23 Oct 1998 23:27:48 +0000 (23:27 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
macro.
* sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
O_NOFOLLOW, O_DIRECT): New macros.
(O_DIRECTORY): Correct definition according to official 2.1.126.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
O_NOFOLLOW): New macros.

26 years ago(O_DIRECTORY, O_NOFOLLOW): New macros.
Ulrich Drepper [Fri, 23 Oct 1998 23:21:47 +0000 (23:21 +0000)]
(O_DIRECTORY, O_NOFOLLOW): New macros.

26 years ago* include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
Roland McGrath [Fri, 23 Oct 1998 23:12:28 +0000 (23:12 +0000)]
* include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.

26 years ago1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Fri, 23 Oct 1998 23:00:53 +0000 (23:00 +0000)]
1998-10-24  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
(__opendir): Add trailing slash to name for open, for ENOTDIR check.

size_t is defined.  Some reordering of definitions to make

26 years ago1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Fri, 23 Oct 1998 22:31:15 +0000 (22:31 +0000)]
1998-10-24  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
(__opendir): Add trailing slash to name for open, for ENOTDIR check.

26 years agoUpdate.
Ulrich Drepper [Fri, 23 Oct 1998 14:05:15 +0000 (14:05 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
setfsuid.c, and setfsgid.c.
* sysdeps/unix/sysv/linux/arm/Dist: Likewise.
* sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.

26 years agoUpdate.
Ulrich Drepper [Fri, 23 Oct 1998 14:00:53 +0000 (14:00 +0000)]
Update.

* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
ustat definition.

26 years agoUpdate.
Ulrich Drepper [Fri, 23 Oct 1998 13:48:45 +0000 (13:48 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
s_pwrite64.c.

26 years agoUpdate.
Ulrich Drepper [Fri, 23 Oct 1998 13:44:50 +0000 (13:44 +0000)]
Update.

* version.h (VERSION): Bump to 2.0.99.

* posix/fnmath.h: Don't redefine __P when used in glibc.
* posix/glob.h: Likewise.

* inet/rcmd.c (__ivaliduser2): Fix memory leak.
Patch by Dick Streefland <dick_streefland@tasking.com>.

* stdio-common/tst-ungetc.c: Add more test cases.

* sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
* sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
definitions to ...
* sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here.  New file.
* sysdeps/unix/sysv/linux/fpathconf.c: New file.
* sysdeps/unix/sysv/linux/pathconf.c: New file.
* sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
* sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.

1998-10-20  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
<asm/ptrace.h> to define struct pt_regs.
* sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
including <asm/ptrace.h> here.

* sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
C_SYMBOL_NAME macro.

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

* sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
end of enumerator list.
* sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
* posix/wordexp.h: Likewise.

* db/db.h: Use __PMT instead of __P in typedefs.
* db/mpool.h: Likewise.
* sysdeps/generic/bits/siginfo.h: Likewise.
* nis/rpcsvc/ypclnt.h: Likewise.

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

26 years agoUpdate.
Ulrich Drepper [Fri, 23 Oct 1998 10:38:06 +0000 (10:38 +0000)]
Update.

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

* libio/genops.c (_IO_seekmark): When switching to backup buffer
make sure all characters from the read buffer are read after
switching back to it.

26 years agoUpdate.
Ulrich Drepper [Thu, 22 Oct 1998 16:07:01 +0000 (16:07 +0000)]
Update.

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

* configure.in: Add support for Cygnus GNUPro compilers.

26 years agoUpdate.
Ulrich Drepper [Thu, 22 Oct 1998 14:41:49 +0000 (14:41 +0000)]
Update.

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

* stdio/stdio.h: Use __PMT instead of __P in typedefs.

* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
of __P for sa_restorer.
* sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
kernel_sigaction, old_kernel_sigaction): Likewise.

26 years agoUpdate.
Ulrich Drepper [Thu, 22 Oct 1998 14:38:30 +0000 (14:38 +0000)]
Update.

* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
and __syscall_pwrite aliases.

26 years agoUpdate.
Ulrich Drepper [Thu, 22 Oct 1998 14:35:55 +0000 (14:35 +0000)]
Update.

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

* sunrpc/rpc/auth.h (AUTH_DH): New macro.  Alias for AUTH_DES.

26 years agoUpdate.
Ulrich Drepper [Thu, 22 Oct 1998 12:49:46 +0000 (12:49 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
improve INLINE_SYSCALL using macro assembler magic.

26 years agoUpdate.
Ulrich Drepper [Thu, 22 Oct 1998 11:49:29 +0000 (11:49 +0000)]
Update.

1998-10-22  H.J. Lu  <hjl@gnu.org>

* sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
sanity check for n.
* sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.

* sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
EINVAL if errno == ENODEV.  Tested by VSX-PCT.

* sysdeps/posix/isatty.c (__isatty): Don't reset errno.  Tested
by VSX-PCT.

* posix/execvp.c (execvp): Check "".  Tested by VSX-PCT.