SHA256
1
0
forked from pool/tcsh

Accepting request 897378 from shells

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/897378
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcsh?expand=0&rev=77
This commit is contained in:
Dominique Leuenberger 2021-06-09 19:51:16 +00:00 committed by Git OBS Bridge
commit 304be2722c
2 changed files with 43 additions and 12 deletions

View File

@ -2,6 +2,7 @@
config/linux | 10 ++++++++++
config_f.h | 9 +++++++--
glob.h | 3 ++-
host.defs | 9 +++------
pathnames.h | 2 +-
sh.c | 3 +++
tc.alloc.c | 10 ++++++----
@ -10,10 +11,10 @@
tc.who.c | 3 +++
tcsh.man | 2 +-
tw.h | 4 ++++
11 files changed, 44 insertions(+), 12 deletions(-)
12 files changed, 47 insertions(+), 18 deletions(-)
--- config/linux
+++ config/linux 2019-05-09 08:41:54.237060106 +0000
+++ config/linux 2021-04-27 07:41:53.192829973 +0000
@@ -99,6 +99,9 @@
#ifndef _SVID_SOURCE
# define _SVID_SOURCE
@ -37,7 +38,7 @@
+
#endif /* _h_config */
--- config_f.h
+++ config_f.h 2019-05-09 08:41:54.237060106 +0000
+++ config_f.h 2021-04-27 07:41:53.192829973 +0000
@@ -63,7 +63,12 @@
/*
* LOGINFIRST Source ~/.login before ~/.cshrc
@ -62,7 +63,7 @@
/*
* COLOR_LS_F Do you want to use builtin color ls-F ?
--- glob.h
+++ glob.h 2019-05-09 08:41:54.237060106 +0000
+++ glob.h 2021-04-27 07:41:53.192829973 +0000
@@ -72,6 +72,7 @@ typedef struct {
#define GLOB_NOSYS (-4) /* Implementation does not support function. */
@ -80,8 +81,33 @@
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
@@ -189,9 +189,8 @@ static void populate(void)
#endif
}
xsnprintf(ostype, sizeof(ostype), "%s", p);
- xsnprintf(mach, sizeof(mach), "%s", e != -1 ? uts.machine : "unknown");
- xsnprintf(host, sizeof(host), "%s-%s",
- e != -1 ? uts.machine : "unknown", ostype);
+ xsnprintf(mach, sizeof(mach), "%s-suse-linux", e != -1 ? uts.machine : "unknown");
+ xsnprintf(host, sizeof(host), "%s", e != -1 ? uts.machine : "unknown");
}
static char *
@@ -1267,9 +1266,7 @@ newcode :
#ifndef _ostype_
ostype = "unknown";
#endif
-#ifndef _vendor_
- vendor = "unknown";
-#endif
+ vendor = "suse";
#ifndef _machtype_
machtype = "unknown";
#endif
--- pathnames.h
+++ pathnames.h 2019-05-09 08:41:54.237060106 +0000
+++ pathnames.h 2021-04-27 07:41:53.192829973 +0000
@@ -83,7 +83,7 @@
# endif /* !_PATH_DOTLOGIN */
#endif /* sgi || OREO || cray || AMIX || CDC */
@ -92,7 +118,7 @@
#endif /* _CRAYCOM && !_PATH_TCSHELL */
--- sh.c
+++ sh.c 2019-05-09 08:41:54.237060106 +0000
+++ sh.c 2021-04-27 07:41:53.192829973 +0000
@@ -1346,6 +1346,9 @@ main(int argc, char **argv)
setintr = osetintr;
parintr = oparintr;
@ -104,7 +130,7 @@
if (loginsh)
(void) srccat(varval(STRhome), STRsldotlogin);
--- tc.alloc.c
+++ tc.alloc.c 2019-05-09 08:41:54.237060106 +0000
+++ tc.alloc.c 2021-04-27 07:41:53.192829973 +0000
@@ -518,7 +518,7 @@ smalloc(size_t n)
{
ptr_t ptr;
@ -145,7 +171,7 @@
#endif /* SYSMALLOC */
--- tc.func.c
+++ tc.func.c 2019-05-09 08:41:54.237060106 +0000
+++ tc.func.c 2021-04-27 07:41:53.196829900 +0000
@@ -721,9 +721,13 @@ auto_lock(void)
handle_pending_signals();
errno = 0;
@ -171,7 +197,7 @@
else {
if (sptr != name) {
--- tc.str.c
+++ tc.str.c 2019-05-09 08:41:54.241060031 +0000
+++ tc.str.c 2021-04-27 07:41:53.196829900 +0000
@@ -347,7 +347,7 @@ s_strlen(const Char *str)
{
size_t n;
@ -182,7 +208,7 @@
return (n);
}
--- tc.who.c
+++ tc.who.c 2019-05-09 08:41:54.241060031 +0000
+++ tc.who.c 2021-04-27 07:41:53.196829900 +0000
@@ -259,6 +259,9 @@ watch_login(int force)
}
stlast = sta.st_mtime;
@ -194,7 +220,7 @@
#else
if ((utmpfd = xopen(TCSH_PATH_UTMP, O_RDONLY|O_LARGEFILE)) < 0) {
--- tcsh.man
+++ tcsh.man 2019-05-09 08:41:54.241060031 +0000
+++ tcsh.man 2021-04-27 07:41:53.196829900 +0000
@@ -602,7 +602,7 @@ Repeating \fIdabbrev-expand\fR without a
changes to the next previous word etc., skipping identical matches
much like \fIhistory-search-backward\fR does.
@ -205,7 +231,7 @@
See also \fIdelete-char-or-list-or-eof\fR.
Cursor behavior modified by \fBvimode\fR.
--- tw.h
+++ tw.h 2019-05-09 08:41:54.241060031 +0000
+++ tw.h 2021-04-27 07:41:53.196829900 +0000
@@ -32,6 +32,10 @@
#ifndef _h_tw
#define _h_tw

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 28 08:59:28 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- Even on PowerPC the vendor is suse
-------------------------------------------------------------------
Fri May 14 19:58:31 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>