El dom, 27-11-2005 a las 23:41 -0600, David Carr escribió:
> Carlos,
> 
> I changed line that was causing the build failure to this:
> backup_filename = g_strdup_printf("%s%c%s",dirname, G_DIR_SEPARATOR, 
> only_filename);

Then your backup is saved to your original file.... it's not a real
backup!!

It would be better if you checkout the CVS version... at least libgeda
and gschem. The last changes included adding a new function call to
libgeda, and I needed to define a function in all apps using libgeda, so
all apps were updated.

> This allowed the build to complete sucessfully and I haven't observed 
> any further crashes.  I'm not sure though if the autosave functionality 
> still works after this change.  Where should I see the backup files?
[snip]

In the file $INSTALL_DIR/share/gEDA/system-gschemrc there is the
following line:
(auto-save-interval 120)

This means that every 120 seconds each opened schematic file1.sch is
saved to a backup file #file1.sch# (in the same directory) if it was
changed in gschem. Due to technical reasons, the backup file is saved
when the 120 seconds timeout expired AND you changed something more.
When the schematic page is closed, the backup file is deleted, so you
will only notice the backup file is there when gschem crashed or exited
abruptely (or you have the page opened yet).
In the last changes in CVS, if gschem open a schematic and a backup
exists, it asks the user what to do (open the backup or the regular
file).

Regards,

Carlos
 

Reply via email to