[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: io.popen binary write compatibility
- From: Coda Highland <chighland@...>
- Date: Wed, 24 Sep 2014 19:51:04 -0700
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