1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 01_topomatch_diff.dpatch by <benoit.mortier@opensides.be>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: fix char * problem
9
--- ibutils-1.2-OFED-1.4.2.orig/ibdm/ibdm/TopoMatch.cpp
10
+++ ibutils-1.2-OFED-1.4.2/ibdm/ibdm/TopoMatch.cpp
12
IBSystem *p_system = p_node->p_system;
14
// we always mark the board of the node by examining all but the "UXXX"
15
- char *p_lastSlash = rindex(p_node->name.c_str(), '/');
16
+ const char *p_lastSlash = rindex(p_node->name.c_str(), '/');
17
char nodeBoardName[512];