NCEPLIBS-g2c
NCEPLIBS-g2c copied to clipboard
Is this a bug in g2c_compare.c?
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]
?