Skip to content

Commit

Permalink
Guess base for mono-sgen and -boehm equivalently
Browse files Browse the repository at this point in the history
  • Loading branch information
nlhepler committed Jul 16, 2014
1 parent 66ca91f commit 7626a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mono/metadata/assembly.c
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ compute_base (char *path)
return NULL;

/* Not a well known Mono executable, we are embedded, cant guess the base */
if (strcmp (p, "/mono") && strcmp (p, "/mono-sgen") && strcmp (p, "/pedump") && strcmp (p, "/monodis") && strcmp (p, "/mint") && strcmp (p, "/monodiet"))
if (strcmp (p, "/mono") && strcmp (p, "/mono-boehm") && strcmp (p, "/mono-sgen") && strcmp (p, "/pedump") && strcmp (p, "/monodis") && strcmp (p, "/mint") && strcmp (p, "/monodiet"))
return NULL;

*p = 0;
Expand Down

0 comments on commit 7626a53

Please sign in to comment.