kdebase runtime ioslave freeze exemption request

Helio Chissini de Castro helio at kde.org
Tue May 12 18:13:12 CEST 2009


Em Segunda-feira 11 de maio 2009, às 19:55:05, você escreveu:
> I haven't checked the documentaton, but for the code:
> > Index: kioslave/man/kio_man.cpp
> > ===================================================================
> > --- kioslave/man/kio_man.cpp    (revisão 966710)
> > +++ kioslave/man/kio_man.cpp    (cópia de trabalho)
> > @@ -70,6 +70,10 @@
> >          pos -= 4;
> >      else if ( name->indexOf(".bz", -3) != -1 )
> >          pos -= 3;
> > +    else if ( name->indexOf(".lzma", -5) != -1 )
> > +        pos -= 5;
> > +    else if ( name->indexOf(".xz", -3) != -1 )
> > +        pos -= 3;
> >  
> >      if ( pos > 0 )
> >          pos = name->lastIndexOf('.', pos-1);
> > @@ -1317,6 +1321,10 @@
> >             end -= 2;
> >         else if ( len >= 4 && strcmp( end-3, ".bz2" ) == 0 )
> >             end -= 4;
> > +    else if ( len >= 4 && strcmp( end-4, ".lzma" ) == 0 )
>
> You meant len >=5

Fixed in new patch


> > +        end -= 5;
> > +    else if ( len >= 3 && strcmp( end-2, ".xz" ) == 0 )
> > +        end -= 3;
> >  
> >         while ( end >= begin && *end != '.' )
> >             end--;
>
> And check for identation problems.

Fixed in new patch attached

-- 
Helio Chissini de Castro
KDE Developer
Brasil/South America Primary Contact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdebase-runtime-lzma-ioslave-trunk.patch
Type: text/x-patch
Size: 9411 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/release-team/attachments/20090512/3da0d250/attachment.patch 


More information about the release-team mailing list