Am 07.05.2015 14:41 schrieb "Michael Van Canneyt" <[email protected]>:
>
>
>
> 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
>>> wrong.
>>
>>
>> IMHO *nix is not terribly well designed. Probably the multitude of
versions
>> 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
'well designed'.
>

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... ^^

Regards,
Sven
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to