* mount.cc (mount_info::from_fstab_line): Make cygdrive posix=0 by

default as documented.
This commit is contained in:
Corinna Vinschen 2009-02-13 09:05:42 +00:00
parent 8cf4b71e1f
commit 0211e37a62
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-02-13 Corinna Vinschen <corinna@vinschen.de>
* mount.cc (mount_info::from_fstab_line): Make cygdrive posix=0 by
default as documented.
2009-02-13 Corinna Vinschen <corinna@vinschen.de> 2009-02-13 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din: Export wcstod and wcstof. * cygwin.din: Export wcstod and wcstof.

View File

@ -914,6 +914,8 @@ mount_info::from_fstab_line (char *line, bool user)
cend = find_ws (c); cend = find_ws (c);
*cend = '\0'; *cend = '\0';
unsigned mount_flags = MOUNT_SYSTEM | MOUNT_BINARY; unsigned mount_flags = MOUNT_SYSTEM | MOUNT_BINARY;
if (!strcmp (fs_type, "cygdrive"))
mount_flags |= MOUNT_NOPOSIX;
if (!read_flags (c, mount_flags)) if (!read_flags (c, mount_flags))
return true; return true;
if (user) if (user)