diff options
author | Andrew Niefer | 2007-04-25 19:12:46 +0000 |
---|---|---|
committer | Andrew Niefer | 2007-04-25 19:12:46 +0000 |
commit | 7f474ccbdc25a4dbf13d46050d62cdf7be548184 (patch) | |
tree | 8862b40be76094d7226c2d287a2aad51696dee6e /bundles/org.eclipse.equinox.executable/library/eclipse.c | |
parent | ba053fa9500f91e52a8f84c43e212e0abe74757b (diff) | |
download | rt.equinox.framework-7f474ccbdc25a4dbf13d46050d62cdf7be548184.tar.gz rt.equinox.framework-7f474ccbdc25a4dbf13d46050d62cdf7be548184.tar.xz rt.equinox.framework-7f474ccbdc25a4dbf13d46050d62cdf7be548184.zip |
bug 184051
Diffstat (limited to 'bundles/org.eclipse.equinox.executable/library/eclipse.c')
-rw-r--r-- | bundles/org.eclipse.equinox.executable/library/eclipse.c | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/bundles/org.eclipse.equinox.executable/library/eclipse.c b/bundles/org.eclipse.equinox.executable/library/eclipse.c index 535234c77..ba90cca5e 100644 --- a/bundles/org.eclipse.equinox.executable/library/eclipse.c +++ b/bundles/org.eclipse.equinox.executable/library/eclipse.c @@ -325,7 +325,6 @@ static _TCHAR** getRelaunchCommand( _TCHAR **vmCommand ); #ifdef _WIN32 static void createConsole(); -static void releaseConsole(); #endif /* Record the arguments that were used to start the original executable */ @@ -532,13 +531,7 @@ JNIEXPORT int run(int argc, _TCHAR* argv[], _TCHAR* vmArgs[]) } free( msg ); } - -#ifdef _WIN32 - if( launchMode == LAUNCH_JNI && (debug || needConsole) ) { - releaseConsole(); - } -#endif - + if(relaunchCommand != NULL) restartLauncher(NULL, relaunchCommand); @@ -1117,19 +1110,6 @@ static void createConsole() { conHandle = _open_osfhandle(stdHandle, _O_TEXT); fp = _fdopen(conHandle, "r"); *stderr = *fp; - - printf("\r\n"); -} - -static void releaseConsole() { - char * narrow = toNarrow(officialName); - printf("\r\n\r\n--"); - printf(narrow); - printf(" finished--\r\n"); - free(narrow); - - fflush(stdout); - FreeConsole(); } #endif |