A patch for io/Versions and linuxthreads/Versions
H . J . Lu
hjl@valinux.com
Thu Nov 9 10:06:00 GMT 2000
Here is a patch for
http://sources.redhat.com/ml/libc-hacker/2000-11/msg00039.html
Also we need to export __open64 since libpthread will override it.
--
H.J. Lu (hjl@valinux.com)
---
2000-11-09 H.J. Lu <hjl@gnu.org>
* io/Versions (GLIBC_2.2): Add __open64.
* linuxthreads/Versions (libpthread:GLIBC_2.2): Move pread,
__pread64, pread64, pwrite, __pwrite64, pwrite64, lseek64 and
open64 to ...
(libpthread:GLIBC_2.1): Here.
Index: ./io/Versions
===================================================================
RCS file: /work/cvs/gnu/glibc/io/Versions,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Versions
--- ./io/Versions 2000/05/21 21:11:03 1.1.1.1
+++ ./io/Versions 2000/11/09 17:54:46
@@ -94,5 +94,7 @@ libc {
GLIBC_2.2 {
# p*
posix_fadvise; posix_fadvise64; posix_fallocate; posix_fallocate64;
+
+ __open64;
}
}
Index: ./linuxthreads/Versions
===================================================================
RCS file: /work/cvs/gnu/glibc/linuxthreads/Versions,v
retrieving revision 1.1.1.5
diff -u -p -r1.1.1.5 Versions
--- ./linuxthreads/Versions 2000/09/11 22:11:04 1.1.1.5
+++ ./linuxthreads/Versions 2000/11/09 17:54:55
@@ -113,6 +113,10 @@ libpthread {
# helper functions
__libc_current_sigrtmin; __libc_current_sigrtmax;
__libc_allocate_rtsig;
+
+ # For the cancelation wrappers.
+ pread; __pread64; pread64; pwrite; __pwrite64; pwrite64; lseek64;
+ open64;
}
GLIBC_2.1.1 {
sem_close; sem_open; sem_unlink;
@@ -123,8 +127,7 @@ libpthread {
}
GLIBC_2.2 {
# For the cancelation wrappers.
- pread; __pread64; pread64; pwrite; __pwrite64; pwrite64; lseek64;
- open64; __open64;
+ __open64;
__res_state;
More information about the Libc-hacker
mailing list