Changeset 13270 for trunk/ppStac/src/ppStacOptions.c
- Timestamp:
- May 4, 2007, 3:47:14 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppStac/src/ppStacOptions.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStac/src/ppStacOptions.c
r13247 r13270 101 101 options->inFiles = psArrayAlloc(numInputs); 102 102 for (int i = 0; i < numInputs; i++) { 103 const char *inName = argv[i + 2];103 psString inName = pmConfigConvertFilename(argv[i + 2], config, false); 104 104 psFits *inFile = psFitsOpen(inName, "r"); 105 105 if (!inFile) { 106 106 psError(PS_ERR_IO, false, "Unable to open input file %s.\n", inName); 107 107 psFree(options); 108 psFree(inName); 108 109 return NULL; 109 110 } 111 psFree(inName); 110 112 options->inFiles->data[i] = inFile; 111 113 }
Note:
See TracChangeset
for help on using the changeset viewer.
