Fix infinite loop

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20769 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2005-02-21 14:11:22 +00:00
parent 4d3b95dc24
commit f82f6d1ab9
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2005-02-21 14:10 Stefan Urbanek <stefan@agentfarms.net>
* Source/NSAttributedString.m: Fix loop decoding from archive.
2005-02-18 06:20 Richard Frith-Macdonald <rfm@gnu.org> 2005-02-18 06:20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Tidy up some of last patch for unicode filesystem * Source/NSString.m: Tidy up some of last patch for unicode filesystem
@ -17,7 +21,7 @@
as the variable may not be set. Sort variables because windows needs as the variable may not be set. Sort variables because windows needs
them in alphabetical order. Fix conversion to unicode. them in alphabetical order. Fix conversion to unicode.
2005-02-16 14:40 Richard Frith-Macdonald <rfm@gnu.org> 2005-02-16 14:40 Richard Frith-Macdonald <rfm@gnu.org>
* config/patchxml.m4: Try to detect libxml2 in standard directories * config/patchxml.m4: Try to detect libxml2 in standard directories
exen if xml2-config is not present. exen if xml2-config is not present.

View file

@ -653,7 +653,7 @@ static Class GSMutableAttributedStringClass;
self = [self initWithString: string attributes: nil]; self = [self initWithString: string attributes: nil];
[self setAttributes: attrs range: r]; [self setAttributes: attrs range: r];
while (index < length); while (index < length)
{ {
[aDecoder decodeValueOfObjCType: @encode(unsigned int) [aDecoder decodeValueOfObjCType: @encode(unsigned int)
at: &index]; at: &index];