Internal: Remove deprecated/insecure functions. No functional change intended.

This commit is contained in:
Wilson Snyder
2021-03-06 10:34:03 -05:00
parent cf9ac8270b
commit 47dcbd4b8a
17 changed files with 109 additions and 77 deletions
+2 -5
View File
@@ -165,11 +165,8 @@ string FileLine::xmlDetailedLocation() const {
}
string FileLine::lineDirectiveStrg(int enterExit) const {
char numbuf[20];
sprintf(numbuf, "%d", lastLineno());
char levelbuf[20];
sprintf(levelbuf, "%d", enterExit);
return (string("`line ") + numbuf + " \"" + filename() + "\" " + levelbuf + "\n");
return std::string("`line ") + cvtToStr(lastLineno()) + " \"" + filename() + "\" "
+ cvtToStr(enterExit) + "\n";
}
void FileLine::lineDirective(const char* textp, int& enterExitRef) {