diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-11-21 19:51:39 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-11-21 19:51:39 +0000 |
commit | d4268169205fbbf497ec733a31188abfae882996 (patch) | |
tree | 4d037b6f6b1f78813c25b47d149a87c76c40dd63 /exec | |
parent | 1124889094be65fda1e6843f81b19f36fd2df211 (diff) |
(check_hashbang): Actually declare FILE_NAME and FILE volatile, not
the contents.
Diffstat (limited to 'exec')
-rw-r--r-- | exec/hashexec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/exec/hashexec.c b/exec/hashexec.c index 1a735e37..361d0d9b 100644 --- a/exec/hashexec.c +++ b/exec/hashexec.c @@ -175,7 +175,7 @@ check_hashbang (struct execdata *e, inline void prepare_args (void) { - volatile char *file_name = NULL; + char * volatile file_name = NULL; size_t namelen; if (! (flags & EXEC_SECURE)) @@ -186,7 +186,7 @@ check_hashbang (struct execdata *e, the `PATH' environment variable might find it. */ volatile error_t error; - volatile char *name; + char * volatile name; file_t name_file; struct stat st; int file_fstype; |