Replace mkstemp by g_mkstemp because the former is unavailable on windows

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15118 57a11ea4-9604-0410-9ed3-97b8803252fd
zzzoldfeatures/gobject-engine-dev
Christian Stimming 20 years ago
parent b2c2ae2bf8
commit 3c2dfcb44a

@ -247,7 +247,7 @@ test_account(int i, Account *test_act)
filename1 = g_strdup_printf("test_file_XXXXXX");
fd = mkstemp(filename1);
fd = g_mkstemp(filename1);
write_dom_node_to_file(test_node, fd);

@ -178,7 +178,7 @@ test_generation(void)
filename1 = g_strdup_printf("test_file_XXXXXX");
fd = mkstemp(filename1);
fd = g_mkstemp(filename1);
write_dom_node_to_file(test_node, fd);

@ -84,7 +84,7 @@ test_db (int i, GNCPriceDB *db)
filename1 = g_strdup_printf ("test_file_XXXXXX");
fd = mkstemp (filename1);
fd = g_mkstemp (filename1);
write_dom_node_to_file (test_node, fd);

@ -429,7 +429,7 @@ test_transaction(void)
filename1 = g_strdup_printf("test_file_XXXXXX");
fd = mkstemp(filename1);
fd = g_mkstemp(filename1);
write_dom_node_to_file(test_node, fd);

Loading…
Cancel
Save