mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-07 09:46:54 +00:00
backport r29392
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29397 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
64d320c255
commit
f087798732
@ -281,6 +281,14 @@ private:
|
|||||||
inbytesleft, to, outbytesleft);
|
inbytesleft, to, outbytesleft);
|
||||||
if (converted == (size_t)(-1)) {
|
if (converted == (size_t)(-1)) {
|
||||||
switch(errno) {
|
switch(errno) {
|
||||||
|
case 0:
|
||||||
|
// As strange as it may seem, this
|
||||||
|
// does happen on windows when parsing
|
||||||
|
// comments with accented chars in
|
||||||
|
// tex2lyx. See the following thread
|
||||||
|
// for details
|
||||||
|
// http://thread.gmane.org/gmane.editors.lyx.devel/117636
|
||||||
|
break;
|
||||||
case EINVAL:
|
case EINVAL:
|
||||||
case E2BIG:
|
case E2BIG:
|
||||||
return base::partial;
|
return base::partial;
|
||||||
|
Loading…
Reference in New Issue
Block a user