Skip to content
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

scandirstr.h include a relative path that goes outside of source dir #25

Open
M95D opened this issue May 24, 2020 · 0 comments
Open

scandirstr.h include a relative path that goes outside of source dir #25

M95D opened this issue May 24, 2020 · 0 comments

Comments

@M95D
Copy link

M95D commented May 24, 2020

#include "../../jwmtools/s/s.h"
is wrong. It goes outside of the source directory (that would be "jwmtools") and then re-enters it.
But jwmtools is NOT the source directory if the user downloaded the zip file from this github page. The source dir in that case would be "jwmtools-master" and the include fails to re-enter the source directory.

That line should be:
#include "../s/s.h"

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

No branches or pull requests

1 participant