2003-08-08 Tor Lillqvist <tml@iki.fi>
* glib/gutils.c (g_setenv): Fix syntax error in the !HAVE_SETENV
case.
+2003-08-08 Tor Lillqvist <tml@iki.fi>
+
+ * glib/gutils.c (g_setenv): Fix syntax error in the !HAVE_SETENV
+ case.
+
2003-08-08 Matthias Clasen <maclas@gmx.de>
* tests/env-test.c (main): Remove a test for getenv() behaviour which isn't specified by SUS
2003-08-08 Matthias Clasen <maclas@gmx.de>
* tests/env-test.c (main): Remove a test for getenv() behaviour which isn't specified by SUS
+2003-08-08 Tor Lillqvist <tml@iki.fi>
+
+ * glib/gutils.c (g_setenv): Fix syntax error in the !HAVE_SETENV
+ case.
+
2003-08-08 Matthias Clasen <maclas@gmx.de>
* tests/env-test.c (main): Remove a test for getenv() behaviour which isn't specified by SUS
2003-08-08 Matthias Clasen <maclas@gmx.de>
* tests/env-test.c (main): Remove a test for getenv() behaviour which isn't specified by SUS
+2003-08-08 Tor Lillqvist <tml@iki.fi>
+
+ * glib/gutils.c (g_setenv): Fix syntax error in the !HAVE_SETENV
+ case.
+
2003-08-08 Matthias Clasen <maclas@gmx.de>
* tests/env-test.c (main): Remove a test for getenv() behaviour which isn't specified by SUS
2003-08-08 Matthias Clasen <maclas@gmx.de>
* tests/env-test.c (main): Remove a test for getenv() behaviour which isn't specified by SUS
+2003-08-08 Tor Lillqvist <tml@iki.fi>
+
+ * glib/gutils.c (g_setenv): Fix syntax error in the !HAVE_SETENV
+ case.
+
2003-08-08 Matthias Clasen <maclas@gmx.de>
* tests/env-test.c (main): Remove a test for getenv() behaviour which isn't specified by SUS
2003-08-08 Matthias Clasen <maclas@gmx.de>
* tests/env-test.c (main): Remove a test for getenv() behaviour which isn't specified by SUS
+2003-08-08 Tor Lillqvist <tml@iki.fi>
+
+ * glib/gutils.c (g_setenv): Fix syntax error in the !HAVE_SETENV
+ case.
+
2003-08-08 Matthias Clasen <maclas@gmx.de>
* tests/env-test.c (main): Remove a test for getenv() behaviour which isn't specified by SUS
2003-08-08 Matthias Clasen <maclas@gmx.de>
* tests/env-test.c (main): Remove a test for getenv() behaviour which isn't specified by SUS
+2003-08-08 Tor Lillqvist <tml@iki.fi>
+
+ * glib/gutils.c (g_setenv): Fix syntax error in the !HAVE_SETENV
+ case.
+
2003-08-08 Matthias Clasen <maclas@gmx.de>
* tests/env-test.c (main): Remove a test for getenv() behaviour which isn't specified by SUS
2003-08-08 Matthias Clasen <maclas@gmx.de>
* tests/env-test.c (main): Remove a test for getenv() behaviour which isn't specified by SUS
gboolean overwrite)
{
gint result;
gboolean overwrite)
{
gint result;
+#ifndef HAVE_SETENV
+ gchar *string;
+#endif
+
g_return_val_if_fail (strchr (variable, '=') == NULL, FALSE);
g_return_val_if_fail (strchr (variable, '=') == NULL, FALSE);
#ifdef HAVE_SETENV
result = setenv (variable, value, overwrite);
#else
#ifdef HAVE_SETENV
result = setenv (variable, value, overwrite);
#else
if (!overwrite && g_getenv (variable) != NULL)
return TRUE;
if (!overwrite && g_getenv (variable) != NULL)
return TRUE;