projects
/
services
/
createrepo_c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c5d85e
)
compatibility: Use mkdtemp instead of g_mkdtemp.
author
Tomas Mlcoch
<tmlcoch@redhat.com>
Mon, 1 Jul 2013 13:56:31 +0000
(15:56 +0200)
committer
Tomas Mlcoch
<tmlcoch@redhat.com>
Mon, 1 Jul 2013 13:56:31 +0000
(15:56 +0200)
tests/test_xml_file.c
patch
|
blob
|
history
diff --git
a/tests/test_xml_file.c
b/tests/test_xml_file.c
index
51a0c1b
..
f7fbf1d
100644
(file)
--- a/
tests/test_xml_file.c
+++ b/
tests/test_xml_file.c
@@
-17,6
+17,8
@@
* USA.
*/
+#define _XOPEN_SOURCE 700
+
#include <glib.h>
#include <glib/gstdio.h>
#include <stdlib.h>
@@
-37,7
+39,7
@@
fixtures_setup(TestFixtures *fixtures, gconstpointer test_data)
{
CR_UNUSED(test_data);
gchar *template = g_strdup(TMPDIR_TEMPLATE);
- fixtures->tmpdir =
g_
mkdtemp(template);
+ fixtures->tmpdir = mkdtemp(template);
g_assert(fixtures->tmpdir);
}