From owner-cvs-all@FreeBSD.ORG Thu Aug 23 23:53:59 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C52BA16A420; Thu, 23 Aug 2007 23:53:59 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9C01C13C45B; Thu, 23 Aug 2007 23:53:59 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l7NNrxFx086007; Thu, 23 Aug 2007 23:53:59 GMT (envelope-from obrien@repoman.freebsd.org) Received: (from obrien@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l7NNrxqJ086006; Thu, 23 Aug 2007 23:53:59 GMT (envelope-from obrien) Message-Id: <200708232353.l7NNrxqJ086006@repoman.freebsd.org> From: "David E. O'Brien" Date: Thu, 23 Aug 2007 23:53:59 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/net/rdesktop/files patch-rdpsnd_oss.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Aug 2007 23:53:59 -0000 obrien 2007-08-23 23:53:59 UTC FreeBSD ports repository Added files: net/rdesktop/files patch-rdpsnd_oss.c Log: Upon server-initiated closure of the sound device, rdesktop(1) hangs in a tight loop if the sound packet buffer is not empty. This usually occurs after a long playback, and is indicated by an endless stream of "ERROR: select: Bad file descriptor" messages on stderr. Fix: forcibly empty the sound packet buffer after closing the sound device. PR: 115692 Submitted by: "Eugene M. Kim" Revision Changes Path 1.1 +57 -0 ports/net/rdesktop/files/patch-rdpsnd_oss.c (new)