lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] Making "dash -x" more atomic


From: Greg Chicares
Subject: Re: [lmi] Making "dash -x" more atomic
Date: Thu, 25 Apr 2019 15:02:06 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 2019-04-25 13:51, Vadim Zeitlin wrote:
> On Thu, 25 Apr 2019 12:39:06 +0000 Greg Chicares <address@hidden> wrote:
[...]
> GC>   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567648


| The subshells in pipeline prints their own commands before executing
| it, using multiple syscalls giving possibility of intermixed output
| when context switches happen in between...

> https://git.kernel.org/pub/scm/utils/dash/dash.git/tree/src/eval.c#n854
> 
>  As you can see, if we just combined outstr(), eprintlist() and outcslow()
> into a single syscall, the problem would be solved. Of course, it would
> still take time for the fix to be accepted and then propagate into Debian,
> but maybe it still would be worth to do it?

It's certainly worth it.

Logs that are identical clearly show no regression. Logs that are "almost"
identical require manual effort to compare.

The amount of time you'd spend to get this fixed may be less that the time
we've spent discussing it already; it's probably less than the time we'd
waste working around the problem over the course of a decade; and it's
vastly less than the time I've wasted over the years by comparing logs
with weak tools and too much manual effort.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]