]> wimlib.net Git - wimlib/blobdiff - src/pathlist.c
mount_image.c: add fallback definitions of RENAME_* constants
[wimlib] / src / pathlist.c
index 9ce3929ea9c2a3d119d5667a538b75e901229135..0b623f81e32f37376c6e53a6b8e45a2f07c8e283 100644 (file)
@@ -18,7 +18,7 @@
  * details.
  *
  * You should have received a copy of the GNU Lesser General Public License
- * along with this file; if not, see http://www.gnu.org/licenses/.
+ * along with this file; if not, see https://www.gnu.org/licenses/.
  */
 
 #ifdef HAVE_CONFIG_H
@@ -41,7 +41,9 @@ read_path_list_file(const tchar *listfile,
        void *buf;
        int ret;
 
-       ret = load_text_file(listfile, &buf, &tmp, 1, NULL);
+       ret = load_text_file(listfile, NULL, 0, &buf, &tmp, 1,
+                            LOAD_TEXT_FILE_REMOVE_QUOTES |
+                            LOAD_TEXT_FILE_ALLOW_STDIN, NULL);
        if (ret)
                return ret;