Initialize Tizen 2.3
[external/bash.git] / debian / patches / man-net-redirections.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 -p1 < $0;;
11     -unpatch) patch $pdir -f --no-backup-if-mismatch -R -p1 < $0;;
12     *)
13         echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
14         exit 1
15 esac
16 exit 0
17
18 # DP: Document, that bash is configured using --disable-net-redirections.
19
20 --- bash/doc/bash.1~    2005-09-09 22:08:10.833197680 +0200
21 +++ bash/doc/bash.1     2005-09-10 11:47:57.694365104 +0200
22 @@ -3033,6 +3033,9 @@
23  .PD
24  .RE
25  .PP
26 +\fBNOTE:\fP Bash, as packaged for Debian, does \fBnot\fP support using
27 +the \fB/dev/tcp\fP and \fB/dev/udp\fP files.
28 +.PP
29  A failure to open or create a file causes the redirection to fail.
30  .PP
31  Redirections using file descriptors greater than 9 should be used with