Re: [mingw rfc] Add mkdtemp to gdb/gnulib/ [Re: [PATCH v4 14/14] the "compile" command]

Jan Kratochvil
2014-12-15T18:21:11Z

On Mon, 15 Dec 2014 19:14:49 +0100, Joel Brobecker wrote:
> > Does it mean that after upgrading gnulib we can drop the MS-Windows host
> > routines (which need to be written yet) again?
>
> Provided that the corresponding gnulib modules can in fact be
> imported without problem, then my answer would be yes.

Could someone write the MS-Windows calling code. I can try that myself but I
cannot test it much, from what I tried in the past gdb.exe does not work much
under Wine.

> As Eli pointed out, it's not necessarily an easy change.

OK.

> I don't > see the relation between select and mkdtemp, but maybe I missed
> something.

Importing mkdtemp from gnulib broke select() calls:

On Sun, 14 Dec 2014 19:23:41 +0100, Jan Kratochvil wrote:
# But after the gnulib mkdtemp
# addition there are many errors (attached as the second attachment). It is all
# about
# struct timeval *
# vs.
# struct rpl_timeval *

Jan