!4004 文本工具entab关闭打开的文件

Merge pull request !4004 from xiyanziran/master-entab
This commit is contained in:
opengauss_bot
2023-09-04 02:54:11 +00:00
committed by Gitee

View File

@ -180,6 +180,8 @@ int main(int argc, char** argv)
if (fputs(out_line, stdout) == EOF)
halt("PERROR: Error writing output.\n");
}
if (in_file != stdin)
fclose(in_file);
} while (--argc > 0);
return 0;
}