Browse Source
We need to determine the search term's length only when fixed-string matching is used; regular expression compilation takes a NUL-terminated string directly. Only call strlen() in the former case. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
René Scharfe
11 years ago
committed by
Junio C Hamano
1 changed files with 1 additions and 2 deletions
Loading…
Reference in new issue