rand/noise.c (noise_filter): Use <mLib/mdup.h>.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 13 Jul 2013 15:34:40 +0000 (16:34 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 13 Mar 2014 01:51:43 +0000 (01:51 +0000)
commitcbc993efd7c38bb71bb179feed22d440474f4f36
tree396c045123afee176e28bd67ff80ef33e8c93e8e
parent65e148623f95a1976e8a71846993fe0e6abe081f
rand/noise.c (noise_filter): Use <mLib/mdup.h>.

The code was slightly incorrect previously: if the standard descriptors
are closed to begin with, then the pipe ends up being closed on entry.
As far as I know, this has never actually happened, but I have the
machinery to fix this bug so I might as well use it.
rand/noise.c