diff options
author | cpiazza <cpiazza@FreeBSD.org> | 1999-11-21 06:42:04 +0800 |
---|---|---|
committer | cpiazza <cpiazza@FreeBSD.org> | 1999-11-21 06:42:04 +0800 |
commit | f675f9d516488a24959409ed29d5da96c90169b4 (patch) | |
tree | 2150127ed9e7c3337d720a90088fdfb3ab33b4af /audio/dagrab/files | |
parent | 01875e540d77f2e8281352bc62a50dc6f3e29b2d (diff) | |
download | freebsd-ports-gnome-f675f9d516488a24959409ed29d5da96c90169b4.tar.gz freebsd-ports-gnome-f675f9d516488a24959409ed29d5da96c90169b4.tar.zst freebsd-ports-gnome-f675f9d516488a24959409ed29d5da96c90169b4.zip |
Remove O_NONBLOCK from open() as it seems to be causing problems for
some people.
PR: 14880
Submitted by: Parag Patel <parag@codegen.com>
Diffstat (limited to 'audio/dagrab/files')
-rw-r--r-- | audio/dagrab/files/patch-ab | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/dagrab/files/patch-ab b/audio/dagrab/files/patch-ab new file mode 100644 index 000000000000..4bb9fc84dc44 --- /dev/null +++ b/audio/dagrab/files/patch-ab @@ -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); + } + |