tail(1): write partial last line also with -f
This commit is contained in:
		
							parent
							
								
									28f2a169da
								
							
						
					
					
						commit
						8a925dcf90
					
				@ -326,6 +326,8 @@ int keep_reading()
 | 
				
			|||||||
  off_t pos;
 | 
					  off_t pos;
 | 
				
			||||||
  struct stat st;
 | 
					  struct stat st;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  fflush(stdout);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  pos = lseek(0, (off_t) 0, SEEK_CUR);
 | 
					  pos = lseek(0, (off_t) 0, SEEK_CUR);
 | 
				
			||||||
  for (;;) {
 | 
					  for (;;) {
 | 
				
			||||||
  	for (i = 0; i < 60; i++) {
 | 
					  	for (i = 0; i < 60; i++) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user