Changeset 11097
- Timestamp:
- Jan 15, 2007, 11:56:02 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/config/pmConfigRecipes.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/config/pmConfigRecipes.c
r10965 r11097 311 311 } 312 312 313 #if (0) 314 psString comment = NULL; 315 psStringAppend(&comment, "Recipe added at %s from %s", sourceName, (char*)fileItem->data.V); 316 psTrace ("psModules.config", 3, comment); 317 psMetadataAddS32(config->recipesSource, PS_LIST_TAIL, fileItem->name, PS_META_REPLACE, 318 comment, sourceType); 319 psFree(comment); 320 #endif 321 322 // Read the recipe file. 313 // Read the recipe file. if we fail on a file, give a warning, but continue 323 314 psMetadata *recipe = NULL; 324 315 if (!pmConfigFileRead(&recipe, fileItem->data.V, "recipe")) { 325 psError(PS_ERR_IO, false, "Failed to read recipe"); 326 psFree(recipe); // Drop reference 327 psFree(recipesIter); 328 return false; 316 psWarning("Failed to read recipe file %s listed in %s\n", (char *)fileItem->data.V, sourceName); 317 continue; 329 318 } 330 319
Note:
See TracChangeset
for help on using the changeset viewer.
