cvs commit: src/lib/libc/gen ttyname.c
Joerg Sonnenberger
joerg at crater.dragonflybsd.org
Tue Aug 23 05:08:23 PDT 2005
joerg 2005/08/23 05:06:48 PDT
DragonFly src repository
Modified files:
lib/libc/gen ttyname.c
Log:
Don't assume that ttys are always located directly in /dev. This
assumptions breaks as soon as a proper pts filesystem comes into place.
Also ensure the static buffer is not overflown when reading from the
database.
Revision Changes Path
1.7 +6 -2 src/lib/libc/gen/ttyname.c
http://www.dragonflybsd.org/cvsweb/src/lib/libc/gen/ttyname.c.diff?r1=1.6&r2=1.7&f=u
More information about the Commits
mailing list