Age | Commit message (Collapse) | Author |
|
1999-08-25 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
old_siocfifconf definition to toplevel.
(__protocol_available): Remove old_siocfifconf definition.
|
|
1999-08-25 Mark Kettenis <kettenis@gnu.org>
* sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
really dealing with a master pseudo terminal, and really returning
the name of the associated slave pseudo terminal by checking the
device number.
* sysdeps/unix/sysv/linux/pty-private.h: Removed.
* login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
|
|
1999-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
underscore in _llseek entry.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
entry.
* sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
* sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
* elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
Patch by Ralf Baechle <ralf@uni-koblenz.de>.
|
|
1999-08-25 Ulrich Drepper <drepper@cygnus.com>
* inet/Makefile (routines): Add getipnodebynm.
* inet/getipnodebynm.c: New file.
* nss/digits_dots.c: If HAVE_TYPE is define type contains the
interface type.
* nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
EXTRA_ARGS_VALUE is not already done.
(internal_getent): Allow extra parameters and pass them to parse_line.
(_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
(_nss_files_get##name##_r): Likewise.
* nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
and EXTRA_ARGS_VALUE to pass flags and type to parser.
Add getipnodebyname function.
* nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
EXTRA_ARGS_VALUE is not already done.
(parse_line): Add EXTRA_ARGS_DECL to parameter list.
* nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
to parse_line.
(_nss_db_get##name##_r): Pass extra parameters to lookup.
(_nss_db_get,ENTNAME_r): Likewise.
* sysdeps/generic/if_index.c (__protocol_available): New function.
* sysdeps/unix/sysv/linux/if_index.c: Likewise.
|
|
* login/pty-private.h: Move to...
* sysdeps/generic/pty-private.h: ...here.
* sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific
version.
* login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
available.
|
|
* libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
of __overflow.
|
|
* conform/conformtest.pl (@headers): Add monetary.h-data,
mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
* conform/data/monetary.h-data: New file.
* conform/data/mqueue.h-data: New file.
* conform/data/ndbm.h-data: New file.
* conform/data/nl_types.h.h-data: New file.
* conform/data/poll.h-data: New file.
|
|
* stdio-common/Makefile (test): Add tst-cookie.
* stdio-common/tst-cookie.c: New file.
|
|
1999-08-24 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
changed in last patch. Reported by Ralf Baechle.
|
|
* sysdeps/unix/mips/sysdep.h: Use __syscall_error.
* sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
Patches by Ralf Baechle <ralf@uni-koblenz.de>
1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
|
|
1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
Linux 2.3.15.
|
|
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
syscall.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
|
|
* misc/libgen.h: Don't take basename macro as taking arguments.
* sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
for gcc >= 2.95.
* sysdeps/i386/bits/huge_val.h: Likewise.
* sysdeps/i386/bits/huge_val.h: Likewise.
* sysdeps/ieee754/bits/huge_val.h: Likewise.
* sysdeps/m68k/bits/huge_val.h: Likewise.
* sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
* sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
|
|
1999-08-24 Ulrich Drepper <drepper@cygnus.com>
* conform/Makefile: New file.
* conform/conformtest.pl: New file.
* conform/data/aio.h-data: New file.
* conform/data/assert.h-data: New file.
* conform/data/cpio.h-data: New file.
* conform/data/ctype.h-data: New file.
* conform/data/dirent.h-data: New file.
* conform/data/dlfcn.h-data: New file.
* conform/data/errno.h-data: New file.
* conform/data/fcntl.h-data: New file.
* conform/data/float.h-data: New file.
* conform/data/fmtmsg.h-data: New file.
* conform/data/fnmatch.h-data: New file.
* conform/data/ftw.h-data: New file.
* conform/data/glob.h-data: New file.
* conform/data/grp.h-data: New file.
* conform/data/iconv.h-data: New file.
* conform/data/inttypes.h-data: New file.
* conform/data/iso646.h-data: New file.
* conform/data/langinfo.h-data: New file.
* conform/data/libgen.h-data: New file.
* conform/data/locale.h-data: New file.
* conform/data/math.h-data: New file.
|
|
1999-08-23 Ulrich Drepper <drepper@cygnus.com>
* posix/execvp.c (execvp): Correct copying of file name.
|
|
|
|
* hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
* stdio-common/Makefile: Move addition to routines to the right place.
|
|
* hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
|
|
1999-08-23 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/Makefile: Mode addition to routines to the right place.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
|
|
1999-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary
since mips*-linux has ECANCELED.
1999-08-23 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
SIGCONTEXT_EXTRA_ARGS.
* sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
* sysdeps/generic/sigcontextinfo.h: Likewise.
* sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
* sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h:
Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h:
Likewise.
|
|
|
|
1999-08-23 Ulrich Drepper <drepper@cygnus.com>
* posix/regexbug1.c: Make it an error if the test fails.
1999-08-23 Andreas Schwab <schwab@suse.de>
Ulrich Drepper <drepper@cygnus.com>
* posix/regex.c (re_match_2_internal): Correct check for charset
after exactn in loop.
|
|
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
Patch by Joel Klecker.
|
|
1999-08-22 Ulrich Drepper <drepper@cygnus.com>
* iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
(__gconv_find_transform): Update prototype.
(__gconv_open): Likewise.
* iconv/gconv_open.c: Take extra parameter and pass it to
__gconv_find_transform.
* iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
flags. If GCONV_AVOID_NOCONV flag is set don't return copying
transformation.
* iconv/iconv_open.c: Pass extra parameter to __gconv_open.
* wcsmbs/wcsmbsload.c: Likewise.
* intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
iconv for glibc.
* intl/gettextP.h: Likewise.
* intl/loadmsgcat.c: Likewise.
* posix/regexbug1.c: New file.
* posix/Makefile (tests): Add regexbug1.
|
|
GCONV_AVOID_NOCONV flag is set don't return copying transformation.
|
|
* hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
* hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
installing PORT in the descriptor cell.
1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
TIMEOUT as outputs of the asm to indicate that the signal thread
might mutate them.
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
mach_msg if only sending or only receiving (i.e., not an RPC). When
making an RPC that might get interrupted, save OPTION and the portion
of the message buffer that gets clobbered by an EINTR reply message,
and properly restore them before attempting to retry the request
message send.
|
|
* sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
TIMEOUT as outputs of the asm to indicate that the signal thread
might mutate them.
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
mach_msg if only sending or only receiving (i.e., not an RPC). When
making an RPC that might get interrupted, save OPTION and the portion
of the message buffer that gets clobbered by an EINTR reply message,
and properly restore them before attempting to retry the request
message send.
|
|
1999-08-21 Mark Kettenis <kettenis@gnu.org>
* stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
CHAR_T, UCHAR_T and WIN_T to make the code compile again when
stdio is used instead of libio.
* stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
to make the code compile again when stdio is used instead of
libio.
(vfprintf): Only check for correct orientation if ORIENT is
defined.
* stdio-common/Makefile (routines): Only add vfwprintf and
vfwscanf if we're using libio.
1999-08-21 Mark Kettenis <kettenis@gnu.org>
* include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
any additional prototype just as we do for libio.
1999-08-21 Mark Kettenis <kettenis@gnu.org>
* include/bits/xopen_lim.h: Do not define STREAM_MAX and
TZNAME_MAX. These limits are not X/Open specific.
* stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
is defined.
1999-08-21 Mark Kettenis <kettenis@gnu.org>
* Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
UIO_MAXIOV is left undefined in sys/uio.h.
* stdio-common/stdio_lim.h.in: Adapt for change above.
1999-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
* sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
Patches by Ralf Baechle <ralf@uni-koblenz.de>
|
|
1999-08-21 Ulrich Drepper <drepper@cygnus.com>
* stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
|
|
* sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
|
|
* sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
call. It should not be necessary andis harmful for Alpha.
|
|
* include/iconv.h: New file.
|
|
* include/libintl.h: Declare __dgettext and __dcgettext.
|
|
* sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
type. [PR libc/1269]
|
|
* intl/gettextP.h (struct loaded_domain): Add conv element.
* intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
Instead of returning found message directly convert it using iconv
if a conversion was found when opening the file.
* intl/loadinfo.h: Protect against multiple inclusion.
Declare _nl_find_msg.
* intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
in the message file and if necessary find approrpiate
conversion to match currently selected charset.
|
|
* sysdeps/unix/sysv/linux/getcwd.c: Allocate buffer large enough
not only if size == 0, but also for size < 0.
* sysdeps/posix/getcwd.c: Likewise. [PR libc/1269]
|
|
* sysdeps/posix/getcwd.c: Allocate buffer large enough not only if
size == 0, but also for size < 0 [PR libc/1269].
|
|
* posix/execvp.c (execvp): Allocate array name of correct size.
Optimize inner loop. Use execve directly, not execv.
|
|
1999-08-20 Ulrich Drepper <drepper@cygnus.com>
* elf/elf.h: Corrected SHT_ values from new draft.
|
|
1999-08-20 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
|
|
* sysdeps/unix/sysv/linux/execve.c: New file. This version terminates
all threads [PR libc/1223].
|
|
* elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
[PR libc/1165].
|
|
* Versions: Export __pthread_kill_other_threads_np from libpthread
for GLIBC_2.1.2.
|
|
* configure.in: Search for programs with prefix gnu* and g* first.
[PR libc/1104].
|
|
* dirent/Makefile (routines): Add getdents64.
* sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
Remove getdents64.
* dirent/dirent.h: Redirect getdirentries to getdirentries64 if
compiled with _FILE_OFFSET_BITS=64.
* sysdeps/generic/getdents64.c: New file.
* sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
__lseek for getdirentries64 definition.
* sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
* sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
_FILE_OFFSET_BITS=64.
|
|
* sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
parameter.
* sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
after we have the lock.
|
|
1999-08-19 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/setenv.c: Update(__add_to_environ): Initialize
ep after we have the lock.
* sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
Patch by Richard Henderson.
|
|
1999-08-19 Ulrich Drepper <drepper@cygnus.com>
* signals.c: Pass sigcontext through wrapper to the user function.
|
|
1999-08-19 Andreas Schwab <schwab@suse.de>
* libio/iovswscanf.c (vswscanf): Make stream unoriented initially
and call _IO_fwide, to get the wide stream state initialized
correctly. Don't set _IO_JUMPS.
* libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
* libio/vswprintf.c (_IO_vswprintf): Likewise. Pass
_IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
directly.
1999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* math/libm-test.c (jn_test): Fix typo in description.
(erfc_test): Add some more tests.
(erf_test): Add some more tests.
1999-08-19 Andreas Schwab <schwab@suse.de>
* csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
expression using $(exceptions).
|
|
* sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
|