Accepting request 1227089 from shells

- Update to tcsh 6.24.14 - 2024-11-26
  * Fix issues with S-JIS handling (T. Nosaka)
  * Handle redirections in bracketed expressions
    if { foo > /dev/null } (christos)
  * Recognize history searches in history expansion
    !?foo<tab> (christos)

OBS-URL: https://build.opensuse.org/request/show/1227089
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcsh?expand=0&rev=101
This commit is contained in:
Ana Guerrero 2024-11-28 23:08:42 +00:00 committed by Git OBS Bridge
commit 2e550a0fb6
7 changed files with 78 additions and 59 deletions

View File

@ -1,44 +1,29 @@
---
system/linux | 10 ++++++++++
config_f.h | 9 +++++++--
config_f.h | 11 ++++++++---
glob.h | 3 ++-
host.defs | 9 +++------
pathnames.h | 2 +-
sh.c | 3 +++
system/linux | 10 ++++++++++
tc.alloc.c | 10 ++++++----
tc.func.c | 8 ++++++--
tc.str.c | 2 +-
tc.who.c | 3 +++
tcsh.man.in | 2 +-
tw.h | 4 ++++
12 files changed, 47 insertions(+), 18 deletions(-)
12 files changed, 48 insertions(+), 19 deletions(-)
--- system/linux
+++ system/linux 2021-04-27 07:41:53.192829973 +0000
@@ -99,6 +99,9 @@
#ifndef _SVID_SOURCE
# define _SVID_SOURCE
#endif
+#ifndef _DEFAULT_SOURCE
+# define _DEFAULT_SOURCE
+#endif
#ifndef _POSIX_SOURCE
# define _POSIX_SOURCE
#endif
@@ -139,4 +142,11 @@
# define POSIX
#endif
+#if !defined(PW_SHADOW)
+# define PW_SHADOW
+#endif
+#if !defined(SuSE)
+# define SuSE
+#endif
+
#endif /* _h_config */
--- config_f.h
+++ config_f.h 2021-04-27 07:41:53.192829973 +0000
+++ config_f.h 2024-11-28 09:55:11.062052907 +0000
@@ -64,7 +64,7 @@
*/
#if defined (SHORT_STRINGS) && defined (NLS) && !defined (WINNT_NATIVE) && !defined(_OSD_POSIX) && SIZEOF_WCHAR_T > 1
# define WIDE_STRINGS
-# if SIZEOF_WCHAR_T <= 4
+# if (SIZEOF_WCHAR_T <= 4) && !defined(__linux__)
# define UTF16_STRINGS
# endif
#endif
@@ -72,7 +72,12 @@
/*
* LOGINFIRST Source ~/.login before ~/.cshrc
@ -63,7 +48,7 @@
/*
* COLOR_LS_F Do you want to use builtin color ls-F ?
--- glob.h
+++ glob.h 2021-04-27 07:41:53.192829973 +0000
+++ glob.h 2024-11-28 09:54:10.575159476 +0000
@@ -72,6 +72,7 @@ typedef struct {
#define GLOB_NOSYS (-4) /* Implementation does not support function. */
@ -82,7 +67,7 @@
int glob (const char *, int, int (*)(const char *, int), glob_t *);
void globfree (glob_t *);
--- host.defs
+++ host.defs 2021-05-28 09:44:03.337584826 +0000
+++ host.defs 2024-11-28 09:54:10.575159476 +0000
@@ -189,9 +189,8 @@ static void populate(void)
#endif
}
@ -107,7 +92,7 @@
machtype = "unknown";
#endif
--- pathnames.h
+++ pathnames.h 2021-04-27 07:41:53.192829973 +0000
+++ pathnames.h 2024-11-28 09:54:10.575159476 +0000
@@ -83,7 +83,7 @@
# endif /* !_PATH_DOTLOGIN */
#endif /* sgi || OREO || cray || AMIX || CDC */
@ -118,7 +103,7 @@
#endif /* _CRAYCOM && !_PATH_TCSHELL */
--- sh.c
+++ sh.c 2021-04-27 07:41:53.192829973 +0000
+++ sh.c 2024-11-28 09:54:10.579159403 +0000
@@ -1348,6 +1348,9 @@ main(int argc, char **argv)
setintr = osetintr;
parintr = oparintr;
@ -129,8 +114,32 @@
#ifdef LOGINFIRST
if (loginsh)
(void) srccat(varval(STRhome), STRsldotlogin);
--- system/linux
+++ system/linux 2024-11-28 09:54:10.575159476 +0000
@@ -99,6 +99,9 @@
#ifndef _SVID_SOURCE
# define _SVID_SOURCE
#endif
+#ifndef _DEFAULT_SOURCE
+# define _DEFAULT_SOURCE
+#endif
#ifndef _POSIX_SOURCE
# define _POSIX_SOURCE
#endif
@@ -139,4 +142,11 @@
# define POSIX
#endif
+#if !defined(PW_SHADOW)
+# define PW_SHADOW
+#endif
+#if !defined(SuSE)
+# define SuSE
+#endif
+
#endif /* _h_config */
--- tc.alloc.c
+++ tc.alloc.c 2021-04-27 07:41:53.192829973 +0000
+++ tc.alloc.c 2024-11-28 09:54:10.579159403 +0000
@@ -518,7 +518,7 @@ smalloc(size_t n)
{
ptr_t ptr;
@ -171,7 +180,7 @@
#endif /* SYSMALLOC */
--- tc.func.c
+++ tc.func.c 2021-04-27 07:41:53.196829900 +0000
+++ tc.func.c 2024-11-28 09:54:10.579159403 +0000
@@ -743,9 +743,13 @@ auto_lock(void)
handle_pending_signals();
errno = 0;
@ -187,7 +196,7 @@
#else
@@ -1965,7 +1965,7 @@ getremotehost(int dest_fd)
@@ -1965,7 +1969,7 @@ getremotehost(int dest_fd)
* have not caught up yet.
*/
addr.s_addr = inet_addr(name);
@ -197,7 +206,7 @@
else {
if (sptr != name) {
--- tc.str.c
+++ tc.str.c 2021-04-27 07:41:53.196829900 +0000
+++ tc.str.c 2024-11-28 09:54:10.579159403 +0000
@@ -347,7 +347,7 @@ s_strlen(const Char *str)
{
size_t n;
@ -208,7 +217,7 @@
return (n);
}
--- tc.who.c
+++ tc.who.c 2021-04-27 07:41:53.196829900 +0000
+++ tc.who.c 2024-11-28 09:54:10.579159403 +0000
@@ -259,6 +259,9 @@ watch_login(int force)
}
stlast = sta.st_mtime;
@ -220,7 +229,7 @@
#else
if ((utmpfd = xopen(TCSH_PATH_UTMP, O_RDONLY|O_LARGEFILE)) < 0) {
--- tcsh.man.in
+++ tcsh.man.in 2021-04-27 07:41:53.196829900 +0000
+++ tcsh.man.in 2024-11-28 09:54:10.579159403 +0000
@@ -1012,7 +1012,7 @@ much like
.Ic history-search-backward
does.
@ -231,7 +240,7 @@
See also
.Ic delete-char-or-list-or-eof .
--- tw.h
+++ tw.h 2021-04-27 07:41:53.196829900 +0000
+++ tw.h 2024-11-28 09:54:10.579159403 +0000
@@ -32,6 +32,10 @@
#ifndef _h_tw
#define _h_tw

View File

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

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEErYcQl2PY2MLJTLqAZcJuRx9FsSMFAmZpN8wACgkQZcJuRx9F
sSMckRAAoCbOtzFRvgiAKP8Nekec6vRdSAJUY56+4ppfgyA51amS7G8Yi1x4VP0a
/QdeyQEU8CmVDXXsj9InGb3dlGnTutY6v9Am+Zixkt4A2yUg/DCAXcQjtB6G9YEU
1mciICVuDCWs4Q+z8jn/MCE6Lif/gnc+Egwn2Pj3CxL+k2Cik1Qf6qpyV7MA0PPE
1Dx4ofI44AHoTv9Dkcl477tDcKd8KBc5vOsnBLMaDBz5jcaL1/dQc6DWWRE5dGBv
IuNr/LHHdjaBY/35jIyzCzzCeW5qCGnRYa44KNVZ27NdYjTH1lapZKKTS244Z4kB
rv77NCoLnv0d2oZVveTATHKX9EPNLzFJWqALL7EpC2pWCD9KLvM8N0K4g96NBume
2m6gUmZ+id+U6ImJA20jWa+L+3Z8OwkLoXoXQAC5jnPUthZxtVEsBfVOmytNA7B0
t1dO6uZrcZUxEizw/ztYYF1K9sZ6SrYNZvFW2Pne1TyZTSlI6KVmDEQRjElqnJ4u
R201PdB1XlC5nhQvBcuzkjg/Nxx9AOT9yMjUPapWHRt4fTJe3QmwjtLO3Yks7pR+
lKpSF8fz4BoFlRoFFMVP0e+Umy4l9NGtUh0t9AmvGKIZPovcYWWYKSimR+m6BbUv
JuIyx70pZpyWJcJ3WzLjeAJ9jb2XY3q1umQQjqr0UniRiuf3dIU=
=E8Cm
-----END PGP SIGNATURE-----

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:36880f258a63fc11fe72a65098b585ebc4ecdee24388b8ebec97e6ae8e485318
size 958795

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

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEErYcQl2PY2MLJTLqAZcJuRx9FsSMFAmdGFCwACgkQZcJuRx9F
sSNNOg/+NFMRWBn89rQ1bkwzQi72cDWb1Z1OwvD669NclWOUPlsQRXVmsYBbIjhG
cSLEozD5qoV0KwChK6sAX6EdmSHF3uurfnhnkihstMToe9bqg0v9bCwWjtHNoZ2m
HB52vopI5k+I4Z1GJ2cEjSj33A7eWUJ1MrqHpG78A6BlZgyvreS+F+7YSKSWVxdg
o7WBIr/0YQAZBtdDkOQfR6vBbKJGrOYvDMMx4KvcycFdZLemIBh6fxaYDh0hu1ds
8zNl/e4tCW+wrKQoKjik1xYkvRI5GOJufGicXFBsJLU9sOEVKosOxeGdHqJSqo9n
AkK7EHHD9QzF6PZfjNjdZS7q74fFRXrdecQFGNQG2xQolBUhwLN0oYgotQNFRcst
1uxH5SQyYAY8aEYIp6qFTTXbqcZGYKK+KjIX+1Szf9+GbXvScOsPpXZAevmsvxei
e5HzPcOj+RRi2ANY2ML8U3B3pEHEPW4n1Zqj9r/w3R+4ABWY4v6G5aRSTZCmoP9D
nB2gbivSQHgbhzq307dD2tsZuI4Tvj79BGHjnOUcOZa7rspNicK3W/lFRJz8f2Hb
d2igt07o8jYPN05M7P9Lyjgqry06GoOX4SFfNSVknCi7uSlXvov729Vg9RHwZ7vF
/NyO+KwrpER72FaI/Rigdcw1FZNHlrr6YX7aLH4a0g+ItLkuzb8=
=1xRx
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Nov 28 08:44:43 UTC 2024 - Dr. Werner Fink <werner@suse.de>
- Update to tcsh 6.24.14 - 2024-11-26
* Fix issues with S-JIS handling (T. Nosaka)
* Handle redirections in bracketed expressions
if { foo > /dev/null } (christos)
* Recognize history searches in history expansion
!?foo<tab> (christos)
-------------------------------------------------------------------
Wed Jun 12 07:48:40 UTC 2024 - Dr. Werner Fink <werner@suse.de>

View File

@ -17,7 +17,7 @@
Name: tcsh
Version: 6.24.13
Version: 6.24.14
Release: 0
Summary: The C SHell
License: BSD-3-Clause