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
..
2008-12-23 22:50:39 +00:00
2007-06-10 19:06:09 +00:00
2009-01-05 05:14:26 +00:00
2008-11-29 14:32:14 +00:00
2008-05-15 15:28:18 +00:00