projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
282eac6
)
[wasm] Add comments explaining the magic strings in mono-dl-wasm.c
author
Rodrigo Kumpera
<kumpera@gmail.com>
Tue, 22 Aug 2017 18:37:28 +0000
(11:37 -0700)
committer
Rodrigo Kumpera
<kumpera@gmail.com>
Wed, 23 Aug 2017 20:57:05 +0000
(13:57 -0700)
mono/utils/mono-dl-wasm.c
patch
|
blob
|
history
diff --git
a/mono/utils/mono-dl-wasm.c
b/mono/utils/mono-dl-wasm.c
index 029eb125bcbe7e7c8df789291acc29b22e1a1d5f..1d0dd98fda4c398784b9169c68dcdc4a9e0d3bd5 100644
(file)
--- a/
mono/utils/mono-dl-wasm.c
+++ b/
mono/utils/mono-dl-wasm.c
@@
-17,11
+17,12
@@
mono_dl_get_so_prefix (void)
{
return "";
}
{
return "";
}
+
const char **
mono_dl_get_so_suffixes (void)
{
static const char *suffixes[] = {
const char **
mono_dl_get_so_suffixes (void)
{
static const char *suffixes[] = {
- ".wasm",
+ ".wasm",
//we only recognize .wasm files for DSOs.
"",
};
return suffixes;
"",
};
return suffixes;
@@
-30,7
+31,7
@@
mono_dl_get_so_suffixes (void)
int
mono_dl_get_executable_path (char *buf, int buflen)
{
int
mono_dl_get_executable_path (char *buf, int buflen)
{
- strncpy (buf, "/managed", buflen);
+ strncpy (buf, "/managed", buflen);
//This is a packaging convertion that our tooling should enforce
return 0;
}
return 0;
}