Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2006-12-12 12:54:28 -0500
committerAndrew Niefer2006-12-12 12:54:28 -0500
commit98966c8eb98718ce8a22c5711145b18e04fb26df (patch)
tree3c46e82bb14c6b427355a9002ee8b7de21b123d0 /bundles/org.eclipse.equinox.executable/library/eclipseCommon.c
parent9a008c9d99fee865b663919c92707a58de961555 (diff)
downloadrt.equinox.framework-98966c8eb98718ce8a22c5711145b18e04fb26df.tar.gz
rt.equinox.framework-98966c8eb98718ce8a22c5711145b18e04fb26df.tar.xz
rt.equinox.framework-98966c8eb98718ce8a22c5711145b18e04fb26df.zip
finding vm lib on motif
Diffstat (limited to 'bundles/org.eclipse.equinox.executable/library/eclipseCommon.c')
-rw-r--r--bundles/org.eclipse.equinox.executable/library/eclipseCommon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.equinox.executable/library/eclipseCommon.c b/bundles/org.eclipse.equinox.executable/library/eclipseCommon.c
index 0011ffae0..400e39cf0 100644
--- a/bundles/org.eclipse.equinox.executable/library/eclipseCommon.c
+++ b/bundles/org.eclipse.equinox.executable/library/eclipseCommon.c
@@ -18,7 +18,7 @@
#include <windows.h>
#else
#include <unistd.h>
-#include <strings.h>
+#include <string.h>
#include <dirent.h>
#endif
#include <stdlib.h>
@@ -194,10 +194,10 @@ char * resolveSymlinks( char * path ) {
if(path == NULL)
return path;
/* resolve symlinks */
- char * ch = cmdPath;
- cmdPath = canonicalize_file_name(cmdPath);
+ char * ch = path;
+ path = canonicalize_file_name(path);
free(ch);
- return cmdPath;
+ return path;
}
#endif

Back to the top