[PATCH] #ifdef code cleanup

Martin Schwenke martin at meltin.net
Thu Nov 29 07:00:39 UTC 2018


On Thu, 29 Nov 2018 07:36:40 +0100, Andreas Schneider via
samba-technical <samba-technical at lists.samba.org> wrote:

> On Wednesday, 28 November 2018 20:52:22 CET Gary Lockyer wrote:
> > Looks good to me RB+
> > Pushing to autobuild.  
> 
> Thanks Gary!!

It looks like something (probably commit
63a48e64871cbfa36c4f9686a36a951711135114) broke the FreeBSD build:

[3442/3889] Compiling source3/winbindd/winbindd.c
../../source3/winbindd/winbindd.c:1615:47: error: use of undeclared identifier 'environ'
        setproctitle_init(argc, discard_const(argv), environ);
                                                     ^
It looks to be as simple as environ not being defined in replace.h, but
I'm not completely sure if the fix is as simple as I think it
is...  and my brain has melted by the end of the day.  :-)

peace & happiness,
martin



More information about the samba-technical mailing list