[DVDnav-discuss] r1174 - trunk/libdvdread/src/dvd_input.c
nicodvb
subversion at mplayerhq.hu
Tue Jun 9 00:02:37 CEST 2009
Author: nicodvb
Date: Tue Jun 9 00:02:37 2009
New Revision: 1174
Log:
in OS/2 the device must be opened in binary mode; patch by KO Myung-Hun - komh chollian net
Modified:
trunk/libdvdread/src/dvd_input.c
Modified: trunk/libdvdread/src/dvd_input.c
==============================================================================
--- trunk/libdvdread/src/dvd_input.c Tue May 5 19:27:14 2009 (r1173)
+++ trunk/libdvdread/src/dvd_input.c Tue Jun 9 00:02:37 2009 (r1174)
@@ -165,7 +165,7 @@ static dvd_input_t file_open(const char
}
/* Open the device */
-#ifndef WIN32
+#if !defined(WIN32) && !defined(__OS2__)
dev->fd = open(target, O_RDONLY);
#else
dev->fd = open(target, O_RDONLY | O_BINARY);
More information about the DVDnav-discuss
mailing list