bool bfiltering = true;
char temp[50];
FileAttributes attr;
- long long size;
+ long long size = 0L;
if (!Constructp) {
probeBlockStart();
log.length += sprintf(log.data + log.length,", %s",temp);
log.length += sprintf(log.data + log.length,", %s`,%ld",(createParentDirectories == 0 ? "false" : "true"),ret);
//PCAddr,errno,InternalCall,size,FD,FDType,FDApiType,FileSize,FilePath
- File::GetAttributes(this->GetName(),attr);
+ if(ret == E_SUCCESS && E_SUCCESS == File::GetAttributes(this->GetName(),attr))
+ size = attr.GetFileSize();
WcharToChar(temp,filePath.GetPointer());
- size = attr.GetFileSize();
// WcharToChar(temp,this->GetName().GetPointer());
log.length += sprintf(log.data + log.length,"`,0`,%lu`,%d`,%u`,0`,0x%x`,%d`,%d`,%lld`,%s",ret,blockresult,(unsigned int)CALLER_ADDRESS,(unsigned int)this,FD_FILE,FD_API_OPEN,size,temp);
//callstack
return ret;
}
-/* deprecated apis
-result File::Construct(const Tizen::Base::String& filePath,
- const Tizen::Base::String& openMode, bool secureMode,
- bool createParentDirectories) {
- typedef result (File::*methodType)(const Tizen::Base::String& filePath,
- const Tizen::Base::String& openMode, bool secureMode,
- bool createParentDirectories);
- static methodType Constructp = 0;
- result ret;
- probeInfo_t probeInfo;
- log_t log;
- int blockresult;
- bool bfiltering = true;
- char temp[50];
- //FileAttributes attr;
-
- if (!Constructp) {
- probeBlockStart();
-
- void *tmpPtr = dlsym(RTLD_NEXT,
- "_ZN5Tizen2Io4File9ConstructERKNS_4Base6StringES5_bb");
-
- if (tmpPtr == NULL || dlerror() != NULL) {
- perror("dlsym failed : Tizen::Io::File::Construct");
- exit(0);
- }
-
- memcpy(&Constructp, &tmpPtr, sizeof(tmpPtr));
- probeBlockEnd();
- }
-
- if((blockresult = preBlockBegin(CALLER_ADDRESS, bfiltering, _sopt)) != 0) {
- setProbePoint(&probeInfo);
- preBlockEnd();
- }
-
- ret = (this->*Constructp)(filePath, openMode, secureMode,
- createParentDirectories);
-
- if(postBlockBegin(blockresult)) {
- log.type = 0;
- log.length = 0;
- log.data[0] = '\0';
- log.length = sprintf(log.data, "%d`,%d`,%s`,%lu`,%d`,%d",
- LC_RESOURCE, probeInfo.eventIndex, "File::Construct",
- probeInfo.currentTime, probeInfo.pID, probeInfo.tID);
- //Input,ret
- WcharToChar(temp,filePath.GetPointer());
- log.length += sprintf(log.data + log.length,"`,%s",temp);
- WcharToChar(temp,openMode.GetPointer());
- log.length += sprintf(log.data + log.length,", %s",temp);
- log.length += sprintf(log.data + log.length,", %s,%s`,%ld",(secureMode == 0 ? "false" : "true"),(createParentDirectories == 0 ? "false" : "true"),ret);
- //PCAddr,errno,InternalCall,size,FD,FDType,FDApiType,FileSize,FilePath
- //File::GetAttributes(this->GetName(),attr);
- WcharToChar(temp,filePath.GetPointer());
- log.length += sprintf(log.data + log.length,"`,0`,%lu`,%d`,%u`,0`,0x%x`,%d`,%d`,?`,%s",ret,blockresult,(unsigned int)CALLER_ADDRESS,(unsigned int)this,FD_FILE,FD_API_OPEN,temp);
- //callstack
-
- // if(E_SUCCESS != ret || blockresult == 2) {
-// log.length += sprintf(log.data + log.length,
-// "`,\ncallstack_start`,`,callstack_end");
-// } else{
- log.length += sprintf(log.data + log.length,
- "`,\ncallstack_start`,");
- getBacktraceString(&log, 4096 - log.length - 17);
- log.length += sprintf(log.data + log.length, "`,callstack_end");
-// }
-
- printLog(&log, MSG_LOG);
- postBlockEnd();
- }
-
- return ret;
-}
-
-result File::Construct(const Tizen::Base::String& filePath,
- const Tizen::Base::String& openMode, bool secureMode,
- const Tizen::Base::ByteBuffer& key, bool createParentDirectories) {
- typedef result (File::*methodType)(const Tizen::Base::String& filePath,
- const Tizen::Base::String& openMode, bool secureMode,
- const Tizen::Base::ByteBuffer& key, bool createParentDirectories);
- static methodType Constructp = 0;
- result ret;
- probeInfo_t probeInfo;
- log_t log;
- int blockresult;
- bool bfiltering = true;
- char temp[50];
- //FileAttributes attr;
-
- if (!Constructp) {
- probeBlockStart();
-
- void *tmpPtr = dlsym(RTLD_NEXT,
- "_ZN5Tizen2Io4File9ConstructERKNS_4Base6StringES5_bRKNS2_10ByteBufferEb");
-
- if (tmpPtr == NULL || dlerror() != NULL) {
- perror("dlsym failed : Tizen::Io::File::Construct");
- exit(0);
- }
-
- memcpy(&Constructp, &tmpPtr, sizeof(tmpPtr));
- probeBlockEnd();
- }
-
- if((blockresult = preBlockBegin(CALLER_ADDRESS, bfiltering, _sopt)) != 0) {
- setProbePoint(&probeInfo);
- preBlockEnd();
- }
-
- ret = (this->*Constructp)(filePath, openMode, secureMode, key,
- createParentDirectories);
-
- if(postBlockBegin(blockresult)) {
- log.type = 0;
- log.length = 0;
- log.data[0] = '\0';
- log.length = sprintf(log.data, "%d`,%d`,%s`,%lu`,%d`,%d",
- LC_RESOURCE, probeInfo.eventIndex, "File::Construct",
- probeInfo.currentTime, probeInfo.pID, probeInfo.tID);
- //Input,ret
- WcharToChar(temp,filePath.GetPointer());
- log.length += sprintf(log.data + log.length,"`,%s",temp);
- WcharToChar(temp,openMode.GetPointer());
- log.length += sprintf(log.data + log.length,", %s",temp);
- log.length += sprintf(log.data + log.length,", %s,0x%x,%s`,%ld",(secureMode == 0 ? "false" : "true"),(unsigned int)&key,(createParentDirectories == 0 ? "false" : "true"),ret);
- //PCAddr,errno,InternalCall,size,FD,FDType,FDApiType,FileSize,FilePath
- //File::GetAttributes(this->GetName(),attr);
- WcharToChar(temp,filePath.GetPointer());
- log.length += sprintf(log.data + log.length,"`,0`,%lu`,%d`,%u`,0`,0x%x`,%d`,%d`,?`,%s",ret,blockresult,(unsigned int)CALLER_ADDRESS,(unsigned int)this,FD_FILE,FD_API_OPEN,temp);
- //callstack
-
- // if(E_SUCCESS != ret || blockresult == 2) {
-// log.length += sprintf(log.data + log.length,
-// "`,\ncallstack_start`,`,callstack_end");
-// } else{
- log.length += sprintf(log.data + log.length,
- "`,\ncallstack_start`,");
- getBacktraceString(&log, 4096 - log.length - 17);
- log.length += sprintf(log.data + log.length, "`,callstack_end");
-// }
-
- printLog(&log, MSG_LOG);
- postBlockEnd();
- }
-
- return ret;
-}
-*/
result File::Construct(const Tizen::Base::String& filePath,
const Tizen::Base::String& openMode) {
typedef result (File::*methodType)(const Tizen::Base::String& filePath,
bool bfiltering = true;
char temp[50];
FileAttributes attr;
- long long size;
+ long long size = 0L;
if(!Constructp) {
probeBlockStart();
WcharToChar(temp,openMode.GetPointer());
log.length += sprintf(log.data + log.length,", %s`,%ld",temp,ret);
//PCAddr,errno,InternalCall,size,FD,FDType,FDApiType,FileSize,FilePath
- File::GetAttributes(this->GetName(),attr);
+ if(ret == E_SUCCESS && E_SUCCESS == File::GetAttributes(this->GetName(),attr))
+ size = attr.GetFileSize();
WcharToChar(temp,filePath.GetPointer());
- size = attr.GetFileSize();
// WcharToChar(temp,this->GetName().GetPointer());
log.length += sprintf(log.data + log.length,"`,0`,%lu`,%d`,%u`,0`,0x%x`,%d`,%d`,%lld`,%s",ret,blockresult,(unsigned int)CALLER_ADDRESS,(unsigned int)this,FD_FILE,FD_API_OPEN,size,temp);
//callstack
return ret;
}
-/* deprecated apis
-result File::Construct(const Tizen::Base::String& filePath,
- const Tizen::Base::String& openMode,
- const Tizen::Base::ByteBuffer& secretKey) {
- typedef result (File::*methodType)(const Tizen::Base::String& filePath,
- const Tizen::Base::String &openMode,
- const Tizen::Base::ByteBuffer& secretKey);
- static methodType Constructp = 0;
- result ret;
- probeInfo_t probeInfo;
- log_t log;
- int blockresult;
- bool bfiltering = true;
- char temp[50];
- //FileAttributes attr;
-
- if(!Constructp) {
- probeBlockStart();
-
- void *tmpPtr = dlsym(RTLD_NEXT,
- "_ZN5Tizen2Io4File9ConstructERKNS_4Base6StringES5_RKNS2_10ByteBufferE");
-
- if(tmpPtr == NULL || dlerror() != NULL) {
- perror("dlsym failed : Tizen::Io::File::Construct");
- exit(0);
- }
-
- memcpy(&Constructp, &tmpPtr, sizeof(tmpPtr));
- probeBlockEnd();
- }
-
- if((blockresult = preBlockBegin(CALLER_ADDRESS, bfiltering, _sopt)) != 0) {
- setProbePoint(&probeInfo);
- preBlockEnd();
- }
-
- ret = (this->*Constructp)(filePath, openMode, secretKey);
-
- if(postBlockBegin(blockresult)) {
- log.type = 0;
- log.length = 0;
- log.data[0] = '\0';
- log.length = sprintf(log.data, "%d`,%d`,%s`,%lu`,%d`,%d",
- LC_RESOURCE, probeInfo.eventIndex, "File::Construct",
- probeInfo.currentTime, probeInfo.pID, probeInfo.tID);
- //Input,ret
- WcharToChar(temp,filePath.GetPointer());
- log.length += sprintf(log.data + log.length,"`,%s",temp);
- WcharToChar(temp,openMode.GetPointer());
- log.length += sprintf(log.data + log.length,", %s",temp);
- log.length += sprintf(log.data + log.length,", 0x%x`,%ld",(unsigned int)&secretKey,ret);
- //PCAddr,errno,InternalCall,size,FD,FDType,FDApiType,FileSize,FilePath
- //File::GetAttributes(this->GetName(),attr);
- WcharToChar(temp,filePath.GetPointer());
- log.length += sprintf(log.data + log.length,"`,0`,%lu`,%d`,%u`,0`,0x%x`,%d`,%d`,?`,%s",ret,blockresult,(unsigned int)CALLER_ADDRESS,(unsigned int)this,FD_FILE,FD_API_OPEN,temp);
- //callstack
-
-// if(E_SUCCESS != ret || blockresult == 2) {
-// log.length += sprintf(log.data + log.length,
-// "`,\ncallstack_start`,`,callstack_end");
-// } else{
- log.length += sprintf(log.data + log.length,
- "`,\ncallstack_start`,");
- getBacktraceString(&log, 4096 - log.length - 17);
- log.length += sprintf(log.data + log.length, "`,callstack_end");
-// }
-
- printLog(&log, MSG_LOG);
- postBlockEnd();
- }
-
- return ret;
-}
-*/
result File::Construct(const Tizen::Base::String& filePath,
const char *pOpenMode) {
typedef result (File::*methodType)(const Tizen::Base::String& filePath,
bool bfiltering = true;
char temp[50];
FileAttributes attr;
- long long size;
+ long long size = 0L;
if(!Constructp) {
probeBlockStart();
log.length += sprintf(log.data + log.length,"`,%s",temp);
log.length += sprintf(log.data + log.length,", %s`,%ld",pOpenMode,ret);
//PCAddr,errno,InternalCall,size,FD,FDType,FDApiType,FileSize,FilePath
- File::GetAttributes(this->GetName(),attr);
+ if(ret == E_SUCCESS && E_SUCCESS == File::GetAttributes(this->GetName(),attr))
+ size = attr.GetFileSize();
WcharToChar(temp,filePath.GetPointer());
- size = attr.GetFileSize();
// WcharToChar(temp,this->GetName().GetPointer());
log.length += sprintf(log.data + log.length,"`,0`,%lu`,%d`,%u`,0`,0x%x`,%d`,%d`,%lld`,%s",ret,blockresult,(unsigned int)CALLER_ADDRESS,(unsigned int)this,FD_FILE,FD_API_OPEN,size,temp);
//callstack
bool bfiltering = true;
char temp[50];
FileAttributes attr;
- long long size;
+ long long size = 0L;
if(!Constructp) {
probeBlockStart();
log.length += sprintf(log.data + log.length,", %s",pOpenMode);
log.length += sprintf(log.data + log.length,", 0x%x`,%ld",(unsigned int)&secretKey,ret);
//PCAddr,errno,InternalCall,size,FD,FDType,FDApiType,FileSize,FilePath
- File::GetAttributes(this->GetName(),attr);
+ if(ret == E_SUCCESS && E_SUCCESS == File::GetAttributes(this->GetName(),attr))
+ size = attr.GetFileSize();
WcharToChar(temp,filePath.GetPointer());
- size = attr.GetFileSize();
log.length += sprintf(log.data + log.length,"`,0`,%lu`,%d`,%u`,0`,0x%x`,%d`,%d`,%lld`,%s",ret,blockresult,(unsigned int)CALLER_ADDRESS,(unsigned int)this,FD_FILE,FD_API_OPEN,size,temp);
//callstack
bool bfiltering = true;
char temp[50];
FileAttributes attr;
- long long size;
+ long long size = 0L;
if (!Flushp) {
probeBlockStart();
//Input,ret
log.length += sprintf(log.data + log.length,"`,`,%ld",ret);
//PCAddr,errno,InternalCall,size,FD,FDType,FDApiType,FileSize,FilePath
- File::GetAttributes(this->GetName(),attr);
+ if(E_SUCCESS == File::GetAttributes(this->GetName(),attr))
+ size = attr.GetFileSize();
WcharToChar(temp,this->GetName().GetPointer());
- size = attr.GetFileSize();
log.length += sprintf(log.data + log.length,"`,0`,%lu`,%d`,%u`,0`,0x%x`,%d`,%d`,%lld`,%s",ret,blockresult,(unsigned int)CALLER_ADDRESS,(unsigned int)this,FD_FILE,FD_API_OTHER,size,temp);
//callstack
bool bfiltering = true;
char temp[50];
FileAttributes attr;
- long long size;
+ long long size = 0L;
if (!GetNamep) {
probeBlockStart();
WcharToChar(temp,ret.GetPointer());
log.length += sprintf(log.data + log.length,"`,`,%s",temp);
//PCAddr,errno,InternalCall,size,FD,FDType,FDApiType,FileSize,FilePath
- File::GetAttributes(this->GetName(),attr);
- size = attr.GetFileSize();
+ if(E_SUCCESS == File::GetAttributes(ret,attr))
+ size = attr.GetFileSize();
log.length += sprintf(log.data + log.length,"`,0`,%lu`,%d`,%u`,0`,0x%x`,%d`,%d`,%lld`,%s",res,blockresult,(unsigned int)CALLER_ADDRESS,(unsigned int)this,FD_FILE,FD_API_OTHER,size,temp);
//callstack
char temp[50];
int nRead = 0;
FileAttributes attr;
- long long size;
+ long long size = 0L;
if (!Readp) {
probeBlockStart();
//Input,ret
log.length += sprintf(log.data + log.length,"`,0x%x`,%ld",(unsigned int)&buffer,ret);
//PCAddr,errno,InternalCall,size,FD,FDType,FDApiType,FileSize,FilePath
- File::GetAttributes(this->GetName(),attr);
+ if(E_SUCCESS == File::GetAttributes(this->GetName(),attr))
+ size = attr.GetFileSize();
WcharToChar(temp,this->GetName().GetPointer());
- size = attr.GetFileSize();
nRead = buffer.GetLength();
log.length += sprintf(log.data + log.length,"`,0`,%lu`,%d`,%u`,%d`,0x%x`,%d`,%d`,%lld`,%s",ret,blockresult,(unsigned int)CALLER_ADDRESS,nRead,(unsigned int)this,FD_FILE,FD_API_READ,size,temp);
//callstack
char temp[50];
int nRead = 0;
FileAttributes attr;
- long long size;
+ long long size = 0L;
if (!Readp) {
probeBlockStart();
//Input,ret
log.length += sprintf(log.data + log.length,"`,0x%x`,%ld",(unsigned int)&buffer,ret);
//PCAddr,errno,InternalCall,size,FD,FDType,FDApiType,FileSize,FilePath
- File::GetAttributes(this->GetName(),attr);
+ if(E_SUCCESS == File::GetAttributes(this->GetName(),attr))
+ size = attr.GetFileSize();
WcharToChar(temp,this->GetName().GetPointer());
- size = attr.GetFileSize();
buffer.GetInt(nRead);
log.length += sprintf(log.data + log.length,"`,0`,%lu`,%d`,%u`,%d`,0x%x`,%d`,%d`,%lld`,%s",ret,blockresult,(unsigned int)CALLER_ADDRESS,nRead,(unsigned int)this,FD_FILE,FD_API_READ,size,temp);
//callstack
char temp[50];
int nRead = 0;
FileAttributes attr;
- long long size;
+ long long size = 0L;
if (!Readp) {
probeBlockStart();
//Input,ret
log.length += sprintf(log.data + log.length,"`,0x%x, %d`,%d",(unsigned int)buffer,length,ret);
//PCAddr,errno,InternalCall,size,FD,FDType,FDApiType,FileSize,FilePath
- File::GetAttributes(this->GetName(),attr);
+ if(E_SUCCESS == File::GetAttributes(this->GetName(),attr))
+ size = attr.GetFileSize();
WcharToChar(temp,this->GetName().GetPointer());
- size = attr.GetFileSize();
nRead = Tell() - nRead;
log.length += sprintf(log.data + log.length,"`,0`,%lu`,%d`,%u`,%d`,0x%x`,%d`,%d`,%lld`,%s",res,blockresult,(unsigned int)CALLER_ADDRESS,nRead,(unsigned int)this,FD_FILE,FD_API_READ,size,temp);
//callstack
bool bfiltering = true;
char temp[50];
FileAttributes attr;
- long long size;
+ long long size = 0L;
if (!Seekp) {
probeBlockStart();
log.length += sprintf(log.data + log.length,"`,%d",position);
log.length += sprintf(log.data + log.length,", %ld`,%ld",offset,ret);
//PCAddr,errno,InternalCall,size,FD,FDType,FDApiType,FileSize,FilePath
- File::GetAttributes(this->GetName(),attr);
+ if(E_SUCCESS == File::GetAttributes(this->GetName(),attr))
+ size = attr.GetFileSize();
WcharToChar(temp,this->GetName().GetPointer());
- size = attr.GetFileSize();
log.length += sprintf(log.data + log.length,"`,0`,%lu`,%d`,%u`,0`,0x%x`,%d`,%d`,%lld`,%s",ret,blockresult,(unsigned int)CALLER_ADDRESS,(unsigned int)this,FD_FILE,FD_API_OTHER,size,temp);
//callstack
bool bfiltering = true;
char temp[50];
FileAttributes attr;
- long long size;
+ long long size = 0L;
if (!Tellp) {
probeBlockStart();
//Input,ret
log.length += sprintf(log.data + log.length,"`,`,%d",ret);
//PCAddr,errno,InternalCall,size,FD,FDType,FDApiType,FileSize,FilePath
- File::GetAttributes(this->GetName(),attr);
+ if(E_SUCCESS == File::GetAttributes(this->GetName(),attr))
+ size = attr.GetFileSize();
WcharToChar(temp,this->GetName().GetPointer());
- size = attr.GetFileSize();
log.length += sprintf(log.data + log.length,"`,0`,%lu`,%d`,%u`,0`,0x%x`,%d`,%d`,%lld`,%s",res,blockresult,(unsigned int)CALLER_ADDRESS,(unsigned int)this,FD_FILE,FD_API_OTHER,size,temp);
//callstack
bool bfiltering = true;
char temp[50];
FileAttributes attr;
- long long size;
+ long long size = 0L;
if (!Truncatep) {
probeBlockStart();
//Input,ret
log.length += sprintf(log.data + log.length,"`,%d`,%ld",length,ret);
//PCAddr,errno,InternalCall,size,FD,FDType,FDApiType,FileSize,FilePath
- File::GetAttributes(this->GetName(),attr);
+ if(E_SUCCESS == File::GetAttributes(this->GetName(),attr))
+ size = attr.GetFileSize();
WcharToChar(temp,this->GetName().GetPointer());
- size = attr.GetFileSize();
log.length += sprintf(log.data + log.length,"`,0`,%lu`,%d`,%u`,0`,0x%x`,%d`,%d`,%lld`,%s",ret,blockresult,(unsigned int)CALLER_ADDRESS,(unsigned int)this,FD_FILE,FD_API_OTHER,size,temp);
//callstack
char temp[50];
int nWritten = 0;
FileAttributes attr;
- long long size;
+ long long size = 0L;
if (!Writep) {
probeBlockStart();
//Input,ret
log.length += sprintf(log.data + log.length,"`,0x%x, %d`,%ld",(unsigned int)buffer,length,ret);
//PCAddr,errno,InternalCall,size,FD,FDType,FDApiType,FileSize,FilePath
- File::GetAttributes(this->GetName(),attr);
+ if(E_SUCCESS == File::GetAttributes(this->GetName(),attr))
+ size = attr.GetFileSize();
WcharToChar(temp,this->GetName().GetPointer());
- size = attr.GetFileSize();
nWritten = Tell() - nWritten;
log.length += sprintf(log.data + log.length,"`,0`,%lu`,%d`,%u`,%d`,0x%x`,%d`,%d`,%lld`,%s",ret,blockresult,(unsigned int)CALLER_ADDRESS,nWritten,(unsigned int)this,FD_FILE,FD_API_WRITE,size,temp);
//callstack
char temp[50];
int nWritten = 0;
FileAttributes attr;
- long long size;
+ long long size = 0L;
if (!Writep) {
probeBlockStart();
//Input,ret
log.length += sprintf(log.data + log.length,"`,0x%x`,%ld",(unsigned int)&buffer,ret);
//PCAddr,errno,InternalCall,size,FD,FDType,FDApiType,FileSize,FilePath
- File::GetAttributes(this->GetName(),attr);
+ if(E_SUCCESS == File::GetAttributes(this->GetName(),attr))
+ size = attr.GetFileSize();
WcharToChar(temp,this->GetName().GetPointer());
- size = attr.GetFileSize();
nWritten = Tell() - nWritten;
log.length += sprintf(log.data + log.length,"`,0`,%lu`,%d`,%u`,%d`,0x%x`,%d`,%d`,%lld`,%s",ret,blockresult,(unsigned int)CALLER_ADDRESS,nWritten,(unsigned int)this,FD_FILE,FD_API_WRITE,size,temp);
//callstack
char temp[50];
int nWritten = 0;
FileAttributes attr;
- long long size;
+ long long size = 0L;
if (!Writep) {
probeBlockStart();
WcharToChar(temp,buffer.GetPointer());
log.length += sprintf(log.data + log.length,"`,%s`,%ld",temp,ret);
//PCAddr,errno,InternalCall,size,FD,FDType,FDApiType,FileSize,FilePath
- File::GetAttributes(this->GetName(),attr);
+ if(E_SUCCESS == File::GetAttributes(this->GetName(),attr))
+ size = attr.GetFileSize();
WcharToChar(temp,this->GetName().GetPointer());
- size = attr.GetFileSize();
nWritten = Tell() - nWritten;
log.length += sprintf(log.data + log.length,"`,0`,%lu`,%d`,%u`,%d`,0x%x`,%d`,%d`,%lld`,%s",ret,blockresult,(unsigned int)CALLER_ADDRESS,nWritten,(unsigned int)this,FD_FILE,FD_API_WRITE,size,temp);
//callstack
int blockresult;
bool bfiltering = true;
void *tmpPtr;
- FileAttributes attr;
- long long size;
+// FileAttributes attr;
+ long long size = 0L;
if (!FileDp) {
probeBlockStart();
if((blockresult = preBlockBegin(CALLER_ADDRESS, bfiltering, _sopt)) != 0) {
setProbePoint(&probeInfo);
- File::GetAttributes(this->GetName(),attr);
- size = attr.GetFileSize();
+ // error occur if File class was failed to contruct
+// if(E_SUCCESS == File::GetAttributes(this->GetName(),attr))
+// size = attr.GetFileSize();
preBlockEnd();
}
-//
+
(this->*FileDp)();
-//
+
if(postBlockBegin(blockresult)) {
log.type = 0;
log.length = 0;