Screen on Solaris

"Pradhap Devarajan" <[email protected]> Mon, 3 Apr 2006 17:03:23 +0530
Newsgroups gmane.comp.gnu.screen
Message-ID <[email protected]>
Tried to compile GNU Screen on Solaris had a small issue with misc.c. In
xsetenv() function it was trying to setenv with wrong arguments. I have
attached the patch for this issue.

~ Pradhap.D
screen-patch.txt (text/plain, 394 B)
--- screen-4.0.2/misc.c	2003-12-05 19:15:41.000000000 +0530
+++ screen-4.0.2-new/misc.c	2006-04-03 16:46:19.150133000 +0530
@@ -613,7 +613,7 @@
    */
 # endif /* NEEDSETENV */
 #else /* USESETENV */
-# if defined(linux) || defined(__convex__) || (BSD >= 199103)
+# if defined(linux) || defined(__convex__) || (BSD >= 199103) || (__sun)
   setenv(var, value, 1);
 # else
   setenv(var, value);