[xml] Tiny patch for xmllint.c



Hello,

xmllint swallows an extra argument after "-o filename", this fixes it:

Anthony

--- xmllint.c.orig      Tue Apr  9 00:26:09 2002
+++ xmllint.c   Tue Apr  9 00:26:22 2002
@@ -1066,7 +1066,7 @@
                 (!strcmp(argv[i], "-output")) ||
                 (!strcmp(argv[i], "--output"))) {
            i++;
-           output = argv[i++];
+           output = argv[i];
        }
        else if ((!strcmp(argv[i], "-htmlout")) ||
                 (!strcmp(argv[i], "--htmlout")))





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]