Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-05-14 00:24:20 +0400
committerChristopher Faylor <me@cgf.cx>2005-05-14 00:24:20 +0400
commit180cd17fa13301ee8a974e2fd55d8a4b47d86f5d (patch)
tree44d60e75e07d94441ce94c08d85d629b38153d06 /winsup/utils
parente01eac68ed93d369c416bbbd16ed1b7d13086462 (diff)
* mount.cc (mount_commands): Display "-X" option when appropriate.
Diffstat (limited to 'winsup/utils')
-rw-r--r--winsup/utils/ChangeLog8
-rw-r--r--winsup/utils/mount.cc2
2 files changed, 6 insertions, 4 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index 27477891e..081844258 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-13 Christopher Faylor <cgf@timesys.com>
+
+ * mount.cc (mount_commands): Display "-X" option when appropriate.
+
2005-05-08 Christopher Faylor <cgf@timesys.com>
* cygcheck.cc (nuke): New function.
@@ -21,10 +25,6 @@
* path.cc (getmntent): Add previously-omitted 'noexec' and 'managed'
flags to mnt_opts string if present in mount flags.
-2005-04-25 Christopher Faylor <cgf@timesys.com>
-
- * mount.cc (mount_commands): Display "-X" option when appropriate.
-
2005-04-20 Brian Dessent <brian@dessent.net>
* utils.sgml (mount): Clarify setting cygdrive prefix for user
diff --git a/winsup/utils/mount.cc b/winsup/utils/mount.cc
index 89220f20f..4a874b566 100644
--- a/winsup/utils/mount.cc
+++ b/winsup/utils/mount.cc
@@ -423,6 +423,8 @@ mount_commands (void)
strcat (opts, " -x");
if (strstr (p->mnt_opts, ",noexec"))
strcat (opts, " -E");
+ if (strstr (p->mnt_opts, ",cygexec"))
+ strcat (opts, " -X");
if (strstr (p->mnt_opts, ",managed"))
strcat (opts, " -o managed");
while ((c = strchr (p->mnt_fsname, '\\')) != NULL)