[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] How program CWD can change during appl_init() call?



Helmut Karlowski, 09.01.2013 16:17:00:

AFAIK VBCC (libraries) don't have any calls to Dsetpath()
and the test program definitely doesn't have them, so
these calls are being done on the OS side.

They are only in the vbccc-version, what does not mean they come from the OS.

They are only in the vbccc-version, what does not mean they do not come from
the OS.

Maybe it's something with unixmode from mintlib's startup?

I'll see what happens in XaAES later.

testvc.prg runs in TOS-domain which lets XaAES do funny things with it's home_path. When I remove that conversion it works. So you should set your program to mint-domain when you want to run it from a commandline. The Dsetpath is gone then.

--
Helmut Karlowski