migration from private to rsa
[external/bash.git] / debian / patches / pgrp-pipe.dpatch
1 #! /bin/sh -e
2
3 if [ $# -eq 3 -a "$2" = '-d' ]; then
4     pdir="-d $3"
5 elif [ $# -ne 1 ]; then
6     echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
7     exit 1
8 fi
9 case "$1" in
10     -patch) patch $pdir -f --no-backup-if-mismatch -p0 < $0;;
11     -unpatch) patch $pdir -f --no-backup-if-mismatch -R -p0 < $0;;
12     *)
13         echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
14         exit 1
15 esac
16 exit 0
17
18 # DP: Define PGRP_PIPE to avoid race condition.
19
20 --- config-bot.h        2004-03-19 17:56:23.000000000 -0500
21 +++ config-bot.h        2005-09-16 14:32:33.000000000 -0400
22 @@ -179,3 +179,6 @@
23  
24  /* If you don't want bash to provide a default mail file to check. */
25  #undef DEFAULT_MAIL_DIRECTORY
26 +
27 +/* Bug #224543 */
28 +#define PGRP_PIPE 1
29