summaryrefslogtreecommitdiff
path: root/source/a/tcsh
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/tcsh')
-rwxr-xr-xsource/a/tcsh/tcsh.SlackBuild2
-rw-r--r--source/a/tcsh/tcsh.sh.hist.diff11
2 files changed, 12 insertions, 1 deletions
diff --git a/source/a/tcsh/tcsh.SlackBuild b/source/a/tcsh/tcsh.SlackBuild
index b82662fa..9c41d8b1 100755
--- a/source/a/tcsh/tcsh.SlackBuild
+++ b/source/a/tcsh/tcsh.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=tcsh
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/a/tcsh/tcsh.sh.hist.diff b/source/a/tcsh/tcsh.sh.hist.diff
new file mode 100644
index 00000000..efd5a953
--- /dev/null
+++ b/source/a/tcsh/tcsh.sh.hist.diff
@@ -0,0 +1,11 @@
+--- ./sh.hist.c.orig 2019-12-04 11:51:54.000000000 -0600
++++ ./sh.hist.c 2020-03-18 14:14:31.488245707 -0500
+@@ -1292,7 +1292,7 @@
+ #endif
+ }
+ getexit(osetexit);
+- if (setexit())
++ if (!setexit())
+ loadhist(fname, 1);
+ resexit(osetexit);
+ }