Charles Davis : icacls: New stub program.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Feb 8 10:09:21 CST 2016


Module: wine
Branch: master
Commit: 48737f0e68709f55577fb3486f7da18688927563
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=48737f0e68709f55577fb3486f7da18688927563

Author: Charles Davis <cdavis5x at gmail.com>
Date:   Mon Feb  8 02:31:15 2016 -0700

icacls: New stub program.

Signed-off-by: Charles Davis <cdavis5x at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 configure                     |  2 ++
 configure.ac                  |  1 +
 programs/icacls/Makefile.in   |  5 +++++
 programs/icacls/icacls_main.c | 39 +++++++++++++++++++++++++++++++++++++++
 4 files changed, 47 insertions(+)

diff --git a/configure b/configure
index 85d85a8..4eb195a 100755
--- a/configure
+++ b/configure
@@ -1446,6 +1446,7 @@ enable_extrac32
 enable_findstr
 enable_hh
 enable_hostname
+enable_icacls
 enable_icinfo
 enable_iexplore
 enable_ipconfig
@@ -18109,6 +18110,7 @@ wine_fn_config_program extrac32 enable_extrac32 install
 wine_fn_config_program findstr enable_findstr install
 wine_fn_config_program hh enable_hh install
 wine_fn_config_program hostname enable_hostname install,po
+wine_fn_config_program icacls enable_icacls install
 wine_fn_config_program icinfo enable_icinfo install
 wine_fn_config_program iexplore enable_iexplore install
 wine_fn_config_program ipconfig enable_ipconfig install,po
diff --git a/configure.ac b/configure.ac
index c4bd6a0..76fb87d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3452,6 +3452,7 @@ WINE_CONFIG_PROGRAM(extrac32,,[install])
 WINE_CONFIG_PROGRAM(findstr,,[install])
 WINE_CONFIG_PROGRAM(hh,,[install])
 WINE_CONFIG_PROGRAM(hostname,,[install,po])
+WINE_CONFIG_PROGRAM(icacls,,[install])
 WINE_CONFIG_PROGRAM(icinfo,,[install])
 WINE_CONFIG_PROGRAM(iexplore,,[install])
 WINE_CONFIG_PROGRAM(ipconfig,,[install,po])
diff --git a/programs/icacls/Makefile.in b/programs/icacls/Makefile.in
new file mode 100644
index 0000000..af919a5
--- /dev/null
+++ b/programs/icacls/Makefile.in
@@ -0,0 +1,5 @@
+MODULE    = icacls.exe
+APPMODE   = -mconsole
+
+C_SRCS = \
+	icacls_main.c
diff --git a/programs/icacls/icacls_main.c b/programs/icacls/icacls_main.c
new file mode 100644
index 0000000..8f93a97
--- /dev/null
+++ b/programs/icacls/icacls_main.c
@@ -0,0 +1,39 @@
+/*
+ * Integrity/ACL viewer/editor stub
+ * Copyright (C) 2009 Andrey Turkin
+ * Copyright (C) 2016 Charles Davis
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#include <stdlib.h>
+#include <stdio.h>
+
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(icacls);
+
+int main(int argc, char** argv)
+{
+    int i;
+
+    WINE_FIXME("This is dummy icacls, not performing ACL manipulations\n");
+    WINE_FIXME("stub:");
+    for (i = 0; i < argc; i++)
+        WINE_FIXME(" %s", wine_dbgstr_a(argv[i]));
+    WINE_FIXME("\n");
+
+    return 0;
+}




More information about the wine-cvs mailing list