File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6
6
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
7
7
* Portions Copyright (c) 1994, Regents of the University of California
8
8
*
9
- * $PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.11 2004/04/05 01:27:58 momjian Exp $
9
+ * $PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.12 2004/04/05 02:22:14 momjian Exp $
10
10
*
11
11
* This program tests to see if your standard libc functions use
12
12
* pthread_setspecific()/pthread_getspecific() to be thread-safe.
@@ -37,8 +37,8 @@ void func_call_2(void);
37
37
38
38
char myhostname [MAXHOSTNAMELEN ];
39
39
40
- int errno1_set = 0 ;
41
- int errno2_set = 0 ;
40
+ volatile int errno1_set = 0 ;
41
+ volatile int errno2_set = 0 ;
42
42
43
43
char * strerror_p1 ;
44
44
char * strerror_p2 ;
You can’t perform that action at this time.
0 commit comments