Date: Sun, 14 Nov 1999 12:21:57 -0800 (PST) From: parag@codegen.com To: FreeBSD-gnats-submit@freebsd.org Subject: ports/14880: dagrab 0.3.3 port does not work under STABLE without a patch Message-ID: <199911142021.MAA94257@pinhead.parag.codegen.com>
next in thread | raw e-mail | index | archive | help
>Number: 14880 >Category: ports >Synopsis: dagrab 0.3.3 use of O_NONBLOCK does not work on STABLE >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Nov 14 12:30:05 PST 1999 >Closed-Date: >Last-Modified: >Originator: Parag Patel >Release: FreeBSD 3.3-STABLE i386 >Organization: CodeGen, Inc. >Environment: FreeBSD 3.3-STABLE IDE CD-ROM drive an audio CD >Description: Trying to copy an audio track from a CD using the latest 0.3.3 port of dagrab fails to work on 3.3-STABLE. I don't know if it works on CURRENT as I don't have a way to test it at the moment. The program fails immediately with a device-open error. Running it as root makes no difference. >How-To-Repeat: Try to copy an audio track using the dagrab 0.3.3 port. >Fix: Remove the "|O_NONBLOCK" in the open() call for the CD-ROM device in dagrab.c. Then it works fine for me. *** dagrab.c-fbsd Sat Nov 13 12:29:44 1999 --- dagrab.c Sat Nov 13 23:00:20 1999 *************** *** 503,509 **** struct ioc_toc_header Th; struct ioc_read_toc_single_entry Te; ! if ((cdrom_fd=open(cd_dev,O_RDONLY|O_NONBLOCK))==-1){ fprintf(stderr,"%s: error opening device %s\n",progname,cd_dev); exit(1); } --- 503,509 ---- struct ioc_toc_header Th; struct ioc_read_toc_single_entry Te; ! if ((cdrom_fd=open(cd_dev,O_RDONLY))==-1){ fprintf(stderr,"%s: error opening device %s\n",progname,cd_dev); exit(1); } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911142021.MAA94257>