Re: Bug or feature? No EOF on /proc/xxx/fd/x

Austin Donnelly (and1000@cam.ac.uk)
Tue, 13 Feb 96 20:08 GMT


On Tue, 13 Feb 1996, Dale Scheetz wrote:

> On Tue, 13 Feb 1996, Austin Donnelly wrote:
>
> <stuff deleted>
> >
> > As you say, an even easier was to see the bug in action is:
> >
> > $ cat <(date)
> >
> > which should print the current date, but doesn't in newer
> > kernels.
>
> I'm running a 1.3.57 kernel and this command does print the date.
> However, the prompt fails to return untill a ^C, so it isn't quite right
> either.

Ah - sorry, I should have phrased my mail a bit better

I meant to say that the affected kernels don't give EOF on the
/proc/self/fd file, so you need to ^C it.

But as Andrew Danforth <andrew@synapse.resnet.jmu.edu> writes:

> seems to work for me...:
>
> andrew@tentacle:~$ uname -a
> Linux tentacle 1.3.62 #6 Sun Feb 11 12:02:43 EST 1996 i586
> andrew@tentacle:~$ cat <(date)
> Tue Feb 13 13:09:02 EST 1996
> andrew@tentacle:~$

So this problem may have been solved as of 1.3.62

Austin