summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-11-21 20:02:50 +0000
committerRoland McGrath <roland@gnu.org>1995-11-21 20:02:50 +0000
commit92d1c8313f85b46dedc1676d472a2001f5c4e55e (patch)
treedc0bd54e8c48ead942be843c732abd1ab8b031b2
parent4b57034168b70201511ee7e85353b882aa3f15e8 (diff)
(check_hashbang): Undo boneheaded last change.
-rw-r--r--exec/hashexec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/exec/hashexec.c b/exec/hashexec.c
index 361d0d9b..bd617124 100644
--- a/exec/hashexec.c
+++ b/exec/hashexec.c
@@ -9,7 +9,7 @@ it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
-The GNU Hurd is distributed in the hope that it will be useful,
+The GNU Hurd is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
@@ -175,7 +175,7 @@ check_hashbang (struct execdata *e,
inline void prepare_args (void)
{
- char * volatile file_name = NULL;
+ char *file_name = NULL;
size_t namelen;
if (! (flags & EXEC_SECURE))
@@ -185,8 +185,8 @@ check_hashbang (struct execdata *e,
if it contains no slash, looking for files named by ARGV[0] in
the `PATH' environment variable might find it. */
- volatile error_t error;
- char * volatile name;
+ error_t error;
+ char *name;
file_t name_file;
struct stat st;
int file_fstype;