pre9/final-Bug, introduced in pre8

Kurt Huwig (
Sun, 24 Jan 1999 21:36:07 +0100


I narrowed down my problem and it was introduced in pre8:

Compile this code

---- cut here ----
#include <fcntlbits.h>
void main( int argc, char *argv[] ) {
open( argv[ 1 ], O_WRONLY|O_CREAT|O_TRUNC, 0666 );
---- and here ----

and run it like this

strace ./a.out >(cat - )

with 2.0.36 & 2.2.0-pre[67] you get:

open("/dev/fd/63", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3

with 2.2.0-pre[89] you get:

open("/dev/fd/63", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 ENOENT (No
such file or directory)

Something like this is used by 'apsfilter' together with 'gs', so it
looks like a showstopper; at least I cannot print with these kernels :-(

System is SuSE 6.0 glibc; GNU bash, version 2.02.1(1)-release

I tried to track it down, but the pre8-patch is quite huge. The only
thing I found out is that it seems not to be the change in


as I tried the ones from pre7 in a pre8 kernel, but anyway I don't know
much about this.

Win-Installation: How often do YOU want to boot today?