]> wimlib.net Git - wimlib/blobdiff - src/win32_capture.c
win32_do_capture_warnings: Shorten message
[wimlib] / src / win32_capture.c
index e3072494b96718488cdc1f38f2cb3cee4ad0bb63..e2d98078702f840b68ff8a14848999ad8309f43e 100644 (file)
@@ -1,3 +1,26 @@
+/*
+ * win32_capture.c - Windows-specific code for capturing files into a WIM image.
+ */
+
+/*
+ * Copyright (C) 2013 Eric Biggers
+ *
+ * This file is part of wimlib, a library for working with WIM files.
+ *
+ * wimlib is free software; you can redistribute it and/or modify it under the
+ * terms of the GNU General Public License as published by the Free
+ * Software Foundation; either version 3 of the License, or (at your option)
+ * any later version.
+ *
+ * wimlib 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 General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with wimlib; if not, see http://www.gnu.org/licenses/.
+ */
+
 #ifdef __WIN32__
 
 #include "win32_common.h"
@@ -1115,8 +1138,7 @@ win32_do_capture_warnings(const struct win32_capture_state *state,
 "          nothing more needs to be done%ls\n",
        (add_flags & WIMLIB_ADD_FLAG_NO_ACLS) ? L"." :
          L", although you might consider\n"
-"          passing the --no-acls flag to `wimlib-imagex capture' or\n"
-"          `wimlib-imagex append' to explicitly capture no security\n"
+"          using the --no-acls option to explicitly capture no security\n"
 "          descriptors.\n");
 }
 
@@ -1132,6 +1154,10 @@ win32_build_dentry_tree(struct wim_dentry **root_ret,
        struct win32_capture_state state;
        unsigned vol_flags;
 
+       if (!win32func_FindFirstStreamW) {
+               WARNING("Running on Windows XP or earlier; "
+                       "alternate data streams will not be captured.");
+       }
 
        path_nchars = wcslen(root_disk_path);
        if (path_nchars > 32767)