From 32809d801f41b98f3455af5f91790257d8b38222 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Wed, 9 Jul 1997 18:59:45 +0000 Subject: Mon Jul 7 16:25:49 1997 Thomas Bushnell, n/BSG * file-exec.c: Include instead of . Suggested by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu). Mon Jun 30 17:26:38 1997 Thomas Bushnell, n/BSG * 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. --- libdiskfs/ChangeLog | 5 +++++ libdiskfs/diskfs.h | 2 +- libdiskfs/file-exec.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'libdiskfs') 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 + + * file-exec.c: Include instead of . + Suggested by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu). + Mon Jun 30 17:26:38 1997 Thomas Bushnell, n/BSG * 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 -#include +#include #include #include #include -- cgit v1.2.3