Skip to main content

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


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
diff -r -u xide_compare/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/spawner/EnvironmentReader.java xide/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/spawner/EnvironmentReader.java
--- xide_compare/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/spawner/EnvironmentReader.java	Mon Feb 23 13:41:15 2004
+++ xide/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/spawner/EnvironmentReader.java	Mon Feb 23 17:33:47 2004
@@ -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