Re: Two quick bug reports

2010-07-22 Thread Cyril Brulebois
Raphael Hertzog (22/07/2010): > > Unless I'm missing something, the “increment” part is processed > > before the condition is checked, meaning one can happily > > dereference sl without checking for its being non-0. > > Except that if "sl" is NULL from the start, the loop is not executed. (There

Re: Two quick bug reports

2010-07-22 Thread Jonathan Nieder
Raphael Hertzog wrote: > Can you verify if the attached patch is enough? I was about to send just the same thing. It works. :) Thanks, Jonathan -- To UNSUBSCRIBE, email to debian-dpkg-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archi

Re: Two quick bug reports

2010-07-22 Thread Raphael Hertzog
Hi, On Wed, 21 Jul 2010, Jonathan Nieder wrote: > Maybe the problem has to do with slave links. With disappearing slave link in fact. On Thu, 22 Jul 2010, Cyril Brulebois wrote: > Cyril Brulebois (22/07/2010): > > | 1217 for (sl = a->slaves; sl; sl_prev = sl, sl = sl->next) { > >

Re: Two quick bug reports

2010-07-22 Thread Cyril Brulebois
Cyril Brulebois (22/07/2010): > | 1217for (sl = a->slaves; sl; sl_prev = sl, sl = sl->next) { Unless I'm missing something, the “increment” part is processed before the condition is checked, meaning one can happily dereference sl without checking for its being non-0. For the reco

Re: Two quick bug reports

2010-07-22 Thread Cyril Brulebois
Jonathan Nieder (21/07/2010): > Trying to remove iceweasel causes update-alternatives to segfault > for me. iceweasel prerm does > > update-alternatives --remove x-www-browser /usr/bin/iceweasel > update-alternatives --remove gnome-www-browser /usr/bin/iceweasel Reproduced with dpkg -P icew

Re: Two quick bug reports

2010-07-22 Thread Raphael Hertzog
Hi Jonathan, On Wed, 21 Jul 2010, Jonathan Nieder wrote: > Trying to remove iceweasel causes update-alternatives to segfault > for me. iceweasel prerm does > > update-alternatives --remove x-www-browser /usr/bin/iceweasel > update-alternatives --remove gnome-www-browser /usr/bin/iceweasel C

Re: Two quick bug reports

2010-07-21 Thread Guillem Jover
On Wed, 2010-07-21 at 16:31:41 +0200, Guillem Jover wrote: > On Wed, 2010-07-21 at 09:01:47 -0500, Jonathan Nieder wrote: > > Trying to remove iceweasel causes update-alternatives to segfault > > for me. iceweasel prerm does > > > > update-alternatives --remove x-www-browser /usr/bin/iceweasel

Re: Two quick bug reports

2010-07-21 Thread Guillem Jover
Hi! On Wed, 2010-07-21 at 09:01:47 -0500, Jonathan Nieder wrote: > Trying to remove iceweasel causes update-alternatives to segfault > for me. iceweasel prerm does > > update-alternatives --remove x-www-browser /usr/bin/iceweasel > update-alternatives --remove gnome-www-browser /usr/bin/icew

Two quick bug reports

2010-07-21 Thread Jonathan Nieder
Hi, Trying to remove iceweasel causes update-alternatives to segfault for me. iceweasel prerm does update-alternatives --remove x-www-browser /usr/bin/iceweasel update-alternatives --remove gnome-www-browser /usr/bin/iceweasel Maybe the problem has to do with slave links. $ cat /var/lib/