Fixed missing file handle for root directory stat().

This commit is contained in:
Alan Kligman 2012-12-14 15:55:11 -05:00
parent ad3aa5eac8
commit 2e0810df2e
1 changed files with 1 additions and 0 deletions

View File

@ -342,6 +342,7 @@ define(function(require) {
var name = Path.basename(fullpath);
if(name === fullpath) {
file = parent;
filehandle = parenthandle;
stats = new Stats(file.size, filehandle, file.atime, file.ctime, file.mtime, file.links);
runcallback(callback, null, stats);
} else if(!_(data).has(name)) {