-
Notifications
You must be signed in to change notification settings - Fork 264
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
Removed a use of sprintf that required changing a function signature #2743
Conversation
How does NetCDF deal with deprecating and replacing APIs? i.e. for this part: -extern void cdRel2Iso(cdCalenType timetype, char* relunits, int separator, double reltime, char* chartime);
+extern void cdRel2IsoNew(cdCalenType timetype, char* relunits, int separator, double reltime, char* chartime, size_t chartime_size);
+extern void cdRel2Iso(cdCalenType timetype, char* relunits, int separator, double reltime, char* chartime); // deprecated What shall we call the new API? Do you have a deprecation macro that does similar to C23's [[deprecated]]? If not, I can add one. Thanks. |
I do not think this function change is a problem. |
Ah, I thought it might have been public API. Patch updated. |
There is one other point. If memory serves, the nctime code was taken from some other site. |
I've done some searching and tried to find an upstream, but most searches just bring me to netcdf. |
@DennisHeimbigner I've just tried again, but can't find any upstream. Closest I got is: https://cdat.llnl.gov/ if that's it, they aren't maintaining it anymore anyway. |
Rebased with latest @WardF @DennisHeimbigner this one is ready to merge IMHO, pending your reviews. |
No description provided.