|
|
|
|
245
|
if( cmFileSysIsValid(p->fsH) == false )
|
245
|
if( cmFileSysIsValid(p->fsH) == false )
|
246
|
return cmErrMsg(&p->err,kFileSysFailLibRC,"The file system object was not successfully initialized.");
|
246
|
return cmErrMsg(&p->err,kFileSysFailLibRC,"The file system object was not successfully initialized.");
|
247
|
|
247
|
|
248
|
- if((d = cmFileSysDirEntries(p->fsH, dirStr, kFileFsFl, &dirEntryCnt )) != NULL )
|
|
|
|
|
248
|
+ if((d = cmFileSysDirEntries(p->fsH, dirStr, kFileFsFl | kFullPathFsFl, &dirEntryCnt )) == NULL )
|
249
|
return cmErrMsg(&p->err,kFileSysFailLibRC,"The scan of directory '%s' failed.",cmStringNullGuard(dirStr));
|
249
|
return cmErrMsg(&p->err,kFileSysFailLibRC,"The scan of directory '%s' failed.",cmStringNullGuard(dirStr));
|
250
|
|
250
|
|
251
|
for(i=0; i<dirEntryCnt; ++i)
|
251
|
for(i=0; i<dirEntryCnt; ++i)
|