[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 113822] kbabel crashes at startup if I select many marked files
From:       Stephan Johach <lucardus () onlinehome ! de>
Date:       2006-11-06 16:34:08
Message-ID: 20061106163408.29504.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=113822         
lucardus onlinehome de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From lucardus onlinehome de  2006-11-06 17:34 -------
SVN commit 602716 by johach:

Fixed loading of project files with very long lines.
They are detected als "application/octet-stream".
BUG:113822


 M  +5 -0      kbproject.cpp  


--- branches/KDE/3.5/kdesdk/kbabel/common/kbproject.cpp #602715:602716
 @ -76,6 +76,11  @
             // Empty files are allowed too
             kdWarning() << "Empty KBabel project file!" << endl;
         }
+	else if ( mime->name() == "application/octet-stream" )
+        {
+	    // this can happen if the file has some very long lines
+	    kdWarning() << "KBabel project file detected as octet-stream! Perhaps there are \
very long lines in it!" << endl; +        }
         else
 	{
             // Unknown mime type, abort!


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic