Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Unified Diff: runtime/bin/directory_posix.cc

Issue 9452009: Fix bug in Directory after porting to using native ports (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/bin/directory_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/directory_posix.cc
diff --git a/runtime/bin/directory_posix.cc b/runtime/bin/directory_posix.cc
index 81cfc372760cd20f10c3d7a30f1ded7d8c292982..7e10e52c4a88c2126bbfbab63555ca7d19b5e755 100644
--- a/runtime/bin/directory_posix.cc
+++ b/runtime/bin/directory_posix.cc
@@ -71,7 +71,7 @@ static bool HandleDir(char* dir_name,
if (written != strlen(dir_name)) {
return false;
}
- bool ok = listing->HandleDirectory(dir_name);
+ bool ok = listing->HandleDirectory(path);
if (!ok) return ok;
if (recursive) {
return ListRecursively(path, recursive, listing);
« no previous file with comments | « no previous file | runtime/bin/directory_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698