]> Pileus Git - ~andy/fetchmail/blobdiff - rcfile_y.y
.fetchmailrc/.fetchids may now be symlinks, Debian Bug#452907 (Roger Leigh).
[~andy/fetchmail] / rcfile_y.y
index 266f480d9c1b97c40d1cd1c6891672f8ceff3c4d..300fcc7fa8076dcb723f70bb2b6789fed755c897 100644 (file)
@@ -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 {