[fpc-devel] TProcess empty parameter
pascaldragon at googlemail.com
Thu May 7 17:01:56 CEST 2015
Am 07.05.2015 14:41 schrieb "Michael Van Canneyt" <michael at freepascal.org>:
> On Thu, 7 May 2015, Marco van de Voort wrote:
>> In our previous episode, Michael Van Canneyt said:
>>>> Since NIL is a termination of an array of pchar in C that is not ok.
>>> if that were the case, argc would not have been introduced,
>>> which is why I doubt the use of this argument ?
>> Where is argc on the calling side? In the parameters of ExecVE ? Right.
>>> C code that regards nil as the last element of the argv array is just
>> IMHO *nix is not terribly well designed. Probably the multitude of
>> and being interwoven with C prohibited doing massive cleanups.
> This argument can be applied to any OS older than 5 years :)
> Backwards compatibility probably prevents any OS from being considered
In our company's OS we shuffle around quite frequently to improve the
design and it's older than 5 years already. But then again we don't have
any users except ourselves to care for currently... ^^
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-devel