lua-users home
lua-l archive

Re: io.popen binary write compatibility

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


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

AltStyle によって変換されたページ (->オリジナル) /