diff options
author | tradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a> | 2003-06-25 13:58:41 +0000 |
---|---|---|
committer | tradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a> | 2003-06-25 13:58:41 +0000 |
commit | 26c1a9fa5655ac7fb8a7a5bf6bd8421d99518328 (patch) | |
tree | 3adaefd7c53a8b4134ad05317b8d00e2b772b862 | |
parent | 387489fc876a1cb20c60cfb00a28430320cf2ef3 (diff) |
Evaluate the 'IO::verbose' parameter as a keyword (not as boolean).
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@191 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
-rw-r--r-- | src/CheckpointRecovery.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CheckpointRecovery.c b/src/CheckpointRecovery.c index bfc4fd8..4a374b8 100644 --- a/src/CheckpointRecovery.c +++ b/src/CheckpointRecovery.c @@ -425,7 +425,7 @@ int IOUtil_RecoverVarsFromDatafiles (cGH *GH, delim_char = *delim; *delim = 0; - if (verbose) + if (! CCTK_Equals (verbose, "none")) { CCTK_VInfo (CCTK_THORNSTRING, "Reading variables from data file '%s'", basefilename); @@ -555,7 +555,7 @@ int IOUtil_RecoverParameters (int (*recover_fn) (cGH *GH, if (CCTK_Equals (recover, "auto") || CCTK_Equals (recover, "autoprobe")) { #ifdef HAVE_DIRENT_H - if (verbose) + if (CCTK_Equals (verbose, "full")) { CCTK_VInfo (CCTK_THORNSTRING, "Searching for %s checkpoint files " "with basefilename '%s' in directory '%s'", @@ -860,7 +860,7 @@ void IOUtil_SetAllParameters (const char *parameters) CCTK_VWarn (2, __LINE__, __FILE__, CCTK_THORNSTRING, "Couldn't set parameter '%s' to '%s'", param, avalue); } - else if (verbose) + else if (CCTK_Equals (verbose, "full")) { CCTK_VWarn (2, __LINE__, __FILE__, CCTK_THORNSTRING, "Ignoring inactive parameter '%s' for recovery", param); |