diff options
author | Christopher Faylor <me@cgf.cx> | 2005-03-06 21:28:28 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-03-06 21:28:28 +0000 |
commit | fe7b4e0306e864f6788541ef84dd1192c0f34cad (patch) | |
tree | 5b2de88170a2568dceb28fabdc936bb1422d88c2 | |
parent | df5a5b3592b9b97f4c850bb98ffdb5a3c46d94ba (diff) | |
download | newlib-fe7b4e0306e864f6788541ef84dd1192c0f34cad.zip newlib-fe7b4e0306e864f6788541ef84dd1192c0f34cad.tar.gz newlib-fe7b4e0306e864f6788541ef84dd1192c0f34cad.tar.bz2 |
* path.cc (mount_info::read_cygdrive_info_from_registry): Use the user prefix
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.
-rw-r--r-- | winsup/cygwin/ChangeLog | 14 | ||||
-rw-r--r-- | winsup/cygwin/path.cc | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index a36dfb8..013f647 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -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 diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 6d4228d..ae5697e 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -1956,6 +1956,7 @@ mount_info::read_cygdrive_info_from_registry () cygdrive_flags |= MOUNT_SYSTEM; slashify (cygdrive, cygdrive, 1); cygdrive_len = strlen (cygdrive); + break; } } |