Bash-4.2 distribution sources and documentation
This commit is contained in:
		
					parent
					
						
							
								30d188c293
							
						
					
				
			
			
				commit
				
					
						495aee441b
					
				
			
		
					 341 changed files with 108751 additions and 36060 deletions
				
			
		|  | @ -604,7 +604,7 @@ rl_prep_terminal (meta_flag) | |||
|   /* Try to keep this function from being INTerrupted. */ | ||||
|   _rl_block_sigint (); | ||||
| 
 | ||||
|   tty = fileno (rl_instream); | ||||
|   tty = rl_instream ? fileno (rl_instream) : fileno (stdin); | ||||
| 
 | ||||
|   if (get_tty_settings (tty, &tio) < 0) | ||||
|     { | ||||
|  | @ -678,7 +678,7 @@ rl_deprep_terminal () | |||
|   /* Try to keep this function from being interrupted. */ | ||||
|   _rl_block_sigint (); | ||||
| 
 | ||||
|   tty = fileno (rl_instream); | ||||
|   tty = rl_instream ? fileno (rl_instream) : fileno (stdout); | ||||
| 
 | ||||
|   if (_rl_enable_keypad) | ||||
|     _rl_control_keypad (0); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Chet Ramey
				Chet Ramey