Changeset 7132

Show
Ignore:
Timestamp:
02/02/10 19:39:16 (7 months ago)
Author:
metamorph68
Message:

Force opening files in binary mode..

Location:
trunk/ocaml-mad
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/ocaml-mad/CHANGES

    r7100 r7132  
    66* Fixed duration to use decode_float 
    77* Fixed compilation using MinGW for win32 
     8* Forced opening files in binary mode. 
    89 
    9100.3.6 (12-10-2009) 
  • trunk/ocaml-mad/src/mad_stubs.c

    r7100 r7132  
    163163  CAMLlocal1(block); 
    164164  madfile_t *mf; 
    165   FILE *fd = fopen(String_val(file), "r"); 
     165  FILE *fd = fopen(String_val(file), "rb"); 
    166166 
    167167  if (!fd)