From 247f2149eb306dca78d880bbffa40a6f5955b58c746380e197c36271d2769e82 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 28 May 2021 09:46:17 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/shells/tcsh?expand=0&rev=118 --- tcsh-6.21.00.dif | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/tcsh-6.21.00.dif b/tcsh-6.21.00.dif index cbb84a3..35a06e0 100644 --- a/tcsh-6.21.00.dif +++ b/tcsh-6.21.00.dif @@ -2,7 +2,7 @@ config/linux | 10 ++++++++++ config_f.h | 9 +++++++-- glob.h | 3 ++- - host.defs | 4 +--- + host.defs | 9 +++------ pathnames.h | 2 +- sh.c | 3 +++ tc.alloc.c | 10 ++++++---- @@ -11,7 +11,7 @@ tc.who.c | 3 +++ tcsh.man | 2 +- tw.h | 4 ++++ - 12 files changed, 45 insertions(+), 15 deletions(-) + 12 files changed, 47 insertions(+), 18 deletions(-) --- config/linux +++ config/linux 2021-04-27 07:41:53.192829973 +0000 @@ -82,8 +82,20 @@ int glob (const char *, int, int (*)(const char *, int), glob_t *); void globfree (glob_t *); --- host.defs -+++ host.defs 2021-05-28 08:58:14.675950938 +0000 -@@ -1267,9 +1267,7 @@ newcode : ++++ 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