From 8cdf412aed60bd4c943281b2a6e577ed68f5ba18 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 18 Oct 2007 08:21:53 +0200 Subject: Change setenv and unsetenv to putenv for portability. Solaris apparently does not have setenv and unsetenv. --- openbox/openbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/openbox.c') diff --git a/openbox/openbox.c b/openbox/openbox.c index 06afffc8..77bb0363 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -511,7 +511,7 @@ static void remove_args(gint *argc, gchar **argv, gint index, gint num) static void parse_env() { /* unset this so we don't pass it on unknowingly */ - unsetenv("DESKTOP_STARTUP_ID"); + putenv("DESKTOP_STARTUP_ID"); } static void parse_args(gint *argc, gchar **argv) -- cgit v1.2.3