diff options
author | Christopher Faylor <me@cgf.cx> | 2005-05-13 20:24:20 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-05-13 20:24:20 +0000 |
commit | 180cd17fa13301ee8a974e2fd55d8a4b47d86f5d (patch) | |
tree | 44d60e75e07d94441ce94c08d85d629b38153d06 /winsup/utils | |
parent | e01eac68ed93d369c416bbbd16ed1b7d13086462 (diff) | |
download | newlib-180cd17fa13301ee8a974e2fd55d8a4b47d86f5d.zip newlib-180cd17fa13301ee8a974e2fd55d8a4b47d86f5d.tar.gz newlib-180cd17fa13301ee8a974e2fd55d8a4b47d86f5d.tar.bz2 |
* mount.cc (mount_commands): Display "-X" option when appropriate.
Diffstat (limited to 'winsup/utils')
-rw-r--r-- | winsup/utils/ChangeLog | 8 | ||||
-rw-r--r-- | winsup/utils/mount.cc | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 2747789..0818442 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 89220f2..4a874b5 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) |