diff options
| author | Carlos MartÃn Nieto <carlosmn@github.com> | 2016-10-06 14:57:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-06 14:57:11 +0200 |
| commit | d11fcf867ba1397928fa18cf45695ff8db32ae44 (patch) | |
| tree | 4bb04769f4b5b9081d4516a4075953fc4c80ec63 /src/revparse.c | |
| parent | e8ab13b3fd8485086c2a906dac85ecc8fa162d84 (diff) | |
| parent | ab96ca5572f1aae6bc7f889fbd46f56fc959ba2b (diff) | |
| download | libgit2-d11fcf867ba1397928fa18cf45695ff8db32ae44.tar.gz | |
Merge pull request #3953 from arthurschreiber/arthur/fix-regcomp-locale-issues
Make sure we use the `C` locale for `regcomp` on macOS.
Diffstat (limited to 'src/revparse.c')
| -rw-r--r-- | src/revparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/revparse.c b/src/revparse.c index e0ec3941d..aa7e0bd98 100644 --- a/src/revparse.c +++ b/src/revparse.c @@ -50,7 +50,7 @@ static int build_regex(regex_t *regex, const char *pattern) return GIT_EINVALIDSPEC; } - error = regcomp(regex, pattern, REG_EXTENDED); + error = p_regcomp(regex, pattern, REG_EXTENDED); if (!error) return 0; |
