diff --git a/tcsh-6.15.00-pipe.dif b/tcsh-6.15.00-pipe.dif index 46b903c..cfc81a8 100644 --- a/tcsh-6.15.00-pipe.dif +++ b/tcsh-6.15.00-pipe.dif @@ -4,7 +4,7 @@ --- sh.dol.c +++ sh.dol.c 2016-11-25 08:00:30.455106978 +0000 -@@ -428,6 +428,8 @@ Dgetdol(void) +@@ -462,6 +462,8 @@ Dgetdol(void) size_t cbp = 0; int old_pintr_disabled; diff --git a/tcsh-6.23.02.tar.gz b/tcsh-6.23.02.tar.gz deleted file mode 100644 index 18bd256..0000000 --- a/tcsh-6.23.02.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c03f80405136731b3091da735a81cdd848008510324ab325f235aff709e446eb -size 947265 diff --git a/tcsh-6.23.02.tar.gz.asc b/tcsh-6.23.02.tar.gz.asc deleted file mode 100644 index 330a9e8..0000000 --- a/tcsh-6.23.02.tar.gz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCgAdFiEErYcQl2PY2MLJTLqAZcJuRx9FsSMFAmHSrjQACgkQZcJuRx9F -sSMfghAAm+04SbBFGnwA18aBoV2a+ek07PxoZomJiqGnJUB8jVUoQQ0D9xsOm5L8 -qz/tZ51C4I/jnBHonrkzeb7eHJS/l2Kuw5n8muRJwIfBF+6mkQqkEWGXHiRhIZD2 -TQX13qzODhHIE9HKL2HdKiKkWXeCAuUEGX8dyyzSQPyYxkgdC9tRNqhbkyiP7rFl -qCjiMMti3/1U9wp2/mZPlzKZ2CYKTxxA/gAiWrDo2wa5hWRL5LNouHQ1g75cP//k -FLUjWSv+3VacLrglQa3N58UZOYVLtjSayNbWpMc9ydOn8fY2jC4M19+j/K339H3T -4Xk7+zjvi1nW2jCvjMO5yr/iiqmH+JKVSfvK9O86un+8yPLdPQ8tKVvF64zOBwFS -OH9zfkQSyyHgnjEFwMwgf9TcY6ucvLOQWeQMpHwM//Iadje4EAuqkbxsbIOeS2QP -WIuh5Yqh10Yn0wWddAsVZ+F7IvVFW+oQzMXctLj29bxXDDZSXBdoyapKAlHOc/8Z -4TVHVUwRvFnLc30ik1p/utfzDKLvv3mFgeqf+YxzNKmbKfQL0m+KosTmip8p5lXB -8H0qaWzdLGaiNPyWqrcU/4TgsNqPPtwWWCyffE+PMfblJs9BV6crxhnU6AgNkSL2 -TXWwXjaBeUaFQtX9vLeDTRKgqmJm1zZ8fLYabjUMmzXtF4HKG/A= -=kFfj ------END PGP SIGNATURE----- diff --git a/tcsh-6.24.00-which.dif b/tcsh-6.24.00-which.dif new file mode 100644 index 0000000..fb855be --- /dev/null +++ b/tcsh-6.24.00-which.dif @@ -0,0 +1,26 @@ +From: Jamie Landeg-Jones +Message-Id: <202202021648.212GmqTP022048@donotpassgo.dyslexicfish.net> + +Basically, I noticed my aliases were out of wack. I discovered that "which" +is no longer returning error 1 if a command is not found. + +It seems that when "setcopy" was changed in some cases to "setstatus", a mistake +was made. + +This is the fix: + +--- + tc.func.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- tc.func.c ++++ tc.func.c 2022-02-03 07:53:14.442853165 +0000 +@@ -503,7 +503,7 @@ dowhich(Char **v, struct command *c) + rv &= cmd_expand(*v, NULL); + + if (!rv) +- setstatus(0); ++ setstatus(1); + } + + static int diff --git a/tcsh-6.24.00.tar.gz b/tcsh-6.24.00.tar.gz new file mode 100644 index 0000000..d5cf652 --- /dev/null +++ b/tcsh-6.24.00.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:60be2c504bd8f1fa6e424b1956495d7e7ced52a2ac94db5fd27f4b6bfc8f74f0 +size 949411 diff --git a/tcsh-6.24.00.tar.gz.asc b/tcsh-6.24.00.tar.gz.asc new file mode 100644 index 0000000..66b92cc --- /dev/null +++ b/tcsh-6.24.00.tar.gz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEErYcQl2PY2MLJTLqAZcJuRx9FsSMFAmH6ZDYACgkQZcJuRx9F +sSNgQxAAhIrjk2emnB0qgdLDA/my5LDLM9KhMqXdkd9Xtqo4GKjTrt5os0pKcKkm +63PTaTwE+YUNas6MGUI4uDhvl+Plh0pGiHiRPrAdNvcDjEGNF4wr0EAxz0tOQsDS +PvcHtVpTGpS8V71fKQsyaulCd87YDmOUGYXibK4JJ9KRx/da7xVnynodNqV55ywj +bvEgWPC/mwrK2kki9ssdIcS/wgNWJZ+CSlUzuDOItiAw7m6dUkEJUfzVPlbvNaQE +YKN5b9+57TmjepajD4/cVyvnMQ69JfITSx6tkbiIkz9cowOmeINfF+0OFOsAHcB3 +iSPwAYj6/VI64HTYcIMXkORDcVh01RU3lVe1fMGq4XqwH7TBfbrNQoW5OoZU5A0R +e+oD5q5IQCjnxqbZ5cdbzBnRBo3I/yzuh3gdxUPx9UvFFqWygdbyenMr1Ef7y/YK +CFUUAPWT1posoG/pnrQP4yIdyafI7oIyd8SdpaqWQ/EOpNWQIqJ1F5oJKLl1x8Jk +NOViWi0T1A7XZfGCHNErOFKmEy00aLSKpWIQjED8qjTeyHbpc1z8YIoyPHmrxFGg +Q+mzXPDkiP/x8BLBvSdAnsWsR/CFzlsDMP5i6nBfFDnAVV2wmqw3f4DSjUSphzDV +dSBDhskJswmRA8Ufjc1gUMtc4LvEmFcpn0X/0+2mXz94kuehwoY= +=idKq +-----END PGP SIGNATURE----- diff --git a/tcsh.changes b/tcsh.changes index 2451ca9..2f1d7b5 100644 --- a/tcsh.changes +++ b/tcsh.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Feb 3 07:56:15 UTC 2022 - Dr. Werner Fink + +- Add patch tcsh-6.24.00-which.dif from upstream mailing list + to fix bug in which builtin, that is return error if a command + is not found + +------------------------------------------------------------------- +Wed Feb 2 13:46:57 UTC 2022 - Dr. Werner Fink + +- Update to tcsh 6.24.00 + 11. Update config.guess and config.sub so arm64 is recognized + ------------------------------------------------------------------- Tue Jan 11 15:13:55 UTC 2022 - Dr. Werner Fink diff --git a/tcsh.spec b/tcsh.spec index d68605b..bf99f07 100644 --- a/tcsh.spec +++ b/tcsh.spec @@ -17,7 +17,7 @@ Name: tcsh -Version: 6.23.02 +Version: 6.24.00 Release: 0 Summary: The C SHell License: BSD-3-Clause @@ -31,6 +31,7 @@ Source4: tcsh.keyring Patch0: tcsh-6.21.00.dif Patch1: tcsh-6.15.00-pipe.dif Patch2: tcsh-6.16.00-norm-cmd.dif +Patch3: tcsh-6.24.00-which.dif Patch4: tcsh-6.18.03-colorls.dif Patch5: tcsh-6.17.06-dspmbyte.dif Patch6: tcsh-6.18.03-catalogs.dif @@ -57,6 +58,7 @@ correction, a history mechanism, job control, and a C-like syntax. %setup -q %patch1 -b .pipe %patch2 -b .normcmd +%patch3 -b .whichbug %patch4 -b .colorls %patch5 -b .dspmbyte %patch6 -b .catalogs