mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Use GStatBuf to match newer GLib API
This commit is contained in:
parent
cb06e0e763
commit
85d868f826
@ -383,7 +383,7 @@ test_files_in_dir (int argc, char** argv, gxpf_callback cb,
|
||||
|
||||
for (count = 1; count < argc; count++)
|
||||
{
|
||||
struct stat file_info;
|
||||
GStatBuf file_info;
|
||||
const char* to_open = argv[count];
|
||||
if (g_stat (to_open, &file_info) != 0)
|
||||
{
|
||||
|
@ -31,6 +31,8 @@ extern "C"
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#include <dirent.h>
|
||||
#include <string.h>
|
||||
@ -62,7 +64,7 @@ remove_files_pattern (const char* begining, const char* ending)
|
||||
static void
|
||||
remove_locks (const char* filename)
|
||||
{
|
||||
struct stat buf;
|
||||
GStatBuf buf;
|
||||
char* to_remove;
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user