mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
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:
parent
560d6e001a
commit
806114d969
2 changed files with 6 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue