OSDN Git Service

* mount.cc (mount_info::create_root_entry): Create default cygdrive
authorcorinna <corinna>
Fri, 15 Aug 2008 12:06:38 +0000 (12:06 +0000)
committercorinna <corinna>
Fri, 15 Aug 2008 12:06:38 +0000 (12:06 +0000)
prefix with MOUNT_NOPOSIX flag.

winsup/cygwin/ChangeLog
winsup/cygwin/mount.cc

index 46d7b6d..5fa71b4 100644 (file)
@@ -1,5 +1,10 @@
 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
        file a second time.  Call NtOpenFile instead of NtCreateFile in this
        case.
index f9e65b1..3636386 100644 (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);
 }