Commit Graph

3 Commits

Author SHA1 Message Date
Christian Stimming
3cb8499445 Re-indentation of source code, next batch: src/business/*
This also strips trailing whitespaces from lines where they existed.
This re-indentation was done using astyle-1.24 using the following options:

astyle --indent=spaces=4 --brackets=break --pad-oper --pad-header --suffix=none

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18789 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-02 21:41:05 +00:00
Andreas Köhler
ef5a742bf1 Bug #105669: Add checks to detect errors on write, especially if there no space left on the disk.
Check the return value of fprintf and use ferror where libraries as
libxml do the write.

The change may not be perfect yet and a review would be nice. Still, it
detects quite a few errors that, without it, slip through and may
destroy valuable data.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18593 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-31 18:37:28 +00:00
Phil Longstaff
6b8dcdc737 Rename src/business/business-core/file -> src/business/business-core/xml
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18027 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-06 23:27:09 +00:00