Changeset 11687 for trunk/psModules/src/config
- Timestamp:
- Feb 7, 2007, 1:58:17 PM (19 years ago)
- Location:
- trunk/psModules/src/config
- Files:
-
- 3 edited
-
pmConfig.c (modified) (3 diffs)
-
pmConfigCamera.c (modified) (4 diffs)
-
pmConfigRecipes.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/config/pmConfig.c
r11396 r11687 4 4 * @author EAM (IfA) 5 5 * 6 * @version $Revision: 1.7 6$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-0 1-30 00:05:16$6 * @version $Revision: 1.77 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-02-07 23:58:17 $ 8 8 * 9 9 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1006 1006 FILE *f = fopen (config->argv[Narg], "r"); 1007 1007 if (f == NULL) { 1008 psAbort ("psphot","unable to open specified list file");1008 psAbort("unable to open specified list file"); 1009 1009 } 1010 1010 while (fgets (line, 1024, f) != NULL) { … … 1020 1020 default: 1021 1021 // rigid format, no comments allowed? 1022 psAbort ("pmConfig","error parsing input list file");1022 psAbort("error parsing input list file"); 1023 1023 break; 1024 1024 } -
trunk/psModules/src/config/pmConfigCamera.c
r11624 r11687 118 118 break; 119 119 default: 120 psAbort( PS_FILE_LINE,"Should never get here.\n");120 psAbort("Should never get here.\n"); 121 121 } 122 122 … … 144 144 break; 145 145 default: 146 psAbort( PS_FILE_LINE,"Should never get here.\n");146 psAbort("Should never get here.\n"); 147 147 } 148 148 … … 199 199 break; 200 200 default: 201 psAbort( PS_FILE_LINE,"Should never get here.\n");201 psAbort("Should never get here.\n"); 202 202 } 203 203 … … 252 252 break; 253 253 default: 254 psAbort( PS_FILE_LINE,"Should never get here.\n");254 psAbort("Should never get here.\n"); 255 255 } 256 256 -
trunk/psModules/src/config/pmConfigRecipes.c
r11676 r11687 126 126 if (optionsItem) { 127 127 if (optionsItem->type != PS_DATA_METADATA) { 128 psAbort( __func__,"OPTIONS is not of type METADATA.");128 psAbort("OPTIONS is not of type METADATA."); 129 129 } 130 130 options = psMemIncrRefCounter(optionsItem->data.V); … … 220 220 if (recipesItem) { 221 221 if (recipesItem->type != PS_DATA_METADATA) { 222 psAbort( __func__,"RECIPES is not of type METADATA.");222 psAbort("RECIPES is not of type METADATA."); 223 223 } 224 224 recipes = psMemIncrRefCounter(recipesItem->data.V); … … 256 256 psFree(recipe); // Drop reference 257 257 } else { 258 psAbort ("pmConfig.c","error reading config file %s\n", recipeSource);258 psAbort("error reading config file %s\n", recipeSource); 259 259 } 260 260 } else { … … 284 284 assert(config); 285 285 if ((sourceType != PM_RECIPE_SOURCE_SITE) && (sourceType != PM_RECIPE_SOURCE_CAMERA)) { 286 psAbort ("pmConfig","invalid source for loadRecipes");286 psAbort("invalid source for loadRecipes"); 287 287 } 288 288 if (!source) { … … 308 308 // type mismatch is a serious error 309 309 if (fileItem->type != PS_DATA_STRING) { 310 psAbort ("pmConfig","%s in %s RECIPES is not of type STR", fileItem->name, sourceName);310 psAbort("%s in %s RECIPES is not of type STR", fileItem->name, sourceName); 311 311 } 312 312 … … 323 323 if (currentItem) { 324 324 if (currentItem->type != PS_DATA_METADATA) { 325 psAbort( __func__,"Item from recipes is not of type METADATA.");325 psAbort("Item from recipes is not of type METADATA."); 326 326 } 327 327 current = psMemIncrRefCounter(currentItem->data.V); … … 364 364 // type mismatch is a serious error 365 365 if (item->type != PS_DATA_METADATA) { 366 psAbort ("pmConfig","%s in config arguments RECIPES is not of type METADATA", item->name);366 psAbort("%s in config arguments RECIPES is not of type METADATA", item->name); 367 367 } 368 368 // increment the ref counter to protect the data … … 470 470 // type mismatch is a serious error 471 471 if (item->type != PS_DATA_METADATA) { 472 psAbort ("pmConfig","%s in config arguments OPTIONS is not of type METADATA", item->name);472 psAbort("%s in config arguments OPTIONS is not of type METADATA", item->name); 473 473 } 474 474 // increment the ref counter to protect the data
Note:
See TracChangeset
for help on using the changeset viewer.
