[1991] in RedHat Linux List
Re: [BUGREPORT] Broken /dev/{stdin,stdout} in 3.0.3 and 4.0
daemon@ATHENA.MIT.EDU (Mike Sangrey)
Thu Oct 31 07:42:11 1996
To: redhat-list@redhat.com
In-reply-to: Your message of "Thu, 31 Oct 1996 10:25:34 +0100."
<c=NL%a=MARK400%p=KPMG%l=KPMG/CENEXM01/001E811E@mailex.kpmg.nl>
Date: Thu, 31 Oct 1996 07:35:29 -0500
From: Mike Sangrey <mike@sojurn.lns.pa.us>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Castelijn, Maurice wrote:
> >There is a bug in the dev-1.6-1.src.rpm and in the dev-2.3-1.src.rpm in
> >3.0.3 and in 4.0:
> >
> >lrwxrwxrwx 1 root root 17 Oct 8 16:04 /dev/stdin ->
> >../proc/self/fd/1
> >lrwxrwxrwx 1 root root 17 Oct 8 16:04 /dev/stdout ->
> >../proc/self/fd/0
> >
> >That's obviously wrong. stdin should point to fd 0 and stdout to fd 1.
> >It seems to be broken on i386 and on alphas.
>
> Ah, now that's some useful information. I see it on my Alpha too. But,
> could you give me an example when you'd see it fail?
echo BAD | awk '$1 == "BAD" {print "Error on input" > "/dev/stderr"}' 2> errors
I haven't tested this, but I think the error message will display on your term. Not what was intended.
--
Mike Sangrey <mike@sojurn.lns.pa.us> (Home)
<Mike.Sangrey@specmarkmet.com>(Work)
"I've trademarked `William Della Croce, Jr.(tm)'.
Anyone using this name owes me $1,000,000."
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null