[OpenAFS] weird behaviour of pts source

Andrew Deason zeroguy@verizon.net
Mon, 13 Aug 2007 19:33:49 -0400


On Mon, 13 Aug 2007 08:56:51 -0700
"Robert Kim Wireless Internet Advisor" <evdo.hsdpa@gmail.com> wrote:

> Andrew, How exactly does moving the line 4 lines up help?

It moves the assignment of `source' to its default value to before
cmd_Dispatch is run. When running `pts source`, cmd_Dispatch sets the
`source' variable to the fd to read commands from, so the previous
behavior was unconditionally setting `source' to the default value of
stdin.

-- 
Andrew Deason
zeroguy@verizon.net