[uClibc-cvs] uClibc/libc/sysdeps/linux/common xstatconv.c,1.3,1.4 xstatconv.h,1.1,1.2

Erik Andersen andersen at codepoet.org
Tue Jan 28 08:35:00 UTC 2003


Update of /var/cvs/uClibc/libc/sysdeps/linux/common
In directory winder:/tmp/cvs-serv15380

Modified Files:
	xstatconv.c xstatconv.h 
Log Message:
Patch from Stefan Allius to fix the build when 
large file support is disabled


Index: xstatconv.c
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/common/xstatconv.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- xstatconv.c	24 Jan 2003 16:10:28 -0000	1.3
+++ xstatconv.c	28 Jan 2003 08:34:57 -0000	1.4
@@ -50,6 +50,7 @@
     buf->st_ctime = kbuf->st_ctime;
 }
 
+#if defined __UCLIBC_HAS_LFS__
 void __xstat64_conv(struct kernel_stat64 *kbuf, struct stat64 *buf)
 {
     /* Convert to current kernel version of `struct stat64'.  */
@@ -70,4 +71,5 @@
     buf->st_mtime = kbuf->st_mtime;
     buf->st_ctime = kbuf->st_ctime;
 }
+#endif
 

Index: xstatconv.h
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/common/xstatconv.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- xstatconv.h	24 Jan 2003 11:52:51 -0000	1.1
+++ xstatconv.h	28 Jan 2003 08:34:57 -0000	1.2
@@ -26,5 +26,7 @@
 #include <bits/kernel_stat.h>
 
 extern void __xstat_conv(struct kernel_stat *kbuf, struct stat *buf);
+#if defined __UCLIBC_HAS_LFS__
 extern void __xstat64_conv(struct kernel_stat64 *kbuf, struct stat64 *buf);
+#endif
 




More information about the uClibc-cvs mailing list