From 0ede5f01c343135a46d8ca587c0ec75cebe334c7 Mon Sep 17 00:00:00 2001 From: Tomek Orzechowski Date: Fri, 17 Jan 2003 21:32:19 +0000 Subject: [PATCH] - fixed typo, now home_etc works fine Changed files: cvs-home_etc.patch -> 1.5 --- cvs-home_etc.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cvs-home_etc.patch b/cvs-home_etc.patch index e1d0d10..4c71f7c 100644 --- a/cvs-home_etc.patch +++ b/cvs-home_etc.patch @@ -23,7 +23,7 @@ + sprintf(cfgdir, "%s/%s", dir, path); + } else + cfgdir = NULL; -+ if ( cfgdir && (stat(path, &st) != -1) && S_ISDIR(st.st_mode) ) { ++ if ( cfgdir && (stat(cfgdir, &st) != -1) && S_ISDIR(st.st_mode) ) { + path = xmalloc(strlen(cfgdir) + 1 + strlen(file)-isdot + 1); + sprintf (path, "%s/%s", cfgdir, file+isdot); + } else { -- 2.44.0