[fpc-devel]TProcess doesn't set environment variables correct in win32
Michael Van Canneyt
michael.vancanneyt at wisa.be
Tue Feb 3 09:18:57 CET 2004
On Tue, 3 Feb 2004, Vincent Snijders wrote:
> 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.
Applied the patch. Thanks !
I will try to split out the unix/win32 code, because it's getting wildly
different now :/
Michael.
More information about the fpc-devel
mailing list