Subject: PR/35239 CVS commit: [netbsd-4] src/sys/dev
To: None <port-hp700-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Liam J. Foy <liamjfoy@netbsd.org>
List: netbsd-bugs
Date: 08/24/2007 20:25:02
The following reply was made to PR port-hp700/35239; it has been noted by GNATS.

From: "Liam J. Foy" <liamjfoy@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/35239 CVS commit: [netbsd-4] src/sys/dev
Date: Fri, 24 Aug 2007 20:23:10 +0000 (UTC)

 Module Name:	src
 Committed By:	liamjfoy
 Date:		Fri Aug 24 20:23:10 UTC 2007
 
 Modified Files:
 	src/sys/dev [netbsd-4]: audio.c
 
 Log Message:
 Pull up following revision(s) (requested by uwe in ticket #835):
 	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.215.2.2 -r1.215.2.3 src/sys/dev/audio.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.