[uClibc-cvs] svn commit: trunk/uClibc/libc/sysdeps/linux/common

vapier at uclibc.org vapier at uclibc.org
Sun Jul 17 00:54:47 UTC 2005


Author: vapier
Date: 2005-07-16 18:54:46 -0600 (Sat, 16 Jul 2005)
New Revision: 10844

Log:
whoops, reversed naming of nano sec members ... kernel uses _, user space does not

Modified:
   trunk/uClibc/libc/sysdeps/linux/common/xstatconv.c


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/xstatconv.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/xstatconv.c	2005-07-17 00:52:56 UTC (rev 10843)
+++ trunk/uClibc/libc/sysdeps/linux/common/xstatconv.c	2005-07-17 00:54:46 UTC (rev 10844)
@@ -49,9 +49,9 @@
 	buf->st_mtime = kbuf->st_mtime;
 	buf->st_ctime = kbuf->st_ctime;
 #ifdef STAT_HAVE_NSEC
-	buf->st_atime_nsec = kbuf->st_atimensec;
-	buf->st_mtime_nsec = kbuf->st_mtimensec;
-	buf->st_ctime_nsec = kbuf->st_ctimensec;
+	buf->st_atimensec = kbuf->st_atime_nsec;
+	buf->st_mtimensec = kbuf->st_mtime_nsec;
+	buf->st_ctimensec = kbuf->st_ctime_nsec;
 #endif
 }
 
@@ -77,9 +77,9 @@
 	buf->st_mtime = kbuf->st_mtime;
 	buf->st_ctime = kbuf->st_ctime;
 #ifdef STAT_HAVE_NSEC
-	buf->st_atime_nsec = kbuf->st_atimensec;
-	buf->st_mtime_nsec = kbuf->st_mtimensec;
-	buf->st_ctime_nsec = kbuf->st_ctimensec;
+	buf->st_atimensec = kbuf->st_atime_nsec;
+	buf->st_mtimensec = kbuf->st_mtime_nsec;
+	buf->st_ctimensec = kbuf->st_ctime_nsec;
 #endif
 }
 




More information about the uClibc-cvs mailing list