1
1
This commit was SVN r12010.
Этот коммит содержится в:
George Bosilca 2006-10-05 06:03:01 +00:00
родитель dbe7f8ac32
Коммит f3f2463dc9

Просмотреть файл

@ -91,8 +91,13 @@ int orte_pre_condition_transports(orte_app_context_t **app_context, size_t num_c
} }
} }
#else #else
rand_s( &unique_key[0] ); {
rand_s( &unique_key[1] ); unsigned int random_value;
rand_s( &random_value );
unique_key[0] = (uint64_t)random_value;
rand_s( &random_value );
unique_key[1] = (uint64_t)random_value;
}
#endif /* !defined(__WINDOWS__) */ #endif /* !defined(__WINDOWS__) */
sprintf(string_key, ORTE_TRANSPORT_KEY_FMT, (long unsigned)unique_key[0], sprintf(string_key, ORTE_TRANSPORT_KEY_FMT, (long unsigned)unique_key[0],