Fix infinite loop introduced in r27212.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27233 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2008-12-06 21:48:37 +00:00
parent 560d6e001a
commit 806114d969
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-12-06 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSBundle.m (+bundleForLibrary:version:): Fix infinite
loop in code dropping the extension from the library name.
2008-12-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m:

View file

@ -2350,7 +2350,7 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
}
#endif
while ([[libraryName pathExtension] length] > 0);
while ([[libraryName pathExtension] length] > 0)
{
libraryName = [libraryName stringByDeletingPathExtension];
}