mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
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;
|
||||
|
||||
serve = "$auth";
|
||||
user = getenv("USER");
|
||||
user = getuser();
|
||||
memset(Gflag, 0, sizeof Gflag);
|
||||
fmtinstall('B', mpfmt);
|
||||
fmtinstall('H', encodefmt);
|
||||
|
|
Loading…
Reference in a new issue