From: Bruce Momjian Date: Fri, 28 May 2004 18:37:10 +0000 (+0000) Subject: When checking for thread safety with src/tools/thread/thread_test.c, the X-Git-Tag: REL8_0_0BETA1~496 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=01639833305bedda4990e1a3557b1656ff8f238c;p=postgresql 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. Andreas Pflug --- diff --git a/src/tools/thread/thread_test.c b/src/tools/thread/thread_test.c index f0b7d62e4f..0210ebf0f1 100644 --- a/src/tools/thread/thread_test.c +++ b/src/tools/thread/thread_test.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.29 2004/04/27 19:51:12 momjian Exp $ + * $PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.30 2004/05/28 18:37:10 momjian Exp $ * * This program tests to see if your standard libc functions use * pthread_setspecific()/pthread_getspecific() to be thread-safe. @@ -64,8 +64,8 @@ main(int argc, char *argv[]) void func_call_1(void); void func_call_2(void); -#define TEMP_FILENAME_1 "/tmp/thread_test.1.XXXXX" -#define TEMP_FILENAME_2 "/tmp/thread_test.2.XXXXX" +#define TEMP_FILENAME_1 "/tmp/thread_test.1.XXXXXX" +#define TEMP_FILENAME_2 "/tmp/thread_test.2.XXXXXX" char *temp_filename_1; char *temp_filename_2;