Changeset 8789


Ignore:
Timestamp:
Mar 15, 2008, 8:50:25 AM (12 years ago)
Author:
gb
Message:

Specify O_BINARY in open call. (This is called from lisp code, which
will do its own newline translation if need be, but won't follow
CP/M EOF conventions ...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/win64/lisp-kernel/windows-calls.c

    r8733 r8789  
    3434#include <io.h>
    3535#include <unistd.h>
     36#include <sys/fcntl.h>
    3637#include <errno.h>
    3738#include <sys/stat.h>
     
    5455windows_open(wchar_t *path, int flag, int mode)
    5556{
    56   WSYSCALL_RETURN(_wopen(path, flag, mode));
     57  WSYSCALL_RETURN(_wopen(path, flag|O_BINARY, mode));
    5758}
    5859
Note: See TracChangeset for help on using the changeset viewer.