This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] Fix missing arg requirement for setfacl -x option


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=f97241dcb4d9b68a4b053ec0937bbeca8defaac5

commit f97241dcb4d9b68a4b053ec0937bbeca8defaac5
Author: Houder <houder@xs4all.nl>
Date:   Sat Dec 19 21:00:46 2015 +0100

    Fix missing arg requirement for setfacl -x option
    
            * setfacl.cc (opts): Add colon to x option.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/utils/ChangeLog | 4 ++++
 winsup/utils/setfacl.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index 7757220..fa910e8 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -1,3 +1,7 @@
+2015-12-19  Houder  <houder@xs4all.nl>
+
+	* setfacl.cc (opts): Add colon to x option.
+
 2015-12-06  Corinna Vinschen  <corinna@vinschen.de>
 
 	* cygpath.cc (absolute_flag): Initialize to CCP_RELATIVE to simplify
diff --git a/winsup/utils/setfacl.c b/winsup/utils/setfacl.c
index 4ec5f20..a88fbcb 100644
--- a/winsup/utils/setfacl.c
+++ b/winsup/utils/setfacl.c
@@ -634,7 +634,7 @@ struct option longopts[] = {
   {"version", no_argument, NULL, 'V'},
   {0, no_argument, NULL, 0}
 };
-const char *opts = "bd:f:hkm:nrs:Vx";
+const char *opts = "bd:f:hkm:nrs:Vx:";
 
 static void
 print_version ()


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]