OSDN Git Service

* path.cc (mount_info::read_cygdrive_info_from_registry): Use the user prefix
authorcgf <cgf>
Sun, 6 Mar 2005 21:28:27 +0000 (21:28 +0000)
committercgf <cgf>
Sun, 6 Mar 2005 21:28:27 +0000 (21:28 +0000)
if it exists.
* sync.h (sync::init_lock): Declare new static member.
(sync::init()): Declare new static function.
* sync.cc (sync::init): Define.
(sync::init): Lock attempt to initialize a muto to stop multiple threads from
colliding.
* dcrt0.cc (dll_crt0_0): Initialize muto environment.

winsup/cygwin/ChangeLog
winsup/cygwin/path.cc

index a36dfb8..013f647 100644 (file)
@@ -1,3 +1,17 @@
+2005-03-06  Pavel Tsekov  <ptsekov@gmx.net>
+
+       * path.cc (mount_info::read_cygdrive_info_from_registry): Use the user
+       prefix if it exists.
+
+2005-03-06  Christopher Faylor  <cgf@timesys.com>
+
+       * sync.h (sync::init_lock): Declare new static member.
+       (sync::init()): Declare new static function.
+       * sync.cc (sync::init): Define.
+       (sync::init): Lock attempt to initialize a muto to stop multiple
+       threads from colliding.
+       * dcrt0.cc (dll_crt0_0): Initialize muto environment.
+
 2005-03-06  Christopher Faylor  <cgf@timesys.com>
 
        * path.cc (special_name): Reorganize to always detect the use of
index 6d4228d..ae5697e 100644 (file)
@@ -1956,6 +1956,7 @@ mount_info::read_cygdrive_info_from_registry ()
        cygdrive_flags |= MOUNT_SYSTEM;
       slashify (cygdrive, cygdrive, 1);
       cygdrive_len = strlen (cygdrive);
+      break;
     }
 }