ed Feb 20 22:35:42 2002 Owen Taylor <otaylor@redhat.com>

Fixes from Miroslaw Dobrzanski-Neumann (#71963)

        * glib/giounix.c (g_io_channel_new_file): Fix trailing comma
        in enum.

        * configure.in: Check for unsetenv.

        * test/uri-test.c: Fall back to trying putenv(VARNAME) if
        unsetenv isn't present.
This commit is contained in:
Owen Taylor
2002-02-21 03:54:34 +00:00
parent 9d3f6abacb
commit 88cec4d135
11 changed files with 105 additions and 2 deletions

View File

@@ -316,7 +316,14 @@ main (int argc,
char *argv[])
{
#ifdef G_OS_UNIX
# ifdef HAVE_UNSETENV
unsetenv ("G_BROKEN_FILENAMES");
# else
/* putenv with no = isn't standard, but works to unset the variable
* on some systems
*/
putenv ("G_BROKEN_FILENAMES");
# endif
#endif
run_to_uri_tests ();