ed f732706463 Properly invalidate highest pts number when calling setttyent().
When calling setttyent() after calling endttyent(), pts_valid will never
be set to 1, because the readdir()-loop will likely never vind a pts
that has a higher number than before.

Simplify the code by removing pts_valid. We'll just set maxpts to -1
when we don't have a valid count yet.
2009-02-12 19:32:52 +00:00
..
2009-01-30 15:28:35 +00:00
2007-06-03 17:20:27 +00:00
2009-02-08 16:58:05 +00:00
2009-02-02 21:51:52 +00:00
2008-03-26 07:32:08 +00:00