|
Lines 282-288
Link Here
|
| 282 |
return; |
282 |
return; |
| 283 |
} |
283 |
} |
| 284 |
|
284 |
|
| 285 |
if (Fflag && fileno(file->fp) != STDIN_FILENO) { |
285 |
if (Fflag && file->fp != stdin) { |
| 286 |
EV_SET(&ev[n], fileno(file->fp), EVFILT_VNODE, |
286 |
EV_SET(&ev[n], fileno(file->fp), EVFILT_VNODE, |
| 287 |
EV_ADD | EV_ENABLE | EV_CLEAR, |
287 |
EV_ADD | EV_ENABLE | EV_CLEAR, |
| 288 |
NOTE_DELETE | NOTE_RENAME, 0, 0); |
288 |
NOTE_DELETE | NOTE_RENAME, 0, 0); |
|
Lines 322-328
Link Here
|
| 322 |
if (no_files > 1 && !qflag) |
322 |
if (no_files > 1 && !qflag) |
| 323 |
printfn(file->file_name, 1); |
323 |
printfn(file->file_name, 1); |
| 324 |
forward(file->fp, file->file_name, style, off, &file->st); |
324 |
forward(file->fp, file->file_name, style, off, &file->st); |
| 325 |
if (Fflag && fileno(file->fp) != STDIN_FILENO) |
325 |
if (Fflag && file->fp != stdin) |
| 326 |
n++; |
326 |
n++; |
| 327 |
} |
327 |
} |
| 328 |
} |
328 |
} |
|
Lines 355-361
Link Here
|
| 355 |
ev_change++; |
355 |
ev_change++; |
| 356 |
continue; |
356 |
continue; |
| 357 |
} |
357 |
} |
| 358 |
if (fileno(file->fp) == STDIN_FILENO) |
358 |
if (file->fp == stdin) |
| 359 |
continue; |
359 |
continue; |
| 360 |
if (stat(file->file_name, &sb2) == -1) { |
360 |
if (stat(file->file_name, &sb2) == -1) { |
| 361 |
if (errno != ENOENT) |
361 |
if (errno != ENOENT) |