Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-patch] EnvironmentReader and Windows2003

Confirming that this patch fixes PR 52562. However, I was unable to apply 
the patch to my dev snapshot so I attached 'friendlier' version. All 
credits go to Chris.

Tested on Windows 2003 Server.

Thanks,
Vladimir Hirsl
Rational Software - IBM Software Group
Ottawa, Ontario, Canada



> 
> Hi,
> 
> The answers are: yes, no, yes, yes.
> 
> The questions are:
> 
> Is there a windows 2003 server?
> Does CDT work properly with it?
> Does this patch fix it?
> Is this patch amazingly trivial?
> 
> Thanks!
> -Chris
> songer@xxxxxxxxxxxxx
> director of platform engineering
> voice: 408 327 7341 fax: 408 327 7341
Index: utils/org/eclipse/cdt/utils/spawner/EnvironmentReader.java
===================================================================
retrieving revision 1.5
diff -u -r1.5 EnvironmentReader.java
--- utils/org/eclipse/cdt/utils/spawner/EnvironmentReader.java	29 Jan 2004 15:22:16 -0000	1.5
+++ utils/org/eclipse/cdt/utils/spawner/EnvironmentReader.java	24 Feb 2004 14:55:25 -0000
@@ -35,7 +35,7 @@
 				//The buffered stream doesn't always like windows 98
 				check_ready = true;
 				isWin32 = true;
-			} else if ((OS.indexOf("nt") > -1) || (OS.indexOf("windows 2000") > -1) || (OS.indexOf("windows xp") > -1)) {
+			} else if ((OS.indexOf("nt") > -1) || (OS.indexOf("windows 200") > -1) || (OS.indexOf("windows xp") > -1)) {
 				command = "cmd.exe /c set";
 				isWin32 = true;
 			}

Back to the top