mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-02 16:31:15 +02:00
Add comments.
This commit is contained in:
parent
f687c7e87f
commit
ca8a8baa76
@ -6,7 +6,7 @@
|
|||||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.27 2004/04/27 18:36:31 momjian Exp $
|
* $PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.28 2004/04/27 18:40:50 momjian Exp $
|
||||||
*
|
*
|
||||||
* This program tests to see if your standard libc functions use
|
* This program tests to see if your standard libc functions use
|
||||||
* pthread_setspecific()/pthread_getspecific() to be thread-safe.
|
* pthread_setspecific()/pthread_getspecific() to be thread-safe.
|
||||||
@ -100,6 +100,7 @@ main(int argc, char *argv[])
|
|||||||
temp_filename_1 = malloc(strlen(TEMP_FILENAME_1) + 1);
|
temp_filename_1 = malloc(strlen(TEMP_FILENAME_1) + 1);
|
||||||
strcpy(temp_filename_1, TEMP_FILENAME_1);
|
strcpy(temp_filename_1, TEMP_FILENAME_1);
|
||||||
mktemp(temp_filename_1);
|
mktemp(temp_filename_1);
|
||||||
|
|
||||||
temp_filename_2 = malloc(strlen(TEMP_FILENAME_2) + 1);
|
temp_filename_2 = malloc(strlen(TEMP_FILENAME_2) + 1);
|
||||||
strcpy(temp_filename_2, TEMP_FILENAME_2);
|
strcpy(temp_filename_2, TEMP_FILENAME_2);
|
||||||
mktemp(temp_filename_2);
|
mktemp(temp_filename_2);
|
||||||
|
Loading…
Reference in New Issue
Block a user