Skip to content

re.c: fix recursive call arguments and set CC optionally #95

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kokorokonekuto
Copy link

When calling the recursive varient of matchpattern, it doesn't call the function with the matchlength argument. This patch fixes it.

Also, set Makefile CC to gcc when GNU/make can't find the default CC path. This fixes compilation on other Unix-like platforms (e.g. *BSDs) where CC defaults to clang (we previously explicitly set this to GCC).

When calling the recursive varient of matchpattern, it doesn't
call the function with the matchlength argument. This patch fixes it.

Also, set Makefile CC to gcc when GNU/make can't find the default
CC path. This fixes compilation on other Unix-like platforms where
CC defaults to clang (we previously explicitly set this to GCC).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant