diff options
author | midipix <writeonce@midipix.org> | 2024-02-22 14:49:18 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-22 14:49:18 +0000 |
commit | 7a39baab1e7cad116cd3583b61faeccd6fec8164 (patch) | |
tree | 6ee674a126ed5af4b6b9cca4586a8dd3b1a06798 /src | |
parent | f875f2cb0744bf1ae211eda1c2c39c249b76f841 (diff) | |
download | slibtool-7a39baab1e7cad116cd3583b61faeccd6fec8164.tar.bz2 slibtool-7a39baab1e7cad116cd3583b61faeccd6fec8164.tar.xz |
slbt_ar_output_mapfile(): support extended regex.
Diffstat (limited to 'src')
-rw-r--r-- | src/arbits/slbt_archive_mapfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arbits/slbt_archive_mapfile.c b/src/arbits/slbt_archive_mapfile.c index 379e278..07d947d 100644 --- a/src/arbits/slbt_archive_mapfile.c +++ b/src/arbits/slbt_archive_mapfile.c @@ -63,7 +63,7 @@ static int slbt_ar_output_mapfile_impl( return SLBT_NESTED_ERROR(dctx); if ((regex = dctx->cctx->regex)) - if (regcomp(®ctx,regex,REG_NEWLINE)) + if (regcomp(®ctx,regex,REG_EXTENDED|REG_NEWLINE)) return SLBT_CUSTOM_ERROR( dctx, SLBT_ERR_FLOW_ERROR); |