Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/external/cddl/osnet



On Sat, 11 Apr 2015, Taylor R Campbell wrote:
  Date: Sat, 11 Apr 2015 15:12:01 +1000
  from: matthew green <mrg%eterna.com.au@localhost>

"Taylor R Campbell" writes:
When modifying, double-check that libnvpair.so defines no xdr_* symbols, only _solaris_xdr_*. (XXX Put this note somewhere...)

somewhere == doc/HACKS.

It's not really a hack, though. This is just the way we have to make colliding symbols not collide. What we don't have is a way to automate it so you don't have to write `#define xdr_foo _solaris_xdr_foo', or so the toolchain will notify you if you forgot to.

You could write a test that uses nm|awk to check that all externally visible symbols have some desired prefix.

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index