[fpc-devel]Stupid implementation of execlp

Samuel Liddicott sam at liddicott.com
Thu May 23 20:27:35 CEST 2002


----- Original Message -----
From: <Michael.VanCanneyt at wisa.be>
To: "FPC development mailing list" <fpc-devel at deadlock.et.tudelft.nl>
Sent: Thursday, May 23, 2002 6:00 PM
Subject: Re: [fpc-devel]Stupid implementation of execlp


> With reason: Pascal Strings can only contain 255 chars. Anything outside
that
> range cannot be processed. Since the getenv only returns 255 chars, only
> that portion of the path is processed.
>
> We can fix this, but that will be for the 1.1 branch of FPC.

Accepting your answer, but for discussions sake; TP7 also had pchar support,
I wondered what the reason was for there not being a pchar version of getenv
that exelp might use.

Just curious.

Sam





More information about the fpc-devel mailing list