[sane-devel] [Janitorial] Zero(!) compiler warnings

ABC abc at telekom.ru
Thu Sep 22 12:14:08 UTC 2016


Hello,

To what mktemp() should be replaced? Will there be sanei function to
drop-in replace it?

On Wed, Sep 21, 2016 at 10:12:27PM +0900, Olaf Meeuwissen wrote:
> Looking over the build log (love how clean those compile commands look,
> BTW), next are four linker warnings about the use of `mktemp`, which, as
> we all know, is racey and should be avoided.  Like the plague, so I'd
> like to see these get fixed.
> 
> # I have a patch for the avision backend already.  By all means, tackle
> # any of the canon, canon_dr and dc25 backends' use of mktemp.



More information about the sane-devel mailing list