projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59a93f5
)
Remove realpath
author
Miguel de Icaza
<miguel@gnome.org>
Wed, 20 Jan 2010 16:35:57 +0000
(16:35 -0000)
committer
Miguel de Icaza
<miguel@gnome.org>
Wed, 20 Jan 2010 16:35:57 +0000
(16:35 -0000)
svn path=/trunk/mono/; revision=149916
mono/metadata/assembly.c
patch
|
blob
|
history
diff --git
a/mono/metadata/assembly.c
b/mono/metadata/assembly.c
index 4e1cd840e4b74caa484e1387a708225cf1a7f14e..2a5e7fcb3acf661eaf1c442602b130f9f42131eb 100644
(file)
--- a/
mono/metadata/assembly.c
+++ b/
mono/metadata/assembly.c
@@
-571,10
+571,8
@@
mono_set_rootdir (void)
gchar buf[4096];
guint buf_size = sizeof (buf);
- name = NULL;
- if (_NSGetExecutablePath (buf, &buf_size) == 0) {
- name = realpath (buf, NULL);
- }
+ if (_NSGetExecutablePath (buf, &buf_size) == 0)
+ name = g_strdup (buf);
if (name == NULL) {
fallback ();