Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2016 16:25:18 -0500
From:      Matteo Riondato <rionda@gmail.com>
To:        Kurt Lidl <lidl@FreeBSD.Org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r308175 - head/libexec/ftpd
Message-ID:  <DE10835B-ACF6-4325-A72B-83876DA02328@gmail.com>
In-Reply-To: <201611011818.uA1II9oe069262@repo.freebsd.org>
References:  <201611011818.uA1II9oe069262@repo.freebsd.org>

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

> On Nov 1, 2016, at 2:18 PM, Kurt Lidl <lidl@FreeBSD.Org> wrote:
>=20
> Author: lidl
> Date: Tue Nov  1 18:18:09 2016
> New Revision: 308175
> URL: https://svnweb.freebsd.org/changeset/base/308175
>=20
> Log:
>  Revisit blacklistd support in ftpd

This commit is breaking buildworld for me with WITHOUT_BLACKLIST=3Dy in =
src.conf :

--- ftpd.o ---
/usr/src/libexec/ftpd/ftpd.c:656:2: warning: implicit declaration of =
function 'BLACKLIST_INIT' is invalid in C99 =
[-Wimplicit-function-declaration]
        BLACKLIST_INIT();
        ^
/usr/src/libexec/ftpd/ftpd.c:1432:4: warning: implicit declaration of =
function 'BLACKLIST_NOTIFY' is invalid in C99 =
[-Wimplicit-function-declaration]
                        BLACKLIST_NOTIFY(BLACKLIST_AUTH_FAIL, =
STDIN_FILENO, "Login incorrect");
                        ^
/usr/src/libexec/ftpd/ftpd.c:1432:21: error: use of undeclared =
identifier 'BLACKLIST_AUTH_FAIL'; did you mean 'BLACKLIST_NOTIFY'?
                        BLACKLIST_NOTIFY(BLACKLIST_AUTH_FAIL, =
STDIN_FILENO, "Login incorrect");
                                         ^~~~~~~~~~~~~~~~~~~
                                         BLACKLIST_NOTIFY
/usr/src/libexec/ftpd/ftpd.c:1432:4: note: 'BLACKLIST_NOTIFY' declared =
here
                        BLACKLIST_NOTIFY(BLACKLIST_AUTH_FAIL, =
STDIN_FILENO, "Login incorrect");
                        ^
/usr/src/libexec/ftpd/ftpd.c:1450:21: error: use of undeclared =
identifier 'BLACKLIST_AUTH_OK'; did you mean 'BLACKLIST_NOTIFY'?
                        BLACKLIST_NOTIFY(BLACKLIST_AUTH_OK, =
STDIN_FILENO, "Login successful");
                                         ^~~~~~~~~~~~~~~~~
                                         BLACKLIST_NOTIFY
/usr/src/libexec/ftpd/ftpd.c:1432:4: note: 'BLACKLIST_NOTIFY' declared =
here
                        BLACKLIST_NOTIFY(BLACKLIST_AUTH_FAIL, =
STDIN_FILENO, "Login incorrect");
                        ^
2 warnings and 2 errors generated.
*** [ftpd.o] Error code 1


Matteo




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DE10835B-ACF6-4325-A72B-83876DA02328>