Commit fb244a8
committed
-z threads fix for unlikely file read errors
when a file read error occurs (unlikely, but may happen), option -z decompression threads will shut down (can't read input to decompress) and ugrep search ends, but must also make sure to close an open pipe from decompression threads that msy stay open under error conditions, and a minor change to move filter() invocation up above fcntl() non-blocking input1 parent 48a2359 commit fb244a8
1 file changed
Lines changed: 24 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3446 | 3446 | | |
3447 | 3447 | | |
3448 | 3448 | | |
| 3449 | + | |
| 3450 | + | |
| 3451 | + | |
| 3452 | + | |
3449 | 3453 | | |
3450 | 3454 | | |
3451 | 3455 | | |
3452 | 3456 | | |
3453 | 3457 | | |
3454 | 3458 | | |
3455 | 3459 | | |
3456 | | - | |
3457 | | - | |
3458 | | - | |
| 3460 | + | |
| 3461 | + | |
| 3462 | + | |
3459 | 3463 | | |
3460 | 3464 | | |
3461 | 3465 | | |
3462 | 3466 | | |
3463 | | - | |
3464 | | - | |
3465 | | - | |
3466 | | - | |
3467 | 3467 | | |
3468 | 3468 | | |
3469 | 3469 | | |
3470 | 3470 | | |
3471 | 3471 | | |
3472 | 3472 | | |
3473 | 3473 | | |
| 3474 | + | |
3474 | 3475 | | |
3475 | 3476 | | |
3476 | 3477 | | |
| |||
3482 | 3483 | | |
3483 | 3484 | | |
3484 | 3485 | | |
| 3486 | + | |
3485 | 3487 | | |
3486 | 3488 | | |
3487 | 3489 | | |
| |||
3827 | 3829 | | |
3828 | 3830 | | |
3829 | 3831 | | |
| 3832 | + | |
3830 | 3833 | | |
| 3834 | + | |
| 3835 | + | |
| 3836 | + | |
| 3837 | + | |
| 3838 | + | |
| 3839 | + | |
| 3840 | + | |
| 3841 | + | |
| 3842 | + | |
3831 | 3843 | | |
| 3844 | + | |
| 3845 | + | |
3832 | 3846 | | |
| 3847 | + | |
3833 | 3848 | | |
3834 | 3849 | | |
3835 | 3850 | | |
3836 | 3851 | | |
3837 | 3852 | | |
| 3853 | + | |
3838 | 3854 | | |
3839 | 3855 | | |
3840 | 3856 | | |
| |||
3954 | 3970 | | |
3955 | 3971 | | |
3956 | 3972 | | |
3957 | | - | |
| 3973 | + | |
3958 | 3974 | | |
3959 | 3975 | | |
3960 | 3976 | | |
| |||
0 commit comments