changed qse_runmain() to ignore mbwc error by calling qse_mbstowcsalldup().

added qse_mbstowcsalldup() and its variants
This commit is contained in:
2012-01-15 15:25:28 +00:00
parent 52710a87c9
commit fa850168ee
16 changed files with 246 additions and 46 deletions

View File

@ -799,6 +799,7 @@ int StdAwk::SourceFile::open (Data& io)
);
if (sio == QSE_NULL) return -1;
if (this->cmgr) qse_sio_setcmgr (sio, this->cmgr);
base = qse_basename (this->name);
if (base != this->name)
{
@ -848,6 +849,7 @@ int StdAwk::SourceFile::open (Data& io)
);
if (dbuf) QSE_MMGR_FREE (((Awk*)io)->getMmgr(), dbuf);
if (sio == QSE_NULL) return -1;
if (this->cmgr) qse_sio_setcmgr (sio, this->cmgr);
}
io.setHandle (sio);