Eric Pouech <[EMAIL PROTECTED]> writes:

> all winelib programs exhibit this
> I sent a few weeks ago a patch that solved it (in fact partly,the 'current'
> dir had to be mapped onto a DOS drive, as defined in ~/.winerc)
> but, Alexandre didn't commit it yet (didn't like it ?)

The right fix IMO is to make chdir() follow SetCurrentDirectory(), so
that the Unix and Windows curdirs are always in sync. This will
require some hacking in the 16-bit task switching (since the 16-bit
curdir is per-task, not per-process). Maybe in the meantime we should
remove the chdir("/"), it seems to cause more problems than it fixes;
and maybe this will encourage Marcus to implement the right solution ;-)

-- 
Alexandre Julliard
[EMAIL PROTECTED]

Reply via email to