Changeset 8787


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

LOGIOR in O_BINARY when calling MS C library's open().

File:
1 edited

Legend:

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

    r8784 r8787  
    17481748
    17491749
     1750#ifndef O_BINARY
     1751#define O_BINARY 0
     1752#endif
     1753
    17501754Boolean
    17511755check_for_embedded_image (char *path)
    17521756{
    1753   int fd = open(path, O_RDONLY);
     1757  int fd = open(path, O_RDONLY|O_BINARY);
    17541758  Boolean image_is_embedded = false;
    17551759
     
    17681772load_image(char *path)
    17691773{
    1770   int fd = open(path, O_RDONLY, 0666);
     1774  int fd = open(path, O_RDONLY|O_BINARY, 0666);
    17711775  LispObj image_nil = 0;
    17721776  if (fd > 0) {
Note: See TracChangeset for help on using the changeset viewer.