lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, Sep 24, 2014 at 6:43 PM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> P.S. The manual only quotes 'r' and 'w', there is no mention of 'wb'.
>
> In Posix, the only possible modes for popen are 'r' and 'w':
>         http://pubs.opengroup.org/onlinepubs/009695399/functions/popen.html
>
> To quote: "if mode is any other value, the result is undefined."

Would it be permissible, then, for Lua to preserve this undefined
status, instead of defining it (as an error)?

/s/ Adam