1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

off by 1 and stupidity bug fix:

- xmlIO.c: Gary Pennington <Gary.Pennington@uk.sun.com> fix
  for xmlGzfileOpen() bug
Daniel
This commit is contained in:
Daniel Veillard
2001-01-18 15:21:36 +00:00
parent cb126ac009
commit d8aa7cbd18
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Thu Jan 18 16:19:47 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* xmlIO.c: Gary Pennington <Gary.Pennington@uk.sun.com> fix
for xmlGzfileOpen() bug
Thu Jan 18 13:11:50 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* xpath.c: removed an error found by XSLT usage

View File

@ -400,11 +400,11 @@ xmlGzfileOpen (const char *filename) {
if (!strncmp(filename, "file://localhost", 16))
path = &filename[16];
else if (!strncmp(filename, "file:///", 8))
path = &filename[8];
path = &filename[7];
else
path = filename;
fd = gzopen(filename, "rb");
fd = gzopen(path, "rb");
return((void *) fd);
}