Commit 62485293 authored by sof's avatar sof
Browse files

[project @ 1999-01-21 19:56:48 by sof]

The temp file where cpp's output was output wasn't being properly removed
parent 40317587
......@@ -418,10 +418,7 @@ sub slurp_file_for_imports {
close(SRCFILE) || exit(1);
# remove temporary file, if any.
if ($cleanup) {
# truncate() may not be implemented, so we
# play it safe here.
local(*TRUNC);
open(TRUNC,"> $read_from_file") && close(TRUNC);
unlink("$read_from_file");
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment