mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-05-31 09:11:11 +00:00
* GSWeb.framework/GSWWOCompatibility.h: Fix typo.
* GSWeb.framework/GSWURLValuedElementData.m ([GSWURLValuedElementData initWithData:mimeType:key:]): Call stringUniqueIdWithLength: with minimal allowed length. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18434 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ff0705c527
commit
ee5aacb921
9 changed files with 349 additions and 34 deletions
|
@ -1146,22 +1146,27 @@ bundle if none is found
|
|||
-(void)setURLValuedElementData:(GSWURLValuedElementData*)aData
|
||||
{
|
||||
LOGObjectFnStart();
|
||||
[self lock];
|
||||
NSDebugMLLog(@"resmanager",@"aData=%@",aData);
|
||||
NS_DURING
|
||||
if ([aData data])
|
||||
{
|
||||
[self lockedCacheData:aData];
|
||||
}
|
||||
NS_HANDLER
|
||||
{
|
||||
NSDebugMLLog(@"resmanager",@"EXCEPTION:%@ (%@) [%s %d]",
|
||||
localException,[localException reason],__FILE__,__LINE__);
|
||||
//TODO
|
||||
[self lock];
|
||||
|
||||
NS_DURING
|
||||
{
|
||||
[self lockedCacheData:aData];
|
||||
}
|
||||
NS_HANDLER
|
||||
{
|
||||
NSDebugMLLog(@"resmanager",@"EXCEPTION:%@ (%@) [%s %d]",
|
||||
localException,[localException reason],
|
||||
__FILE__,__LINE__);
|
||||
//TODO
|
||||
[self unlock];
|
||||
[localException raise];
|
||||
}
|
||||
NS_ENDHANDLER
|
||||
[self unlock];
|
||||
[localException raise];
|
||||
}
|
||||
NS_ENDHANDLER;
|
||||
[self unlock];
|
||||
LOGObjectFnStop();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue