From owner-freebsd-multimedia Tue Jun 2 13:34:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA05511 for freebsd-multimedia-outgoing; Tue, 2 Jun 1998 13:34:38 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA05506 for ; Tue, 2 Jun 1998 13:34:33 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.8/8.8.7) id GAA21228; Wed, 3 Jun 1998 06:43:47 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199806022043.GAA21228@cimlogic.com.au> Subject: Re: cannot open /dev/bktr with pthreads C library In-Reply-To: <35742AC4.2781@cs.strath.ac.uk> from Roger Hardiman at "Jun 2, 98 05:39:32 pm" To: roger@cs.strath.ac.uk (Roger Hardiman) Date: Wed, 3 Jun 1998 06:43:47 +1000 (EST) Cc: hasty@rah.star-gate.com, multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Roger Hardiman wrote: > Well, when compiled with -lc_r, calling open() to open > /dev/bktr fails and returns errno of 25 libc_r tries to set the device to non-blocking and this is not supported by the device. I've changed both -current and -stable sources to ignore this on the assumption that if a device does not support O_NONBLOCK, then it is naturally non-blocking. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message