mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-05 10:38:08 +01: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:
parent
9d3f6abacb
commit
88cec4d135
12
ChangeLog
12
ChangeLog
@ -1,3 +1,15 @@
|
|||||||
|
Wed 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.
|
||||||
|
|
||||||
2002-02-20 Daniel Elstner <daniel.elstner@gmx.net>
|
2002-02-20 Daniel Elstner <daniel.elstner@gmx.net>
|
||||||
|
|
||||||
* glib/gstring.[ch] (g_string_erase): Use gssize instead of
|
* glib/gstring.[ch] (g_string_erase): Use gssize instead of
|
||||||
|
@ -1,3 +1,15 @@
|
|||||||
|
Wed 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.
|
||||||
|
|
||||||
2002-02-20 Daniel Elstner <daniel.elstner@gmx.net>
|
2002-02-20 Daniel Elstner <daniel.elstner@gmx.net>
|
||||||
|
|
||||||
* glib/gstring.[ch] (g_string_erase): Use gssize instead of
|
* glib/gstring.[ch] (g_string_erase): Use gssize instead of
|
||||||
|
@ -1,3 +1,15 @@
|
|||||||
|
Wed 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.
|
||||||
|
|
||||||
2002-02-20 Daniel Elstner <daniel.elstner@gmx.net>
|
2002-02-20 Daniel Elstner <daniel.elstner@gmx.net>
|
||||||
|
|
||||||
* glib/gstring.[ch] (g_string_erase): Use gssize instead of
|
* glib/gstring.[ch] (g_string_erase): Use gssize instead of
|
||||||
|
@ -1,3 +1,15 @@
|
|||||||
|
Wed 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.
|
||||||
|
|
||||||
2002-02-20 Daniel Elstner <daniel.elstner@gmx.net>
|
2002-02-20 Daniel Elstner <daniel.elstner@gmx.net>
|
||||||
|
|
||||||
* glib/gstring.[ch] (g_string_erase): Use gssize instead of
|
* glib/gstring.[ch] (g_string_erase): Use gssize instead of
|
||||||
|
@ -1,3 +1,15 @@
|
|||||||
|
Wed 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.
|
||||||
|
|
||||||
2002-02-20 Daniel Elstner <daniel.elstner@gmx.net>
|
2002-02-20 Daniel Elstner <daniel.elstner@gmx.net>
|
||||||
|
|
||||||
* glib/gstring.[ch] (g_string_erase): Use gssize instead of
|
* glib/gstring.[ch] (g_string_erase): Use gssize instead of
|
||||||
|
@ -1,3 +1,15 @@
|
|||||||
|
Wed 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.
|
||||||
|
|
||||||
2002-02-20 Daniel Elstner <daniel.elstner@gmx.net>
|
2002-02-20 Daniel Elstner <daniel.elstner@gmx.net>
|
||||||
|
|
||||||
* glib/gstring.[ch] (g_string_erase): Use gssize instead of
|
* glib/gstring.[ch] (g_string_erase): Use gssize instead of
|
||||||
|
@ -1,3 +1,15 @@
|
|||||||
|
Wed 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.
|
||||||
|
|
||||||
2002-02-20 Daniel Elstner <daniel.elstner@gmx.net>
|
2002-02-20 Daniel Elstner <daniel.elstner@gmx.net>
|
||||||
|
|
||||||
* glib/gstring.[ch] (g_string_erase): Use gssize instead of
|
* glib/gstring.[ch] (g_string_erase): Use gssize instead of
|
||||||
|
@ -1,3 +1,15 @@
|
|||||||
|
Wed 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.
|
||||||
|
|
||||||
2002-02-20 Daniel Elstner <daniel.elstner@gmx.net>
|
2002-02-20 Daniel Elstner <daniel.elstner@gmx.net>
|
||||||
|
|
||||||
* glib/gstring.[ch] (g_string_erase): Use gssize instead of
|
* glib/gstring.[ch] (g_string_erase): Use gssize instead of
|
||||||
|
@ -576,7 +576,7 @@ GLIB_SIZEOF([$size_includes], ptrdiff_t, ptrdiff_t)
|
|||||||
GLIB_SIZEOF([$size_includes], intmax_t, intmax_t)
|
GLIB_SIZEOF([$size_includes], intmax_t, intmax_t)
|
||||||
|
|
||||||
# Check for some functions
|
# Check for some functions
|
||||||
AC_CHECK_FUNCS(lstat strerror strsignal memmove mkstemp vsnprintf stpcpy strcasecmp strncasecmp poll getcwd nanosleep vasprintf)
|
AC_CHECK_FUNCS(lstat strerror strsignal memmove mkstemp vsnprintf stpcpy strcasecmp strncasecmp poll getcwd nanosleep vasprintf unsetenv)
|
||||||
|
|
||||||
AC_FUNC_VSNPRINTF_C99
|
AC_FUNC_VSNPRINTF_C99
|
||||||
|
|
||||||
|
@ -439,7 +439,7 @@ g_io_channel_new_file (const gchar *filename,
|
|||||||
MODE_R = 1 << 0,
|
MODE_R = 1 << 0,
|
||||||
MODE_W = 1 << 1,
|
MODE_W = 1 << 1,
|
||||||
MODE_A = 1 << 2,
|
MODE_A = 1 << 2,
|
||||||
MODE_PLUS = 1 << 3,
|
MODE_PLUS = 1 << 3
|
||||||
} mode_num;
|
} mode_num;
|
||||||
struct stat buffer;
|
struct stat buffer;
|
||||||
|
|
||||||
|
@ -316,7 +316,14 @@ main (int argc,
|
|||||||
char *argv[])
|
char *argv[])
|
||||||
{
|
{
|
||||||
#ifdef G_OS_UNIX
|
#ifdef G_OS_UNIX
|
||||||
|
# ifdef HAVE_UNSETENV
|
||||||
unsetenv ("G_BROKEN_FILENAMES");
|
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
|
#endif
|
||||||
|
|
||||||
run_to_uri_tests ();
|
run_to_uri_tests ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user