[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: [PATCH] Fix core dumps in make_services
From:
Adam Fedor
Subject:
Re: [PATCH] Fix core dumps in make_services
Date:
2004年6月12日 21:06:38 -0600
On Jun 12, 2004, at 2:17 PM, Dirk Meyer wrote:
I tracked down that make_services cause a core dump.
1. gnustep_base doess access an argumnet by "strlen(nil)"
2. make_services calls "createDirectoryAtPath" with usrRoot == nil.
(first call in line 205)
To repeat do aus user "root"
$ rm -rf /root/GNUStep
$ sh -c "( . /usr/local/GNUstep/System/Makefiles/GNUstep.sh )"
I added a patch, to catch this exeption in gnustep_base.
patch updated to apply to 1.9.2
Do you still have these problems with gnustep-base-1.9.2? That's very
odd, since the patch you sent is essentially in NSFileManager already.
It does something like
if ([path length] == 0)
but if path is nil, then the result should be 0, so it should still
work even if it isn't pretty.
[Prev in Thread]
Current Thread
[Next in Thread]
- Re: [PATCH] Fix core dumps in make_services,
Adam Fedor <=