Mark Kettenis <mark.kette...@xs4all.nl> writes: > Hmm. This is marked as _X_EXPORT, so presumably part of the driver > ABI. Exporting variables like this is generally a bad idea, at least > for ELF DSOs. Copy relocations and all that.
even libc exposes a pile of data, including stdin, stderr and stdout, and that seems to work just fine. Switching this from a #define to a exported variable makes the change minimally invasive while solving the problem nicely. Anything more complicated will be harder to understand and end up slower than this solution. I don't see any benefit there. Reviewed-by: Keith Packard <kei...@keithp.com> -- -keith
signature.asc
Description: PGP signature
_______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel