Re: thread safety testing fix - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: thread safety testing fix
Date
Msg-id 200405282050.i4SKowi09441@candle.pha.pa.us
Whole thread Raw
In response to Re: thread safety testing fix  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:
> Andreas Pflug <pgadmin@pse-consulting.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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Libpq ssl fix
Next
From: Thomas Hallgren
Date:
Subject: Re: Link errors on win32