DragonFly commits List (threaded) for 2005-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/usr.bin/script script.c
cpressey 2005/03/01 13:20:17 PST
DragonFly src repository
Modified files:
usr.bin/script script.c
Log:
In the parent process, close the slave file descriptor at the earliest
opportunity (just after we fork.) This is not strictly necessary, but
it is good programming practice; and, since this program is one of the
only users of openpty(3) in the tree, it behooves us to set a good
example here.
Revision Changes Path
1.8 +1 -0 src/usr.bin/script/script.c
http://www.dragonflybsd.org/cvsweb/src/usr.bin/script/script.c.diff?r1=1.7&r2=1.8&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]