From 2065c80c50dcd792d299ec7b4ab4887e1cb67768 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 8 Apr 2000 06:59:47 +0000 Subject: BeOS support. svn path=/trunk/; revision=2866 --- rcfile_y.y | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rcfile_y.y') 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()) -- cgit v1.2.3