Skip to content

Commit

Permalink
Merge pull request #148 from os97673/issue-77
Browse files Browse the repository at this point in the history
File::SYNC and File::NOCTTY faked for Windows. Closes #77.
  • Loading branch information
rue committed Sep 25, 2012
2 parents 296cb69 + 205d7a2 commit d647c46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/fakefs/file.rb
Expand Up @@ -23,8 +23,8 @@ class File < StringIO
RealFile::EXCL |
RealFile::NONBLOCK |
RealFile::TRUNC |
RealFile::NOCTTY |
RealFile::SYNC
(RealFile.const_defined?(:NOCTTY) ? RealFile::NOCTTY : 0) |
(RealFile.const_defined?(:SYNC) ? RealFile::SYNC : 0)

FILE_CREATION_BITMASK = RealFile::CREAT

Expand Down

0 comments on commit d647c46

Please sign in to comment.