mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
Add some debug output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@8017 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
46264350e1
commit
a74787647c
@ -1,3 +1,8 @@
|
||||
2003-10-22 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* GraphicsConverter.C (Impl c-tor): add a warning message if the file
|
||||
to contain the conversion script cannot be opened.
|
||||
|
||||
2003-09-14 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* PreviewLoader.C (remove): consider all InProgressProcesses when
|
||||
|
@ -170,8 +170,13 @@ Converter::Impl::Impl(string const & from_file, string const & to_file_base,
|
||||
tostr(counter++) + ".sh";
|
||||
|
||||
std::ofstream fs(script_file_.c_str());
|
||||
if (!fs.good())
|
||||
if (!fs.good()) {
|
||||
lyxerr << "Unable to write the conversion script to \""
|
||||
<< script_file_ << '\n'
|
||||
<< "Please check your directory permissions."
|
||||
<< std::endl;
|
||||
return;
|
||||
}
|
||||
|
||||
fs << STRCONV(script.str());
|
||||
fs.close();
|
||||
|
@ -35,3 +35,6 @@ What's new
|
||||
|
||||
- compilation fixes for MacOSX
|
||||
|
||||
- add debug output if unable to open an ofstream to output the graphics
|
||||
conversion script.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user