NetBSD-Bugs archive

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

Re: xsrc/55853: [dM] xdpyinfo sometimes loses output



The following reply was made to PR xsrc/55853; it has been noted by GNATS.

From: Mouse <mouse%Rodents-Montreal.ORG@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: xsrc/55853: [dM] xdpyinfo sometimes loses output
Date: Wed, 9 Dec 2020 09:26:52 -0500 (EST)

 >  static void
 >  #ifdef __NetBSD__
 >  __attribute__ ((__destructor__))
 >  #endif
 >  XF86cleanup(int sig)  
 >  {
 [...]
 >      _exit(3);
 >  }
 
 >  That code is usually called by an atexit() handler or by a fatal
 >  signal handler which are set up in XF86DGAGetVideo.
 
 Should such a function be calling _exit at all?  It will prevent other
 cleanup (such as other atexit() handlers) from running, if naught else.
 
 /~\ The ASCII				  Mouse
 \ / Ribbon Campaign
  X  Against HTML		mouse%rodents-montreal.org@localhost
 / \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
 


Home | Main Index | Thread Index | Old Index