re PR preprocessor/36479 (Short buffer in libcpp)
2008-06-12 H.J. Lu <hongjiu.lu@intel.com> PR preprocessor/36479 * charset.c (cpp_interpret_string_notranslate): Also set narrow_cset_desc.width. From-SVN: r136714
This commit is contained in:
parent
f5dce7973f
commit
0b7c73cc04
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-06-12 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR preprocessor/36479
|
||||
* charset.c (cpp_interpret_string_notranslate): Also set
|
||||
narrow_cset_desc.width.
|
||||
|
||||
2008-06-07 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* configure.ac (parisc*64*-*-*): Remove.
|
||||
|
|
|
@ -1412,6 +1412,7 @@ cpp_interpret_string_notranslate (cpp_reader *pfile, const cpp_string *from,
|
|||
|
||||
pfile->narrow_cset_desc.func = convert_no_conversion;
|
||||
pfile->narrow_cset_desc.cd = (iconv_t) -1;
|
||||
pfile->narrow_cset_desc.width = CPP_OPTION (pfile, char_precision);
|
||||
|
||||
retval = cpp_interpret_string (pfile, from, count, to, CPP_STRING);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue