Skip to content

Commit 9314a42

Browse files
authored
Merge pull request #9898 from awlauria/affinity_build_fix_v5.0.x
v5.0.x: BUFSIZ is undefined in mpiext/affinity.h replace it with 1024 as it w…
2 parents 902aefa + e4ce893 commit 9314a42

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ompi/mpiext/affinity/c/mpiext_affinity_c.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* All rights reserved.
44
* Copyright (c) 2010-2012 Cisco Systems, Inc. All rights reserved.
55
* Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
6+
* Copyright (c) 2021 The University of Tennessee and the University
7+
* of Tennessee research Foundation. All rights
8+
* reserved.
69
* $COPYRIGHT$
710
*
811
* Additional copyrights may follow
@@ -11,7 +14,7 @@
1114
*
1215
*/
1316

14-
#define OMPI_AFFINITY_STRING_MAX BUFSIZ
17+
#define OMPI_AFFINITY_STRING_MAX 1024
1518

1619
typedef enum ompi_affinity_fmt {
1720
OMPI_AFFINITY_RSRC_STRING_FMT,

0 commit comments

Comments
 (0)