[PATCH] Just another round of random cleanups

Martin Schwenke martin at meltin.net
Wed Sep 17 21:58:34 MDT 2014


On Thu, 18 Sep 2014 13:51:18 +1000, Martin Schwenke <martin at meltin.net>
wrote:

> I think that when a library depends on a subsystem, then the library
> ends up including the objects for that subsystem.  So, I suppose
> that tdb-wrap, samba-util and errors all contain samba-debug.

  martins at rover:~/samba/samba (merge)$ nm bin/default/lib/util/libsamba-util.so  | grep check_log_size
  000105f4 T check_log_size
  0001056b T force_check_log_size
  0001059c T need_to_check_log_size
  martins at rover:~/samba/samba (merge)$ nm bin/default/lib/tdb_wrap/libtdb-wrap.so  | grep check_log_size
  00002836 T check_log_size
  000027ad T force_check_log_size
  000027de T need_to_check_log_size
  martins at rover:~/samba/samba (merge)$ nm bin/default/libcli/util/liberrors.so  | grep check_log_size
  00019afa T check_log_size
  00019a71 T force_check_log_size
  00019aa2 T need_to_check_log_size

There it is!  So, either there is a way around this or it isn't a
problem...  ;-)

I'm looking for a counter-example in the wscript-fu to see if there's
a similar place where this doesn't happen.

Is there anyone else who can save us the time and please explain this?
:-)

Thanks...

peace & happiness,
martin


More information about the samba-technical mailing list