1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-07 20:14:25 +00:00
Ed Schouten a73306e14e 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
2009-01-05 05:14:26 +00:00
2008-11-29 14:32:14 +00:00