[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: my first patch ;)
From: weis () stud ! uni-frankfurt ! de
Date: 1997-09-03 1:46:59
[Download RAW message or body]
Hi,
On Tue, 2 Sep 1997, Stephan Kulow wrote:
> Hi!
>
> My kfm segfaulted very often and after looking, I found, Torben
> with his damn printf, has caused this:
Rough words :-) I hope you applied the patch to CVS.
Bye
Torben
> OK, here my diff:
>
> diff -w -u -r1.17 kbind.cpp
> --- kbind.cpp 1997/09/01 06:38:23 1.17
> +++ kbind.cpp 1997/09/02 15:50:27
> @@ -1715,13 +1715,12 @@
> {
> KMimeMagicResult* result = KMimeType::findFileType( u.path() );
>
> - printf("Content=%s Accuracy=%d\n", (const char *)result->getContent(), \
> result->getAccuracy());
> -
> // Is it a directory or dont we know anything about it, or ist it a *.kdelnk file ?
> if ( result->getContent() == 0L || strcmp( "application/x-directory", \
> result->getContent() ) == 0 || strcmp( "application/x-kdelnk", result->getContent() \
> ) == 0 ) return KMimeType::findType( _filename );
>
> + debugT("Content=%s Accuracy=%d\n", (const char *)result->getContent(), \
> result->getAccuracy()); // Can we trust the result ?
> if ( result->getAccuracy() >= 50 )
>
> Greets, Stephan
>
> --
> Stephan Kulow (coolo@kde.org)
> Student of medical CS
> Medical University of Luebeck
>
>
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic