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

Unified Diff: runtime/bin/extensions_macos.cc

Issue 10103031: Refactor URI processing of native extensions directive #import("dart-ext:foo"). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 years, 8 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 | « runtime/bin/extensions_linux.cc ('k') | runtime/bin/extensions_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/extensions_macos.cc
diff --git a/runtime/bin/extensions_macos.cc b/runtime/bin/extensions_macos.cc
index 71a95f6240d93c7496bfb76dbf2da763f77a2036..d147d9d7e47d667dddbf3415f1b4e629a683f5b6 100644
--- a/runtime/bin/extensions_macos.cc
+++ b/runtime/bin/extensions_macos.cc
@@ -7,7 +7,7 @@
void* Extensions::LoadExtensionLibrary(const char* library_path,
const char* extension_name) {
- const char* strings[5] = { library_path, "/lib",
+ const char* strings[] = { library_path, "/lib",
extension_name, ".dylib", NULL };
char* library_file = Concatenate(strings);
void* lib_handle = dlopen(library_file, RTLD_LAZY);
« no previous file with comments | « runtime/bin/extensions_linux.cc ('k') | runtime/bin/extensions_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698