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: Enrico Colombini <erix@...>
- Date: 2014年9月25日 17:52:23 +0200
On 25/09/2014 1.51, Roberto Ierusalimschy wrote:
The manual states that this command is system-dependent... (And why are
you using binary data anyway? :)
I am sending input data to SoX to convert an audio file from raw (my
data) to wav.
Proposal: overwriting any 'b' in popen() with '0円' (or just overwriting
the second character, that could be already be '0円', or anyway using
only the first character) in the Linux/Posix implementation would
improve compatibility at a negligible cost.
Would there be drawbacks?
--
Enrico