Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update.
	* 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>
  • Loading branch information
Ulrich Drepper committed Nov 23, 1999
1 parent 4d8d745 commit c19559b
Show file tree
Hide file tree
Showing 35 changed files with 228 additions and 168 deletions.
63 changes: 62 additions & 1 deletion ChangeLog
@@ -1,3 +1,64 @@
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.
Expand All @@ -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
Expand Down
10 changes: 5 additions & 5 deletions FAQ
Expand Up @@ -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
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 (__const struct aioinit *__init) __THROW;
extern void __aio_init (__const struct aioinit *__init);
#endif
2 changes: 1 addition & 1 deletion include/alloca.h
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion include/bits/ipc.h
Expand Up @@ -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

Expand Down
3 changes: 1 addition & 2 deletions include/db.h
Expand Up @@ -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
10 changes: 5 additions & 5 deletions include/dirent.h
Expand Up @@ -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)
Expand Down
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) __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
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 (__const char *__file, int __oflag, ...) __THROW;
extern int __open64 (__const char *__file, int __oflag, ...);
#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 (fpu_control_t) __THROW;
extern void __setfpucw (fpu_control_t);
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 (__const char *__pattern, int __quote) __THROW;
extern int __glob_pattern_p (__const char *__pattern, int __quote);

#endif
8 changes: 4 additions & 4 deletions include/grp.h
Expand Up @@ -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
10 changes: 5 additions & 5 deletions include/libintl.h
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion include/math.h
Expand Up @@ -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
10 changes: 5 additions & 5 deletions include/mntent.h
Expand Up @@ -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
28 changes: 14 additions & 14 deletions include/netdb.h
Expand Up @@ -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 */
8 changes: 4 additions & 4 deletions include/pwd.h
Expand Up @@ -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 **__result);
#endif
18 changes: 9 additions & 9 deletions include/sched.h
Expand Up @@ -3,17 +3,17 @@

/* Now define the internal interfaces. */
extern int __sched_setparam (__pid_t __pid,
__const struct sched_param *__param) __THROW;
extern int __sched_getparam (__pid_t __pid, struct sched_param *__param) __THROW;
__const struct sched_param *__param);
extern int __sched_getparam (__pid_t __pid, struct sched_param *__param);
extern int __sched_setscheduler (__pid_t __pid, int __policy,
__const struct sched_param *__param) __THROW;
extern int __sched_getscheduler (__pid_t __pid) __THROW;
extern int __sched_yield (void) __THROW;
extern int __sched_get_priority_max (int __algorithm) __THROW;
extern int __sched_get_priority_min (int __algorithm) __THROW;
extern int __sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __THROW;
__const struct sched_param *__param);
extern int __sched_getscheduler (__pid_t __pid);
extern int __sched_yield (void);
extern int __sched_get_priority_max (int __algorithm);
extern int __sched_get_priority_min (int __algorithm);
extern int __sched_rr_get_interval (__pid_t __pid, struct timespec *__t);

/* This is Linux specific. */
extern int __clone (int (*__fn) (void *__arg), void *__child_stack,
int __flags, void *__arg) __THROW;
int __flags, void *__arg);
#endif

0 comments on commit c19559b

Please sign in to comment.