Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tcsh for openSUSE:Factory checked in 
at 2022-10-11 17:59:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tcsh (Old)
 and      /work/SRC/openSUSE:Factory/.tcsh.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tcsh"

Tue Oct 11 17:59:11 2022 rev:83 rq:1007813 version:6.24.01

Changes:
--------
--- /work/SRC/openSUSE:Factory/tcsh/tcsh.changes        2022-05-14 
22:54:37.863176043 +0200
+++ /work/SRC/openSUSE:Factory/.tcsh.new.2275/tcsh.changes      2022-10-11 
17:59:12.341471943 +0200
@@ -1,0 +2,12 @@
+Tue Oct  4 06:48:42 UTC 2022 - Fabian Vogt <[email protected]>
+
+- Replace tcsh-6.24.01-bash52.dif with upstream fix
+
+-------------------------------------------------------------------
+Fri Sep 30 08:58:48 UTC 2022 - Dr. Werner Fink <[email protected]>
+
+- Add patch tcsh-6.24.01-bash52.dif
+  * Avoid to become last command in sub shell list as bash-5.2
+    now uses execve within sub shell which decreases SHLVL 
+
+-------------------------------------------------------------------

New:
----
  tcsh-6.24.01-bash52.dif

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

Other differences:
------------------
++++++ tcsh.spec ++++++
--- /var/tmp/diff_new_pack.XinLp6/_old  2022-10-11 17:59:12.885472806 +0200
+++ /var/tmp/diff_new_pack.XinLp6/_new  2022-10-11 17:59:12.889472813 +0200
@@ -35,6 +35,7 @@
 Patch5:         tcsh-6.17.06-dspmbyte.dif
 Patch6:         tcsh-6.18.03-catalogs.dif
 Patch8:         tcsh-6.22.02-local-dotlock.dif
+Patch9:         tcsh-6.24.01-bash52.dif
 BuildRequires:  autoconf
 BuildRequires:  fdupes
 BuildRequires:  ncurses-devel
@@ -61,6 +62,7 @@
 %patch5      -b .dspmbyte
 %patch6      -b .catalogs
 %patch8 -p 0 -b .dotlock
+%patch9 -p 1 -b .bash52
 %patch0      -b .0
 
 %build

++++++ tcsh-6.24.01-bash52.dif ++++++
>From 391b04ec25b0d046d532d46a7468fa7a759d0115 Mon Sep 17 00:00:00 2001
From: zoulasc <[email protected]>
Date: Sun, 2 Oct 2022 08:41:50 -0400
Subject: [PATCH] bash 5.2 uses implicit exec for "SHLVL=5 tcsh", which causes
 it to decrement SHLVL before executing tcsh. Use env to avoid that.
 (Vogtinator at github)

---
 tests/variables.at | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/variables.at b/tests/variables.at
index 1e8cc8f4..cdd5e211 100644
--- a/tests/variables.at
+++ b/tests/variables.at
@@ -964,7 +964,7 @@ tcsh -f -c 'tcsh -f -c "printenv SHLVL"'
 tcsh -f -c 'exec tcsh -f -c "printenv SHLVL"'
 tcsh -f -c '(exec tcsh -f -c "printenv SHLVL")'
 ]])
-AT_CHECK([SHLVL=5 tcsh -f shlvl.csh], ,
+AT_CHECK([env SHLVL=5 tcsh -f shlvl.csh], ,
 [6
 8
 2

Reply via email to