hasso 2007/10/08 10:55:00 PDT
DragonFly src repository
Modified files:
sys/dev/sound/pcm dsp.c
Log:
Dragonfly always passes a flag for every IO operation depending whether
the mode of the operation or of the fd is set to NBIO, but it doesn't
pass down fcntl() changes to the drivers. So, if you open /dev/dsp with
NONBLOCK and later fcntl it to blocking, the sound driver won't be aware
of this fact.
Fix: don't maintain this setting in the sound driver.
Requested and tested by [EMAIL PROTECTED]
Revision Changes Path
1.16 +0 -4 src/sys/dev/sound/pcm/dsp.c
http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pcm/dsp.c.diff?r1=1.15&r2=1.16&f=u