Fixes #325. Dont pass nil to the FileStat constructor, be strict about class path

git-svn-id: file:///home/svn/framework3/trunk@7049 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2009-09-20 22:12:46 +00:00
parent 602b1a2efd
commit 5e37dfa040
1 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ class Dir < Rex::Post::Dir
st = nil st = nil
if (sbuf[idx]) if (sbuf[idx])
st = FileStat.new(nil) st = ::Rex::Post::FileStat.new
st.update(sbuf[idx].value) st.update(sbuf[idx].value)
end end