PR4062483.diff   [plain text]


--- src/man.c.orig	2006-06-02 12:52:27.000000000 -0700
+++ src/man.c	2006-06-02 13:16:28.000000000 -0700
@@ -407,6 +407,9 @@
      if (strlen(name) + strlen(beg) + 1 >= BUFSIZ)
 	  return 0;		/* very long names, ignore */
 
+     if (beg[0] == '/') {
+	  strcpy(name, beg);
+     } else
      if (!index(beg, '/')) {
 	  /* strange.. try same directory as the .so file */
 	  strcat(name, "/");