Author: clebert.suconic(a)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;
}
Show replies by date