[Bug 214409] Compile failure in libexec/ftpd/ftpd.c due to undefined macros when blacklist support is disabled
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Nov 10 21:09:08 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214409
Bug ID: 214409
Summary: Compile failure in libexec/ftpd/ftpd.c due to
undefined macros when blacklist support is disabled
Product: Base System
Version: 11.0-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: freebsd-bugs at FreeBSD.org
Reporter: matthew at reztek.cz
Created attachment 176872
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=176872&action=edit
unconditionally include header to prevent compile failure caused by undefined
macros
The recent blacklist change to ftpd in r308175/r308446 consolidated most
occurrences of #ifdef USE_BLACKLIST by replacing the blacklist function calls
with macros. However, those macros are defined in a header whose inclusion is
still wrapped in a #ifdef USE_BLACKLIST. Thus, when blacklist support is
disabled the macros are undefined and compilation of ftpd.c fails. The
blacklist_client.h header should be included unconditionally.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list