mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
OSX compat tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30622 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d6a8521c5e
commit
81620f8d4e
2 changed files with 9 additions and 0 deletions
|
@ -1082,6 +1082,10 @@ static unsigned urlAlign;
|
|||
* Store the path.
|
||||
*/
|
||||
buf->path = start;
|
||||
if (0 == base && '\0' == *buf->path && NO == buf->pathIsAbsolute)
|
||||
{
|
||||
buf->hasNoPath = YES;
|
||||
}
|
||||
if (legal(buf->path, reserved) == NO)
|
||||
{
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue