Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] Bug 25808

This is a fixing of Bug 25808. New binary attached.

Index: Win32ProcessEx.c
===================================================================
RCS file: /home/tools/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c,v
retrieving revision 1.4
diff -u -r1.4 Win32ProcessEx.c
--- Win32ProcessEx.c 7 Nov 2002 20:45:17 -0000 1.4
+++ Win32ProcessEx.c 19 Nov 2002 13:58:49 -0000
@@ -22,7 +22,7 @@
 #include "jni.h"
 #include "io.h"
 
-#define DEBUG_MONITOR
+// #define DEBUG_MONITOR
 
 #define PIPE_SIZE 512
 #define MAX_CMD_SIZE 1024
@@ -197,7 +197,7 @@
     if (dir != 0) 
   { 
   const char * str = NULL;
-  cwd = strdup((*env) -> GetStringUTFChars(env, dir, 0));
+  cwd = strdup(str = (*env) -> GetStringUTFChars(env, dir, 0));
   (*env) -> ReleaseStringUTFChars(env, dir, str);
   }
 

Attachment: spawner.dll
Description: application/msdownload


Back to the top