Re: [PATCHES] snprintf() argument reordering not working

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, ntufar(at)gmail(dot)com, devrim(at)kivi(dot)com(dot)tr, mha(at)sollentuna(dot)net, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCHES] snprintf() argument reordering not working
Date: 2005-12-06 15:38:11
Message-ID: 4395B063.5000709@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Andrew Dunstan wrote:

> Tom Lane wrote:
>
>> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>>
>>
>>> Which raises another question: can we force the locale on Windows,
>>> or are we stuck with the locale that the machine is set to? But
>>> maybe that belongs in another thread.
>>>
>>
>> I thought we'd put in some sort of "no-locale" switch specifically for
>> the buildfarm to use on Windows? I recall talking about it anyway ...
>>
>
> Yeah, but I'm not sure it's working. I will look into it.

*sheepish look*

I committed the pg_regress change back in Nov but didn't change
buildfarm to use it. And now I look at it more closely I think it won't
work. We have:

/ # locale
/ NOLOCALE :=
ifdef NO_LOCALE
NOLOCALE += --no-locale
endif

I think instead of the += line we need:

override NOLOCALE := --nolocale

The intended effect is that if any NOLOCALE arg is used in invoking
make, --no-locale gets passed to pg_regress.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2005-12-06 15:39:44 Oddity with extract microseconds?
Previous Message Markus Schiltknecht 2005-12-06 15:19:26 Re: Replication on the backend

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2005-12-06 15:42:53 Re: [PATCHES] snprintf() argument reordering not working
Previous Message Andrew Dunstan 2005-12-06 14:49:26 Re: [PATCHES] snprintf() argument reordering not working