1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/audio/dagrab/files/patch-ab
Chris Piazza 333569e691 Remove O_NONBLOCK from open() as it seems to be causing problems for
some people.

PR:		14880
Submitted by:	Parag Patel <parag@codegen.com>
1999-11-20 22:42:04 +00:00

21 lines
553 B
Plaintext

*** 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);
}