Subject: CVS commit: [netbsd-3] src/sys/dev
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 08/26/2007 19:08:02
Module Name:	src
Committed By:	bouyer
Date:		Sun Aug 26 19:08:02 UTC 2007

Modified Files:
	src/sys/dev [netbsd-3]: audio.c

Log Message:
Pull up following revision(s) (requested by uwe in ticket #1831):
	sys/dev/audio.c: revision 1.223
au_setup_ports - don't hide ports->nports++ inside another expression,
especially if that other expression is the right hand side operand of
&& which is short-circuiting.  The effect was that audiorecord(1)
would always fail trying to set recording port with AUDIO_SETINFO.
Tested on wss@pnpbios.  It looks like this problem has been reported
as PR/35239, filed against port-hp700.


To generate a diff of this commit:
cvs rdiff -r1.192.4.6 -r1.192.4.7 src/sys/dev/audio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.