* fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
[bpt/emacs.git] / src / s / sol2.h
index ac49929..18d6d74 100644 (file)
 #else /* GCC */
 #define C_SWITCH_SYSTEM -traditional
 #endif /* GCC */
+
+/* Karl Berry writes:
+If you have the misfortune to be running Solaris 2.1, you may have
+noticed that the access system call does not check the readonlyness of
+the filesystem the path refers to.  This is a bug, according to
+access(2), but in the meantime, some of us need the right behavior.  */
+#define SOLARIS_BROKEN_ACCESS