From 30b4434af8b30883039d334ab575e3fc0250fd06 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 19 Oct 1999 07:29:39 +0000 Subject: revert:8327 --- Src/utils.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Src/utils.c') diff --git a/Src/utils.c b/Src/utils.c index 26b9ece5c..3f0649f69 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -407,6 +407,15 @@ fprintdir(char *s, FILE *f) } } +/* Returns the current username. It caches the username * + * and uid to try to avoid requerying the password files * + * or NIS/NIS+ database. */ + +/**/ +uid_t cached_uid; +/**/ +char *cached_username; + /**/ char * get_username(void) -- cgit 1.4.1