Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0163983

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 currentversion only supplies 5 X which will fail on my SuSE 8.1.Andreas Pflug
1 parent0f3f34f commit0163983

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
voidfunc_call_1(void);
6565
voidfunc_call_2(void);
6666

67-
#defineTEMP_FILENAME_1"/tmp/thread_test.1.XXXXX"
68-
#defineTEMP_FILENAME_2"/tmp/thread_test.2.XXXXX"
67+
#defineTEMP_FILENAME_1"/tmp/thread_test.1.XXXXXX"
68+
#defineTEMP_FILENAME_2"/tmp/thread_test.2.XXXXXX"
6969

7070
char*temp_filename_1;
7171
char*temp_filename_2;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp