Module Name: xsrc Committed By: tsutsui Date: Sat Jan 23 14:41:04 UTC 2021
Modified Files: xsrc/external/mit/libXxf86dga/dist/src: XF86DGA.c Log Message: Fix "no output of xdpyinfo(1) on redirect or pipe" problem. XF86cleanup() in libXxf86dga invoked via atexit(3) (or __attribute__((__destructor__)) in NetBSD xsrc) calls _exit(2) directly so fflush(3) via normal exit(3) is not called. Analyzed by rin@, ryo@, and soda@: https://mail-index.netbsd.org/tech-x11/2021/01/20/msg002192.html Should be pulled up to netbsd-9. XXX1: The original XF86cleanup() is not async-signale-safe. XXX2: XF86DGAGetVideo() implicitly overrides signal handlers. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 xsrc/external/mit/libXxf86dga/dist/src/XF86DGA.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.