From c94f3c214f4348034c5145c9c1a2d96c685f367a Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Thu, 6 Aug 2009 18:48:58 +0000 Subject: [PATCH] add comment, never use .old association files --- src/common/assoc_mgr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/assoc_mgr.c b/src/common/assoc_mgr.c index e02746c9b41..d54dce49fdb 100644 --- a/src/common/assoc_mgr.c +++ b/src/common/assoc_mgr.c @@ -2,7 +2,7 @@ * accounting_storage_slurmdbd.c - accounting interface to slurmdbd. ***************************************************************************** * Copyright (C) 2004-2007 The Regents of the University of California. - * Copyright (C) 2008 Lawrence Livermore National Security. + * Copyright (C) 2008-2009 Lawrence Livermore National Security. * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). * Written by Danny Auble <da@llnl.gov> * @@ -2340,7 +2340,7 @@ extern int load_assoc_usage(char *state_save_location) /* read the file */ state_file = xstrdup(state_save_location); - xstrcat(state_file, "/assoc_usage"); + xstrcat(state_file, "/assoc_usage"); /* Always ignore .old file */ //info("looking at the %s file", state_file); slurm_mutex_lock(&assoc_mgr_file_lock); state_fd = open(state_file, O_RDONLY); @@ -2442,7 +2442,7 @@ extern int load_assoc_mgr_state(char *state_save_location) /* read the file */ state_file = xstrdup(state_save_location); - xstrcat(state_file, "/assoc_mgr_state"); + xstrcat(state_file, "/assoc_mgr_state"); /* Always ignore .old file */ //info("looking at the %s file", state_file); slurm_mutex_lock(&assoc_mgr_file_lock); state_fd = open(state_file, O_RDONLY); -- GitLab