Closed DusanJovic-NOAA closed 3 weeks ago
$ ../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.
Uggg! What a dumb bug.
I've fixed it in #530
Thanks @DusanJovic-NOAA for catching this!
In this section in g2c_compare.c:
shouldn't the second file use
path[1]
instead ofpath[0]
?