Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 4 Jun 2002 13:20:48 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: sound emulation /dev/dsp Message-ID: <20020604132048.D1886@cygbert.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.22.1i On Tue, Jun 04, 2002 at 12:29:27PM +0200, Wojciech Puchar wrote: > i narrowed place of that to open("/dev/dsp",O_RDWR) > > what am i doing wrong? /dev/dsp only supports opening with O_WRONLY currently. So your open() fails due to the unsupported access mode O_RDWR. Unfortunately, errno isn't set to EACCES. I've fixed that for the next version. Thanks for the report, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/