delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/06/27/04:42:08

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: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
From: "Ralf Habacker" <Ralf DOT Habacker AT saght DOT tessag DOT com>
To: <cygwin-apps AT cygwin DOT com>
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
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019