[xml] Small Patch to xmlIO.c



Hi,

Small patch to fix some probably little used functionality in xmlIO.c

calvin:LIB_XML_BUILD/libxml2-2.3.9:$ diff -c xmlIO.c.ORIG xmlIO.c
*** xmlIO.c.ORIG        Thu May 31 16:54:04 2001
--- xmlIO.c     Thu May 31 16:54:54 2001
***************
*** 238,244 ****
      if (!strncmp(filename, "file://localhost", 16))
        path = &filename[16];
      else if (!strncmp(filename, "file:///", 8))
!       path = &filename[8];
      else
        path = filename;

--- 238,244 ----
      if (!strncmp(filename, "file://localhost", 16))
        path = &filename[16];
      else if (!strncmp(filename, "file:///", 8))
!       path = &filename[7];
      else
        path = filename;

***************
*** 277,283 ****
      if (!strncmp(filename, "file://localhost", 16))
        path = &filename[16];
      else if (!strncmp(filename, "file:///", 8))
!       path = &filename[8];
      else
        path = filename;

--- 277,283 ----
      if (!strncmp(filename, "file://localhost", 16))
        path = &filename[16];
      else if (!strncmp(filename, "file:///", 8))
!       path = &filename[7];
      else
        path = filename;

***************
*** 419,425 ****
      if (!strncmp(filename, "file://localhost", 16))
        path = &filename[16];
      else if (!strncmp(filename, "file:///", 8))
!       path = &filename[8];
      else
        path = filename;

--- 419,425 ----
      if (!strncmp(filename, "file://localhost", 16))
        path = &filename[16];
      else if (!strncmp(filename, "file:///", 8))
!       path = &filename[7];
      else
        path = filename;

calvin:LIB_XML_BUILD/libxml2-2.3.9:$






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