diff options
| author | René Scharfe <l.s.r@web.de> | 2017-08-09 16:15:10 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2017-08-09 09:46:18 -0700 |
| commit | 4c7fda8fc1d67481100b8d4e39f9ff6ff878639e (patch) | |
| tree | effe40b60977978d3969e874ab74b447ed227669 /refs/files-backend.c | |
| parent | 840ed141983718e0c5518a325534a5656797132a (diff) | |
t4062: use less than 256 repetitions in regex
OpenBSD's regex library has a repetition limit (RE_DUP_MAX) of 255.
That's the minimum acceptable value according to POSIX. In t4062 we use
4096 repetitions in the test "-G matches", though, causing it to fail.
Combine two repetition operators, both less than 256, to arrive at 4096
zeros instead of using a single one, to fix the test on OpenBSD.
Original-patch-by: David Coppa <dcoppa@openbsd.org>
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs/files-backend.c')
0 files changed, 0 insertions, 0 deletions
