diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-05-16 15:12:35 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-05-16 15:12:35 +0000 |
commit | bdc00a0d8500ee9a3d528188e766a8a38e66a1df (patch) | |
tree | 5233e94bbc5efe20727cc628a3028273d698317a /winsup/cygwin/cygtls.h | |
parent | f783f223cb31e4f323293489ac2b4c1347e90b45 (diff) | |
download | cygnal-bdc00a0d8500ee9a3d528188e766a8a38e66a1df.tar.gz cygnal-bdc00a0d8500ee9a3d528188e766a8a38e66a1df.tar.bz2 cygnal-bdc00a0d8500ee9a3d528188e766a8a38e66a1df.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/cygtls.h')
-rw-r--r-- | winsup/cygwin/cygtls.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/winsup/cygwin/cygtls.h b/winsup/cygwin/cygtls.h index 4715d37b4..4d4306b33 100644 --- a/winsup/cygwin/cygtls.h +++ b/winsup/cygwin/cygtls.h @@ -1,6 +1,6 @@ /* cygtls.h - Copyright 2003, 2004, 2005, 2008, 2009, 2010 Red Hat, Inc. + Copyright 2003, 2004, 2005, 2008, 2009, 2010, 2011 Red Hat, Inc. This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE" for @@ -82,9 +82,6 @@ struct _local_storage char *namearray[2]; int grp_pos; - /* console.cc */ - unsigned rarg; - /* dlfcn.cc */ int dl_error; char dl_buffer[256]; @@ -116,15 +113,12 @@ struct _local_storage /* times.cc */ char timezone_buf[20]; - struct tm _localtime_buf; - /* uinfo.cc */ - char username[UNLEN + 1]; + /* strsig.cc */ + char signamebuf[sizeof ("Unknown signal 4294967295 ")]; /* net.cc */ char *ntoa_buf; // note: malloced - char signamebuf[sizeof ("Unknown signal 4294967295 ")]; - unionent *hostent_buf; // note: malloced unionent *protoent_buf; // note: malloced unionent *servent_buf; // note: malloced |