103
104
105
106
107
108
109
110
111
112
113
114
115
|
item = _URL;
else if (_path != nil)
item = _path;
if (_mode != nil)
return [OFString stringWithFormat:
@"Failed to open item %@ with mode %@: %@",
item, _mode, of_strerror(_errNo)];
else
return [OFString stringWithFormat:
@"Failed to open item %@: %@", item, of_strerror(_errNo)];
}
@end
|
|
|
|
103
104
105
106
107
108
109
110
111
112
113
114
115
|
item = _URL;
else if (_path != nil)
item = _path;
if (_mode != nil)
return [OFString stringWithFormat:
@"Failed to open item %@ with mode %@: %@",
item, _mode, OFStrError(_errNo)];
else
return [OFString stringWithFormat:
@"Failed to open item %@: %@", item, OFStrError(_errNo)];
}
@end
|