mirror of
				git://git.code.sf.net/p/cdesktopenv/code
				synced 2025-03-09 15:50:02 +00:00 
			
		
		
		
	dtsession: also block HUP and PIPE when preparing to shutdown
This commit is contained in:
		
							parent
							
								
									dc5d68afba
								
							
						
					
					
						commit
						f46a9c62b9
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1157,6 +1157,8 @@ ImmediateExit(
 | 
			
		|||
     */
 | 
			
		||||
#if !defined(SVR4) && !defined(sco)
 | 
			
		||||
    old = sigblock(sigmask(SIGTERM));
 | 
			
		||||
    sigblock(sigmask(SIGHUP));
 | 
			
		||||
    sigblock(sigmask(SIGPIPE));
 | 
			
		||||
#else
 | 
			
		||||
    old = sighold(SIGTERM);
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue