removing silly sa_restorer setting
This commit is contained in:
		
							parent
							
								
									451bf4706b
								
							
						
					
					
						commit
						492f30ecfc
					
				| @ -84,7 +84,7 @@ | |||||||
|  int |  int | ||||||
|  main(int argc, char **argv) |  main(int argc, char **argv) | ||||||
|  { |  { | ||||||
| @@ -131,12 +137,20 @@
 | @@ -131,12 +137,19 @@
 | ||||||
|  	int	c, i; |  	int	c, i; | ||||||
|  	pid_t	pid; |  	pid_t	pid; | ||||||
|  	struct stat	stat_buf; |  	struct stat	stat_buf; | ||||||
| @ -98,7 +98,6 @@ | |||||||
| +	winch_action.sa_sigaction = sigwinch_handler;
 | +	winch_action.sa_sigaction = sigwinch_handler;
 | ||||||
| +	sigemptyset(&winch_action.sa_mask);
 | +	sigemptyset(&winch_action.sa_mask);
 | ||||||
| +	winch_action.sa_flags = SA_SIGINFO;
 | +	winch_action.sa_flags = SA_SIGINFO;
 | ||||||
| +	winch_action.sa_restorer = NULL;
 |  | ||||||
| +
 | +
 | ||||||
| +	sigaction(SIGWINCH,&winch_action,NULL);	
 | +	sigaction(SIGWINCH,&winch_action,NULL);	
 | ||||||
| +
 | +
 | ||||||
|  | |||||||
| @ -1,7 +1,7 @@ | |||||||
| Summary: C source code tree search and browse tool  | Summary: C source code tree search and browse tool  | ||||||
| Name: cscope | Name: cscope | ||||||
| Version: 15.5 | Version: 15.5 | ||||||
| Release: 7  | Release: 8  | ||||||
| Source0: http://unc.dl.sourceforge.net/sourceforge/cscope/cscope-15.5.tar.gz  | Source0: http://unc.dl.sourceforge.net/sourceforge/cscope/cscope-15.5.tar.gz  | ||||||
| URL: http://cscope.sourceforge.net | URL: http://cscope.sourceforge.net | ||||||
| License: BSD  | License: BSD  | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user