Just in case somebody encounters the issue:

Doxygen 1.5.7.1 introduced an erroneous change in the semantics of
"substitute" thats result in $relpath$ remaining in the doc produced
instead of being substituted by the empty string.  As a consequence, the
browser cannot find the stylesheet.

The following patch to doxygen fixes the problem:

--- doxygen-1.5.7.1-orig/src/util.cpp	2008-10-04 14:28:00.000000000 +0200
+++ doxygen-1.5.7.1/src/util.cpp	2008-12-18 20:55:15.000000000 +0100
@@ -4447,10 +4447,10 @@
 
 QCString substitute(const char *s,const char *src,const char *dst)
 {
-  if (s==0 || src==0 || dst==0) return s;
+  if (s==0 || src==0) return s;
   const char *p, *q;
   int srcLen = strlen(src);
-  int dstLen = strlen(dst);
+  int dstLen = dst ? strlen(dst) : 0;
   int resLen;
   if (srcLen!=dstLen)
   {
@@ -4469,7 +4469,7 @@
     int l = (int)(q-p);
     memcpy(r,p,l);
     r+=l;
-    memcpy(r,dst,dstLen);
+    if (dst) memcpy(r,dst,dstLen);
     r+=dstLen;
   }
   strcpy(r,p);
Cheers,

--Denys
_______________________________________________
Gecode users mailing list
[email protected]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to