[Pinfo-devel] r218 - pinfo/branches/cxx/src

Bas Zoetekouw bas at costa.debian.org
Thu Sep 8 21:09:02 UTC 2005


Author: bas
Date: 2005-09-08 21:09:02 +0000 (Thu, 08 Sep 2005)
New Revision: 218

Modified:
   pinfo/branches/cxx/src/initializelinks.cxx
Log:
Port of trunk fix r216:217:
Links of the form: 
 * Rules: Rpcalc Rules.  Grammar Rules for rpcalc, with explanation.
are now detected properly
This fixes Debian bug #235134.


Modified: pinfo/branches/cxx/src/initializelinks.cxx
===================================================================
--- pinfo/branches/cxx/src/initializelinks.cxx	2005-09-08 21:01:50 UTC (rev 217)
+++ pinfo/branches/cxx/src/initializelinks.cxx	2005-09-08 21:09:02 UTC (rev 218)
@@ -124,8 +124,8 @@
 			return 0;
 		ptr++;
 	}
-	end[0] = strrchr(str, '.');	/* nodename entry may end with dot, comma */
-	end[1] = strrchr(str, ',');	/* tabulation, or newline */
+	end[0] = strchr(str, '.');	/* nodename entry may end with dot, comma */
+	end[1] = strchr(str, ',');	/* tabulation, or newline */
 	if (!note)
 	{
 		end[2] = strchr(str, '\t');




More information about the Pinfo-devel mailing list