From d723cc008d7793334260e6ac0d7412ce13e1cf29 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 26 Dec 2007 14:18:17 +0000 Subject: .fetchmailrc/.fetchids may now be symlinks, Debian Bug#452907 (Roger Leigh). svn path=/branches/BRANCH_6-3/; revision=5144 --- rcfile_y.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rcfile_y.y') diff --git a/rcfile_y.y b/rcfile_y.y index 266f480d..300fcc7f 100644 --- a/rcfile_y.y +++ b/rcfile_y.y @@ -404,7 +404,7 @@ int prc_filecheck(const char *pathname, process, it must have permissions no greater than 600, and it must not be a symbolic link. We check these conditions here. */ - if (lstat(pathname, &statbuf) < 0) { + if (stat(pathname, &statbuf) < 0) { if (errno == ENOENT) return(PS_SUCCESS); else { -- cgit v1.2.3