[specimen] PATCH: keep New item from wiping out your existing bank
Ken Restivo
ken at restivo.org
Wed Nov 14 22:51:51 CST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It looks like a patch I submitted a while ago still isn't in SVN.
It's kind of critical. If you don't have the fix, then if you choose New from the File menu to create a new bank, and then Save to save it, your existing saved bank will be wiped out completely off of your disk!
I found this out the hard way earlier this year. I was going to try out the svn version of specimen but had to add this back in.
- -ken
- -----------
- --- specimen-0.5.2.rc3.orig/src/gui/bank-ops.c
+++ specimen-0.5.2.rc3/src/gui/bank-ops.c
@@ -140,5 +140,6 @@
int bank_ops_new ( )
{
patch_destroy_all ( );
+ last_bank = strdup ("\0");
return 0;
}
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHO9Bne8HF+6xeOIcRAtPWAKC7cb4M6EFcedMzP+5xWR6artqgigCgyipe
mM3CS9GEEtthbJWNnfIo28E=
=P9OZ
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Specimen
mailing list