Too many .log and .xac files
Jeff Carneal
jeff-ml at carneal.com
Fri Feb 16 22:30:09 EST 2007
A few points on this topic, as someone who within the last couple of
days discovered the xac files and had them save his bacon. Or at
least a few hours of work.
1) Hiding the files would have made it less likely that I would find
the backups and investigate them via google
2) Defaulting to 1 backup would have killed my chances of recovery.
3) Whoever was originally responsible for xac backup code can
contact me for a sizable quantity of their favorite beer
Thanks,
Jeff
On Feb 14, 2007, at 2:35 PM, Josh Sled wrote:
> On Wed, 2007-02-14 at 14:11 -0600, David Berg wrote:
>> Regardless of whether it's a good design decision, I'd like to change
>> the program for my own install to use a hidden directory. I'm not
>> familiar with the gnucash source at all though. Would this be an
>> easy
>> change? Where would I start?
>
> Relatively easy.
>
> Start at src/backend/file/gnc-backend-file.c. In particular, look for
> the strings "retain_days" and ".xac". That will lead you to
> gnc_file_be_backup_file and gnc_int_link_or_make_backup. Check the
> callers, and you'll find your way to gnc_file_be_write_to_file.
> Between
> those functions should lie the solution.
>
> (Followups should probably go to gnucash-devel...)
>
> --
> ...jsled
> http://asynchronous.org/ - a=jsled;b=asynchronous.org;echo ${a}@${b}
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
More information about the gnucash-user
mailing list