diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2007-10-18 08:21:53 +0200 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2007-10-18 08:25:34 +0200 |
| commit | 8cdf412aed60bd4c943281b2a6e577ed68f5ba18 (patch) | |
| tree | 54b3d3a8a0946b58c9f875cfe3e497e1ed84d0b4 /openbox/openbox.c | |
| parent | 556eb7b7fb20b3b0db03b6d92259ad3bb16dccde (diff) | |
Change setenv and unsetenv to putenv for portability.
Solaris apparently does not have setenv and unsetenv.
Diffstat (limited to 'openbox/openbox.c')
| -rw-r--r-- | openbox/openbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
