From patchwork Sun Nov 17 09:18:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Knaff X-Patchwork-Id: 13877818 X-Patchwork-Delegate: herbert@gondor.apana.org.au Received: from sendar.prophecy.lu (sendar.prophecy.lu [213.135.235.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BAD31DF78 for ; Sun, 17 Nov 2024 09:18:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.135.235.227 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731835141; cv=none; b=t2rOWnslS8ItjiLdnDgsqYexTHF2q/e0jhc4Ibg+XRhnR7ZDR5LWkEuybQQtJJ2UwKrSXTWwZu3aiFXEdF+k6ea/GMJ4ZlesjswuZSFxpj8+hfht/5vILRvJNwrV3UvJ3uGoK6DG4K+Xeek/9sXogTY0wPftLAlAK1zBkTa5heo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731835141; c=relaxed/simple; bh=DWtq9Mk8SmxqWP9YBlnrSZ0vj0D/fC1r7HfzGYlFCkY=; h=Message-ID:Date:MIME-Version:From:To:Subject:Content-Type; b=EL+NdZnmirXa8ImkxQdbVwx680N93PwEPrXntwdUL6Uf7Q2IBDJ6K/gkVkyBMVz6wNnZNS5Vz9ssQt8XVIPEzzcYIIhuEkAi+3vSWOsdtVpJ/ne8SgRLCzdu+QA489ScEkDc0edQXNA8XesJuQ/vEt2BB3Jeb3jiZWT/vW3mhhs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=knaff.lu; spf=pass smtp.mailfrom=knaff.lu; arc=none smtp.client-ip=213.135.235.227 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=knaff.lu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=knaff.lu Received: from out.lll.lu ([IPv6:2001:7e8:f647:7601:109f:38a2:baed:e155]) by prophecy.lu (8.15.2/8.15.2/Debian-22.1ubuntu3) with ESMTPS id 4AH9Ir2P206126 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK) for ; Sun, 17 Nov 2024 10:18:54 +0100 X-Envelope-To: Received: from [192.168.42.21] (vodsl-562.vo.lu [80.90.34.50]) (authenticated bits=0) by lll.lu (8.17.1.9/8.17.1.9/Debian-2.1) with ESMTPSA id 4AH9IpSk413123 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sun, 17 Nov 2024 10:18:53 +0100 Message-ID: Date: Sun, 17 Nov 2024 10:18:51 +0100 Precedence: bulk X-Mailing-List: dash@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US From: Alain Knaff To: dash@vger.kernel.org Subject: Another attempt of my work with a new subject, first item Autocrypt: addr=alain@knaff.lu; keydata= xsDiBEk9qFcRBADO4trPtib39qvAEBlkAIcBGnZ137EmmNLU1pFZC5acLyJ4wYhVdcol97lC 4ZkD0DJek6DVidQfz4hA7JbZy2W8l6O/o2k/Ja2bWkb8qtrcUNVDJzdJjNqXmmxdsyLd5QVt uCHgi3Zz0kq9aJnRCVuAyfrjMdaUsOThi07u1EyEywCgjxVKODAifumqfdjVxS5NoV7x7TkD /0k2F3/5/NYchgLz6Qu3As5MVtPs7NkJ0Mpal4Gy8CaKefHcynY+zCziM/oBw0+PIFxyFud0 uT9HRIdEp1DlaTTUYlt95HeDYmCUh0Wt1PwNNRWcm+vTUuK7tOxzYadUqbzO+F6C+WN8msxA hcxzUgsL/YyXVilvL8XqB+RlS5bBA/9OxXc2mJs01nWu5khvVFNwUCDS8FRYyoHeodVZFGLC UG1PrV9nHva5vYJk1QlZP3qEotnK+6l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Trying again as a new message rather than as a reply] Hi, On 17/11/2024 03:18, Herbert Xu wrote: > Alain Knaff wrote: >> >> I've now split up the patch into parts. In addition to just the >> splitting, the patch set contains the following changes/improvements: >> - adapted it to dash 0.5.12 which has been released in the meantime, >> - some cleanup, >> - it now also compiles & works on Solaris 10 & 11 > > I'm sorry but something has gone wrong. None of your patches have > been picked up by patchwork: > > https://patchwork.kernel.org/project/dash/list/ > > Perhaps try resending just one small patch to debug the problem > before you do the whole thing again? > > One thing to try would be to send the patch inline instead of as > an attachment. > > Thanks, Ok, so here goes 01. Please tell me how it goes, and if ok, I'll send the others. If it goes well, can I send the others as replies to my initial message each, without repeating explanation text? Thanks, Alain diff -X ../exclude.txt -urN dash-0.5.12/src/bltin/bltin.h dash-0.5.12+01-remove-extraneous/src/bltin/bltin.h --- dash-0.5.12/src/bltin/bltin.h 2020-06-03 01:19:23.000000000 +0000 +++ dash-0.5.12+01-remove-extraneous/src/bltin/bltin.h 2024-10-20 18:26:46.960598638 +0000 @@ -63,7 +63,6 @@ #define fputs outstr #define fflush flushout #define fileno(f) ((f)->fd) -#define ferror outerr #endif #define INITARGS(argv) #define error sh_error diff -X ../exclude.txt -urN dash-0.5.12/src/jobs.c dash-0.5.12+01-remove-extraneous/src/jobs.c --- dash-0.5.12/src/jobs.c 2022-01-20 05:54:13.000000000 +0000 +++ dash-0.5.12+01-remove-extraneous/src/jobs.c 2024-10-27 19:53:42.912675611 +0000 @@ -112,9 +112,6 @@ STATIC void forkchild(struct job *, union node *, int); STATIC void forkparent(struct job *, union node *, int, pid_t); STATIC int dowait(int, struct job *); -#ifdef SYSV -STATIC int onsigchild(void); -#endif STATIC int waitproc(int, int *); STATIC char *commandtext(union node *); STATIC void cmdtxt(union node *); diff -X ../exclude.txt -urN dash-0.5.12/src/mystring.c dash-0.5.12+01-remove-extraneous/src/mystring.c --- dash-0.5.12/src/mystring.c 2022-12-11 06:29:21.000000000 +0000 +++ dash-0.5.12+01-remove-extraneous/src/mystring.c 2024-10-20 18:27:56.634245499 +0000 @@ -46,7 +46,6 @@ #include #include #include -#include #include #include "shell.h" #include "syntax.h"