aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog80
-rwxr-xr-xdebug/xtrace.sh14
-rw-r--r--iconv/iconv_prog.c4
-rw-r--r--include/aio.h2
-rw-r--r--include/alloca.h2
-rw-r--r--include/db.h5
-rw-r--r--include/dirent.h16
-rw-r--r--include/execinfo.h6
-rw-r--r--include/fcntl.h2
-rw-r--r--include/fpu_control.h2
-rw-r--r--include/glob.h2
-rw-r--r--include/grp.h22
-rw-r--r--inet/arpa/inet.h40
-rw-r--r--math/fenv.h24
-rwxr-xr-xscripts/config.guess96
-rwxr-xr-xscripts/config.sub55
-rw-r--r--sysdeps/generic/s_cproj.c6
-rw-r--r--sysdeps/generic/s_cprojf.c6
-rw-r--r--sysdeps/generic/s_cprojl.c6
-rw-r--r--sysdeps/mips/Implies1
-rw-r--r--sysdeps/mips/mips3/Implies1
-rw-r--r--sysdeps/unix/sysv/linux/alpha/bits/sigaction.h18
-rw-r--r--sysdeps/unix/sysv/linux/bits/errno.h2
-rw-r--r--sysdeps/unix/sysv/linux/bits/sched.h4
-rw-r--r--sysdeps/unix/sysv/linux/bits/siginfo.h2
-rw-r--r--sysdeps/unix/sysv/linux/bits/socket.h4
-rw-r--r--sysdeps/unix/sysv/linux/i386/sys/perm.h8
-rw-r--r--sysdeps/unix/sysv/linux/i386/sys/vm86.h4
-rw-r--r--sysdeps/unix/sysv/linux/kernel_sigaction.h4
-rw-r--r--sysdeps/unix/sysv/linux/net/if.h10
-rw-r--r--sysdeps/unix/sysv/linux/sys/acct.h4
-rw-r--r--sysdeps/unix/sysv/linux/sys/fsuid.h6
-rw-r--r--sysdeps/unix/sysv/linux/sys/io.h8
-rw-r--r--sysdeps/unix/sysv/linux/sys/kdaemon.h4
-rw-r--r--sysdeps/unix/sysv/linux/sys/klog.h4
-rw-r--r--sysdeps/unix/sysv/linux/sys/mount.h12
-rw-r--r--sysdeps/unix/sysv/linux/sys/prctl.h4
-rw-r--r--sysdeps/unix/sysv/linux/sys/ptrace.h4
-rw-r--r--sysdeps/unix/sysv/linux/sys/quota.h4
-rw-r--r--sysdeps/unix/sysv/linux/sys/sendfile.h4
-rw-r--r--sysdeps/unix/sysv/linux/sys/swap.h6
-rw-r--r--sysdeps/unix/sysv/linux/sys/sysctl.h6
-rw-r--r--sysdeps/unix/sysv/linux/sys/sysinfo.h10
-rw-r--r--sysdeps/unix/sysv/linux/sys/timex.h8
44 files changed, 342 insertions, 190 deletions
diff --git a/ChangeLog b/ChangeLog
index d2a94e58d1..f77bc5c987 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,83 @@
+1999-10-18 Ulrich Drepper <drepper@cygnus.com>
+
+ * scripts/config.sub: Update from latest autoconf version.
+ * scripts/config.guess: Likewise.
+
+1999-10-18 Andreas Jaeger <aj@suse.de>
+
+ * inet/arpa/inet.h: Remove K&R compatibility.
+ * math/fenv.h: Likewise.
+
+1999-10-18 Andreas Jaeger <aj@suse.de>
+
+ * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
+ kernel_sigaction): Remove K&R compatibility.
+ * sysdeps/unix/sysv/linux/net/if.h: Likewise.
+ * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
+ * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
+ * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
+ * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
+ * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
+ * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
+ * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
+ * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
+ * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
+ * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
+ * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
+ * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
+ * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
+ * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
+ * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
+ * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
+
+1999-10-18 Andreas Jaeger <aj@suse.de>
+
+ * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
+ Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
+
+1999-10-18 Ulrich Drepper <drepper@cygnus.com>
+
+ * po/gl.po: New file.
+
+1999-10-18 Andreas Schwab <schwab@suse.de>
+
+ * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
+ namespace selection.
+
+1999-10-18 Andreas Schwab <schwab@suse.de>
+
+ * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
+ clash with the TERM environment variable.
+
+1999-10-18 Andreas Jaeger <aj@suse.de>
+
+ * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
+ returns now NaN + i NaN.
+ * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
+ * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
+
+1999-10-18 Andreas Jaeger <aj@suse.de>
+
+ * include/aio.h: Remove K&R compatiblity.
+ * include/alloca.h: Likewise.
+ * include/db.h: Likewise.
+ * include/dirent.h: Likewise.
+ * include/fcntl.h: Likewise.
+ * include/fpu_control.h: Likewise.
+ * include/glob.h: Likewise.
+ * include/grp.h: Likewise.
+ * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
+ * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
+ * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
+ * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
+
+ * include/execinfo.h: Add __THROW.
+
+1999-10-18 Ulrich Drepper <drepper@cygnus.com>
+
+ * sysdeps/mips/Implies: Remove wordsize-32 reference.
+ * sysdeps/mips/mips3/Implies: Add it here.
+
1999-10-17 Ulrich Drepper <drepper@cygnus.com>
* elf/elf.h: Add various platform and architecture extensions.
diff --git a/debug/xtrace.sh b/debug/xtrace.sh
index 241ebe8954..7faf85b091 100755
--- a/debug/xtrace.sh
+++ b/debug/xtrace.sh
@@ -78,8 +78,8 @@ format_line() {
# If the variable COLUMNS is not set do this now.
COLUMNS=${COLUMNS:-80}
-# If `TERM' is not set, set it to `xterm'.
-TERM=${TERM:-xterm}
+# If `TERMINAL_PROG' is not set, set it to `xterm'.
+TERMINAL_PROG=${TERMINAL_PROG:-xterm}
# The data file to process, if any.
data=
@@ -108,6 +108,12 @@ while test $# -gt 0; do
shift
break
;;
+ --help)
+ do_help
+ ;;
+ --version)
+ do_version
+ ;;
--*)
echo >&2 $"memprof: unrecognized option \`$1'"
do_usage
@@ -130,7 +136,7 @@ fi
program=$1
shift
if test ! -f "$program"; then
- echo >2& $"\executable \`$program' not found"
+ echo >2& $"executable \`$program' not found"
do_usage
fi
if test ! -x "$program"; then
@@ -155,7 +161,7 @@ else
fifo=$(mktemp -u ${TMPDIR:-/tmp}/xprof.XXXXXX)
mkfifo -m 0600 $fifo || exit 1
# Now start the program and let it write to the FIFO.
- $TERM -T "xtrace - $program $*" -e /bin/sh -c "LD_PRELOAD=$pcprofileso PCPROFILE_OUTPUT=$fifo $program $*; read $fifo" &
+ $TERMINAL_PROG -T "xtrace - $program $*" -e /bin/sh -c "LD_PRELOAD=$pcprofileso PCPROFILE_OUTPUT=$fifo $program $*; read $fifo" &
termpid=$!
$pcprofiledump $fifo |
sed 's/this = \([^,]*\).*/\1/' |
diff --git a/iconv/iconv_prog.c b/iconv/iconv_prog.c
index c91c76f34f..cd00bbfce7 100644
--- a/iconv/iconv_prog.c
+++ b/iconv/iconv_prog.c
@@ -320,6 +320,8 @@ process_block (iconv_t cd, const char *addr, size_t len, FILE *output)
if (outptr != outbuf)
{
/* We have something to write out. */
+ int errno_save = errno;
+
if (fwrite (outbuf, 1, outptr - outbuf, output) < outptr - outbuf
|| ferror (output))
{
@@ -328,6 +330,8 @@ process_block (iconv_t cd, const char *addr, size_t len, FILE *output)
conversion stopped due to problem in writing the output"));
return -1;
}
+
+ errno = errno_save;
}
if (n != (size_t) -1)
diff --git a/include/aio.h b/include/aio.h
index c441606794..6f66faadb9 100644
--- a/include/aio.h
+++ b/include/aio.h
@@ -2,5 +2,5 @@
#include <rt/aio.h>
/* Now define the internal interfaces. */
-extern void __aio_init __P ((__const struct aioinit *__init));
+extern void __aio_init (__const struct aioinit *__init) __THROW;
#endif
diff --git a/include/alloca.h b/include/alloca.h
index 4dcddb6ae1..cb0b1a5587 100644
--- a/include/alloca.h
+++ b/include/alloca.h
@@ -5,7 +5,7 @@
#undef __alloca
/* Now define the internal interfaces. */
-extern __ptr_t __alloca __P ((size_t __size));
+extern void *__alloca (size_t __size) __THROW;
#ifdef __GNUC__
# define __alloca(size) __builtin_alloca (size)
diff --git a/include/db.h b/include/db.h
index 383cef3831..f945233f0f 100644
--- a/include/db.h
+++ b/include/db.h
@@ -6,8 +6,9 @@
# include <db2/db.h>
/* Internal interface for NSS. */
-int __nss_db_open __P((const char *,
- DBTYPE, u_int32_t, int, DB_ENV *, DB_INFO *, DB **));
+extern int __nss_db_open (const char *,
+ DBTYPE, u_int32_t, int, DB_ENV *, DB_INFO *, DB **)
+ __THROW;
#endif
#endif
diff --git a/include/dirent.h b/include/dirent.h
index f6a3ed8741..b3af4bfa46 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -2,14 +2,14 @@
# include <dirent/dirent.h>
/* Now define the internal interfaces. */
-extern DIR *__opendir __P ((__const char *__name));
-extern int __closedir __P ((DIR *__dirp));
-extern struct dirent *__readdir __P ((DIR *__dirp));
-extern struct dirent64 *__readdir64 __P ((DIR *__dirp));
-extern int __readdir_r __P ((DIR *__dirp, struct dirent *__entry,
- struct dirent **__result));
-extern __ssize_t __getdents __P ((int __fd, char *__buf, size_t __nbytes))
+extern DIR *__opendir (__const char *__name) __THROW;
+extern int __closedir (DIR *__dirp) __THROW;
+extern struct dirent *__readdir (DIR *__dirp) __THROW;
+extern struct dirent64 *__readdir64 (DIR *__dirp) __THROW;
+extern int __readdir_r (DIR *__dirp, struct dirent *__entry,
+ struct dirent **__result) __THROW;
+extern __ssize_t __getdents (int __fd, char *__buf, size_t __nbytes)
internal_function;
-extern __ssize_t __getdents64 __P ((int __fd, char *__buf, size_t __nbytes))
+extern __ssize_t __getdents64 (int __fd, char *__buf, size_t __nbytes)
internal_function;
#endif
diff --git a/include/execinfo.h b/include/execinfo.h
index 143a9cc4ce..f9f8e36451 100644
--- a/include/execinfo.h
+++ b/include/execinfo.h
@@ -1,11 +1,11 @@
#ifndef _EXECINFO_H
#include <debug/execinfo.h>
-extern int __backtrace (void **__array, int __size);
+extern int __backtrace (void **__array, int __size) __THROW;
-extern char **__backtrace_symbols (void *__const *__array, int __size);
+extern char **__backtrace_symbols (void *__const *__array, int __size) __THROW;
extern void __backtrace_symbols_fd (void *__const *__array, int __size,
- int __fd);
+ int __fd) __THROW;
#endif
diff --git a/include/fcntl.h b/include/fcntl.h
index 949c6621fd..9c903f88c6 100644
--- a/include/fcntl.h
+++ b/include/fcntl.h
@@ -2,5 +2,5 @@
#include <io/fcntl.h>
/* Now define the internal interfaces. */
-extern int __open64 __P ((__const char *__file, int __oflag, ...));
+extern int __open64 (__const char *__file, int __oflag, ...) __THROW;
#endif
diff --git a/include/fpu_control.h b/include/fpu_control.h
index a0a4febf9e..7063671aca 100644
--- a/include/fpu_control.h
+++ b/include/fpu_control.h
@@ -1,4 +1,4 @@
#include_next <fpu_control.h>
/* Called at startup. It can be used to manipulate fpu control register. */
-extern void __setfpucw __P ((fpu_control_t));
+extern void __setfpucw (fpu_control_t) __THROW;
diff --git a/include/glob.h b/include/glob.h
index 31b727ee4f..f72f65856b 100644
--- a/include/glob.h
+++ b/include/glob.h
@@ -2,6 +2,6 @@
#include <posix/glob.h>
/* Now define the internal interfaces. */
-extern int __glob_pattern_p __P ((__const char *__pattern, int __quote));
+extern int __glob_pattern_p (__const char *__pattern, int __quote) __THROW;
#endif
diff --git a/include/grp.h b/include/grp.h
index 87f6a7bec2..5ee66fc9b4 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -2,19 +2,19 @@
#include <grp/grp.h>
/* Now define the internal interfaces. */
-extern int __getgrent_r __P ((struct group *__resultbuf, char *buffer,
- size_t __buflen, struct group **__result));
-extern int __fgetgrent_r __P ((FILE * __stream, struct group *__resultbuf,
- char *buffer, size_t __buflen,
- struct group **__result));
+extern int __getgrent_r (struct group *__resultbuf, char *buffer,
+ size_t __buflen, struct group **__result) __THROW;
+extern int __fgetgrent_r (FILE * __stream, struct group *__resultbuf,
+ char *buffer, size_t __buflen,
+ struct group **__result) __THROW;
/* Search for an entry with a matching group ID. */
-extern int __getgrgid_r __P ((__gid_t __gid, struct group *__resultbuf,
- char *__buffer, size_t __buflen,
- struct group **__result));
+extern int __getgrgid_r (__gid_t __gid, struct group *__resultbuf,
+ char *__buffer, size_t __buflen,
+ struct group **__result) __THROW;
/* Search for an entry with a matching group name. */
-extern int __getgrnam_r __P ((__const char *__name, struct group *__resultbuf,
- char *__buffer, size_t __buflen,
- struct group **__result));
+extern int __getgrnam_r (__const char *__name, struct group *__resultbuf,
+ char *__buffer, size_t __buflen,
+ struct group **__result) __THROW;
#endif
diff --git a/inet/arpa/inet.h b/inet/arpa/inet.h
index e34c4726ab..7e0a40f73f 100644
--- a/inet/arpa/inet.h
+++ b/inet/arpa/inet.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -28,67 +28,67 @@ __BEGIN_DECLS
/* Convert Internet host address from numbers-and-dots notation in CP
into binary data in network byte order. */
-extern u_int32_t inet_addr __P ((__const char *__cp));
+extern u_int32_t inet_addr (__const char *__cp) __THROW;
/* Convert Internet host address from numbers-and-dots notation in CP
into binary data and store the result in the structure INP. */
-extern int inet_aton __P ((__const char *__cp, struct in_addr *__inp));
+extern int inet_aton (__const char *__cp, struct in_addr *__inp) __THROW;
/* Return the local host address part of the Internet address in IN. */
-extern u_int32_t inet_lnaof __P ((struct in_addr __in));
+extern u_int32_t inet_lnaof (struct in_addr __in) __THROW;
/* Make Internet host address in network byte order by combining the
network number NET with the local address HOST. */
-extern struct in_addr inet_makeaddr __P ((u_int32_t __net, u_int32_t __host));
+extern struct in_addr inet_makeaddr (u_int32_t __net, u_int32_t __host) __THROW;
/* Format a network number NET into presentation format and place result
in buffer starting at BUF with length of LEN bytes. */
-extern char *inet_neta __P ((u_int32_t __net, char *__buf, size_t __len));
+extern char *inet_neta (u_int32_t __net, char *__buf, size_t __len) __THROW;
/* Return network number part of the Internet address IN. */
-extern u_int32_t inet_netof __P ((struct in_addr __in));
+extern u_int32_t inet_netof (struct in_addr __in) __THROW;
/* Extract the network number in network byte order from the address
in numbers-and-dots natation starting at CP. */
-extern u_int32_t inet_network __P ((__const char *__cp));
+extern u_int32_t inet_network (__const char *__cp) __THROW;
/* Convert network number for interface type AF in buffer starting at
CP to presentation format. The result will specifiy BITS bits of
the number. */
-extern char *inet_net_ntop __P ((int __af, __const void *__cp, int __bits,
- char *__buf, size_t __len));
+extern char *inet_net_ntop (int __af, __const void *__cp, int __bits,
+ char *__buf, size_t __len) __THROW;
/* Convert network number for interface type AF from presentation in
buffer starting at CP to network format and store result int