aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog63
-rw-r--r--FAQ10
-rw-r--r--include/aio.h2
-rw-r--r--include/alloca.h2
-rw-r--r--include/bits/ipc.h2
-rw-r--r--include/db.h3
-rw-r--r--include/dirent.h10
-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.h8
-rw-r--r--include/libintl.h10
-rw-r--r--include/math.h2
-rw-r--r--include/mntent.h10
-rw-r--r--include/netdb.h28
-rw-r--r--include/pwd.h8
-rw-r--r--include/sched.h18
-rw-r--r--include/shadow.h12
-rw-r--r--include/stdlib.h46
-rw-r--r--include/sys/file.h2
-rw-r--r--include/sys/gmon.h4
-rw-r--r--include/sys/ioctl.h2
-rw-r--r--include/sys/socket.h2
-rw-r--r--include/sys/stat.h16
-rw-r--r--include/sys/sysinfo.h8
-rw-r--r--include/sys/time.h12
-rw-r--r--include/sys/times.h2
-rw-r--r--include/sys/uio.h4
-rw-r--r--include/sys/wait.h6
-rw-r--r--include/termios.h2
-rw-r--r--include/time.h28
-rw-r--r--include/ulimit.h2
-rw-r--r--include/utmp.h22
-rw-r--r--include/wchar.h38
35 files changed, 228 insertions, 168 deletions
diff --git a/ChangeLog b/ChangeLog
index 2177d02f9f..56387553a4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,66 @@
1999-11-23 Andreas Jaeger <aj@suse.de>
+ * include/aio.h: Remove __THROW from internal interfaces. __THROW
+ is only need in external header files that might be compiled by a
+ C++ compiler.
+ * include/alloca.h: Likewise.
+ * include/db.h: Likewise.
+ * include/dirent.h: Likewise.
+ * include/execinfo.h: Likewise.
+ * include/fpu_control.h: Likewise.
+ * include/glob.h: Likewise.
+ * include/grp.h: Likewise.
+ * include/libintl.h: Likewise.
+ * include/math.h: Likewise.
+ * include/math.h: Likewise.
+ * include/mntent.h: Likewise.
+ * include/mntent.h: Likewise.
+ * include/netdb.h: Likewise.
+ * include/pwd.h: Likewise.
+ * include/sched.h: Likewise.
+ * include/shadow.h: Likewise.
+ * include/stdlib.h: Likewise.
+ * include/sys/file.h: Likewise.
+ * include/sys/gmon.h: Likewise.
+ * include/sys/ioctl.h: Likewise.
+ * include/sys/socket.h: Likewise.
+ * include/sys/stat.h: Likewise.
+ * include/sys/sysinfo.h: Likewise.
+ * include/sys/time.h: Likewise.
+ * include/sys/times.h: Likewise.
+ * include/sys/uio.h: Likewise.
+ * include/sys/wait.h: Likewise.
+ * include/termios.h: Likewise.
+ * include/time.h: Likewise.
+ * include/ulimit.h: Likewise.
+ * include/utmp.h: Likewise.
+ * include/wchar.h: Likewise.
+
+1999-11-22 Andreas Jaeger <aj@suse.de>
+
+ * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
+ Patch by Jerry Perkins <jrperkins@iname.com>, closes PR
+ libc/1456+1457.
+
+1999-11-22 Jakub Jelinek <jakub@redhat.com>
+
+ * sysdeps/generic/siglist.h: Avoid declaring the same field
+ twice if SIGPWR is defined to SIGLOST.
+ * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
+ not signed, so we should not special case it for negative args.
+ * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
+ memmove, use the one provided in memcpy.S.
+ * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
+ copies like memmove, while the previous version worked like memcpy.
+ Implement optimized assembly memmove.
+ * sysdeps/sparc/sparc64/memmove.c: New file.
+
+1999-11-23 Ulrich Drepper <drepper@cygnus.com>
+
+ * po/cs.po: Update from translators.
+
+1999-11-23 Andreas Jaeger <aj@suse.de>
+
* sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
(elf_machine_got): Removed, not needed anymore.
(ELF_MACHINE_RELOC_NOPLT): Removed.
@@ -12,7 +73,7 @@
Ralf Baechle <baechle@uni-koblenz.de>.
* sysdeps/mips/mips64/dl-machine.h: Apply same patches.
-
+
1999-11-22 Ulrich Drepper <drepper@cygnus.com>
* wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
diff --git a/FAQ b/FAQ
index 926a72ac5a..fe08cb1539 100644
--- a/FAQ
+++ b/FAQ
@@ -1097,11 +1097,11 @@ shadow_compat: nis
that have been linked against glibc 2.0 will continue to work.
If you compile your own binaries against glibc 2.1, you also need to
-recompile some other libraries. The problem is that libio had to be
-changed and therefore libraries that are based or depend on the libio
-of glibc, e.g. ncurses or slang, need to be recompiled. If you
-experience strange segmentation faults in your programs linked against
-glibc 2.1, you might need to recompile your libraries.
+recompile some other libraries. The problem is that libio had to be changed
+and therefore libraries that are based or depend on the libio of glibc,
+e.g. ncurses, slang and most C++ libraries, need to be recompiled. If you
+experience strange segmentation faults in your programs linked against glibc
+2.1, you might need to recompile your libraries.
Another problem is that older binaries that were linked statically against
glibc 2.0 will reference the older nss modules (libnss_files.so.1 instead of
diff --git a/include/aio.h b/include/aio.h
index 6f66faadb9..e3dc86f99a 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 (__const struct aioinit *__init) __THROW;
+extern void __aio_init (__const struct aioinit *__init);
#endif
diff --git a/include/alloca.h b/include/alloca.h
index cb0b1a5587..3a480f8e24 100644
--- a/include/alloca.h
+++ b/include/alloca.h
@@ -5,7 +5,7 @@
#undef __alloca
/* Now define the internal interfaces. */
-extern void *__alloca (size_t __size) __THROW;
+extern void *__alloca (size_t __size);
#ifdef __GNUC__
# define __alloca(size) __builtin_alloca (size)
diff --git a/include/bits/ipc.h b/include/bits/ipc.h
index 92fb4505a5..481fe91a8e 100644
--- a/include/bits/ipc.h
+++ b/include/bits/ipc.h
@@ -4,7 +4,7 @@ __BEGIN_DECLS
/* The actual system call: all functions are multiplexed by this. */
extern int __syscall_ipc (int __call, int __first, int __second,
- int __third, void *__ptr) __THROW;
+ int __third, void *__ptr);
__END_DECLS
diff --git a/include/db.h b/include/db.h
index f945233f0f..724b5dbb41 100644
--- a/include/db.h
+++ b/include/db.h
@@ -7,8 +7,7 @@
/* Internal interface for NSS. */
extern int __nss_db_open (const char *,
- DBTYPE, u_int32_t, int, DB_ENV *, DB_INFO *, DB **)
- __THROW;
+ DBTYPE, u_int32_t, int, DB_ENV *, DB_INFO *, DB **);
#endif
#endif
diff --git a/include/dirent.h b/include/dirent.h
index b3af4bfa46..486e7f60f1 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -2,12 +2,12 @@
# include <dirent/dirent.h>
/* Now define the internal interfaces. */
-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 DIR *__opendir (__const char *__name);
+extern int __closedir (DIR *__dirp);
+extern struct dirent *__readdir (DIR *__dirp);
+extern struct dirent64 *__readdir64 (DIR *__dirp);
extern int __readdir_r (DIR *__dirp, struct dirent *__entry,
- struct dirent **__result) __THROW;
+ struct dirent **__result);
extern __ssize_t __getdents (int __fd, char *__buf, size_t __nbytes)
internal_function;
extern __ssize_t __getdents64 (int __fd, char *__buf, size_t __nbytes)
diff --git a/include/execinfo.h b/include/execinfo.h
index f9f8e36451..143a9cc4ce 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) __THROW;
+extern int __backtrace (void **__array, int __size);
-extern char **__backtrace_symbols (void *__const *__array, int __size) __THROW;
+extern char **__backtrace_symbols (void *__const *__array, int __size);
extern void __backtrace_symbols_fd (void *__const *__array, int __size,
- int __fd) __THROW;
+ int __fd);
#endif
diff --git a/include/fcntl.h b/include/fcntl.h
index 9c903f88c6..8714d6aa14 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 (__const char *__file, int __oflag, ...) __THROW;
+extern int __open64 (__const char *__file, int __oflag, ...);
#endif
diff --git a/include/fpu_control.h b/include/fpu_control.h
index 7063671aca..d0b5e9c0d1 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 (fpu_control_t) __THROW;
+extern void __setfpucw (fpu_control_t);
diff --git a/include/glob.h b/include/glob.h
index f72f65856b..fce761869d 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 (__const char *__pattern, int __quote) __THROW;
+extern int __glob_pattern_p (__const char *__pattern, int __quote);
#endif
diff --git a/include/grp.h b/include/grp.h
index 5ee66fc9b4..824b1648c2 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -3,18 +3,18 @@
/* Now define the internal interfaces. */
extern int __getgrent_r (struct group *__resultbuf, char *buffer,
- size_t __buflen, struct group **__result) __THROW;
+ size_t __buflen, struct group **__result);
extern int __fgetgrent_r (FILE * __stream, struct group *__resultbuf,
char *buffer, size_t __buflen,
- struct group **__result) __THROW;
+ struct group **__result);
/* Search for an entry with a matching group ID. */
extern int __getgrgid_r (__gid_t __gid, struct group *__resultbuf,
char *__buffer, size_t __buflen,
- struct group **__result) __THROW;
+ struct group **__result);
/* Search for an entry with a matching group name. */
extern int __getgrnam_r (__const char *__name, struct group *__resultbuf,
char *__buffer, size_t __buflen,
- struct group **__result) __THROW;
+ struct group **__result);
#endif
diff --git a/include/libintl.h b/include/libintl.h
index d81d60438a..3d1d7c90ee 100644
--- a/include/libintl.h
+++ b/include/libintl.h
@@ -2,14 +2,14 @@
#include <intl/libintl.h>
/* Now define the internal interfaces. */
-extern char *__gettext (__const char *__msgid) __THROW;
+extern char *__gettext (__const char *__msgid);
extern char *__dgettext (__const char *__domainname,
- __const char *__msgid) __THROW;
+ __const char *__msgid);
extern char *__dcgettext (__const char *__domainname,
- __const char *__msgid, int __category) __THROW;
-extern char *__textdomain (__const char *__domainname) __THROW;
+ __const char *__msgid, int __category);
+extern char *__textdomain (__const char *__domainname);
extern char *__bindtextdomain (__const char *__domainname,
- __const char *__dirname) __THROW;
+ __const char *__dirname);
extern const char _libc_intl_domainname[];
/* Define the macros `_' and `N_' for conveniently marking translatable
diff --git a/include/math.h b/include/math.h
index 1cfd9b6cb5..8759c28bff 100644
--- a/include/math.h
+++ b/include/math.h
@@ -3,6 +3,6 @@
#include <math/math.h>
/* Now define the internal interfaces. */
-extern int __matherr (struct exception *__exc) __THROW;
+extern int __matherr (struct exception *__exc);
#endif
diff --git a/include/mntent.h b/include/mntent.h
index 5097e4a37a..7035630444 100644
--- a/include/mntent.h
+++ b/include/mntent.h
@@ -2,12 +2,12 @@
#include <misc/mntent.h>
/* Now define the internal interfaces. */
-extern FILE *__setmntent (__const char *__file, __const char *__mode) __THROW;
+extern FILE *__setmntent (__const char *__file, __const char *__mode);
extern struct mntent *__getmntent_r (FILE *__stream,
struct mntent *__result,
- char *__buffer, int __bufsize) __THROW;
-extern int __addmntent (FILE *__stream, __const struct mntent *__mnt) __THROW;
-extern int __endmntent (FILE *__stream) __THROW;
+ char *__buffer, int __bufsize);
+extern int __addmntent (FILE *__stream, __const struct mntent *__mnt);
+extern int __endmntent (FILE *__stream);
extern char *__hasmntopt (__const struct mntent *__mnt,
- __const char *__opt) __THROW;
+ __const char *__opt);
#endif
diff --git a/include/netdb.h b/include/netdb.h
index cefd492a22..48fdddd7d4 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -5,76 +5,76 @@
extern int __gethostent_r (struct hostent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
struct hostent **__restrict __result,
- int *__restrict __h_errnop) __THROW;
+ int *__restrict __h_errnop);
extern int __gethostbyaddr_r (__const char *__restrict __addr,
size_t __len, int __type,
struct hostent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
struct hostent **__restrict __result,
- int *__restrict __h_errnop) __THROW;
+ int *__restrict __h_errnop);
extern int __gethostbyname_r (__const char *__restrict __name,
struct hostent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
struct hostent **__restrict __result,
- int *__restrict __h_errnop) __THROW;
+ int *__restrict __h_errnop);
extern int __gethostbyname2_r (__const char *__restrict __name, int __af,
struct hostent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
struct hostent **__restrict __result,
- int *__restrict __h_errnop) __THROW;
+ int *__restrict __h_errnop);
extern int __getnetent_r (struct netent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
struct netent **__restrict __result,
- int *__restrict __h_errnop) __THROW;
+ int *__restrict __h_errnop);
extern int __getnetbyaddr_r (unsigned long int __net, int __type,
struct netent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
struct netent **__restrict __result,
- int *__restrict __h_errnop) __THROW;
+ int *__restrict __h_errnop);
extern int __getnetbyname_r (__const char *__restrict __name,
struct netent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
struct netent **__restrict __result,
- int *__restrict __h_errnop) __THROW;
+ int *__restrict __h_errnop);
extern int __getservent_r (struct servent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
- struct servent **__restrict __result) __THROW;
+ struct servent **__restrict __result);
extern int __getservbyname_r (__const char *__restrict __name,
__const char *__restrict __proto,
struct servent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
- struct servent **__restrict __result) __THROW;
+ struct servent **__restrict __result);
extern int __getservbyport_r (int __port,
__const char *__restrict __proto,
struct servent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
- struct servent **__restrict __result) __THROW;
+ struct servent **__restrict __result);
extern int __getprotoent_r (struct protoent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
- struct protoent **__restrict __result) __THROW;
+ struct protoent **__restrict __result);
extern int __getprotobyname_r (__const char *__restrict __name,
struct protoent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
- struct protoent **__restrict __result) __THROW;
+ struct protoent **__restrict __result);
extern int __getprotobynumber_r (int __proto,
struct protoent *__restrict __res_buf,
char *__restrict __buf, size_t __buflen,
- struct protoent **__restrict __result) __THROW;
+ struct protoent **__restrict __result);
extern int __getnetgrent_r (char **__restrict __hostp,
char **__restrict __userp,
char **__restrict __domainp,
- char *__restrict __buffer, size_t __buflen) __THROW;
+ char *__restrict __buffer, size_t __buflen);
#endif /* !_NETDB_H */
diff --git a/include/pwd.h b/include/pwd.h
index 6baec570fc..f91622840a 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -3,14 +3,14 @@
/* Now define the internal interfaces. */
extern int __getpwent_r (struct passwd *__resultbuf, char *__buffer,
- size_t __buflen, struct passwd **__result) __THROW;
+ size_t __buflen, struct passwd **__result);
extern int __getpwuid_r (__uid_t __uid, struct passwd *__resultbuf,
char *__buffer, size_t __buflen,
- struct passwd **__result) __THROW;
+ struct passwd **__result);
extern int __getpwnam_r (__const char *__name, struct passwd *__resultbuf,
char *__buffer, size_t __buflen,
- struct passwd **__result) __THROW;
+ struct passwd **__result);
extern int __fgetpwent_r (FILE * __stream, struct passwd *__resultbuf,
char *__buffer, size_t __buflen,
- struct passwd **__result) __THROW;
+ struct passwd **__resu