Re: io.popen binary write compatibility
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: io.popen binary write compatibility
- From: Roberto Ierusalimschy <roberto@...>
- Date: 2014年9月25日 08:57:08 -0300
> Would it be permissible, then, for Lua to preserve this undefined
> status, instead of defining it (as an error)?
I think there is some confusion in this discussion. io.open does check
its mode. io.popen does not (at least currently): It passes its mode
untouched to the system's 'popen'. (And io.open does accept 'b',
following ANSI C.)
-- Roberto