Re: Add *sum -b (brief, hash only) option.

2023-08-31 Thread Rob Landley
On 8/31/23 09:32, Denys Vlasenko wrote: > On Thu, Aug 31, 2023 at 11:02 AM Rob Landley wrote: >> Something toybox has had for years, thought you guys might be interested. A >> way >> to get these things to output ONLY the hash, so it's more easily scriptable. >> >> In the gnu/dammit version -b

Re: Add *sum -b (brief, hash only) option.

2023-08-31 Thread Denys Vlasenko
On Thu, Aug 31, 2023 at 11:02 AM Rob Landley wrote: > Something toybox has had for years, thought you guys might be interested. A > way > to get these things to output ONLY the hash, so it's more easily scriptable. > > In the gnu/dammit version -b says not to strip DOS newlines, which we already

Add *sum -b (brief, hash only) option.

2023-08-31 Thread Rob Landley
Something toybox has had for years, thought you guys might be interested. A way to get these things to output ONLY the hash, so it's more easily scriptable. In the gnu/dammit version -b says not to strip DOS newlines, which we already ignored as a NOP in at least some cases... RobFrom: Rob

Re: [PATCH] tsort: avoid use-after-free

2023-08-31 Thread Denys Vlasenko
Applied, thank you. On Tue, Aug 22, 2023 at 10:38 AM Ron Yorston wrote: > > When the input data contained a cycle it was possible for tsort to > attempt to access freed nodes. This sometimes resulted in the > test case 'echo a b b a | tsort' crashing. > > Don't free nodes when they're removed