components/bash/patches/solaris-017.printf2.sub.patch
author Tomas Kuthan <tomas.kuthan@oracle.com>
Tue, 20 Sep 2016 03:54:40 -0700
changeset 6931 f6f7269f85a9
parent 5518 c47fe0edc204
permissions -rw-r--r--
24597931 PAM_BUGFIX by-passes fake password for timing attack avoidance

# We need both LANG and LC_ALL set on Solaris.
# Solari-specific patch.
# Not for upstream.
--- tests/printf2.sub	2009-02-24 11:12:32.000000000 -0800
+++ tests/printf2.sub	2011-11-29 12:15:05.790234777 -0800
@@ -1,4 +1,5 @@
 export LANG=en_US.UTF-8
+export LC_ALL=en_US.UTF-8
 
 case $(printf %d\\n \'À) in
 192)	exit 0;;