Bug#307651: mocp crashes on back

2005-05-05 Thread Elimar Riesebieter
Hi all,

On Wed, 04 May 2005 the mental interface of
Damian Pietras told:

 On Wed, May 04, 2005 at 04:27:06PM +0300, Oleg Grenrus wrote:
  Package: moc
  Version: 2.2.1-1
  
  When in playlist is just one file, repeat is on and i press 'b' - back,
  mocp crashes, with error message:
 
 Thanks for the report. THe patch is included (for 2.2.1 and
 2.3.0-alpha1).

We're at a freeze state now. We can't bump the severity of this bug
to either important, serious, grave or critical.
Anyway, I provide fixed stable and alpha1 packages at

deb http://www.lxtec.de/debarchiv binary-powerpc/
deb http://www.lxtec.de/debarchiv binary-i386/
deb-src http://www.lxtec.de/debarchiv sources/

Elimar

-- 
  Talking much about oneself can also 
   be a means to conceal oneself.
 -Friedrich Nietzsche


pgpy2iP4wJlED.pgp
Description: PGP signature


Bug#307651: mocp crashes on back

2005-05-04 Thread Oleg Grenrus
Package: moc
Version: 2.2.1-1

When in playlist is just one file, repeat is on and i press 'b' - back,
mocp crashes, with error message:

cp: playlist.c:86: plist_deleted: Assertion `num =0  num  plist-num'
failed.
FATAL_ERROR: Can't receive value from the server

--
  Oleg Grenrus
 [EMAIL PROTECTED]
 http://phadej.kapsi.fi
 +358505217196
--



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



Bug#307651: mocp crashes on back

2005-05-04 Thread Damian Pietras
On Wed, May 04, 2005 at 04:27:06PM +0300, Oleg Grenrus wrote:
 Package: moc
 Version: 2.2.1-1
 
 When in playlist is just one file, repeat is on and i press 'b' - back,
 mocp crashes, with error message:

Thanks for the report. THe patch is included (for 2.2.1 and
2.3.0-alpha1).

-- 
Damian Pietras
Index: playlist.c
===
--- playlist.c  (revision 1231)
+++ playlist.c  (revision 1232)
@@ -780,7 +780,7 @@
 {
int i;
 
-   i = plist-num;
+   i = plist-num - 1;

while (i  0  plist_deleted(plist, i))
i--;


pgpY0jUOiAVqa.pgp
Description: PGP signature