DragonFly commits List (threaded) for 2006-06
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/kern kern_descrip.c
dillon 2006/06/14 09:58:04 PDT
DragonFly src repository
Modified files:
sys/kern kern_descrip.c
Log:
fcntl(.., F_SETFL, ..) should only do an FIOASYNC ioctl if the FASYNC
bit has changed. Otherwise a program just trying to set O_NONBLOCK might
get an error from devices that don't like FIOASYNC.
The 'pty' device master will fail on FIOASYNC if the slave has not been
opened. This bug caused rxvt to hang, but rxvt only set O_NONBLOCK and
wasn't really at fault.
Reported-by: Johannes Hofmann <Johannes.Hofmann@xxxxxx>
Revision Changes Path
1.69 +7 -5 src/sys/kern/kern_descrip.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_descrip.c.diff?r1=1.68&r2=1.69&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]