chiark / gitweb /
Disable all exported shell functions
[bash.git] / debian / patches / input-err.diff
1 # DP: Define PGRP_PIPE to avoid race condition.
2
3 --- a/bash/input.c
4 +++ b/bash/input.c
5 @@ -498,7 +498,7 @@
6        if (nr == 0)
7         bp->b_flag |= B_EOF;
8        else
9 -       bp->b_flag |= B_ERROR;
10 +       fatal_error("error reading input file: %s", strerror(errno));
11        return (EOF);
12      }
13