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

Nathanael Nerode neroden-guest at costa.debian.org
Fri Sep 2 03:58:02 UTC 2005


Author: neroden-guest
Date: 2005-09-02 03:58:01 +0000 (Fri, 02 Sep 2005)
New Revision: 126

Modified:
   pinfo/branches/cxx/src/filehandling_functions.cxx
Log:
Avoid confusion between string and char*.


Modified: pinfo/branches/cxx/src/filehandling_functions.cxx
===================================================================
--- pinfo/branches/cxx/src/filehandling_functions.cxx	2005-09-02 03:56:18 UTC (rev 125)
+++ pinfo/branches/cxx/src/filehandling_functions.cxx	2005-09-02 03:58:01 UTC (rev 126)
@@ -956,7 +956,8 @@
 	{
 		if (paths[i]!=NULL)
 		{
-			infopaths.push_back(paths[i]);
+			string tmp = paths[i];
+			infopaths.push_back(tmp);
 		}
 	}
 




More information about the Pinfo-devel mailing list