r15652 - gnucash/trunk/src/backend/file - Change yet another chmod to g_chmod.

Andreas Köhler andi5 at cvs.gnucash.org
Fri Feb 23 21:46:19 EST 2007


Author: andi5
Date: 2007-02-23 21:46:19 -0500 (Fri, 23 Feb 2007)
New Revision: 15652
Trac: http://svn.gnucash.org/trac/changeset/15652

Modified:
   gnucash/trunk/src/backend/file/gnc-backend-file.c
Log:
Change yet another chmod to g_chmod.


Modified: gnucash/trunk/src/backend/file/gnc-backend-file.c
===================================================================
--- gnucash/trunk/src/backend/file/gnc-backend-file.c	2007-02-24 00:52:42 UTC (rev 15651)
+++ gnucash/trunk/src/backend/file/gnc-backend-file.c	2007-02-24 02:46:19 UTC (rev 15652)
@@ -553,7 +553,7 @@
         if(rc == 0)
         {
             /* 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); */
 		/* Even if the chmod did fail, the save



More information about the gnucash-changes mailing list