coin-or-Clp/coin-or-Clp-sprintf.patch
Jerry James e443003589 Update to latest upstream release (bz 1461031, 1603677).
Also:
- Update project URL.
- Change License from EPL to EPL-1.0.
- Eliminate unnecessary BRs and Rs.
- Build with Cbc, MUMPS, nauty, and suitesparse.
- Build in bootstrap mode.
- Add -bad-cast, -badcolumn, -param, -catch, -sprintf, -overflow,
  and -signed patches.
- Eliminate rpath from the library.
- Force libtool to not defeat -Wl,--as-needed.
- Be explicit about library versions as required by latest guidelines.
- Filter out unnecessary Libs values from pkgconfig files.
- Package doxygen tag file to enable cross-linking.
2019-06-27 19:42:00 -06:00

15 lines
578 B
Diff

--- Clp-1.17.3/src/ClpSimplexOther.cpp.orig 2019-01-07 12:04:36.000000000 -0700
+++ Clp-1.17.3/src/ClpSimplexOther.cpp 2019-06-19 09:35:35.100664914 -0600
@@ -2360,9 +2360,9 @@ int ClpSimplexOther::parametrics(const c
if (intervalTheta >= endTheta)
intervalTheta = 0.0;
if (!good) {
- sprintf(line, "Odd first line %s on file %s?", line, dataFile);
handler_->message(CLP_GENERAL, messages_)
- << line << CoinMessageEol;
+ << "Odd first line " << line << " on file " << dataFile << "?"
+ << CoinMessageEol;
fclose(fp);
return -2;
}