aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2007-12-26 14:18:17 +0000
committerMatthias Andree <matthias.andree@gmx.de>2007-12-26 14:18:17 +0000
commitd723cc008d7793334260e6ac0d7412ce13e1cf29 (patch)
tree982df8d876b94ba70beef2ce6d21f185620454ec /rcfile_y.y
parenta87edc0f180fcfbdc6548352b93619ae3031e545 (diff)
downloadfetchmail-d723cc008d7793334260e6ac0d7412ce13e1cf29.tar.gz
fetchmail-d723cc008d7793334260e6ac0d7412ce13e1cf29.tar.bz2
fetchmail-d723cc008d7793334260e6ac0d7412ce13e1cf29.zip
.fetchmailrc/.fetchids may now be symlinks, Debian Bug#452907 (Roger Leigh).
svn path=/branches/BRANCH_6-3/; revision=5144
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y2
1 files changed, 1 insertions, 1 deletions
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 {