
PROBLEM:  (QAR 58441)                 (Patch ID: OSF425-405154)
********
This patch fixes an error that occurs in sort utility results when the user
specifies either the -d option (sort only spaces and alphanumeric characters)
or the -i option (sort only printable characters).  The problem is that when
either of these options is specified, the utility ignores 8-bit characters, 
such as the accent characters in the Latin-1 character set.  The following
example illustrates this problem. In this example, the accented character "E"
 used to illustrate the problem.

	% cat file
	mango
	meute
	% setenv LANG fr_FR.ISO8859-1
	% locale
	LANG=fr_FR.ISO8859-1
	LC_COLLATE="fr_FR.ISO8859-1"
	LC_CTYPE="fr_FR.ISO8859-1"
	LC_MONETARY="fr_FR.ISO8859-1"
	LC_NUMERIC="fr_FR.ISO8859-1"
	LC_TIME="fr_FR.ISO8859-1"
	LC_ALL=
	% sort file
	meute
	mango
	% sort -i file
	mango
	meute

When the patch is installed, the sort result when the -i option is specified
will be the same as when the option is omitted; that is, the accented character
will no longer be ignored:

	% sort -i file
	meute
	mango

PROBLEM:  (DMO100411)    (Patch ID: OSF425-405514)
********

This patch fixes a problem in which "sort -i a_file >b_file" aborts with message
"A line of the input file contains more than 20480 characters." when
LANG = da_DK.ISO8859-1

PROBLEM:  (CLD TKTRB0015)    (Patch ID: OSF425-847)
********

This patch fixes a problem in which sort command aborts with message "A
line of the input file contains more than 20480 characters." when running
in a Japanese locale.

PROBLEM:  (TKTR10037) (PATCH ID: OSF425-950)
********

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.


