lua-users home
lua-l archive

[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