Ignore empty chunks when reading from changes file
authorStefan Vogel <sv@exept.de>
Mon, 05 Feb 2007 16:22:14 +0100
changeset 7619 95943c1bc289
parent 7618 92c7128604a4
child 7620 6812a1ebc510
Ignore empty chunks when reading from changes file (the last chunk - newline after last ! is empty).
ChangesBrowser.st
--- a/ChangesBrowser.st	Mon Feb 05 14:06:06 2007 +0100
+++ b/ChangesBrowser.st	Mon Feb 05 16:22:14 2007 +0100
@@ -5909,7 +5909,7 @@
 
         sawExcla := inStream peekFor:excla.
         chunkText := fullChunkText := inStream nextChunk.
-        chunkText notNil ifTrue:[
+        chunkText notEmptyOrNil ifTrue:[
             self processChunk.
         ]
     ].
@@ -5921,5 +5921,5 @@
 !ChangesBrowser class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/ChangesBrowser.st,v 1.363 2007-02-05 13:06:06 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/ChangesBrowser.st,v 1.364 2007-02-05 15:22:14 stefan Exp $'
 ! !