mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 12:16:40 +00:00
Some MacOS-X compatibility additions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10483 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d9cc3cb96e
commit
57527984ce
5 changed files with 37 additions and 6 deletions
|
@ -850,6 +850,17 @@ static NSString *indentStrings[] = {
|
|||
return [desc writeToFile: path atomically: useAuxiliaryFile];
|
||||
}
|
||||
|
||||
- (BOOL) writeToURL: (NSURL *)url atomically: (BOOL)useAuxiliaryFile
|
||||
{
|
||||
NSDictionary *loc;
|
||||
NSString *desc;
|
||||
|
||||
loc = [[NSUserDefaults standardUserDefaults] dictionaryRepresentation];
|
||||
desc = [self descriptionWithLocale: loc indent: 0];
|
||||
|
||||
return [desc writeToURL: url atomically: useAuxiliaryFile];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue