Fixed a bug: ack could not see the difference between ".mod" and ".m".
This is corrected.
This commit is contained in:
		
							parent
							
								
									3a076895bb
								
							
						
					
					
						commit
						84f0869fde
					
				
					 1 changed files with 6 additions and 4 deletions
				
			
		| 
						 | 
					@ -200,11 +200,13 @@ int satisfy(trafo,suffix) register trf *trafo; char *suffix ; {
 | 
				
			||||||
			fuerror("Illegal input suffix entry for %s",
 | 
								fuerror("Illegal input suffix entry for %s",
 | 
				
			||||||
				trafo->t_name) ;
 | 
									trafo->t_name) ;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		l_char=index(f_char+1,SUFCHAR);
 | 
							l_char=strindex(f_char+1,SUFCHAR);
 | 
				
			||||||
		if ( l_char ? strncmp(f_char,suffix,l_char-f_char)==0 :
 | 
							if ( l_char ) *l_char = 0;
 | 
				
			||||||
			      strcmp(f_char,suffix)==0 ) {
 | 
							if ( strcmp(f_char,suffix)==0 ) {
 | 
				
			||||||
			return 1 ;
 | 
								if ( l_char ) *l_char = SUFCHAR;
 | 
				
			||||||
 | 
								return 1;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
							if ( l_char ) *l_char = SUFCHAR;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	return 0 ;
 | 
						return 0 ;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue