Hello community,

here is the log from the commit of package aaa_base for openSUSE:Factory 
checked in at 2013-01-10 10:42:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/aaa_base (Old)
 and      /work/SRC/openSUSE:Factory/.aaa_base.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "aaa_base", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/aaa_base/aaa_base.changes        2013-01-08 
13:31:55.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.aaa_base.new/aaa_base.changes   2013-01-10 
10:42:50.000000000 +0100
@@ -1,0 +2,10 @@
+Tue Jan  8 17:41:21 UTC 2013 - [email protected]
+
+- Let the bash check the winsize only if COLUMNS is exported (bnc#793536)
+
+-------------------------------------------------------------------
+Tue Jan  8 15:20:13 UTC 2013 - [email protected]
+
+- Also source environment for tcsh and bash if sudo is used
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ aaa_base-12.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aaa_base-12.3/files/etc/bash.bashrc 
new/aaa_base-12.3/files/etc/bash.bashrc
--- old/aaa_base-12.3/files/etc/bash.bashrc     2012-12-13 22:30:24.000000000 
+0100
+++ new/aaa_base-12.3/files/etc/bash.bashrc     2013-01-08 18:40:22.000000000 
+0100
@@ -90,6 +90,11 @@
     #
     case "$is" in
     bash)
+       # If COLUMNS are within the environment the shell should update
+       # the winsize after each job otherwise the values are wrong
+       case "$(declare -p COLUMNS 2> /dev/null)" in
+       *-x*COLUMNS=*) shopt -s checkwinsize
+       esac
        # Append history list instead of override
        shopt -s histappend
        # All commands of root will have a time stamp
@@ -299,9 +304,9 @@
 esac
 
 #
-# Just in case the user excutes a command with ssh
+# Just in case the user excutes a command with ssh or sudo
 #
-if test -n "$SSH_CONNECTION" -a -z "$PROFILEREAD" ; then
+if test \( -n "$SSH_CONNECTION" -o -n "$SUDO_COMMAND" \) -a -z "$PROFILEREAD" 
; then
     _SOURCED_FOR_SSH=true
     . /etc/profile > /dev/null 2>&1
     unset _SOURCED_FOR_SSH
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aaa_base-12.3/files/etc/csh.cshrc 
new/aaa_base-12.3/files/etc/csh.cshrc
--- old/aaa_base-12.3/files/etc/csh.cshrc       2012-12-13 22:30:24.000000000 
+0100
+++ new/aaa_base-12.3/files/etc/csh.cshrc       2013-01-08 18:40:22.000000000 
+0100
@@ -1,6 +1,6 @@
 #
 # (c) System csh.cshrc for tcsh, Werner Fink '93
-#                         and  J"org Stadler '94
+#                           and Jörg Stadler '94
 #
 # This file sources /etc/profile.d/complete.tcsh and
 # /etc/profile.d/bindkey.tcsh used especially by tcsh.
@@ -14,9 +14,9 @@
 #
 
 #
-# Just in case the user excutes a command with ssh
+# Just in case the user excutes a command with ssh or sudo
 #
-if ((${?loginsh} || ${?SSH_CONNECTION}) && ! ${?CSHRCREAD}) then
+if ((${?loginsh} || ${?SSH_CONNECTION} || ${?SUDO_COMMAND}) && ! 
${?CSHRCREAD}) then
     set _SOURCED_FOR_SSH=true
     source /etc/csh.login >& /dev/null
     unset _SOURCED_FOR_SSH

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to