]> git.sesse.net Git - vlc/commit
Win32: do not set _fmode
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 22 Nov 2011 16:12:42 +0000 (18:12 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 22 Nov 2011 16:13:07 +0000 (18:13 +0200)
commit1c8b5fc1a42fe3e165ef581aff132b10d9fd5b4d
tree701434d7176e70a0a5edf28a171c2c05b8fe5345
parent7ac7fbccf5b43164cca46ebc5ee01e1cfbe30c94
Win32: do not set _fmode

Setting the translation mode is the responsibility of the program. A
library must not interfere with that. It could perhaps be added to VLC.
However it should not be required as we now force binary mode by
default in vlc_fopen() and always specify an explicit mode when calling
fopen() directly. Also it would make VLC behave differently than other
LibVLC applications, which may raise really weird bugs.
src/win32/specific.c