aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/times.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-04-01 03:06:02 +0000
committerChristopher Faylor <me@cgf.cx>2001-04-01 03:06:02 +0000
commitf2aeff27f06bf2b44faaef5b5de1131e8fc142c2 (patch)
tree9b153ae6a4b2d02478987c068fe83a954fb6ad86 /winsup/cygwin/times.cc
parentf611148366ee3934d16824f8a973177aaece0aa8 (diff)
downloadnewlib-f2aeff27f06bf2b44faaef5b5de1131e8fc142c2.zip
newlib-f2aeff27f06bf2b44faaef5b5de1131e8fc142c2.tar.gz
newlib-f2aeff27f06bf2b44faaef5b5de1131e8fc142c2.tar.bz2
* thread.h (struct _winsup_t): Remove obsolete elements. Add available_drives
element. * path.cc (mount_info::getmntent): Report "/cygdrive" drives when mounted drives are exhausted. (fillout_mntent): New function. (mount_item::getmntent): Use fillout_mntent. (cygdrives_mntent): New function. Returns next available "/cygdrive". (setmntent): Initialize available "/cygdrives". * syscalls.cc: Remove some if 0'ed code. * times.cc (timezone): Use more descriptive variable name.
Diffstat (limited to 'winsup/cygwin/times.cc')
-rw-r--r--winsup/cygwin/times.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/times.cc b/winsup/cygwin/times.cc
index e136061..365b3bb 100644
--- a/winsup/cygwin/times.cc
+++ b/winsup/cygwin/times.cc
@@ -123,7 +123,7 @@ extern "C" char *
timezone ()
{
#ifdef _MT_SAFE
- char *b=_reent_winsup()->_b;
+ char *b=_reent_winsup()->timezone_buf;
#else
static NO_COPY char b[20] = {0};
#endif