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

Vincent Snijders vslist at zonnet.nl
Mon Feb 2 22:57:30 CET 2004


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.

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

Regards,
Vincent Snijders.








More information about the fpc-devel mailing list