* cygtls.h (struct _local_storage): Remove unused members rarg and

_localtime_buf.  Remove username in favor of a global buffer.  Reorder
	slightly to keep the net.cc stuff together.
	* globals.cc (__getlogin_username): New global char buffer.
	* tlsoffsets.h: Regenerate.
	* uinfo.cc (getlogin): Copy username into __getlogin_username.
This commit is contained in:
Corinna Vinschen
2011-05-16 15:12:35 +00:00
parent f783f223cb
commit bdc00a0d85
5 changed files with 57 additions and 51 deletions

View File

@ -56,6 +56,9 @@ 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;