mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-22 20:26:17 +01:00
Weaken an g_assert() to a g_warning(), since apparently nothing in Posix
Thu Feb 5 01:19:12 2004 Matthias Clasen <maclas@gmx.de> * tests/file-test.c (test_mkstemp): Weaken an g_assert() to a g_warning(), since apparently nothing in Posix forces mkstemp() to reject templates without any X's. (#133397)
This commit is contained in:
parent
dd394749f9
commit
01fd2551d7
@ -1,3 +1,9 @@
|
||||
Thu Feb 5 01:19:12 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/file-test.c (test_mkstemp): Weaken an g_assert() to a
|
||||
g_warning(), since apparently nothing in Posix forces mkstemp()
|
||||
to reject templates without any X's. (#133397)
|
||||
|
||||
Thu Feb 5 00:56:28 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gcompletion.c (g_completion_complete_utf8): New function which
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Feb 5 01:19:12 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/file-test.c (test_mkstemp): Weaken an g_assert() to a
|
||||
g_warning(), since apparently nothing in Posix forces mkstemp()
|
||||
to reject templates without any X's. (#133397)
|
||||
|
||||
Thu Feb 5 00:56:28 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gcompletion.c (g_completion_complete_utf8): New function which
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Feb 5 01:19:12 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/file-test.c (test_mkstemp): Weaken an g_assert() to a
|
||||
g_warning(), since apparently nothing in Posix forces mkstemp()
|
||||
to reject templates without any X's. (#133397)
|
||||
|
||||
Thu Feb 5 00:56:28 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gcompletion.c (g_completion_complete_utf8): New function which
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Feb 5 01:19:12 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/file-test.c (test_mkstemp): Weaken an g_assert() to a
|
||||
g_warning(), since apparently nothing in Posix forces mkstemp()
|
||||
to reject templates without any X's. (#133397)
|
||||
|
||||
Thu Feb 5 00:56:28 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gcompletion.c (g_completion_complete_utf8): New function which
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Feb 5 01:19:12 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/file-test.c (test_mkstemp): Weaken an g_assert() to a
|
||||
g_warning(), since apparently nothing in Posix forces mkstemp()
|
||||
to reject templates without any X's. (#133397)
|
||||
|
||||
Thu Feb 5 00:56:28 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gcompletion.c (g_completion_complete_utf8): New function which
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Feb 5 01:19:12 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/file-test.c (test_mkstemp): Weaken an g_assert() to a
|
||||
g_warning(), since apparently nothing in Posix forces mkstemp()
|
||||
to reject templates without any X's. (#133397)
|
||||
|
||||
Thu Feb 5 00:56:28 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gcompletion.c (g_completion_complete_utf8): New function which
|
||||
|
@ -58,7 +58,8 @@ test_mkstemp (void)
|
||||
|
||||
strcpy (template, "foobar");
|
||||
fd = g_mkstemp (template);
|
||||
g_assert (fd == -1 && "g_mkstemp works even if template doesn't end in XXXXXX");
|
||||
if (fd != -1)
|
||||
g_warning ("g_mkstemp works even if template doesn't end in XXXXXX");
|
||||
close (fd);
|
||||
|
||||
strcpy (template, "fooXXXXXX");
|
||||
|
Loading…
Reference in New Issue
Block a user