Skip to content

Commit

Permalink
Added file-flag to createFile call, fixing getFileStatus for directories
Browse files Browse the repository at this point in the history
  • Loading branch information
grpala authored and jacobstanley committed Jun 21, 2014
1 parent 5a991a8 commit 465380c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/System/PosixCompat/Files.hsc
Expand Up @@ -322,7 +322,7 @@ getFileStatus path = do
(fILE_SHARE_READ .|. fILE_SHARE_WRITE .|. fILE_SHARE_DELETE)
Nothing
oPEN_EXISTING
sECURITY_ANONYMOUS
(sECURITY_ANONYMOUS .|. fILE_FLAG_BACKUP_SEMANTICS)
Nothing

permsToMode :: Permissions -> FileMode
Expand Down

0 comments on commit 465380c

Please sign in to comment.