Skip to content

Commit

Permalink
Fixed regression in file creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomHarte committed Sep 30, 2015
1 parent 4e22410 commit ec30459
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CPM for OS X/BDOS/BDOS.m
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,7 @@ - (void)setStatusWithError:(NSError *)error
- (BOOL)createFileWithParameter:(uint16_t)parameter
{
return [self establishHandleWithParameter:parameter creator:^NSFileHandle *(NSString *path) {
[[NSFileManager defaultManager] createFileAtPath:path contents:nil attributes:nil];
return [NSFileHandle fileHandleForWritingAtPath:path];
}];
}
Expand Down

0 comments on commit ec30459

Please sign in to comment.