Re: thread safety testing fix

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: thread safety testing fix
Date: 2004-05-28 20:50:58
Message-ID: 200405282050.i4SKowi09441@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Tom Lane wrote:
> Andreas Pflug <pgadmin(at)pse-consulting(dot)de> writes:
> > When checking for thread safety with src/tools/thread/thread_test.c, the
> > mktemp function wants an argument that contains 6 X, while the current
> > version only supplies 5 X which will fail on my SuSE 8.1.
> > Patch attached.
>
> Isn't this going to break platforms that only want 5 X's ?

My BSD/OS doesn't specify a specific number of X's, but it does use an
example with six, so six should be fine.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-05-28 20:52:43 Re: mingw configure failure detection
Previous Message Bruce Momjian 2004-05-28 20:49:08 Re: Libpq ssl fix