Skip to main content

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

> 
> --=_mixed 0052E15685256E44_=
> Content-Type: text/plain; charset="US-ASCII"
> 
> 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.

8-)

Thanks.

A tested patch was provided by Alex and James.
It is basically what you have below 8).

> --=_mixed 0052E15685256E44_=
> Content-Type: text/plain; name="52562.core-patch.txt"
> Content-Disposition: attachment; filename="52562.core-patch.txt"
> Content-Transfer-Encoding: quoted-printable
> 
> Index: utils/org/eclipse/cdt/utils/spawner/EnvironmentReader.java
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> 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=5Fready =3D true;
>  				isWin32 =3D 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 =3D "cmd.exe /c set";
>  				isWin32 =3D true;
>  			}
> --=_mixed 0052E15685256E44_=--
> _______________________________________________
> cdt-patch mailing list
> cdt-patch@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-patch
> 


-- 
au revoir, alain
----
Aussi haut que l'on soit assis, on est toujours assis que sur son cul !!!



Back to the top