Package: specimen
Version: 0.5.1-1.1
Severity: grave

I tried to create a new bank on the fly, by choosing "New" and then "Save" in 
order to save the new bank somewhere, and it wiped out the existing bank I had 
previously loaded! My heart jumped all the way up into my sinuses. Took me 
about 15 minutes to re-create the bank.

Fix is here:

--- 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;
 }

The "proper" thing would probably be to gray out the Save button and then only 
enable it again once the first patch has been added. But I didn't feel like 
dealing with GTK's weird API for finding a handle to a widget by name. The 
above simple patch will at least prevent catastrophic data loss, and is good 
enough for me.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.21-rt1-1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages specimen depends on:
ii  libart-2.0-2               2.3.19-3      Library of functions for 2D graphi
ii  libasound2                 1.0.13-2      ALSA library
ii  libatk1.0-0                1.18.0-2      The ATK accessibility toolkit
ii  libc6                      2.5-7         GNU C Library: Shared libraries
ii  libcairo2                  1.4.6-1       The Cairo 2D vector graphics libra
ii  libfontconfig1             2.4.2-1.2     generic font configuration library
ii  libglib2.0-0               2.12.12-1     The GLib library of C routines
ii  libgnomecanvas2-0          2.14.0-2      A powerful object-oriented display
ii  libgtk2.0-0                2.10.12-2     The GTK+ graphical user interface 
ii  libjack0                   0.103.0-5     JACK Audio Connection Kit (librari
ii  libpango1.0-0              1.16.4-1      Layout and rendering of internatio
ii  libphat0                   0.4.1-1       collection of GTK widgets geared t
ii  libsamplerate0             0.1.2-4       audio rate conversion library
ii  libsndfile1                1.0.17-1      Library for reading/writing audio 
ii  libx11-6                   2:1.0.3-7     X11 client-side library
ii  libxcursor1                1:1.1.8-2     X cursor management library
ii  libxext6                   1:1.0.3-2     X11 miscellaneous extension librar
ii  libxfixes3                 1:4.0.3-2     X11 miscellaneous 'fixes' extensio
ii  libxi6                     1:1.0.1-4     X11 Input extension library
ii  libxinerama1               1:1.0.2-1     X11 Xinerama extension library
ii  libxml2                    2.6.28.dfsg-1 GNOME XML library
ii  libxrandr2                 2:1.2.1-1     X11 RandR extension library
ii  libxrender1                1:0.9.2-1     X Rendering Extension client libra

specimen recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to