1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-08-08 21:42:07 +03:00

Fixed RH bug #58124 due to an off-by-one error when parsing -o arguments.

* xsltproc/xsltproc.c: Fixed RH bug #58124 due to an off-by-one
  error when parsing -o arguments.
Daniel
This commit is contained in:
Daniel Veillard
2002-01-20 13:34:51 +00:00
parent 14a94c1438
commit 2590cc843a
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
Sun Jan 20 14:33:33 CET 2002 Daniel Veillard <daniel@veillard.com>
* xsltproc/xsltproc.c: Fixed RH bug #58124 due to an off-by-one
error when parsing -o arguments.
Sun Jan 20 14:15:55 CET 2002 Daniel Veillard <daniel@veillard.com> Sun Jan 20 14:15:55 CET 2002 Daniel Veillard <daniel@veillard.com>
* doc/xsltproc.xml libxslt/xsltutils.c xsltproc/xsltproc.c: * doc/xsltproc.xml libxslt/xsltutils.c xsltproc/xsltproc.c:

View File

@@ -380,7 +380,7 @@ main(int argc, char **argv)
(!strcmp(argv[i], "-output")) || (!strcmp(argv[i], "-output")) ||
(!strcmp(argv[i], "--output"))) { (!strcmp(argv[i], "--output"))) {
i++; i++;
output = argv[i++]; output = argv[i];
} else if ((!strcmp(argv[i], "-V")) || } else if ((!strcmp(argv[i], "-V")) ||
(!strcmp(argv[i], "-version")) || (!strcmp(argv[i], "-version")) ||
(!strcmp(argv[i], "--version"))) { (!strcmp(argv[i], "--version"))) {