272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
|
if ((handle = FindFirstFile([path cString], &fd)) ==
INVALID_HANDLE_VALUE)
@throw [OFOpenFileFailedException newWithClass: self
path: path
mode: @"r"];
@try {
OFAutoreleasePool pool2 = [[OFAutoreleasePool alloc] init];
do {
OFString *file;
if (!strcmp(fd.cFileName, ".") ||
!strcmp(fd.cFileName, ".."))
continue;
|
|
|
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
|
if ((handle = FindFirstFile([path cString], &fd)) ==
INVALID_HANDLE_VALUE)
@throw [OFOpenFileFailedException newWithClass: self
path: path
mode: @"r"];
@try {
OFAutoreleasePool *pool2 = [[OFAutoreleasePool alloc] init];
do {
OFString *file;
if (!strcmp(fd.cFileName, ".") ||
!strcmp(fd.cFileName, ".."))
continue;
|