summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2005-04-02 17:13:21 (UTC)
committer Michael Krelin <hacker@klever.net>2005-04-02 17:13:21 (UTC)
commit67b825ecb491066424b7e48f864c0b76b4156b28 (patch) (side-by-side diff)
tree32c9f346060d04adc5a1d527656306489a7b0274
parent986589d804cf07f58b0b9b8786267bf9032d231c (diff)
downloadsitecing-67b825ecb491066424b7e48f864c0b76b4156b28.zip
sitecing-67b825ecb491066424b7e48f864c0b76b4156b28.tar.gz
sitecing-67b825ecb491066424b7e48f864c0b76b4156b28.tar.bz2
removed debugging output
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--lib/sitecing_enflesher.ll1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/sitecing_enflesher.ll b/lib/sitecing_enflesher.ll
index bb667be..f833af2 100644
--- a/lib/sitecing_enflesher.ll
+++ b/lib/sitecing_enflesher.ll
@@ -231,25 +231,24 @@ void sitecing_enflesher::outs_close() {
throw preprocessor_error(CODEPOINT,"error reading just created file");
if(i_d.read(t2,rb).gcount()!=rb)
throw preprocessor_error(CODEPOINT,"error reading the old preprocessed source");
if(memcmp(t1,t2,rb)) {
overwrite = true;
break;
}
remaining -= rb;
}
}
}
if(overwrite) {
- cerr << "renaming '" << fn_s << "'" << endl;
if(rename(fn_s.c_str(),fn_d.c_str()))
throw preprocessor_error(CODEPOINT,"failed to rename() generated output");
}
}
outs_filename.erase();
}
void sitecing_enflesher::outs_open(const string& nfile) {
outs_close();
outs_filename = nfile;
outs.open((nfile+".new").c_str(),ios::trunc);
if(!outs.good())