Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2016 21:09:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 214409] Compile failure in libexec/ftpd/ftpd.c due to undefined macros when blacklist support is disabled
Message-ID:  <bug-214409-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help

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@FreeBSD.org
          Reporter: matthew@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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214409-8>