diff options
author | Andrew Niefer | 2008-04-25 18:19:03 +0000 |
---|---|---|
committer | Andrew Niefer | 2008-04-25 18:19:03 +0000 |
commit | c6713b4be5a912de494efd86d53192285bdee586 (patch) | |
tree | c3b3b213b7859c9980e0f735113ed65631485f93 /bundles/org.eclipse.equinox.executable/library/motif/eclipseMotif.c | |
parent | 76e41f80a8ecc14e610a3c04a680a8c6d0127d60 (diff) | |
download | rt.equinox.framework-c6713b4be5a912de494efd86d53192285bdee586.tar.gz rt.equinox.framework-c6713b4be5a912de494efd86d53192285bdee586.tar.xz rt.equinox.framework-c6713b4be5a912de494efd86d53192285bdee586.zip |
bug 228785 - empty path
Diffstat (limited to 'bundles/org.eclipse.equinox.executable/library/motif/eclipseMotif.c')
-rw-r--r-- | bundles/org.eclipse.equinox.executable/library/motif/eclipseMotif.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.executable/library/motif/eclipseMotif.c b/bundles/org.eclipse.equinox.executable/library/motif/eclipseMotif.c index ea9d8011a..afd3dbbce 100644 --- a/bundles/org.eclipse.equinox.executable/library/motif/eclipseMotif.c +++ b/bundles/org.eclipse.equinox.executable/library/motif/eclipseMotif.c @@ -289,6 +289,8 @@ int launchJavaVM( char* args[] ) { /* put the root of eclipse on the LD_LIBRARY_PATH */ char * ldPath = (char*)getenv(_T_ECLIPSE("LD_LIBRARY_PATH")); + if (ldPath == NULL) + ldPath = _T_ECLIPSE(""); char * root = getProgramDir(); if (root != NULL) { char * newPath = malloc((strlen(root) + strlen(ldPath) + 2) * sizeof(char)); |