[Bug 3152] #ifdef around memmem() is invalid.

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Apr 24 11:04:05 AEST 2020


https://bugzilla.mindrot.org/show_bug.cgi?id=3152

--- Comment #3 from Darren Tucker <dtucker at dtucker.net> ---
(In reply to balu from comment #2)
> Interesting. If there is a system that doesn't have a declaration
> but has a definition then the issue is specific to that environment?

Like I said I think that's what was going on, but it's not 100% clear
(the reporter said they did not have HAVE_MEMMEM, but in that case I
would have expected the old "#ifndef HAVE_MEMMEM" to have worked).

> Is it expected behavior? I guess No?

Well I'd expect a platform to have both declaration and implementation
but in the case of having implementation only I'd expect it to cause
problems in LP64 platforms.

There's a lot of weirdness out there.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list