[hornetq-commits] JBoss hornetq SVN: r9673 - trunk/native/src.

do-not-reply at jboss.org do-not-reply at jboss.org
Sat Sep 11 18:16:36 EDT 2010


Author: clebert.suconic at jboss.com
Date: 2010-09-11 18:16:35 -0400 (Sat, 11 Sep 2010)
New Revision: 9673

Modified:
   trunk/native/src/AsyncFile.cpp
Log:
tweak on native code

Modified: trunk/native/src/AsyncFile.cpp
===================================================================
--- trunk/native/src/AsyncFile.cpp	2010-09-11 22:10:16 UTC (rev 9672)
+++ trunk/native/src/AsyncFile.cpp	2010-09-11 22:16:35 UTC (rev 9673)
@@ -312,9 +312,9 @@
 
 long AsyncFile::getSize()
 {
-	struct stat64 statBuffer;
+	struct stat statBuffer;
 
-	if (fstat64(fileHandle, &statBuffer) < 0)
+	if (fstat(fileHandle, &statBuffer) < 0)
 	{
 		return -1l;
 	}



More information about the hornetq-commits mailing list