Package: manpages-dev Version: 5.10-1 Severity: normal Tags: patch Dear Maintainer,
the manpages unlocked_stdio(3) and flockfile(3) indicate that _POSIX_C_SOURCE should be defined with a value of 199309L in order to obtain prototypes for: - flockfile - ftrylockfile - funlockfile - getc_unlocked - getchar_unlocked - putc_unlocked - putchar_unlocked "_POSIX_C_SOURCE >= 199309L" should instead be "_POSIX_C_SOURCE >= 199506L". This seems to be the case for glibc 2.24 (stretch) as well as glibc 2.31 (bullseye). --- manpages-5.10.orig/man3/flockfile.3 +++ manpages-5.10/man3/flockfile.3 @@ -42,7 +42,7 @@ .PP All functions shown above: .RS 4 -/* Since glibc 2.24: */ _POSIX_C_SOURCE\ >=\ 199309L +/* Since glibc 2.24: */ _POSIX_C_SOURCE\ >=\ 199506L || /* Glibc versions <= 2.23: */ _POSIX_C_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE --- manpages-5.10.orig/man3/unlocked_stdio.3 +++ manpages-5.10/man3/unlocked_stdio.3 @@ -73,7 +73,7 @@ .BR putc_unlocked (), .BR putchar_unlocked (): .RS 4 -/* Since glibc 2.24: */ _POSIX_C_SOURCE\ >=\ 199309L +/* Since glibc 2.24: */ _POSIX_C_SOURCE\ >=\ 199506L || /* Glibc versions <= 2.23: */ _POSIX_C_SOURCE || /* Glibc versions <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE .RE -- System Information: Debian Release: 11.3 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-13-amd64 (SMP w/50 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages manpages-dev depends on: ii manpages 5.10-1 manpages-dev recommends no packages. Versions of packages manpages-dev suggests: ii man-db [man-browser] 2.9.4-2 -- no debconf information