Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (c410c09fee27065d4aa3e0775818cb2501b12e36)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (c410c09fee27065d4aa3e0775818cb2501b12e36)
  • Date: Wed, 25 Jan 2023 00:16:24 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

shell-term-fm/bash/DETAILS | 2 +-
shell-term-fm/bash/HISTORY | 6 ++++++
shell-term-fm/bash/PRE_BUILD | 4 +++-
shell-term-fm/bash/patches/0001-evalfile.patch | 15 +++++++++++++++
4 files changed, 25 insertions(+), 2 deletions(-)

New commits:
commit c410c09fee27065d4aa3e0775818cb2501b12e36
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

shell-term-fm/bash: version 5.2.15

diff --git a/shell-term-fm/bash/DETAILS b/shell-term-fm/bash/DETAILS
index 6c6f107..9875afd 100755
--- a/shell-term-fm/bash/DETAILS
+++ b/shell-term-fm/bash/DETAILS
@@ -1,5 +1,5 @@
SPELL=bash
- VERSION=5.1.16
+ VERSION=5.2.15
XVERSION=${VERSION%.*}
# XVERSION=${VERSION} # only for 5.1
SECURITY_PATCH=8
diff --git a/shell-term-fm/bash/HISTORY b/shell-term-fm/bash/HISTORY
index f7dee79..f436bed 100644
--- a/shell-term-fm/bash/HISTORY
+++ b/shell-term-fm/bash/HISTORY
@@ -1,3 +1,9 @@
+2023-01-24 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: version 5.2.15
+ * PRE_BUILD, patches/0001-evalfile.patch: added to fix the bug with
empty
+ installed spells (got the patch from here:
+ https://lists.gnu.org/archive/html/bug-bash/2022-12/msg00078.html)
+
2022-01-05 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 5.1.16

diff --git a/shell-term-fm/bash/PRE_BUILD b/shell-term-fm/bash/PRE_BUILD
index 67523f9..16a343a 100755
--- a/shell-term-fm/bash/PRE_BUILD
+++ b/shell-term-fm/bash/PRE_BUILD
@@ -12,4 +12,6 @@ done &&
if [[ "$BASH_NI_LOGIN" == y ]]; then
message "${MESSAGE_COLOR}Defining
NON_INTERACTIVE_LOGIN_SHELLS.$DEFAULT_COLOR" &&
sed -i 's/\/\* \(#define NON_INTERACTIVE_LOGIN_SHELLS\) \*\//\1/'
config-top.h
-fi
+fi &&
+
+apply_patch_dir patches
diff --git a/shell-term-fm/bash/patches/0001-evalfile.patch
b/shell-term-fm/bash/patches/0001-evalfile.patch
new file mode 100644
index 0000000..c4be643
--- /dev/null
+++ b/shell-term-fm/bash/patches/0001-evalfile.patch
@@ -0,0 +1,15 @@
+*** a/builtins/evalfile.c 2019-07-20 16:16:08.000000000 -0400
+--- b/builtins/evalfile.c 2022-12-22 12:13:08.000000000 -0500
+***************
+*** 267,271 ****
+
+ /* set the flags to be passed to parse_and_execute */
+! pflags = SEVAL_RESETLINE;
+ pflags |= (flags & FEVAL_HISTORY) ? 0 : SEVAL_NOHIST;
+
+--- 267,271 ----
+
+ /* set the flags to be passed to parse_and_execute */
+! pflags = SEVAL_RESETLINE|SEVAL_NOOPTIMIZE;
+ pflags |= (flags & FEVAL_HISTORY) ? 0 : SEVAL_NOHIST;
+



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (c410c09fee27065d4aa3e0775818cb2501b12e36), Pavel Vinogradov, 01/24/2023

Archive powered by MHonArc 2.6.24.

Top of Page