From f2aeff27f06bf2b44faaef5b5de1131e8fc142c2 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 1 Apr 2001 03:06:02 +0000 Subject: * 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. --- winsup/cygwin/times.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/times.cc') 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 -- cgit v1.2.3