DragonFly commits List (threaded) for 2005-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/lib/libc/gen ttyname.c
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]