From f90aabd6106cef2a45f84d78a76c5e5802f30344 Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Wed, 8 Oct 2003 19:35:38 +0000 Subject: [PATCH] Don't consider "." files for possible use a plugin. --- src/common/plugrack.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/plugrack.c b/src/common/plugrack.c index 80ae7d4cc33..edfeef5165f 100644 --- a/src/common/plugrack.c +++ b/src/common/plugrack.c @@ -478,6 +478,7 @@ plugrack_read_dir( plugrack_t rack, strcpy( tail, e->d_name ); /* Check only regular files. */ + if ( strncmp(e->d_name, ".", 1) == 0) continue; if ( stat( fq_path, &st ) < 0 ) continue; if ( ! S_ISREG( st.st_mode ) ) continue; -- GitLab