summaryrefslogtreecommitdiff
path: root/exec/hashexec.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-05-10 13:22:59 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-05-10 13:22:59 +0000
commit5f388a5cbe6c756bf3d04882ecf5921813ac9e5e (patch)
tree2d2c9bef5ef58475de95155bb0277ba7dc885f2f /exec/hashexec.c
parent181db42419e77be9fde9004bae5bb64ae6f7cc4e (diff)
(check_hashbang) [userport/reauthenticate]: Use new
auth_user_authenticate inerface. (check_hashbang) [setup_args/search_path]: Declare PATH to be `char const *'.
Diffstat (limited to 'exec/hashexec.c')
-rw-r--r--exec/hashexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/exec/hashexec.c b/exec/hashexec.c
index 0e1f1e10..e1ed8ac8 100644
--- a/exec/hashexec.c
+++ b/exec/hashexec.c
@@ -84,7 +84,6 @@ check_hashbang (struct execdata *e,
error_t uauth (auth_t auth)
{
return auth_user_authenticate (auth,
- unauth,
ref, MACH_MSG_TYPE_MAKE_SEND,
result);
}
@@ -218,7 +217,8 @@ check_hashbang (struct execdata *e,
error_t search_path (struct hurd_signal_preempter *preempter)
{
error_t err;
- char *path = envz_get (envp, envplen, "PATH"), *pfxed_name;
+ char const *path
+ = envz_get (envp, envplen, "PATH"), *pfxed_name;
if (! path)
{