Skip to content

Commit

Permalink
Revert "Partially address #7385"
Browse files Browse the repository at this point in the history
This reverts commit a487dcf.
  • Loading branch information
ihnorton committed Jul 2, 2014
1 parent 4298094 commit 56da98a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions base/stat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ for f in {
:issetgid
:issticky
:isreadable
:iswritable
:isexecutable
:uperm
:gperm
Expand All @@ -106,8 +107,6 @@ end

islink(path...) = islink(lstat(path...))

@windows_only iswritable(path...) = ccall(:_waccess, Cint, (Ptr{Uint16}, Cint), utf16(joinpath(path...)), 2) == 0
@unix_only iswritable(path...) = ccall(:access, Cint, (Ptr{Uint8}, Cint), joinpath(path...), 2) == 0

# some convenience functions

Expand Down

0 comments on commit 56da98a

Please sign in to comment.