1
1

Sync to PMIx 1.1 - do not check pmix version when making connections

Этот коммит содержится в:
Ralph Castain 2015-08-30 12:15:30 -07:00
родитель 305dc5317b
Коммит b0d7564400

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

@ -415,12 +415,14 @@ pmix_status_t pmix_server_authenticate(int sd, int *out_rank, pmix_peer_t **peer
"connect-ack recvd from peer %s:%d",
nspace, rank);
/* check that this is from a matching version - for ABI
* compatibility, we only require that this match at the
* major and minor levels: not the release */
/* do not check the version - we only retain it at this
* time in case we need to check it at some future date.
* For now, our intent is to retain backward compatibility
* and so we will assume that all versions are compatible. */
csize = strlen(nspace)+1+sizeof(int);
version = (char*)(msg+csize);
csize += strlen(version) + 1; // position ourselves before modifiying version
#if 0
/* find the first '.' */
ptr = strchr(version, '.');
if (NULL != ptr) {
@ -440,6 +442,7 @@ pmix_status_t pmix_server_authenticate(int sd, int *out_rank, pmix_peer_t **peer
pmix_output_verbose(2, pmix_globals.debug_output,
"connect-ack version from client matches ours");
#endif
/* see if we know this nspace */
nptr = NULL;