7f6a676139
parameters instead of the one with two parameters. The setenv() function has been added to Solaris recently, so this wasn't necessary before. Should fix PR 32273.
15 lines
501 B
Text
15 lines
501 B
Text
$NetBSD: patch-aq,v 1.1 2005/12/10 23:28:13 rillig Exp $
|
|
|
|
In Solaris 10, the setenv() function has been added.
|
|
|
|
--- misc.c.orig 2003-12-05 14:45:41.000000000 +0100
|
|
+++ misc.c 2005-12-11 00:23:50.130241500 +0100
|
|
@@ -613,7 +613,7 @@ char *value;
|
|
*/
|
|
# endif /* NEEDSETENV */
|
|
#else /* USESETENV */
|
|
-# if defined(linux) || defined(__convex__) || (BSD >= 199103)
|
|
+# if defined(linux) || defined(__convex__) || (BSD >= 199103) || defined(__sun)
|
|
setenv(var, value, 1);
|
|
# else
|
|
setenv(var, value);
|