15 lines
375 B
Diff
15 lines
375 B
Diff
# DP: Define PGRP_PIPE to avoid race condition.
|
|
|
|
Index: b/input.c
|
|
===================================================================
|
|
--- a/input.c
|
|
+++ b/input.c
|
|
@@ -517,7 +517,7 @@ b_fill_buffer (bp)
|
|
if (nr == 0)
|
|
bp->b_flag |= B_EOF;
|
|
else
|
|
- bp->b_flag |= B_ERROR;
|
|
+ fatal_error("error reading input file: %s", strerror(errno));
|
|
return (EOF);
|
|
}
|
|
|