Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-04-01 07:06:02 +0400
committerChristopher Faylor <me@cgf.cx>2001-04-01 07:06:02 +0400
commitf2aeff27f06bf2b44faaef5b5de1131e8fc142c2 (patch)
tree9b153ae6a4b2d02478987c068fe83a954fb6ad86 /winsup/cygwin/times.cc
parentf611148366ee3934d16824f8a973177aaece0aa8 (diff)
* 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 e13606159..365b3bba2 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