aboutsummaryrefslogtreecommitdiff
path: root/src/CheckpointRecovery.c
diff options
context:
space:
mode:
authortradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a>2003-01-20 12:11:07 +0000
committertradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a>2003-01-20 12:11:07 +0000
commit80bbfb97dcc177c832081fb830293f2fa5337a8e (patch)
tree2671aa281a0f40d1bd1754de3836851fcafcb10a /src/CheckpointRecovery.c
parent9e4de2baa56d47db133817d4e208ad7569d544fd (diff)
Old I/O parameters are gone now. So we can get rid of internal routines
which checked whether an old I/O parameter was set, and then automatically set the value of its (new) counterpart. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@183 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
Diffstat (limited to 'src/CheckpointRecovery.c')
-rw-r--r--src/CheckpointRecovery.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/CheckpointRecovery.c b/src/CheckpointRecovery.c
index 7f9fd78..3e96edb 100644
--- a/src/CheckpointRecovery.c
+++ b/src/CheckpointRecovery.c
@@ -543,21 +543,9 @@ int IOUtil_RecoverParameters (int (*recoverFn) (cGH *GH,
struct dirent *file;
filelist_t *filelist, *tmp;
#endif
- static int first_time_called = 1;
-
-
- /* FIXME: this can go in BETA12 */
- if (first_time_called)
- {
- extern int IOUtil_FixRecoveryParameters (void);
- IOUtil_FixRecoveryParameters ();
- first_time_called = 0;
- }
-{
- /* need to move this after IOUtil_FixRecoveryParameters() so that the new
- parameter settings are taken */
DECLARE_CCTK_PARAMETERS
+
if (CCTK_Equals (recover, "auto") || CCTK_Equals (recover, "autoprobe"))
{
#ifdef HAVE_DIRENT_H
@@ -702,14 +690,6 @@ int IOUtil_RecoverParameters (int (*recoverFn) (cGH *GH,
IOUtil_RecoverGH() */
checkpoint_file_exists = retval > 0;
- /* FIXME: this can go in BETA12 */
- if (retval > 0)
- {
- extern int IOUtil_FixParameters (void);
- IOUtil_FixParameters ();
- }
-}
-
return (retval);
}