Skip to content

[C++] fix regex namespace to avoid core dump#11179

Merged
merlimat merged 1 commit into
apache:masterfrom
kimula:cpp-regex
Jul 2, 2021
Merged

[C++] fix regex namespace to avoid core dump#11179
merlimat merged 1 commit into
apache:masterfrom
kimula:cpp-regex

Conversation

@kimula

@kimula kimula commented Jul 1, 2021

Copy link
Copy Markdown
Contributor

Motivation

remove usages of std::regex, which causes core dump with some lower versions of GCC.

Modifications

replace std::regex and boost::regex with PULSAR_REGEX_NAMESPACE::regex whose value the version of GCC determines.
similar PR: #9533

Verifying this change

  • Make sure that the change passes the CI checks.

@kimula
kimula force-pushed the cpp-regex branch 2 times, most recently from dd3a55c to a53d074 Compare July 1, 2021 07:51
@hrsakai hrsakai added this to the 2.9.0 milestone Jul 2, 2021
@hrsakai hrsakai added the type/bug The PR fixed a bug or issue reported a bug label Jul 2, 2021
@hrsakai

hrsakai commented Jul 2, 2021

Copy link
Copy Markdown
Contributor

/pulsarbot run-failure-checks

@merlimat
merlimat merged commit a85fb1c into apache:master Jul 2, 2021
@kimula
kimula deleted the cpp-regex branch July 5, 2021 00:51
bharanic-dev pushed a commit to bharanic-dev/pulsar that referenced this pull request Mar 18, 2022
Co-authored-by: kimura <takeshki@yahoo-corp.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/bug The PR fixed a bug or issue reported a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants