From 81d0376064d861df4d70f1263ec627af96486443 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 23 Feb 2005 16:27:54 +0000 Subject: [PATCH] * include/sys/statvfs.h (ST_RDONLY): Define. (ST_NOSUID): Define. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/include/sys/statvfs.h | 3 +++ 2 files changed, 8 insertions(+) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 667096acd..a02fb4e33 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2005-02-23 Corinna Vinschen + + * include/sys/statvfs.h (ST_RDONLY): Define. + (ST_NOSUID): Define. + 2005-02-23 Corinna Vinschen * cygwin.din (fstatvfs): Export. diff --git a/winsup/cygwin/include/sys/statvfs.h b/winsup/cygwin/include/sys/statvfs.h index a32c19866..aa86674af 100644 --- a/winsup/cygwin/include/sys/statvfs.h +++ b/winsup/cygwin/include/sys/statvfs.h @@ -13,6 +13,9 @@ details. */ #include +#define ST_RDONLY 0x80000 /* equals FILE_READ_ONLY_VOLUME */ +#define ST_NOSUID 0 /* Looking for that bit should always fail. */ + struct statvfs { unsigned long f_bsize; /* file system block size */ unsigned long f_frsize; /* fragment size */