[Toybox] [PATCH] Fix the pidof comm test.
enh
enh at google.com
Thu Feb 8 22:44:23 PST 2018
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
---
lib/lib.c | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-xargs-0-with-n.patch
Type: text/x-patch
Size: 1806 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20180208/f634dc7a/attachment.bin>
More information about the Toybox
mailing list