On Tue, Jan 02, 2001 at 06:13:18PM -0800, Alexandre Julliard wrote:
> IMO it was much more correct before your patch... I don't think you
> should be changing the paths inside the cmdline. Exactly what doesn't
> work in the current implementation? do you have a trace showing the
> problem?
That might actually be true, yes (the correctness).
Since I'm actively parsing/matching/modifying the thing.

Well, the problem is the very old problem of the relative paths
that we already discussed months ago.
(when we did that current directory environment transfer stuff)
And I wanted to comment the chdir(newdir); and you said that this is wrong.
Of course it is wrong, as the new process has to start up in the new
current directory.
So I started with fixing the "real" problem.
And the real problem, according to GetCommandLine() docu, is that
CreateProcess() (that's what I gathered) turns relative paths into
absolute paths.

But we don't.

(which bombs in DOSFS_GetFullName() "Relative path" as we apply the same
sub directory twice, one time current dir and one time executable,
E:somepath\some.exe)

What to do ?

Andreas Mohr

Reply via email to