[hornetq-commits] JBoss hornetq SVN: r9672 - branches/Branch_2_1/native/src.

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


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

Modified:
   branches/Branch_2_1/native/src/AsyncFile.cpp
Log:
small tweak on native code

Modified: branches/Branch_2_1/native/src/AsyncFile.cpp
===================================================================
--- branches/Branch_2_1/native/src/AsyncFile.cpp	2010-09-10 20:41:46 UTC (rev 9671)
+++ branches/Branch_2_1/native/src/AsyncFile.cpp	2010-09-11 22:10:16 UTC (rev 9672)
@@ -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