Skip to content

Commit e4ce893

Browse files
abouteillerawlauria
authored andcommitted
BUFSIZ is undefined in mpiext/affinity.h replace it with 1024 as it was prior
to 48a71c1 Signed-off-by: Aurelien Bouteiller <bouteill@icl.utk.edu> (cherry picked from commit 6be8bfc)
1 parent 23e96cf commit e4ce893

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)