[fpc-devel]TProcess doesn't set environment variables correct in win32

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Tue Feb 3 00:47:44 CET 2004


On Mon, 2 Feb 2004, Vincent Snijders wrote:

> Hi,
> 
> I noticed that TProcess sets the environment variables the same way on
> win32 as on unix systems. This is not correct.
> 
> On win32 the environment is a block of zero terminated strings
> terminated by a #0.
> 
> Attached is patch for process.pp, as a hint to show how this bug can be
> fixed.

Seems you forgot to attach the patch?

> 
> BTW, at the moment (since last weekends changes) I can't compile the
> unit resolve(from the fcl) for win32. 

I'll have a look at it tomorrow (read: Later today ;))

Michael.




More information about the fpc-devel mailing list