code duplication in ccan (was: Re: snprintf on SunOS)

Rusty Russell rusty at ozlabs.org
Thu Jun 21 07:19:23 MDT 2012


On Thu, 21 Jun 2012 04:27:09 -0700 (PDT), "Mihai-Radu, Orza" <orzamihai at yahoo.com> wrote:
> Hello,
> 
> I tried building the new samba-4.0.0beta2, but I still get 'err.h: No such file or directory':
> [ 553/3679] Compiling lib/tdb/test/external-agent.c
> ../lib/tdb/test/external-agent.c:7:17: err.h: No such file or directory
> Waf: Leaving directory `/tmp/samba-4.0.0beta2/bin'
> Build failed:  -> task failed (err #1):
>         {task: cc external-agent.c -> external-agent_18.o}
> make: *** [all] Error 1

It's a silly thing, since only one thing in the tdb tests actually calls
err().

I've pushed a fix now (being autobuilt now, I hope!) which removes all
err.h from tdb/test/.

Thanks,
Rusty.


More information about the samba-technical mailing list