Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update.
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.
  • Loading branch information
Ulrich Drepper committed Oct 19, 1999
1 parent ef5d664 commit 4d3a563
Show file tree
Hide file tree
Showing 44 changed files with 342 additions and 190 deletions.
80 changes: 80 additions & 0 deletions 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.
Expand Down
14 changes: 10 additions & 4 deletions debug/xtrace.sh
Expand Up @@ -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=
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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/' |
Expand Down
4 changes: 4 additions & 0 deletions iconv/iconv_prog.c
Expand Up @@ -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))
{
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion include/aio.h
Expand Up @@ -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
2 changes: 1 addition & 1 deletion include/alloca.h
Expand Up @@ -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)
Expand Down
5 changes: 3 additions & 2 deletions include/db.h
Expand Up @@ -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
16 changes: 8 additions & 8 deletions include/dirent.h
Expand Up @@ -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
6 changes: 3 additions & 3 deletions 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
2 changes: 1 addition & 1 deletion include/fcntl.h
Expand Up @@ -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
2 changes: 1 addition & 1 deletion 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;
2 changes: 1 addition & 1 deletion include/glob.h
Expand Up @@ -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
22 changes: 11 additions & 11 deletions include/grp.h
Expand Up @@ -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
40 changes: 20 additions & 20 deletions 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
Expand Down Expand Up @@ -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
buffer starting at BUF of size LEN. */
extern int inet_net_pton __P ((int __af, __const char *__cp,
void *__buf, size_t __len));
extern int inet_net_pton (int __af, __const char *__cp,
void *__buf, size_t __len) __THROW;

/* Convert Internet number in IN to ASCII representation. The return value
is a pointer to an internal array containing the string. */
extern char *inet_ntoa __P ((struct in_addr __in));
extern char *inet_ntoa (struct in_addr __in) __THROW;

/* Convert from presentation format of an Internet number in buffer
starting at CP to the binary network format and store result for
interface type AF in buffer starting at BUF. */
extern int inet_pton __P ((int __af, __const char *__cp, void *__buf));
extern int inet_pton (int __af, __const char *__cp, void *__buf) __THROW;

/* Convert a Internet address in binary network format for interface
type AF in buffer starting at CP to presentation form and place
result in buffer of length LEN astarting at BUF. */
extern __const char *inet_ntop __P ((int __af, __const void *__cp,
char *__buf, size_t __len));
extern __const char *inet_ntop (int __af, __const void *__cp,
char *__buf, size_t __len) __THROW;

/* Convert ASCII representation in hexadecimal form of the Internet
address to binary form and place result in buffer of length LEN
starting at BUF. */
extern unsigned int inet_nsap_addr __P ((__const char *__cp,
unsigned char *__buf, int __len));
extern unsigned int inet_nsap_addr (__const char *__cp,
unsigned char *__buf, int __len) __THROW;

/* Convert internet address in binary form in LEN bytes starting at CP
a presentation form and place result in BUF. */
extern char *inet_nsap_ntoa __P ((int __len, __const unsigned char *__cp,
char *__buf));
extern char *inet_nsap_ntoa (int __len, __const unsigned char *__cp,
char *__buf) __THROW;

__END_DECLS

Expand Down

0 comments on commit 4d3a563

Please sign in to comment.