1
0
Fork 0
bash/debian/patches/input-err.diff
Daniel Baumann fc8a52c443
Adding debian version 5.2.37-2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 06:49:22 +02:00

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);
}