mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Standardize paths when setting up a mapping between a data item
and a specific filesystem location (to make sure that it is retrieved correctly by the TLS system). git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38334 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fae0957a46
commit
32a1484a7e
2 changed files with 6 additions and 0 deletions
|
@ -328,6 +328,7 @@ static NSMutableDictionary *fileMap = nil;
|
|||
|
||||
+ (void) setData: (NSData*)data forTLSFile: (NSString*)fileName
|
||||
{
|
||||
fileName = standardizedPath(fileName);
|
||||
if (nil != data && NO == [data isKindOfClass: [NSData class]])
|
||||
{
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue