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



   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.

There's a similar thing in the DRM/KMS Linux shims: linux.kmod is
supposed to define only symbols beginning with `linux_', drmkms.kmod
is supposed to define only symbols beginning with `drm_', &c.


Home | Main Index | Thread Index | Old Index