Compare commits
	
		
			No commits in common. "9addfc9284f004f3778ff5351b41f68a1e57ae94" and "b7bc1f16ad4047e6eeb1d48c3d1066b69b0b5d3a" have entirely different histories.
		
	
	
		
			9addfc9284
			...
			b7bc1f16ad
		
	
		
							
								
								
									
										9
									
								
								src/dj.c
									
									
									
									
									
								
							
							
						
						
									
										9
									
								
								src/dj.c
									
									
									
									
									
								
							@ -263,12 +263,12 @@ int main(int argc, char *argv[]){
 | 
				
			|||||||
		assert(io[0].bufuse == 0);
 | 
							assert(io[0].bufuse == 0);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		{ /* read */
 | 
							{ /* read */
 | 
				
			||||||
			long skipping;
 | 
								char skipping;
 | 
				
			||||||
			size_t t;
 | 
								size_t t;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			/* hack to intentionally get a partial read from Io_read */
 | 
								/* hack to intentionally get a partial read from Io_read */
 | 
				
			||||||
			if((skipping = MIN(io[0].seek, io[0].bs)) > 0)
 | 
								if((skipping = (io[0].seek > 0)) && io[0].seek < io[0].bs)
 | 
				
			||||||
				io[0].bufuse = io[0].bs - (size_t)skipping;
 | 
									io[0].bufuse = io[0].bs - io[0].seek;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			t = io[0].bufuse;
 | 
								t = io[0].bufuse;
 | 
				
			||||||
			if(Io_read(&io[0])->bufuse == t && !noerror && io[0].error == 0)
 | 
								if(Io_read(&io[0])->bufuse == t && !noerror && io[0].error == 0)
 | 
				
			||||||
@ -290,8 +290,7 @@ int main(int argc, char *argv[]){
 | 
				
			|||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			if(skipping > 0){
 | 
								if(skipping){
 | 
				
			||||||
				io[0].seek -= skipping;
 | 
					 | 
				
			||||||
				io[0].bufuse = 0;
 | 
									io[0].bufuse = 0;
 | 
				
			||||||
				count += (count != 0);
 | 
									count += (count != 0);
 | 
				
			||||||
				continue;
 | 
									continue;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user