Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0163983

Browse files
committed
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
1 parent 0f3f34f commit 0163983

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tools/thread/thread_test.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.29 2004/04/27 19:51:12 momjian Exp $
9+
* $PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.30 2004/05/28 18:37:10 momjian Exp $
1010
*
1111
* This program tests to see if your standard libc functions use
1212
* pthread_setspecific()/pthread_getspecific() to be thread-safe.
@@ -64,8 +64,8 @@ main(int argc, char *argv[])
6464
void func_call_1(void);
6565
void func_call_2(void);
6666

67-
#define TEMP_FILENAME_1 "/tmp/thread_test.1.XXXXX"
68-
#define TEMP_FILENAME_2 "/tmp/thread_test.2.XXXXX"
67+
#define TEMP_FILENAME_1 "/tmp/thread_test.1.XXXXXX"
68+
#define TEMP_FILENAME_2 "/tmp/thread_test.2.XXXXXX"
6969

7070
char *temp_filename_1;
7171
char *temp_filename_2;

0 commit comments

Comments
 (0)