We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In this section in g2c_compare.c:
69 /* Open the two files. */ 70 g2c_set_log_level(10); 71 if ((ret = g2c_open(path[0], G2C_NOWRITE, &g2cid0))) 72 return ret; 73 if ((ret = g2c_open(path[0], G2C_NOWRITE, &g2cid1))) 74 return ret;
shouldn't the second file use path[1] instead of path[0]?
path[1]
path[0]
The text was updated successfully, but these errors were encountered:
$ ../NCEPLIBS-g2c/install/bin/g2c_compare Segmentation fault (core dumped)
Running the program with no command line arguments should not segfault, it should print some kind of help/usage info.
Sorry, something went wrong.
Uggg! What a dumb bug.
I've fixed it in #530
Thanks @DusanJovic-NOAA for catching this!
edwardhartnett
Successfully merging a pull request may close this issue.
In this section in g2c_compare.c:
shouldn't the second file use
path[1]
instead ofpath[0]
?The text was updated successfully, but these errors were encountered: