components/screen/patches/misc.c.patch
author Rich Burridge <rich.burridge@oracle.com>
Thu, 14 Mar 2013 13:30:55 -0700
changeset 1211 72f88619e71d
parent 115 c360825c3a3f
permissions -rw-r--r--
PSARC 2012/354 GNU getopt 1.1.5 15872588 Include GNU getopt in Userland

--- screen-4.0.2/misc.c	2003-12-05 19:15:41.000000000 +0530
+++ screen-4.0.2/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);