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

Vincent Snijders vslist at zonnet.nl
Tue Feb 3 03:43:38 CET 2004


On Tue, 3 Feb 2004 00:47:44 +0100 (CET)
Michael.VanCanneyt at Wisa.be wrote:

> 
> 
> 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?
Sorry, I sometimes mix up "include attachment" and "insert attachement"
in email client. Only text files (and not gzipped files) can be
inserted.

> > 
> > 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 ;))
Thanks,
Vincent.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: process.patch.gz
Type: application/x-gzip
Size: 840 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20040203/26c22d4d/attachment.bin>


More information about the fpc-devel mailing list