* mount.cc (mount_info::create_root_entry): Create default cygdrive

prefix with MOUNT_NOPOSIX flag.
This commit is contained in:
Corinna Vinschen 2008-08-15 12:06:38 +00:00
parent 2b41d940ca
commit 975f052c60
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-08-15 Corinna Vinschen <corinna@vinschen.de>
* mount.cc (mount_info::create_root_entry): Create default cygdrive
prefix with MOUNT_NOPOSIX flag.
2008-08-15 Corinna Vinschen <corinna@vinschen.de>
* path.cc (symlink_info::check): Don't use eabuf when trying to open

View File

@ -92,7 +92,7 @@ mount_info::create_root_entry (const PWCHAR root)
/* Create a default cygdrive entry. Note that this is a user entry.
This allows to override it with mount, unless the sysadmin created
a cygdrive entry in /etc/fstab. */
cygdrive_flags = MOUNT_BINARY | MOUNT_CYGDRIVE;
cygdrive_flags = MOUNT_BINARY | MOUNT_NOPOSIX | MOUNT_CYGDRIVE;
strcpy (cygdrive, CYGWIN_INFO_CYGDRIVE_DEFAULT_PREFIX "/");
cygdrive_len = strlen (cygdrive);
}