Quellcode durchsuchen

cmLib.c: Added kFulPathFsFl to directory scan in cmLibScan() to return full path to library files.

master
kevin vor 11 Jahren
Ursprung
Commit
0e865f149f
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      cmLib.c

+ 1
- 1
cmLib.c Datei anzeigen

@@ -245,7 +245,7 @@ cmLibRC_t cmLibScan( cmLibH_t h, const cmChar_t* dirStr )
245 245
   if( cmFileSysIsValid(p->fsH) == false )
246 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 249
     return cmErrMsg(&p->err,kFileSysFailLibRC,"The scan of directory '%s' failed.",cmStringNullGuard(dirStr));
250 250
 
251 251
   for(i=0; i<dirEntryCnt; ++i)

Laden…
Abbrechen
Speichern