mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-04 13:50:55 +00:00
Fixed and improved case of GNUSTEP_SYSTEM_ROOT (or similar ivars) being
unset; fixed memory leak git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9673 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
44dc95e7e9
commit
744ea59c77
1 changed files with 13 additions and 0 deletions
13
ChangeLog
13
ChangeLog
|
@ -1,3 +1,16 @@
|
||||||
|
2001-04-23 Nicola Pero <nicola@brainstorm.co.uk>
|
||||||
|
|
||||||
|
* Source/NSBundle.m ([+initialize]): Fixed segmentation fault when
|
||||||
|
NSSearchPathForDirectoriesInDomains returns an empty array. This
|
||||||
|
used to appear when GNUSTEP_SYSTEM_ROOT was unset.
|
||||||
|
* Source/NSUser.m (NSSearchPathForDirectoriesInDomains): Read
|
||||||
|
GNUSTEP_SYSTEM_ROOT, GNUSTEP_LOCAL_ROOT, GNUSTEP_NETWORK_ROOT and
|
||||||
|
GNUSTEP_USER_ROOT only once, then cache them. Do not crash if
|
||||||
|
some of them are nil. If GNUSTEP_SYSTEM_ROOT is nil, fprintf a
|
||||||
|
log message, and try using /usr/GNUstep/System. Use new ADD_PATH
|
||||||
|
macro to simplify code. Autorelease returned array which was
|
||||||
|
previously leaked.
|
||||||
|
|
||||||
2001-04-22 Georg Fleischmann
|
2001-04-22 Georg Fleischmann
|
||||||
|
|
||||||
* Source/GSAttributedString.m:
|
* Source/GSAttributedString.m:
|
||||||
|
|
Loading…
Reference in a new issue