mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Change yet another chmod to g_chmod.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15652 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
1a6ac569c0
commit
be3b2d0106
@ -553,7 +553,7 @@ gnc_file_be_write_to_file(FileBackend *fbe,
|
|||||||
if(rc == 0)
|
if(rc == 0)
|
||||||
{
|
{
|
||||||
/* Use the permissions from the original data file */
|
/* Use the permissions from the original data file */
|
||||||
if(chmod(tmp_name, statbuf.st_mode) != 0)
|
if(g_chmod(tmp_name, statbuf.st_mode) != 0)
|
||||||
{
|
{
|
||||||
/* qof_backend_set_error(be, ERR_BACKEND_PERM); */
|
/* qof_backend_set_error(be, ERR_BACKEND_PERM); */
|
||||||
/* Even if the chmod did fail, the save
|
/* Even if the chmod did fail, the save
|
||||||
|
Loading…
Reference in New Issue
Block a user