delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/06/28/22:18:42

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
Date: Thu, 28 Jun 2001 22:19:24 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-apps AT cygwin DOT com
Cc: andylyounger AT hotmail DOT com
Subject: Re: fopen returns ENOMEM-error on kde 1 audioserver
Message-ID: <20010628221924.A3893@redhat.com>
Reply-To: cygwin-apps AT cygwin DOT com
Mail-Followup-To: cygwin-apps AT cygwin DOT com, andylyounger AT hotmail DOT com
References: <20010626133025 DOT B8795 AT redhat DOT com> <002201c0fee5$7489d5d0$651c440a AT BRAMSCHE>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <002201c0fee5$7489d5d0$651c440a@BRAMSCHE>; from Ralf.Habacker@saght.tessag.com on Wed, Jun 27, 2001 at 10:45:02AM +0200

On Wed, Jun 27, 2001 at 10:45:02AM +0200, Ralf Habacker wrote:
>> 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 ?

It sure looks like a bug to me.  I'll check in a patch but I'd feel a
little more comfortable if the author of this code could comment, also.

There have been a few changes made to this file recently.  Andy, do
you have any comments?

cgf

- Raw text -


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