summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-02-12 19:21:48 +0000
committered <ed@FreeBSD.org>2009-02-12 19:21:48 +0000
commit262e123f42bd9a67863895a67632ef5eff7d883c (patch)
tree54589eb2d4ec17d1a3266d12e8a6fb79a299cc4d /release
parentdf6314fc7947b16e5c38f201c2264d2a92778156 (diff)
downloadFreeBSD-src-262e123f42bd9a67863895a67632ef5eff7d883c.zip
FreeBSD-src-262e123f42bd9a67863895a67632ef5eff7d883c.tar.gz
Remove pts(4) entries from /etc/ttys.
Even though I increased the amount of pts(4) entries in /etc/ttys some time ago, I didn't realize back then those entries shouldn't have been there in the first place. I just looked at the getttyent() source code and it turns out when you call setttyent(), it walks through /dev/pts and looks for the device with the highest number. After you receive EOF's from getttyent(), it makes up entries for pts(4) devices. This means that adding entries for pts(4) is somewhat harmful, because if you now traverse the list, you get redundant entries, so just remove them.
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud