diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-19 07:29:39 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-19 07:29:39 +0000 |
commit | 30b4434af8b30883039d334ab575e3fc0250fd06 (patch) | |
tree | 62757308b152d541ef9802b80399604209c7549f | |
parent | 0ad8e62f74d3ed82c7afa9f927e5b4b723ec394e (diff) | |
download | zsh-30b4434af8b30883039d334ab575e3fc0250fd06.tar.gz zsh-30b4434af8b30883039d334ab575e3fc0250fd06.tar.xz zsh-30b4434af8b30883039d334ab575e3fc0250fd06.zip |
revert:8327
-rw-r--r-- | Src/utils.c | 9 |
1 files changed, 9 insertions, 0 deletions
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) |