[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "exec" procedures don't handle the optional parameters unbounded sit
From: |
David Kastrup |
Subject: |
Re: "exec" procedures don't handle the optional parameters unbounded situation? |
Date: |
Sat, 17 Dec 2011 05:34:44 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
address@hidden (Ludovic Courtès) writes:
> Hello!
>
> Nala Ginrut <address@hidden> skribis:
>
>> Since Guile provides flexible optional arguments handling, why we can not
>> do this:
>> let (execlp "ls") equal to (execlp "ls" "") if the second argument is
>> unbounded?
>
> Because it would differ from what the underlying system call allows, and
> would also be an incompatible change.
Incompatible? You really think there are programs relying on this being
an error? I agree that a system call wrapper should not be too clever,
but compatibility is hardly a concern here.
--
David Kastrup