uri-test.c bug
- From: Miroslaw Dobrzanski-Neumann <mne mosaic-ag com>
- To: GTKDEV <gtk-devel-list gnome org>
- Subject: uri-test.c bug
- Date: Tue, 12 Feb 2002 16:03:22 +0100
Hi,
glib-1.3.13/tests/uri-test.c uses unsetenv() on unix systems.
unsetenv() is only present on BSD based systens
SonOS, AIX does not have it implemented => the test does not compile/link
One should use putenv() instead
here the patch:
-------------- cut --------------
--- glib-1.3.13.org/tests/uri-test.c Wed Jan 23 15:41:23 2002
+++ glib-1.3.13/tests/uri-test.c Tue Feb 12 12:03:30 2002
@@ -314,7 +314,7 @@
char *argv[])
{
#ifdef G_OS_UNIX
- unsetenv ("G_BROKEN_FILENAMES");
+ putenv ("G_BROKEN_FILENAMES");
#endif
run_to_uri_tests ();
-------------- cut --------------
Regards,
--
Miroslaw Dobrzanski-Neumann
MOSAIC SOFTWARE AG
Base Development and Research
Tel +49-2225-882-291
Fax +49-2225-882-201
E-mail: mne mosaic-ag com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]