[Mplayer-cvslog] CVS: main/libmpdemux open.c,1.65,1.66
Sascha Sommer CVS
faust3 at mplayerhq.hu
Thu Jan 2 11:53:39 CET 2003
- Previous message: [Mplayer-cvslog] CVS: main/libaf af.c,1.21,1.22 af_channels.c,1.9,1.10 af_resample.c,1.16,1.17
- Next message: [Mplayer-cvslog] CVS: main/Gui/mplayer/gtk fs.c,1.38,1.39 fs.h,1.15,1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv27609/libmpdemux
Modified Files:
open.c
Log Message:
fixed stream errors on some cygwin installations
Index: open.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/open.c,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -r1.65 -r1.66
--- open.c 29 Dec 2002 22:12:20 -0000 1.65
+++ open.c 2 Jan 2003 10:53:22 -0000 1.66
@@ -503,7 +503,11 @@
mp_msg(MSGT_OPEN,MSGL_INFO,MSGTR_ReadSTDIN);
f=0; // 0=stdin
} else {
+#ifndef __CYGWIN__
f=open(filename,O_RDONLY);
+#else
+ f=open(filename,O_RDONLY|O_BINARY);
+#endif
if(f<0){ mp_msg(MSGT_OPEN,MSGL_ERR,MSGTR_FileNotFound,filename);return NULL; }
}
- Previous message: [Mplayer-cvslog] CVS: main/libaf af.c,1.21,1.22 af_channels.c,1.9,1.10 af_resample.c,1.16,1.17
- Next message: [Mplayer-cvslog] CVS: main/Gui/mplayer/gtk fs.c,1.38,1.39 fs.h,1.15,1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list