[openssh-commits] [openssh] 02/03: upstream: Set LC_ALL in both local and remote shells so that sorted

git+noreply at mindrot.org git+noreply at mindrot.org
Thu Jan 13 16:01:52 AEDT 2022


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 9cc2654403f1a686bb26c07a6ac790edf334cef5
Author: dtucker at openbsd.org <dtucker at openbsd.org>
Date:   Thu Jan 13 04:53:16 2022 +0000

    upstream: Set LC_ALL in both local and remote shells so that sorted
    
    output matches regardless of what the user's shell sets it to.  ok djm@
    
    OpenBSD-Regress-ID: 4e97dd69a68b05872033175a4c2315345d01837f
---
 regress/agent-restrict.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/regress/agent-restrict.sh b/regress/agent-restrict.sh
index cd8486e1..a30aed7b 100644
--- a/regress/agent-restrict.sh
+++ b/regress/agent-restrict.sh
@@ -1,4 +1,4 @@
-#	$OpenBSD: agent-restrict.sh,v 1.4 2022/01/13 04:22:10 dtucker Exp $
+#	$OpenBSD: agent-restrict.sh,v 1.5 2022/01/13 04:53:16 dtucker Exp $
 #	Placed in the Public Domain.
 
 tid="agent restrictions"
@@ -52,6 +52,10 @@ done
 cat $OBJ/ssh_proxy.bak >> $OBJ/ssh_proxy
 cat $OBJ/ssh_proxy.bak >> $OBJ/ssh_proxy_noid
 
+LC_ALL=C
+export LC_ALL
+echo "SetEnv LC_ALL=${LC_ALL}" >> sshd_proxy
+
 verbose "prepare known_hosts"
 rm -f $OBJ/known_hosts
 for h in a b c x ; do

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list