fnmatch-3-Properly-escape-the-terminating-characte.patch

Anonymous, 06/10/2009 07:24 PM

Download (769 Bytes)

View differences:

lib/libc/gen/fnmatch.c
183 183
				    &patmbs);
184 184
				if (pclen == (size_t)-1 || pclen == (size_t)-2)
185 185
					return (FNM_NOMATCH);
186
				if (pclen == 0)
187
					pc = '\\';
188 186
				pattern += pclen;
189 187
			}
190 188
			/* FALLTHROUGH */
191
-