use getuser instead of getenv("USER").
add portdate file.
This commit is contained in:
parent
a812ae4b43
commit
6a130cb01b
2 changed files with 10 additions and 1 deletions
9
src/cmd/secstore/portdate
Normal file
9
src/cmd/secstore/portdate
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
SConn.c 2004/1225
|
||||||
|
SConn.h 2004/1225
|
||||||
|
aescbc.c 2004/1225
|
||||||
|
dirls.c 2004/1225
|
||||||
|
pak.c 2004/1225
|
||||||
|
password.c 2004/1225
|
||||||
|
secstore.c 2004/1225
|
||||||
|
secstore.h 2004/1225
|
||||||
|
util.c 2004/1225
|
||||||
|
|
@ -490,7 +490,7 @@ main(int argc, char **argv)
|
||||||
AuthConn *c;
|
AuthConn *c;
|
||||||
|
|
||||||
serve = "$auth";
|
serve = "$auth";
|
||||||
user = getenv("USER");
|
user = getuser();
|
||||||
memset(Gflag, 0, sizeof Gflag);
|
memset(Gflag, 0, sizeof Gflag);
|
||||||
fmtinstall('B', mpfmt);
|
fmtinstall('B', mpfmt);
|
||||||
fmtinstall('H', encodefmt);
|
fmtinstall('H', encodefmt);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue