Fix basic_filebuf's internal buffer is shrinking when using with some codecvt. http...