Remove O_NONBLOCK from open() as it seems to be causing problems for
some people. PR: 14880 Submitted by: Parag Patel <parag@codegen.com>
This commit is contained in:
parent
4315b1f7e5
commit
333569e691
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=23219
1 changed files with 20 additions and 0 deletions
20
audio/dagrab/files/patch-ab
Normal file
20
audio/dagrab/files/patch-ab
Normal file
|
@ -0,0 +1,20 @@
|
|||
*** 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);
|
||||
}
|
||||
|
Loading…
Reference in a new issue