diff options
author | Thomas Bushnell <thomas@gnu.org> | 1997-07-09 18:59:45 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1997-07-09 18:59:45 +0000 |
commit | 32809d801f41b98f3455af5f91790257d8b38222 (patch) | |
tree | bfc4c6300229faa79cfb51824343916af06b4b85 /libdiskfs | |
parent | abf8316de7f2050585ffa00848dd803775f2ea54 (diff) |
Mon Jul 7 16:25:49 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* file-exec.c: Include <fcntl.h> instead of <fcntlbits.h>.
Suggested by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu).
Mon Jun 30 17:26:38 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* diskfs.h (diskfs_hard_readonly): New variable.
(diskfs_readonly): Doc change.
* readonly.c (diskfs_readonly): Provide initialized declaration.
(diskfs_check_readonly): If we cannot write the media and so we
switch to readonly, set diskfs_hard_readonly too.
(diskfs_set_readonly): If diskfs_hard_readonly is set, then
inhibit any attempt to clear readonly status.
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/ChangeLog | 5 | ||||
-rw-r--r-- | libdiskfs/diskfs.h | 2 | ||||
-rw-r--r-- | libdiskfs/file-exec.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/libdiskfs/ChangeLog b/libdiskfs/ChangeLog index 55f58a77..be36e484 100644 --- a/libdiskfs/ChangeLog +++ b/libdiskfs/ChangeLog @@ -1,3 +1,8 @@ +Mon Jul 7 16:25:49 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * file-exec.c: Include <fcntl.h> instead of <fcntlbits.h>. + Suggested by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu). + Mon Jun 30 17:26:38 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * diskfs.h (diskfs_hard_readonly): New variable. diff --git a/libdiskfs/diskfs.h b/libdiskfs/diskfs.h index 4a87d16d..72957815 100644 --- a/libdiskfs/diskfs.h +++ b/libdiskfs/diskfs.h @@ -208,7 +208,7 @@ extern int diskfs_link_max; extern int diskfs_maxsymlinks; /* This variable is defined by diskfs; the suer should set it if - the filesystem media cannot be made writeable. */ + the filesystem media cannot be made writeable. */ extern int diskfs_hard_readonly; /* The user must define this variable. Set this to be the node diff --git a/libdiskfs/file-exec.c b/libdiskfs/file-exec.c index 1482f1b0..f332e700 100644 --- a/libdiskfs/file-exec.c +++ b/libdiskfs/file-exec.c @@ -22,7 +22,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "priv.h" #include "fs_S.h" #include <sys/stat.h> -#include <fcntlbits.h> +#include <fcntl.h> #include <hurd/exec.h> #include <hurd/paths.h> #include <string.h> |