CVS Commit: vls

Gildas Bazin gbazin at netcourrier.com
Fri Apr 26 19:10:27 CEST 2002


>
>Update of /cvs/videolan/vls/src/modules/filereader
>Modified Files:
>	filereader.cpp 
>
>Log Message:
>*  filereader.cpp: open the file in 'rb' mode instead of 'r' because Windows
>   is so stupid. Thanks Bill for these 6 debugging hours :(
>

Ouarfff, I've been through the same problem with vlc :)
If you don't want to bother remembering to set the binary translation mode each time you use open() or fopen(), you can set the _fmode global variable on initialisation.

_fmode = _O_BINARY;  /* sets the default file-translation mode */

See you,

--
Gildas

-------------------------------------------------------------
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
Minitel: 3615 NETCOURRIER (0,15 € TTC/min)


-- 
This is the vls-devel mailing-list, see http://www.videolan.org/vls-devel/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vls-devel mailing list