Changeset 1959 for trunk


Ignore:
Timestamp:
May 2, 2005, 7:12:41 AM (20 years ago)
Author:
bird
Message:

Again, O_BINARY.

Location:
trunk/src/emx/src/lib/bsd/db
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/src/lib/bsd/db/btree/bt_open.c

    • Property cvs2svn:cvs-rev changed from 1.6 to 1.7
    r1958 r1959  
    212212               
    213213#ifdef __EMX__
    214                 if ((t->bt_fd = _open(fname, flags, mode | O_BINARY)) < 0)
     214                if ((t->bt_fd = _open(fname, flags | O_BINARY, mode)) < 0)
    215215#else
    216216                if ((t->bt_fd = _open(fname, flags, mode)) < 0)
  • trunk/src/emx/src/lib/bsd/db/hash/hash.c

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r1958 r1959  
    134134        if (file) {
    135135#ifdef __EMX__
    136                 if ((hashp->fp = _open(file, flags, mode | O_BINARY)) == -1)
     136                if ((hashp->fp = _open(file, flags | O_BINARY, mode)) == -1)
    137137#else
    138138                if ((hashp->fp = _open(file, flags, mode)) == -1)
  • trunk/src/emx/src/lib/bsd/db/recno/rec_open.c

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r1958 r1959  
    7272        /* Open the user's file -- if this fails, we're done. */
    7373#ifdef __EMX__
    74         if (fname != NULL && (rfd = _open(fname, flags, mode | O_BINARY)) < 0)
     74        if (fname != NULL && (rfd = _open(fname, flags | O_BINARY, mode)) < 0)
    7575#else
    7676        if (fname != NULL && (rfd = _open(fname, flags, mode)) < 0)
Note: See TracChangeset for help on using the changeset viewer.