Changeset 34128 for branches/eam_branches/ipp-20120627/Ohana/src/dvomerge
- Timestamp:
- Jul 7, 2012, 9:25:56 PM (14 years ago)
- Location:
- branches/eam_branches/ipp-20120627/Ohana/src/dvomerge/src
- Files:
-
- 2 edited
-
dvoverify_args.c (modified) (1 diff)
-
dvoverify_utils.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120627/Ohana/src/dvomerge/src/dvoverify_args.c
r34120 r34128 45 45 } 46 46 47 int status = dvoverify_single (filename); 48 exit (!status); 47 int isGood = dvoverify_single (filename); 48 if (!isGood) exit (1); 49 exit (0); 49 50 } 50 51 -
branches/eam_branches/ipp-20120627/Ohana/src/dvomerge/src/dvoverify_utils.c
r34120 r34128 22 22 int dvoverify_single (char *filename) { 23 23 24 int is Bad = FALSE;24 int isGood = TRUE; 25 25 26 26 if (!VerifyTableFile (filename)) { 27 27 fprintf (stderr, "bad average table %s\n", filename); 28 is Bad = TRUE;28 isGood = FALSE; 29 29 } 30 30 … … 35 35 if (!VerifyTableFile (filename)) { 36 36 fprintf (stderr, "bad secfilt table %s\n", filename); 37 is Bad = TRUE;37 isGood = FALSE; 38 38 } 39 39 … … 43 43 if (!VerifyTableFile (filename)) { 44 44 fprintf (stderr, "bad measure table %s\n", filename); 45 is Bad = TRUE;46 } 47 return (is Bad);45 isGood = FALSE; 46 } 47 return (isGood); 48 48 } 49 49
Note:
See TracChangeset
for help on using the changeset viewer.
