CVS update: gnucash/src/backend/file

Linas Vepstas linas at linas.org
Tue Jul 29 12:58:33 CDT 2003


On Sat, Jul 26, 2003 at 06:47:29PM -0500, Derek Atkins was heard to remark:
> 
> Modified Files:
> 	gnc-backend-file.c 
> Log Message:
> 	* src/backend/file/gnc-backend-file.c: don't make the chmod() and
> 	  chown() functions fatal errors.  Warn the user if they fail, but
> 	  don't fail to save.  In the long run we need some way to pop up
> 	  warning messages from a backend, but until then we'll have to
> 	  stick with PWARN() and hope users see the console.
> 	Fixes #118258

Why can't you just set the error status, the way you did for the unlink
errors? Somehwere higher up the stack, the gui routines do check for
errors ... 

--linas

-- 
pub  1024D/01045933 2001-02-01 Linas Vepstas (Labas!) <linas at linas.org>
PGP Key fingerprint = 8305 2521 6000 0B5E 8984  3F54 64A9 9A82 0104 5933


More information about the gnucash-patches mailing list