PROBLEM: (TKTR10037) (PATCH ID: OSF505-006) ******** When sorting large data files encoded in multibyte locales for Japanese Chinese, or Korean (especially when sorting on multiple keys), the following warning may occur: sort: Warning: A newline character was added to the end of the input. This warning is misleading. The real problem is that buffer length constraints cause incomplete lines to be written to the intermediate files used in the sort operation. This patch updates the sort utility software to ensure that it writes complete lines to temporary files and generates correct output.