Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (c9daca64e85de84af5417c252a2d2d79fe3e9eae)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (c9daca64e85de84af5417c252a2d2d79fe3e9eae)
  • Date: Mon, 22 Mar 2021 22:33:06 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

shell-term-fm/tcsh/DETAILS |
1
shell-term-fm/tcsh/HISTORY |
5 ++
shell-term-fm/tcsh/PRE_BUILD |
1
shell-term-fm/tcsh/patches/0001-Fix-bug-in-behavoir-of-tail-modifier.patch |
17 ++++++++++
4 files changed, 24 insertions(+)

New commits:
commit c9daca64e85de84af5417c252a2d2d79fe3e9eae
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

tcsh: Fix bug in behavoir of tail modifier

diff --git a/shell-term-fm/tcsh/DETAILS b/shell-term-fm/tcsh/DETAILS
index e824e7e..9b1686f 100755
--- a/shell-term-fm/tcsh/DETAILS
+++ b/shell-term-fm/tcsh/DETAILS
@@ -1,5 +1,6 @@
SPELL=tcsh
VERSION=6.22.03
+ PATCHLEVEL=1
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
SOURCE_URL[0]=ftp://ftp.astron.com/pub/tcsh/$SOURCE
diff --git a/shell-term-fm/tcsh/HISTORY b/shell-term-fm/tcsh/HISTORY
index 42b791c..9d12438 100644
--- a/shell-term-fm/tcsh/HISTORY
+++ b/shell-term-fm/tcsh/HISTORY
@@ -1,3 +1,8 @@
+2021-03-22 Ismael Luceno <ismael AT sourcemage.org>
+ * DETAILS: PATCHLEVEL++
+ * PRE_BUILD, patches/0001-Fix-bug-in-behavoir-of-tail-modifier.patch:
+ bugfix
+
2021-03-20 Ismael Luceno <ismael AT sourcemage.org>
* DETAILS: updated spell to 6.22.03
* PRE_BUILD: fixed musl build; use system malloc like with glibc
diff --git a/shell-term-fm/tcsh/PRE_BUILD b/shell-term-fm/tcsh/PRE_BUILD
index 994b488..fd0c601 100755
--- a/shell-term-fm/tcsh/PRE_BUILD
+++ b/shell-term-fm/tcsh/PRE_BUILD
@@ -1,4 +1,5 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&
+apply_patch_dir patches &&
# XXX the internal malloc implementation is buggy
sedit '/^# *undef SYSMALLOC/s/undef/define/' config_f.h
diff --git
a/shell-term-fm/tcsh/patches/0001-Fix-bug-in-behavoir-of-tail-modifier.patch
b/shell-term-fm/tcsh/patches/0001-Fix-bug-in-behavoir-of-tail-modifier.patch
new file mode 100644
index 0000000..4728c66
--- /dev/null
+++
b/shell-term-fm/tcsh/patches/0001-Fix-bug-in-behavoir-of-tail-modifier.patch
@@ -0,0 +1,17 @@
+Fix bug in behavoir of tail modifier.
+
+Upstream-Status: Backport
[https://mailman.astron.com/pipermail/tcsh/2020-November/000092.html]
+
+diff --git a/sh.lex.c b/sh.lex.c
+index fdd24bc..9df132d 100644
+--- a/sh.lex.c
++++ b/sh.lex.c
+@@ -1046,7 +1046,7 @@ domod(Char *cp, Char type)
+ case 't':
+ wp = Strrchr(cp, '/');
+ if (wp == NULL)
+- return Strsave(type == 't' ? cp : STRNULL);
++ return type == 't' ? Strsave(cp) : NULL;
+ if (type == 't')
+ xp = Strsave(wp + 1);
+ else



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (c9daca64e85de84af5417c252a2d2d79fe3e9eae), Ismael Luceno, 03/22/2021

Archive powered by MHonArc 2.6.24.

Top of Page