[Rinside-commits] r149 - in pkg: inst src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Apr 21 15:59:53 CEST 2010


Author: edd
Date: 2010-04-21 15:59:53 +0200 (Wed, 21 Apr 2010)
New Revision: 149

Modified:
   pkg/inst/ChangeLog
   pkg/src/MemBuf.cpp
Log:
added include for string.h so that Solaris gets strlen()


Modified: pkg/inst/ChangeLog
===================================================================
--- pkg/inst/ChangeLog	2010-04-06 14:09:31 UTC (rev 148)
+++ pkg/inst/ChangeLog	2010-04-21 13:59:53 UTC (rev 149)
@@ -1,3 +1,8 @@
+2010-04-21  Dirk Eddelbuettel  <edd at debian.org>
+
+	* src/MemBuf.cpp: Added #include <string.h> so that even Solaris sees
+	  strlen() -- with thanks to Brian Ripley
+
 2010-04-05  Dirk Eddelbuettel  <edd at debian.org>
 
 	* src/RInside.cpp: Add #ifdef to Callback code to break on Windows

Modified: pkg/src/MemBuf.cpp
===================================================================
--- pkg/src/MemBuf.cpp	2010-04-06 14:09:31 UTC (rev 148)
+++ pkg/src/MemBuf.cpp	2010-04-21 13:59:53 UTC (rev 149)
@@ -22,6 +22,7 @@
 #include <iostream>
 #include <cstdlib>
 #include <cstring>
+#include <string.h>		// Solaris seems to need this for strlen
 
 #include "MemBuf.h"
 



More information about the Rinside-commits mailing list