Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com From: "Ralf Habacker" To: Subject: AW: fopen returns ENOMEM-error on kde 1 audioserver Date: Wed, 27 Jun 2001 10:45:02 +0200 Message-ID: <002201c0fee5$7489d5d0$651c440a@BRAMSCHE> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <20010626133025.B8795@redhat.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal > On Mon, Jun 25, 2001 at 01:32:37PM +0200, Ralf Habacker wrote: > >Hi, on porting the kde 1 audioserver I have a problem calling fopen. On > >opening any files it returns a ENOMEM error. > > There is a problem with audio and fork/exec in 1.3.2. Is this problem > also in snapshots? > This problems seems to be fixed, but one problem still remains. The kde code for setting ioctl sound device checks the return value against zero. So it assumes positiv values as an error. I have looked in a linux man pages for ioctl and there is described that only zero or -1 are defined as return values. Is the return value of 1 a feature or is it a bug ? Ralf