tuse getuser instead of getenv("USER"). add portdate file. - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 6a130cb01bef62688d1e9d0393d31cfe9ec928a2
(DIR) parent a812ae4b4392cade3321da1a146a231ff88db3b7
(HTM) Author: rsc <devnull@localhost>
Date: Mon, 27 Dec 2004 19:40:50 +0000
use getuser instead of getenv("USER").
add portdate file.
Diffstat:
A src/cmd/secstore/portdate | 9 +++++++++
M src/cmd/secstore/secstore.c | 2 +-
2 files changed, 10 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/src/cmd/secstore/portdate b/src/cmd/secstore/portdate
t@@ -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
(DIR) diff --git a/src/cmd/secstore/secstore.c b/src/cmd/secstore/secstore.c
t@@ -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);