Added option in FLAIM to disable direct I/O on Linux and Unix platforms. Re-architected the FTK I/O layer and cleaned up the async interfaces.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@643 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
ahodgkinson
2006-07-10 23:38:53 +00:00
parent 91816d4c49
commit c44e49e82c
77 changed files with 7192 additions and 9159 deletions

View File

@@ -229,10 +229,10 @@ FLMUINT64 FLMAPI F_DirHdl::currentItemSize( void)
#elif defined( FLM_UNIX) || defined ( FLM_LIBC_NLM)
ui64Size = m_FindData.FileStat.st_size;
#elif defined( FLM_RING_ZERO_NLM)
if( m_FindData.pCurrentItem != NULL )
{
ui64Size = m_FindData.pCurrentItem->DFileSize;
}
char szTmpPath[ F_PATH_MAX_SIZE];
currentItemPath( szTmpPath);
(void)f_getFileSysPtr()->getFileSize( szTmpPath, &ui64Size);
#endif
}
return( ui64Size);
@@ -330,7 +330,7 @@ RCODE FLMAPI F_DirHdl::next( void)
}
else
{
m_rc = f_mapPlatformError(lError, NE_FLM_READING_FILE);
m_rc = f_mapPlatformError( lError, NE_FLM_READING_FILE);
}
break;