spack/var/spack/repos/builtin/packages/gmt/regexp.patch
2020-07-05 21:06:05 -05:00

12 lines
467 B
Diff

--- 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 */