This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: glibc 2.1.92 compatibility with glibc 2.1.3 ?
On Tue, 15 Aug 2000, Ulrich Drepper wrote:
> "Kevin B. Hendricks" <khendricks@ivey.uwo.ca> writes:
> > Should the symbol getrlimit64 version GLIBC_2.1 be present in glibc
> > 2.1.92?
>
> Yes. We changed a lot in this area and you are the first to try this.
> PPC is really a really badly supported platform since Geoff does not
> have any time for it. I'll try to look at it but it's in the moment
> not high on my list.
Ok, I'm back from the Expo2000 and will have a time to look at glibc a bit
more again.
Find appended a small patch against the current CVS fixing the small problems
I encountered.
Franz.
* sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
* sysdeps/unix/sysv/linux/xstatconv.c: Remove duplicated code.
--- /dev/null Tue May 5 22:32:27 1998
+++ sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c Tue Aug 15 22:42:55 2000
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c>
Index: sysdeps/unix/sysv/linux/xstatconv.c
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/xstatconv.c,v
retrieving revision 1.7
diff -u -p -r1.7 xstatconv.c
--- sysdeps/unix/sysv/linux/xstatconv.c 2000/08/12 04:47:20 1.7
+++ sysdeps/unix/sysv/linux/xstatconv.c 2000/08/15 21:58:52
@@ -175,14 +175,6 @@ xstat32_conv (int vers, struct stat64 *k
return -1;
}
}
-#else
- buf->st_ino = kbuf->__st_ino;
- if (sizeof (buf->st_ino) != sizeof (kbuf->__st_ino)
- && buf->st_ino != kbuf->st_ino)
- {
- __set_errno (EOVERFLOW);
- return -1;
- }
#endif
buf->st_mode = kbuf->st_mode;
buf->st_nlink = kbuf->st_nlink;
Index: sysdeps/unix/sysv/linux/powerpc/Dist
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/powerpc/Dist,v
retrieving revision 1.10
diff -u -p -r1.10 Dist
--- sysdeps/unix/sysv/linux/powerpc/Dist 2000/04/06 20:09:41 1.10
+++ sysdeps/unix/sysv/linux/powerpc/Dist 2000/08/15 21:58:53
@@ -1,5 +1,6 @@
clone.S
kernel_stat.h
kernel_termios.h
+oldgetrlimit64.c
sys/procfs.h
sys/user.h
Index: sysdeps/unix/sysv/linux/powerpc/Makefile
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/powerpc/Makefile,v
retrieving revision 1.1
diff -u -p -r1.1 Makefile
--- sysdeps/unix/sysv/linux/powerpc/Makefile 1998/10/21 15:39:49 1.1
+++ sysdeps/unix/sysv/linux/powerpc/Makefile 2000/08/15 21:58:53
@@ -2,3 +2,7 @@ ifeq ($(subdir),signal)
sysdep_routines += rt_sigsuspend rt_sigprocmask rt_sigtimedwait \
rt_sigqueueinfo rt_sigaction rt_sigpending
endif
+
+ifeq ($(subdir),resource)
+sysdep_routines += oldgetrlimit64
+endif