Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2008-04-18 18:59:57 +0000
committerAndrew Niefer2008-04-18 18:59:57 +0000
commit10ea8f0cfcb9ae96d1ca29787d1863609f29afb0 (patch)
tree8d722287c3e4f062985fdd967d34abe2c78112b2 /bundles/org.eclipse.equinox.executable/library/eclipseJNI.c
parent0f63d9f2509ae6f66ccde74a13c7157112c2233d (diff)
downloadrt.equinox.framework-10ea8f0cfcb9ae96d1ca29787d1863609f29afb0.tar.gz
rt.equinox.framework-10ea8f0cfcb9ae96d1ca29787d1863609f29afb0.tar.xz
rt.equinox.framework-10ea8f0cfcb9ae96d1ca29787d1863609f29afb0.zip
bug 209080 - don't print exit msg on empty exitdata
Diffstat (limited to 'bundles/org.eclipse.equinox.executable/library/eclipseJNI.c')
-rw-r--r--bundles/org.eclipse.equinox.executable/library/eclipseJNI.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.executable/library/eclipseJNI.c b/bundles/org.eclipse.equinox.executable/library/eclipseJNI.c
index 994cd362e..f0e32f1bd 100644
--- a/bundles/org.eclipse.equinox.executable/library/eclipseJNI.c
+++ b/bundles/org.eclipse.equinox.executable/library/eclipseJNI.c
@@ -157,7 +157,7 @@ void setExitData(JNIEnv *env, jstring id, jstring s){
} else {
exitData = malloc((length + 1) * sizeof(_TCHAR*));
_tcsncpy( exitData, data, length);
- exitData[length] = 0;
+ exitData[length] = _T_ECLIPSE('\0');
}
JNI_ReleaseStringChars(env, s, data);
}

Back to the top