echo: write error: Broken pipe even when DONT_REPORT_SIGPIPE set

2006-01-09 Thread Tim Waugh
Comparing bash-3.0 (with config-top.h modified so that DONT_REPORT_SIGPIPE is defined) with bash-3.1 (where this is the default anyway) shows up a change in behaviour. bash-3.0: $ bash -c 'trap exit SIGPIPE; echo foo' | : $ bash-3.1: $ bash -c 'trap exit SIGPIPE; echo foo' | : bash: line 0:

Bash-3.1 patch 3

2006-01-09 Thread Chet Ramey
BASH PATCH REPORT = Bash-Release: 3.1 Patch-ID: bash31-003 Bug-Reported-by: Adam Buraczewski [EMAIL PROTECTED] Bug-Reference-ID: [EMAIL PROTECTED] Bug-Reference-URL:

Bash-3.1 patch 5

2006-01-09 Thread Chet Ramey
BASH PATCH REPORT = Bash-Release: 3.1 Patch-ID: bash31-005 Bug-Reported-by: Bug-Reference-ID: Bug-Reference-URL: Bug-Description: When tilde expansion fails, POSIX leaves it unspecified whether or not the word undergoes

man page doesn't say typeset obsolete

2006-01-09 Thread Dan Jacobson
But the man page doesn't say obsolete: $ help typeset typeset: typeset [-afFirtx] [-p] name[=value] ... Obsolete. See `declare'. ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash

Bash-3.1 patch 2

2006-01-09 Thread Chet Ramey
BASH PATCH REPORT = Bash-Release: 3.1 Patch-ID: bash31-002 Bug-Reported-by: [EMAIL PROTECTED] Bug-Reference-ID: [EMAIL PROTECTED] Bug-Reference-URL:http://lists.gnu.org/archive/html/bug-bash/2005-12/msg00021.html

Re: yank-last-arg after a #

2006-01-09 Thread Chet Ramey
$ xx yy zz # qq ESC. still gets the qq. I get `zz'. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ( ``Discere est Dolere'' -- chet ) Live Strong. Chet Ramey, ITS, CWRU[EMAIL PROTECTED]

tmp file creation in bash provided scripts

2006-01-09 Thread Jeremy C. Reed
I noticed bashbug attempts creating temp file first with mktemp, and then falls back to tempfile, and then to just using its own $TMPDIR/bbug.$$. A malicious user could attempt prepulating bogus files to make it so that mktemp and tempfile fail, and create many symlinks covering your PID range