3 if [ $# -eq 3 -a "$2" = '-d' ]; then
5 elif [ $# -ne 1 ]; then
6 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
10 -patch) patch $pdir -f --no-backup-if-mismatch -p0 < $0;;
11 -unpatch) patch $pdir -f --no-backup-if-mismatch -R -p0 < $0;;
13 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
18 # DP: Define PGRP_PIPE to avoid race condition.
20 --- input.c~ 2005-07-14 13:29:08.000000000 +0100
21 +++ input.c 2006-04-05 14:51:50.000000000 +0100
26 - bp->b_flag |= B_ERROR;
27 + fatal_error("error reading input file: %s", strerror(errno));