Defer closing of depend file

This commit is contained in:
Rangi42
2024-03-27 11:44:26 -04:00
parent 2ef5e807f8
commit 912a1504ec
5 changed files with 22 additions and 27 deletions

View File

@@ -302,7 +302,7 @@ static void writeFileStackNode(FileStackNode const &node, FILE *file) {
}
}
// Write an objectfile
// Write an object file
void out_WriteObject() {
FILE *file;
if (objectName != "-") {
@@ -352,7 +352,7 @@ void out_WriteObject() {
writeassert(assert, file);
}
// Set the objectfilename
// Set the object filename
void out_SetFileName(std::string const &name) {
if (!objectName.empty())
warnx("Overriding output filename %s", objectName.c_str());