Re: [Toybox] [PATCH] Fix the pidof comm test.

2018-02-08 Thread enh
okay, ignore that patch (not least because it was an unrelated old patch that's already been applied) and try this one instead... turns out we have two separate pidof bugs on Android. which is only fitting, because two separate bugs were raised today (though they were both for this latter bug, not

[Toybox] [PATCH] Fix the pidof comm test.

2018-02-08 Thread enh
If we have a 15-byte name, we don't know whether comm actually matches or is a truncated form of a longer name that has a common prefix. For example, with "this-is-a-very-long-name-that-is-too-long", we shouldn't match "this-is-a-very-" (but the old code would). Bug: http://b/73123244 ---