spack/var/spack/repos/builtin/packages/gmt/regexp.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
467 B
Diff
Raw Normal View History

2020-07-06 10:06:05 +08:00
--- a/src/gmt_regexp.c 2020-07-04 15:13:40.000000000 -0500
+++ b/src/gmt_regexp.c 2020-07-05 18:35:02.000000000 -0500
@@ -217,7 +217,7 @@
/* this is when errors have been encountered */
regerror(status, &re, err_msg, MAX_ERR_LENGTH);
GMT_Report (GMT->parent, GMT_MSG_ERROR, "gmtlib_regexp_match: POSIX ERE matching error: %s\n", err_msg); /* Report error. */
- return (-GMT_RUNTIME_ERROR;)
+ return (-GMT_RUNTIME_ERROR);
}
return (0); /* No match */