Re: ecpg regression broken on mingw

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: ecpg regression broken on mingw
Дата
Msg-id 20070614123529.GB29032@svr2.hagander.net
обсуждение исходный текст
Ответ на Re: ecpg regression broken on mingw  (Joachim Wieland <joe@mcknight.de>)
Ответы Re: ecpg regression broken on mingw  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
On Thu, Jun 14, 2007 at 02:28:26PM +0200, Joachim Wieland wrote:
> 
> 
> On Thu, Jun 14, 2007 at 08:17:05AM -0400, Andrew Dunstan wrote:
> > Maybe it uses a different CVS or something. Who knows? Aren't our diffs 
> > supposed to be done ignoring whitespace?
> 
> pg_init() in pg_regress_ecpg.c has:
> 
>         /* no reason to set -w for ecpg checks, except for when on windows */
>         if (strstr(host_platform, "-win32"))
>                 basic_diff_opts = "-w";
>         else
>                 basic_diff_opts = "";
> 
> What value does host_platform have on MinGW?

That could certainly be it - on the failing machine, it's:
i686-pc-mingw32

Dave, any chance you can change that check to look for both -win32 and
-mingw32 and give it a test run on vaquita?

(I'll see if I have a vmware around that can run the build meanwhile, but
if it's easy for you to do..)

//Magnus



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Joachim Wieland
Дата:
Сообщение: Re: ecpg regression broken on mingw
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: ecpg regression broken on mingw