projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abfef0b
)
Don't use geteuid to determine the current user; use getuid.
author
Chris Hanson
<org/chris-hanson/cph>
Tue, 21 Dec 1999 19:21:31 +0000
(19:21 +0000)
committer
Chris Hanson
<org/chris-hanson/cph>
Tue, 21 Dec 1999 19:21:31 +0000
(19:21 +0000)
v7/src/microcode/uxenv.c
patch
|
blob
|
history
diff --git
a/v7/src/microcode/uxenv.c
b/v7/src/microcode/uxenv.c
index d716c55a44d31d25462f971359e802623d8bad07..3c643d75a2afa0523170808c2fbbfb924d28f802 100644
(file)
--- a/
v7/src/microcode/uxenv.c
+++ b/
v7/src/microcode/uxenv.c
@@
-1,6
+1,6
@@
/* -*-C-*-
-$Id: uxenv.c,v 1.1
8 1999/04/07 04:01:48
cph Exp $
+$Id: uxenv.c,v 1.1
9 1999/12/21 19:21:31
cph Exp $
Copyright (c) 1990-1999 Massachusetts Institute of Technology
@@
-439,7
+439,7
@@
DEFUN_VOID (OS_current_user_home_directory)
}
}
{
- struct passwd * entry = (UX_getpwuid (UX_get
e
uid ()));
+ struct passwd * entry = (UX_getpwuid (UX_getuid ()));
if (entry != 0)
return (entry -> pw_dir);
}