mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-11 00:30:49 +00:00
Make error code match osx ... still need to populate userInfo dictionaries.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30284 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
886aa2d93c
commit
df6100b46d
1 changed files with 4 additions and 4 deletions
|
@ -4723,8 +4723,8 @@ static NSFileManager *fm = nil;
|
|||
if (error != 0)
|
||||
{
|
||||
*error = [NSError errorWithDomain: NSCocoaErrorDomain
|
||||
code: NSFileReadCorruptFileError
|
||||
userInfo: nil];
|
||||
code: NSFileWriteInapplicableStringEncodingError
|
||||
userInfo: nil];
|
||||
}
|
||||
return NO;
|
||||
}
|
||||
|
@ -4758,8 +4758,8 @@ static NSFileManager *fm = nil;
|
|||
if (error != 0)
|
||||
{
|
||||
*error = [NSError errorWithDomain: NSCocoaErrorDomain
|
||||
code: NSFileReadCorruptFileError
|
||||
userInfo: nil];
|
||||
code: NSFileWriteInapplicableStringEncodingError
|
||||
userInfo: nil];
|
||||
}
|
||||
return NO;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue