dash.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* inconsistency with handling of symlinked ttys in background
@ 2010-11-09 10:18 Pádraig Brady
  2011-03-15  9:53 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Pádraig Brady @ 2010-11-09 10:18 UTC (permalink / raw)
  To: dash

I noticed a bug with dash-0.5.6-2.fc11.i586
in that it doesn't redirect from symlinked ttys
correctly for background processes.

$ dash -c "tty < /dev/stdin&"
$ dash -c "tty < /dev/stdin"
/dev/pts/3
$ bash -c "tty < /dev/stdin&"
/dev/pts/3
$ dash -c "tty < $(readlink -f /dev/stdin)&"
/dev/pts/3

cheers,
Pádraig.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-15  9:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-09 10:18 inconsistency with handling of symlinked ttys in background Pádraig Brady
2011-03-15  9:53 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).