Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
2000-03-15  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/open64.c: Make __open64 weak alias.
	* sysdeps/posix/pread64.c: Make __pread64 weak alias.
	* sysdeps/unix/sysv/linux/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
	* sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
	* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
  • Loading branch information
Ulrich Drepper committed Mar 16, 2000
1 parent 04366d5 commit a96206f
Show file tree
Hide file tree
Showing 12 changed files with 34 additions and 21 deletions.
14 changes: 14 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
2000-03-15 Ulrich Drepper <drepper@redhat.com>

* sysdeps/posix/open64.c: Make __open64 weak alias.
* sysdeps/posix/pread64.c: Make __pread64 weak alias.
* sysdeps/unix/sysv/linux/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
* sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.

2000-03-14 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
Expand Down
4 changes: 2 additions & 2 deletions sysdeps/posix/open64.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 1991, 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
/* Copyright (C) 1991, 1995-1997, 1999, 2000 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 @@ -36,5 +36,5 @@ __libc_open64 (const char *file, int oflag, ...)

return __libc_open (file, oflag | O_LARGEFILE, mode);
}
strong_alias (__libc_open64, __open64)
weak_alias (__libc_open64, __open64)
weak_alias (__libc_open64, open64)
4 changes: 2 additions & 2 deletions sysdeps/posix/pread64.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Read block from given position in file without changing file pointer.
POSIX version.
Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
Expand Down Expand Up @@ -56,6 +56,6 @@ __libc_pread64 (int fd, void *buf, size_t nbyte, off64_t offset)
}

#ifndef __libc_pread64
strong_alias (__libc_pread64, __pread64)
weak_alias (__libc_pread64, __pread64)
weak_alias (__libc_pread64, pread64)
#endif
4 changes: 2 additions & 2 deletions sysdeps/posix/pwrite64.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Write block to given position in file without changing file pointer.
POSIX version.
Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
Expand Down Expand Up @@ -55,6 +55,6 @@ __libc_pwrite64 (int fd, const void *buf, size_t nbyte, off64_t offset)
return result;
}
#ifndef __libc_pwrite64
strong_alias (__libc_pwrite64, __pwrite64)
weak_alias (__libc_pwrite64, __pwrite64)
weak_alias (__libc_pwrite64, pwrite64)
#endif
4 changes: 2 additions & 2 deletions sysdeps/unix/sysv/linux/i386/pread64.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
Expand Down Expand Up @@ -55,7 +55,7 @@ __libc_pread64 (fd, buf, count, offset)
return result;
}

strong_alias (__libc_pread64, __pread64)
weak_alias (__libc_pread64, __pread64)
weak_alias (__libc_pread64, pread64)

# define __libc_pread64(fd, buf, count, offset) \
Expand Down
4 changes: 2 additions & 2 deletions sysdeps/unix/sysv/linux/i386/pwrite64.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
Expand Down Expand Up @@ -55,7 +55,7 @@ __libc_pwrite64 (fd, buf, count, offset)
return result;
}

strong_alias (__libc_pwrite64, __pwrite64)
weak_alias (__libc_pwrite64, __pwrite64)
weak_alias (__libc_pwrite64, pwrite64)

# define __libc_pwrite64(fd, buf, count, offset) \
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/unix/sysv/linux/mips/pread64.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ __libc_pread64 (fd, buf, count, offset)
return result;
}

strong_alias (__libc_pread64, __pread64)
weak_alias (__libc_pread64, __pread64)
weak_alias (__libc_pread64, pread64)

# define __libc_pread64(fd, buf, count, offset) \
Expand Down
3 changes: 1 addition & 2 deletions sysdeps/unix/sysv/linux/mips/pwrite64.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ __libc_pwrite64 (fd, buf, count, offset)
return result;
}

strong_alias (__libc_pwrite64, __pwrite64)
weak_alias (__libc_pwrite64, __pwrite64)
weak_alias (__libc_pwrite64, pwrite64)

# define __libc_pwrite64(fd, buf, count, offset) \
Expand All @@ -73,4 +73,3 @@ weak_alias (__libc_pwrite64, pwrite64)
#if __ASSUME_PWRITE_SYSCALL == 0
# include <sysdeps/posix/pwrite64.c>
#endif

4 changes: 2 additions & 2 deletions sysdeps/unix/sysv/linux/powerpc/pread64.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
Expand Down Expand Up @@ -50,7 +50,7 @@ __libc_pread64 (fd, buf, count, offset)
return result;
}

strong_alias (__libc_pread64, __pread64)
weak_alias (__libc_pread64, __pread64)
weak_alias (__libc_pread64, pread64)

#define __libc_pread64(fd, buf, count, offset) \
Expand Down
4 changes: 2 additions & 2 deletions sysdeps/unix/sysv/linux/powerpc/pwrite64.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
Expand Down Expand Up @@ -50,7 +50,7 @@ __libc_pwrite64 (fd, buf, count, offset)
return result;
}

strong_alias (__libc_pwrite64, __pwrite64)
weak_alias (__libc_pwrite64, __pwrite64)
weak_alias (__libc_pwrite64, pwrite64)

#define __libc_pwrite64(fd, buf, count, offset) \
Expand Down
4 changes: 2 additions & 2 deletions sysdeps/unix/sysv/linux/pread64.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
Expand Down Expand Up @@ -57,7 +57,7 @@ __libc_pread64 (fd, buf, count, offset)
return result;
}

strong_alias (__libc_pread64, __pread64)
weak_alias (__libc_pread64, __pread64)
weak_alias (__libc_pread64, pread64)

# define __libc_pread64(fd, buf, count, offset) \
Expand Down
4 changes: 2 additions & 2 deletions sysdeps/unix/sysv/linux/pwrite64.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
Expand Down Expand Up @@ -57,7 +57,7 @@ __libc_pwrite64 (fd, buf, count, offset)
return result;
}

strong_alias (__libc_pwrite64, __pwrite64)
weak_alias (__libc_pwrite64, __pwrite64)
weak_alias (__libc_pwrite64, pwrite64)

# define __libc_pwrite64(fd, buf, count, offset) \
Expand Down

0 comments on commit a96206f

Please sign in to comment.