Bug#414285: bash builtin printf ignores write errors

2007-03-14 Thread Richard Kettlewell
Steinar H. Gunderson writes: > tags 414285 + patch > severeity 414285 important > thanks > > On Sat, Mar 10, 2007 at 04:45:52PM +, Richard Kettlewell wrote: > > sfere$ bash -c 'printf spong' > /dev/full > > This is just the issue of a missing fflush() (right before the last ferror() > check

Bug#414285: bash builtin printf ignores write errors

2007-03-13 Thread Steinar H. Gunderson
tags 414285 + patch severeity 414285 important thanks On Sat, Mar 10, 2007 at 04:45:52PM +, Richard Kettlewell wrote: > sfere$ bash -c 'printf spong' > /dev/full This is just the issue of a missing fflush() (right before the last ferror() check) in builtins/echo/printf.def, or so it seems.

Bug#414285: bash builtin printf ignores write errors

2007-03-10 Thread Richard Kettlewell
Steve Langasek writes: > On Sat, Mar 10, 2007 at 04:45:52PM +, Richard Kettlewell wrote: > > sfere$ type bash > > bash is hashed (/bin/bash) > > sfere$ bash -c 'type printf' > > printf is a shell builtin > > sfere$ bash -c 'printf spong' > /dev/full > > sfere$ echo $? > > 0 > >

Bug#414285: bash builtin printf ignores write errors

2007-03-10 Thread Steve Langasek
On Sat, Mar 10, 2007 at 04:45:52PM +, Richard Kettlewell wrote: > Package: bash > Version: 2.05b-26 > Severity: grave > sfere$ type bash > bash is hashed (/bin/bash) > sfere$ bash -c 'type printf' > printf is a shell builtin > sfere$ bash -c 'printf spong' > /dev/full > sfere$ echo

Bug#414285: bash builtin printf ignores write errors

2007-03-10 Thread Richard Kettlewell
Package: bash Version: 2.05b-26 Severity: grave sfere$ type bash bash is hashed (/bin/bash) sfere$ bash -c 'type printf' printf is a shell builtin sfere$ bash -c 'printf spong' > /dev/full sfere$ echo $? 0 Compare: sfere$ /usr/bin/printf spong > /dev/full /usr/bin/printf: write