-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support constness changes made in PCP 3.11.5+
In commit [384625f], some of PCP's PMDA interface struct members and function parameters were changed from `char *` to `const char *`. Some PMDA++ code was using those struct members as intermediaries in some chained assignment operations, making PMDA++ unecessarily sensitive to that change. This commit breaks those assignments into separate steps, so the `const` conversion does not affect the separate- but-related cleanup stack assignment (which necessarily required non- const). Arguably, this would have been "best practice" to begin with. Additionally, this allowed PMDA++ to avoid some undesirable (un)constnesss casts when invoking `pmdaDaemon` on newer PCP versions. [384625f]: performancecopilot/pcp@384625f
- Loading branch information
Showing
2 changed files
with
25 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters