summaryrefslogtreecommitdiff
path: root/lang/scm
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2005-04-24 14:41:28 +0000
committerben <ben@pkgsrc.org>2005-04-24 14:41:28 +0000
commit4cda63c0a789c4a3b8bb67424768b66d12281fbd (patch)
tree284cb4de401d43f5e77a7261550740a63b255213 /lang/scm
parent25013bab63dc213c00866aeeb9b7342f6ca37a2e (diff)
downloadpkgsrc-4cda63c0a789c4a3b8bb67424768b66d12281fbd.tar.gz
Fixes for SpiralSound/Midi.C
* test for failure of open() should be == -1, not == 0 This causes Open() to behave as intended, only creating the m_MidiReader thread if the MIDI device is successfully opened. * unconditionally initialize m_Mutex in Open() * conditionally close m_MidiReader in Close(), if NULL do nothing * make m_MidiFd and m_MidiWrFd the same file descriptor. The MIDI device special file can only be opened once at a time.
Diffstat (limited to 'lang/scm')
0 files changed, 0 insertions, 0 deletions