* filterSource: pass strings to the predicate function instead of
paths. Paths can have unexpected semantics.
This commit is contained in:
		
							parent
							
								
									84a84afb0e
								
							
						
					
					
						commit
						7dedbd896a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -749,7 +749,7 @@ struct FilterFromExpr : PathFilter | ||||||
| 
 | 
 | ||||||
|         Expr call = |         Expr call = | ||||||
|             makeCall( |             makeCall( | ||||||
|                 makeCall(filter, makePath(toATerm(path))), |                 makeCall(filter, makeStr(path)), | ||||||
|                 makeStr( |                 makeStr( | ||||||
|                     S_ISREG(st.st_mode) ? "regular" : |                     S_ISREG(st.st_mode) ? "regular" : | ||||||
|                     S_ISDIR(st.st_mode) ? "directory" : |                     S_ISDIR(st.st_mode) ? "directory" : | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue