Skip to content

Conversation

@msepga
Copy link
Contributor

@msepga msepga commented Aug 4, 2023

glibc now defines strchrnul, so we add a check to see if glibc is being used, and instead import the symbol if so.

Closes #202

`glibc` now defines `strchrnul`, so we add a check to see if `glibc` is
being used, and instead import the symbol if so.
@msepga msepga requested a review from lfittl August 4, 2023 20:58
msepga added 2 commits August 4, 2023 16:59
`features.h` is not available on all platforms. We can rely on it being
included via `glibc`'s `stdlib.h` header.
@msepga msepga merged commit 9b21e32 into 15-latest Aug 4, 2023
@msepga msepga deleted the glibc-2.38 branch August 4, 2023 22:15
longqimin pushed a commit to longqimin/libpg_query that referenced this pull request Nov 20, 2023
* Fix builds on glibc >= 2.38

`glibc` now defines `strchrnul`, so we add a check to see if `glibc` is
being used, and instead import the symbol if so.

* Bump version to 4.2.3

* Add note about PR pganalyze#199 in 4.2.3 changelog
hurricane1026 added a commit to clapdb/libpg_query that referenced this pull request Nov 20, 2023
longqimin pushed a commit to longqimin/libpg_query that referenced this pull request Nov 21, 2023
* Fix builds on glibc >= 2.38

`glibc` now defines `strchrnul`, so we add a check to see if `glibc` is
being used, and instead import the symbol if so.

* Bump version to 4.2.3

* Add note about PR pganalyze#199 in 4.2.3 changelog
fantix pushed a commit to fantix/libpg_query that referenced this pull request Jul 12, 2024
* Fix builds on glibc >= 2.38

`glibc` now defines `strchrnul`, so we add a check to see if `glibc` is
being used, and instead import the symbol if so.

* Bump version to 4.2.3

* Add note about PR pganalyze#199 in 4.2.3 changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure with glibc 2.38 due to strchrnul being available by default

3 participants