* 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:
ayers 2004-01-18 13:06:12 +00:00
parent ff0705c527
commit ee5aacb921
9 changed files with 349 additions and 34 deletions

View file

@ -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();
};