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: Prefer setenv over putenv
20 --- lib/readline/shell.c~ 2004-10-17 13:07:37.000000000 +0200
21 +++ lib/readline/shell.c 2004-10-17 13:06:48.000000000 +0200
26 -#if defined (HAVE_PUTENV)
28 b = (char *)xmalloc (INT_STRLEN_BOUND (int) + sizeof ("LINES=") + 1);
29 sprintf (b, "LINES=%d", lines);