Closed loqs closed 1 year ago
@loqs Thanks for the report and the patch, tracking this in the core library as https://github.com/pganalyze/libpg_query/issues/202
This has been resolved via https://github.com/pganalyze/pg_query/pull/299, which was just released as 4.2.3.
Thus closing this, but please let us know if there are any more issues & once again thanks for your detailed report!
Versions used: ruby 3.0.6 google-protobuf 3.23.3 pg_query 4.2.1 glibc 2.38 gcc 13.2.1
Steps to reproduce and output generated:
In glibc 2.38 strchrnul is not restricted to when _GNU_SOURCE is defined 1. The following patch allowed the build to succeed: