diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-05-16 21:58:21 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-05-16 21:58:21 +0400 |
commit | 553f08059b424569d002088360125d89e9442284 (patch) | |
tree | f0588af7319fe5f2c1b85bdd446854f49ad57918 /winsup/cygwin/globals.cc | |
parent | bdc00a0d8500ee9a3d528188e766a8a38e66a1df (diff) |
* globals.cc (__getlogin_username): Remove.
* uinfo.cc (getlogin_r): Fetch username from cygheap.
(getlogin): Add static buffer username and fetch username from
getlogin_r.
Diffstat (limited to 'winsup/cygwin/globals.cc')
-rw-r--r-- | winsup/cygwin/globals.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/winsup/cygwin/globals.cc b/winsup/cygwin/globals.cc index 68bd5519c..f27429c6b 100644 --- a/winsup/cygwin/globals.cc +++ b/winsup/cygwin/globals.cc @@ -56,9 +56,6 @@ bool display_title; bool strip_title_path; bool allow_glob = true; -/* Static getlogin buffer. */ -char __getlogin_username[UNLEN + 1]; - bool NO_COPY in_forkee; int __argc_safe; |