--- texlive-core-2008-r5-orig/work/texlive-20080816-source/libs/xpdf/goo/gfile.cc 2009-05-25 15:51:25.000000000 +0100 +++ texlive-core-2008-r5-orig/work/texlive-20080816-source/libs/xpdf/goo/gfile.cc 2009-05-25 15:51:20.000000000 +0100 @@ -309,7 +309,7 @@ GString *grabPath(const char *fileName) { #ifdef VMS //---------- VMS ---------- - char *p; + const char *p; if ((p = strrchr(fileName, ']'))) return new GString(fileName, p + 1 - fileName); @@ -319,7 +319,7 @@ #elif defined(__EMX__) || defined(WIN32) //---------- OS/2+EMX and Win32 ---------- - char *p; + const char *p; if ((p = strrchr(fileName, '/'))) return new GString(fileName, p - fileName); @@ -331,7 +331,7 @@ #elif defined(ACORN) //---------- RISCOS ---------- - char *p; + const char *p; if ((p = strrchr(fileName, '.'))) return new GString(fileName, p - fileName); @@ -339,7 +339,7 @@ #elif defined(MACOS) //---------- MacOS ---------- - char *p; + const char *p; if ((p = strrchr(fileName, ':'))) return new GString(fileName, p - fileName); @@ -347,7 +347,7 @@ #else //---------- Unix ---------- - char *p; + const char *p; if ((p = strrchr(fileName, '/'))) return new GString(fileName, p - fileName);