mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +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
|
@ -1,3 +1,8 @@
|
|||
2015-02-05 Niels Grewe <niels.grewe@halbordnung.de>
|
||||
|
||||
* Source/GSTLS.m: Use path standardization when setting up TLS data
|
||||
to be mapped to a specific filesystem location.
|
||||
|
||||
2015-01-13 Marcus Mueller <znek@mulle-kybernetik.com>
|
||||
|
||||
* Headers/Foundation/Foundation.h: added NSUUID.h
|
||||
|
|
|
@ -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…
Reference in a new issue