mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-02 05:55:38 +00:00
Flush stream more often to help figure out where the mystery crash
originates.
(cherry picked from commit 5536b0c7fe
)
This commit is contained in:
parent
8615003fd9
commit
b9db0c1321
@ -1669,6 +1669,9 @@ void Paragraph::write(ostream & os, BufferParams const & bparams,
|
||||
os << "\\begin_inset ";
|
||||
inset->write(os);
|
||||
os << "\n\\end_inset\n\n";
|
||||
// FIXME This can be removed again once the mystery
|
||||
// crash has been resolved.
|
||||
os << flush;
|
||||
column = 0;
|
||||
}
|
||||
}
|
||||
@ -1706,6 +1709,9 @@ void Paragraph::write(ostream & os, BufferParams const & bparams,
|
||||
|
||||
flushString(os, write_buffer);
|
||||
os << "\n\\end_layout\n";
|
||||
// FIXME This can be removed again once the mystery
|
||||
// crash has been resolved.
|
||||
os << flush;
|
||||
}
|
||||
|
||||
|
||||
|
@ -1517,6 +1517,9 @@ void Tabular::write(ostream & os) const
|
||||
cell_info[r][c].inset->write(os);
|
||||
os << "\n\\end_inset\n"
|
||||
<< "</cell>\n";
|
||||
// FIXME This can be removed again once the mystery
|
||||
// crash has been resolved.
|
||||
os << flush;
|
||||
}
|
||||
os << "</row>\n";
|
||||
}
|
||||
|
@ -32,6 +32,9 @@ What's new
|
||||
filename (tmp-oldfile.lyx) and only deletes the original file once the
|
||||
new file has successfully been written.
|
||||
|
||||
- We now flush the output stream more frequently, as a temporary measure
|
||||
to help us gather information about the crash mentioned above.
|
||||
|
||||
|
||||
* TEX2LYX IMPROVEMENTS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user