aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-04-08 06:59:47 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-04-08 06:59:47 +0000
commit2065c80c50dcd792d299ec7b4ab4887e1cb67768 (patch)
treeb3dba7aeb673cbd762d620740aec69b727b21e20 /rcfile_y.y
parent8b999451bf2396e11fc2ff9560e2dc8ef127bfd6 (diff)
downloadfetchmail-2065c80c50dcd792d299ec7b4ab4887e1cb67768.tar.gz
fetchmail-2065c80c50dcd792d299ec7b4ab4887e1cb67768.tar.bz2
fetchmail-2065c80c50dcd792d299ec7b4ab4887e1cb67768.zip
BeOS support.
svn path=/trunk/; revision=2866
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index d5633584..93d1c86e 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -405,12 +405,14 @@ int prc_filecheck(const char *pathname, const flag securecheck)
return(PS_IOERR);
}
+#ifndef __BEOS__
if (statbuf.st_mode & ~(S_IFREG | S_IREAD | S_IWRITE | S_IEXEC | S_IXGRP))
{
fprintf(stderr, "File %s must have no more than -rwx--x--- (0710) permissions.\n",
pathname);
return(PS_IOERR);
}
+#endif /* __BEOS__ */
#ifdef HAVE_GETEUID
if (statbuf.st_uid != geteuid())