Denys Vlasenko
		
	
	c100535571
	
	
	cat,nl: fix handling of open errors
		
			
			$ cat -n does_not_exist; echo $?
cat: does_not_exist: No such file or directory
1
function                                             old     new   delta
print_numbered_lines                                 118     129     +11
nl_main                                              196     201      +5
cat_main                                             421     425      +4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 20/0)               Total: 20 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
		
	
 
		2018-11-29 11:44:10 +01:00
	 
	
	
	
		 ..
	
	
	
		
			
			
			
			
			
			2018-11-01 10:15:13 +01:00
		 
	
		
	
		
			
			
			
			
			
			2016-12-23 15:13:16 +01:00
		 
	
		
			
			
			
			
			
			2018-11-27 10:38:10 +01:00
		 
	
		
	
		
			
			
			
			
			
			2018-11-02 14:14:51 +01:00
		 
	
		
			
			
			
			
			
			2013-07-30 11:52:58 +02:00
		 
	
		
			
			
			
			
			
			2016-07-22 18:48:38 +02:00
		 
	
		
	
		
	
		
			
			
			
			
			
			2015-01-02 22:31:07 +01:00
		 
	
		
	
		
			
			
			
			
			
			2018-11-29 11:44:10 +01:00
		 
	
		
			
			
			
			
			
			2018-02-01 01:41:31 +01:00
		 
	
		
			
			
			
			
			
			2018-11-23 18:48:20 +01:00
		 
	
		
			
			
			
			
			
			2015-02-07 21:21:02 +01:00
		 
	
		
	
		
			
			
			
			
			
			2015-01-02 22:31:07 +01:00
		 
	
		
	
		
			
			
			
			
			
			2018-11-27 10:38:10 +01:00
		 
	
		
			
			
			
			
			
			2012-03-03 15:09:07 +01:00
		 
	
		
			
			
			
			
			
			2011-12-16 17:05:52 +01:00