Re: [sane-devel] [RFC] mksotemp

2016-05-09 Thread Klaus Kaempf
* Olaf Meeuwissen [May 09. 2016 15:10]: > > Alessandro Zummo writes: > > > On Mon, 02 May 2016 11:57:58 +0900 > > Olaf Meeuwissen wrote: > > > >> That leaves zero flags to be passed, so the mkostemp() call reduces to > >> mkstemp(). > >> > >> I would simply call mkstemp() unconditionally. Tha

Re: [sane-devel] [RFC] mksotemp

2016-05-09 Thread Olaf Meeuwissen
Alessandro Zummo writes: > On Mon, 02 May 2016 11:57:58 +0900 > Olaf Meeuwissen wrote: > >> That leaves zero flags to be passed, so the mkostemp() call reduces to >> mkstemp(). >> >> I would simply call mkstemp() unconditionally. That way you also don't >> have to add it to AC_CHEC_FUNCS() in

Re: [sane-devel] [RFC] mksotemp

2016-05-02 Thread Alessandro Zummo
On Mon, 02 May 2016 11:57:58 +0900 Olaf Meeuwissen wrote: > That leaves zero flags to be passed, so the mkostemp() call reduces to > mkstemp(). > > I would simply call mkstemp() unconditionally. That way you also don't > have to add it to AC_CHEC_FUNCS() in configure.in anymore. I agree with

Re: [sane-devel] [RFC] mksotemp

2016-05-01 Thread Olaf Meeuwissen
Alessandro Zummo writes: > Some platforms have no mksotemp, the following > patch should solve that. > > However my autoconf won't generate a correct configure > (it removes the INCLUDES statement), so I have omitted it > > diff --git a/backend/pieusb_buffer.c b/backend/pieusb_buffer.c > ind

[sane-devel] [RFC] mksotemp

2016-04-27 Thread Alessandro Zummo
Some platforms have no mksotemp, the following patch should solve that. However my autoconf won't generate a correct configure (it removes the INCLUDES statement), so I have omitted it diff --git a/backend/pieusb_buffer.c b/backend/pieusb_buffer.c index 0718238..9a04de9 100644 --- a/backen