SHA256
1
0
forked from pool/tcsh

Accepting request 976987 from shells

- Update to tcsh 6.24.01
  2. Fix quoting of ! characters in history recall (Kimmo Suominen)
  1. Fix return status of which (Jamie Landeg-Jones)
- Remove tcsh-6.24.00-which.dif now upstream

OBS-URL: https://build.opensuse.org/request/show/976987
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcsh?expand=0&rev=82
This commit is contained in:
Dominique Leuenberger 2022-05-14 20:54:36 +00:00 committed by Git OBS Bridge
commit ca1b7bf481
8 changed files with 29 additions and 49 deletions

View File

@ -95,7 +95,7 @@
}
static char *
@@ -1267,9 +1266,7 @@ newcode :
@@ -1275,9 +1274,7 @@ newcode :
#ifndef _ostype_
ostype = "unknown";
#endif

View File

@ -1,26 +0,0 @@
From: Jamie Landeg-Jones <jamie@catflap.org>
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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60be2c504bd8f1fa6e424b1956495d7e7ced52a2ac94db5fd27f4b6bfc8f74f0
size 949411

View File

@ -1,16 +0,0 @@
-----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-----

3
tcsh-6.24.01.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5659a1b973b1f947e36238cb17a00210ac4cff3b496f8f851acd77172ab91d7e
size 949438

16
tcsh-6.24.01.tar.gz.asc Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEErYcQl2PY2MLJTLqAZcJuRx9FsSMFAmJ9GUYACgkQZcJuRx9F
sSNIjg//Ry+EVSrxTN96YgLzai9wDvm719Spwgz3ILjVO/dpBfuls5mshs/iRg8J
pNXOARMJnEXcfjS5pdZwOFisKI2IQKbynFdagkqWfM7YKuuw4j6pEz9JbTi+yVLj
FY9zoJrrIiG1pvr9roTOuBYRAIg+HdKdS9Oe8Hmb3kFTgyOkNhbCv3PZOd5Mp9ED
6BfHcOkUABEdSEYJvb+QjP3hn1TnVtQ+ygW8EBoTm8vnTa1DzsnMspB4CYWPpXgW
wy0qOJWw+LO01TD0r7sDuOZxrKpjcnR2DToGrubkVHGHri74Y+FcMuCgrmJFT+Mv
WKOKSDtD/GjY2Zh77cISVwKWCq4xUiVoS9Zk0z5R4Yp1vIWQIOtbKCdFWPmnesa1
iin2yniHzGGbFg05aHwM2EIyDkxxWdyiUDkRy12EnlyWCjbGy4JqU7QLE++lwQwE
jmTUSmXfaeBGXroIXpTsrLEh3rsnwBrC7vijk/g33mapLSDh3sUf6K6l3c0rEboF
vrhIFugccc6cmft+c9PMqMMbo0tX1MufaUZen465Y2Po/G9qL68QG5vkhbq0QNBR
WUTTu6J1S+ybICmz8o0slf0n97d53H++eHpByuaZ/Q56QXAv1qebf32xwsAamr5W
HXfDNy2oTFaNo/dCMvd98h9KE/HkFm8wKZccrsX19qhDd+xokGI=
=gSVY
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri May 13 08:11:25 UTC 2022 - Dr. Werner Fink <werner@suse.de>
- Update to tcsh 6.24.01
2. Fix quoting of ! characters in history recall (Kimmo Suominen)
1. Fix return status of which (Jamie Landeg-Jones)
- Remove tcsh-6.24.00-which.dif now upstream
-------------------------------------------------------------------
Thu Feb 3 07:56:15 UTC 2022 - Dr. Werner Fink <werner@suse.de>

View File

@ -17,7 +17,7 @@
Name: tcsh
Version: 6.24.00
Version: 6.24.01
Release: 0
Summary: The C SHell
License: BSD-3-Clause
@ -31,7 +31,6 @@ 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
@ -58,7 +57,6 @@ 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