| 18565 | } |
| 18566 | |
| 18567 | bool gmt_check_executable (struct GMT_CTRL *GMT, char *program, char *arg, char *pattern, char *text) { |
| 18568 | /* To avoid function name change in several GMT files. */ |
| 18569 | bool status = gmt_run_process_get_first_line (GMT, program, arg, text); |
| 18570 | if (status && pattern && strstr (text, pattern) == NULL) { |
| 18571 | GMT_Report (GMT->parent, GMT_MSG_DEBUG, "gmt_check_executable failed pattern %s test\n", pattern); |
| 18572 | } |
| 18573 | return (status); |
| 18574 | } |
| 18575 | |
| 18576 | void gmt_extend_region (struct GMT_CTRL *GMT, double wesn[], unsigned int mode, double inc[]) { |
| 18577 | /* Extend the region outward according to mode */ |
no test coverage detected