facebook/scribe — Issue #53: line 84 in src/file.cpp is just wrong
Author: zviadm
Created: 2012-01-31 04:58:12+00:00
State: open

it looks like this:
ios_base::openmode mode = fstream::out | fstream::app | fstream::trunc;

you can not open file for both fstream:app and fstream:trunc, that is just not possible and will lead to an error.

instead that line should look like:
ios_base::openmode mode = fstream::out | fstream::trunc;