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

List:       kde-bugs-dist
Subject:    [Bug 108279] Crashed in importing a .pot file created with xml2pot.
From:       Stanislav Visnovsky <visnovsky () nenya ! ms ! mff ! cuni ! cz>
Date:       2005-07-05 10:13:59
Message-ID: 20050705101359.29085.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=108279         
visnovsky nenya ms mff cuni cz changed:

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



------- Additional Comments From visnovsky nenya ms mff cuni cz  2005-07-05 12:13 -------
SVN commit 431813 by nanulo:

Report error on empty files

CCMAIL: 108279-done bugs kde org


 M  +6 -0      gettextimport.cpp  


--- branches/KDE/3.4/kdesdk/kbabel/filters/gettext/gettextimport.cpp #431812:431813
 @ -194,6 +194,12  @
       emit signalClearProgressBar();
 
       kdDebug(KBABEL) << "ready." << endl;
+      
+      if(counter==0)
+      {
+        // no items read
+	return PARSE_ERROR;
+      }
 
       if(success!=PARSE_ERROR)
       {
[prev in list] [next in list] [prev in thread] [next in thread] 

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