mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
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:
@@ -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 ();
|
||||
|
Reference in New Issue
Block a user