Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -D_DEFAULT_SOURCE for strlcat/strlcpy provided by glibc >= 2.38. #7055

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

sebastic
Copy link
Contributor

As reported in Debian Bug #1067651 MapServer failed to build on Ubuntu noble with glibc 2.39.

strlcpy and strlcat were introduced in glibc 2.38 but require -D_DEFAULT_SOURCE to actually work after being detected by check_function_exists().

@jmckenna jmckenna added this to the 8.2.0 Release milestone Mar 25, 2024
@rouault
Copy link
Contributor

rouault commented Mar 25, 2024

Failure on "Build / regular" CI target unrelated to that pull request, will be fixed per #7056

@rouault rouault merged commit 4531150 into MapServer:main Mar 25, 2024
9 of 10 checks passed
@sebastic sebastic deleted the glibc-strlcat branch March 25, 2024 15:41
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.

None yet

3 participants