tags 352278 + patch
thanks

Hi,

Two months ago my friend Kouhei Sutou <kou at cozmixng.org> reported
to me that aptitude sometimes crashed on purge, and two days ago he
presented me a patch to fix it as a birthday present :-).  I don't
know it is related to backtraces reported with this Bug#352278, but it
may help to fix this bug at least partly.

Could you check and apply it?

Thanks,

-nori
diff -rN -u old-aptitude/src/cmdline/cmdline_prompt.cc 
new-aptitude/src/cmdline/cmdline_prompt.cc
--- old-aptitude/src/cmdline/cmdline_prompt.cc  2006-11-25 12:33:45.000000000 
+0900
+++ new-aptitude/src/cmdline/cmdline_prompt.cc  2006-11-25 12:33:45.000000000 
+0900
@@ -144,7 +144,7 @@
              s+=cand.VerStr();
              s+="]";
            }
-         else
+         else if (cand)
            {
              s+=" [";
              s+=cand.VerStr();

Reply via email to