From: Clemens Ladisch Date: Fri, 24 Apr 2009 08:11:40 +0000 (+0200) Subject: nls: utf8_wcstombs: use correct buffer size in error case X-Git-Tag: v2.6.31-rc1~304^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e27ecdd94d81e5bc3d1f68591701db5adb342f0d;p=pandora-kernel.git nls: utf8_wcstombs: use correct buffer size in error case When utf8_wcstombs encounters a character that cannot be encoded, we must not decrease the remaining output buffer size because nothing has been written to the output buffer. Signed-off-by: Clemens Ladisch Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed