https://bugzilla.mindrot.org/show_bug.cgi?id=2881
Roumen Petrov <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Roumen Petrov <[email protected]> --- No comments on proposed patch! Few lines after /usr/include/stdio.h:606: is getline declaration. For protocol in current master getdelim ( https://sourceware.org/git/?p=glibc.git;a=blob;f=libio/stdio.h;h=731f8e56f4c115a1a507b85babaa22b21efb140c;hb=HEAD#l600 ) in online 600 while get;line on 610. Real question why on this system getline is not detected? Hints: - on linux configure script defines -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE; - if _DEFAULT_SOURCE is defined then _POSIX_C_SOURCE is set to 200809L (https://sourceware.org/git/?p=glibc.git;a=blob;f=include/features.h;h=d22c32eee6a98c350cad4267b15355fb271b9818;hb=HEAD#l258); - __USE_XOPEN2K8 is set to 1 if _POSIX_C_SOURCE > 200112L or POSIX_C_SOURCE >= 200809L ( https://sourceware.org/git/?p=glibc.git;a=blob;f=include/features.h;h=d22c32eee6a98c350cad4267b15355fb271b9818;hb=HEAD#l323 ) - if __USE_XOPEN2K8 is defined stdio.h header should declare getdelim and getline . I cannot reproduce issue on other GNU C-lib (old 2.23). Why detection fail on reported system? -- You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ openssh-bugs mailing list [email protected] https://lists.mindrot.org/mailman/listinfo/openssh-bugs
