Merge "Cherrypick upstream fnmatch.c fix."
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
				
			|||||||
/*	$OpenBSD: fnmatch.c,v 1.18 2014/12/11 16:25:34 millert Exp $	*/
 | 
					/*	$OpenBSD: fnmatch.c,v 1.19 2015/08/01 18:11:08 millert Exp $	*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Copyright (c) 2011, VMware, Inc.
 | 
					/* Copyright (c) 2011, VMware, Inc.
 | 
				
			||||||
 * All rights reserved.
 | 
					 * All rights reserved.
 | 
				
			||||||
@@ -192,6 +192,8 @@ static int fnmatch_ch(const char **pattern, const char **string, int flags)
 | 
				
			|||||||
                result = 0;
 | 
					                result = 0;
 | 
				
			||||||
                continue;
 | 
					                continue;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					            if (!**pattern)
 | 
				
			||||||
 | 
					                break;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
leadingclosebrace:
 | 
					leadingclosebrace:
 | 
				
			||||||
            /* Look at only well-formed range patterns; 
 | 
					            /* Look at only well-formed range patterns; 
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user