* mount.cc (fillout_mntent): Fix typo (noexec -> notexec).
This commit is contained in:
parent
ffea27fc8d
commit
6c188691db
|
@ -1,3 +1,7 @@
|
||||||
|
2009-07-22 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* mount.cc (fillout_mntent): Fix typo (noexec -> notexec).
|
||||||
|
|
||||||
2009-07-22 Corinna Vinschen <corinna@vinschen.de>
|
2009-07-22 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* path.cc (symlink_info::check): Fix typo in comment.
|
* path.cc (symlink_info::check): Fix typo in comment.
|
||||||
|
|
|
@ -310,7 +310,7 @@ mount_info::init ()
|
||||||
PWCHAR pathend;
|
PWCHAR pathend;
|
||||||
WCHAR path[PATH_MAX];
|
WCHAR path[PATH_MAX];
|
||||||
|
|
||||||
pathend = wcpcpy (path, cygwin_shared->installation_root);
|
pathend = wcpcpy (path, installation_root);
|
||||||
create_root_entry (path);
|
create_root_entry (path);
|
||||||
pathend = wcpcpy (pathend, L"\\etc\\fstab");
|
pathend = wcpcpy (pathend, L"\\etc\\fstab");
|
||||||
|
|
||||||
|
@ -1433,7 +1433,7 @@ fillout_mntent (const char *native_path, const char *posix_path, unsigned flags)
|
||||||
else if (flags & MOUNT_EXEC)
|
else if (flags & MOUNT_EXEC)
|
||||||
strcat (_my_tls.locals.mnt_opts, (char *) ",exec");
|
strcat (_my_tls.locals.mnt_opts, (char *) ",exec");
|
||||||
else if (flags & MOUNT_NOTEXEC)
|
else if (flags & MOUNT_NOTEXEC)
|
||||||
strcat (_my_tls.locals.mnt_opts, (char *) ",noexec");
|
strcat (_my_tls.locals.mnt_opts, (char *) ",notexec");
|
||||||
|
|
||||||
if (flags & MOUNT_NOACL)
|
if (flags & MOUNT_NOACL)
|
||||||
strcat (_my_tls.locals.mnt_opts, (char *) ",noacl");
|
strcat (_my_tls.locals.mnt_opts, (char *) ",noacl");
|
||||||
|
|
Loading…
Reference in New Issue