diff options
author | 2007-01-27 12:10:26 +1000 | |
---|---|---|
committer | 2007-01-27 12:10:26 +1000 | |
commit | d480d892c9aa18fc98598e830066d79fc3459469 (patch) | |
tree | b4c2350f3eb64b6426d8dcd9b053ad500c25e764 /common.c | |
parent | f2ccbe7374a4afbc404e3aec05648200ee253310 (diff) |
Do not call getc if getwc fails - mixing wide and byte-based readin may cause a crash. IT's better to simply hope that getwc can recover.
darcs-hash:20070127021026-ac50b-b85e10029d2bc0ce4857ec48945a92270e499a07.gz
Diffstat (limited to 'common.c')
-rw-r--r-- | common.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -183,8 +183,6 @@ int fgetws2( wchar_t **b, int *len, FILE *f ) if( errno == EILSEQ ) { - - getc( f ); continue; } |