/hg/release/icedtea-web-1.1: Small correction to strSplit

adomurad at icedtea.classpath.org adomurad at icedtea.classpath.org
Tue Jul 24 07:20:15 PDT 2012


changeset a9a689478c96 in /hg/release/icedtea-web-1.1
details: http://icedtea.classpath.org/hg/release/icedtea-web-1.1?cmd=changeset;node=a9a689478c96
author: Adam Domurad <adomurad at redhat.com>
date: Tue Jul 24 10:20:10 2012 -0400

	Small correction to strSplit


diffstat:

 ChangeLog                              |  5 +++++
 plugin/icedteanp/IcedTeaPluginUtils.cc |  2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r a8abb4b08bf8 -r a9a689478c96 ChangeLog
--- a/ChangeLog	Fri Jun 08 13:45:35 2012 -0400
+++ b/ChangeLog	Tue Jul 24 10:20:10 2012 -0400
@@ -1,3 +1,8 @@
+2012-07-24  Adam Domurad  <adomurad at redhat.com>
+
+	* plugin/icedteanp/IcedTeaPluginUtils.cc
+	(IcedTeaPluginUtilities::strSplit): Replace usage of " " with proper 
+	delimiter
 2012-06-04  Adam Domurad  <adomurad at redhat.com>
 
         This patch fixes PR518, ensures null termination of strings based off
diff -r a8abb4b08bf8 -r a9a689478c96 plugin/icedteanp/IcedTeaPluginUtils.cc
--- a/plugin/icedteanp/IcedTeaPluginUtils.cc	Fri Jun 08 13:45:35 2012 -0400
+++ b/plugin/icedteanp/IcedTeaPluginUtils.cc	Tue Jul 24 10:20:10 2012 -0400
@@ -316,7 +316,7 @@
 		std::string* s = new std::string();
 		s->append(tok_ptr);
 		v->push_back(s);
-		tok_ptr = strtok (NULL, " ");
+		tok_ptr = strtok (NULL, delim);
 	}
 
 	return v;



More information about the distro-pkg-dev mailing list