Revision: 343
          http://svn.sourceforge.net/rpy/?rev=343&view=rev
Author:   warnes
Date:     2007-03-12 15:50:59 -0700 (Mon, 12 Mar 2007)

Log Message:
-----------
Applied patch created by Andrew McNamara that resolves the C stack limit error 
produced by R in some contexts, such as resizing the x11() window.

Modified Paths:
--------------
    trunk/rpy/src/rpymodule.c

Modified: trunk/rpy/src/rpymodule.c
===================================================================
--- trunk/rpy/src/rpymodule.c   2007-02-20 16:41:47 UTC (rev 342)
+++ trunk/rpy/src/rpymodule.c   2007-03-12 22:50:59 UTC (rev 343)
@@ -39,6 +39,7 @@
  *
  * ***** END LICENSE BLOCK ***** */
 
+#define CSTACK_DEFNS
 #include "RPy.h"
 
 #define NONAMELESSUNION
@@ -1755,6 +1756,7 @@
   Rf_initEmbeddedR( sizeof(defaultargv) / sizeof(defaultargv[0]),
                     defaultargv);
 #endif
+  R_CStackLimit = (uintptr_t)-1;
 
   /* Restore Python handlers */
   PyOS_setsig(SIGINT, old_int);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to