Subject: CVS commit: pkgsrc/audio/spiralsynth
From: Ben Collver
Date: 2005-04-24 16:41:28
Message id: 20050424144128.BFE0F2DA27@cvs.netbsd.org

Log Message:
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.

Files:
RevisionActionfile
1.10modifypkgsrc/audio/spiralsynth/distinfo
1.2modifypkgsrc/audio/spiralsynth/patches/patch-an