[ros-kernel] RE: [ros-cvs] CVS Update: reactos

Gunnar Dalsnes hardon at online.no
Sun Jun 6 22:53:28 CEST 2004


> 
> Cmd should not create the path, where the temp variable shows 
> to. If you
> type 'set path=xxx' with a wrong path, the old version of cmd 
> has created
> this path. If you make this error for several times, each of 
> this paths are
> created. That's wrong.
> 

You are right. Cmd should not create the path when setting a new temp path.
The problem is that ParseCommandLine unconditionally called GetTempPath +
MakeSureXxxx, so running any command would actually create the temp path. To
fix this, GetTempPath and MakeSureXxx stuff should be moved to where it's
actually used (the simulating pipes uting temp files stuff. That's why i
added MakeSureXxx).

-Gunnar

> - Hartmut
> 
> _______________________________________________
> Ros-kernel mailing list
> Ros-kernel at reactos.com
> http://reactos.com/mailman/listinfo/ros-kernel
> 
> 




More information about the Ros-kernel mailing list