[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: aptitude on alpha?



Daniel Burrows <dburrows@debian.org> writes:

> I have received an extremely cryptic bugreport (#106588), stating
> that aptitude 0.2.5.1 "segfaults on start".  (that's pretty much the
> extent of the report) The only clue I have to go on, since the
> reporter is nonresponsive, is that he is using an alpha system.  It
> is quite possible I made a signedness error somewhere -- for one
> thing, it has happened before -- and I was wondering if anyone on
> this list could help.

Hmm, a string::size_type problem. *scratches head* Didn't we have this
before? Seems it would be better if you were lazy and used signed int
eveywhere :)

        Falk

--- column_definition.cc        Sun Jun 24 16:36:59 2001
+++ /tmp/column_definition.cc   Fri Jul 27 19:41:04 2001
@@ -32,8 +32,8 @@
 {
   column_definition_list *rval=new column_definition_list;
 
-  unsigned int start=0;
-  unsigned int firstbreak;
+  string::size_type start=0;
+  string::size_type firstbreak;
   do
     {
       firstbreak=config.find_first_of("%#", start);




Reply to: