* 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:
@ -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;
|
||||
|
Reference in New Issue
Block a user