[PATCH] pgrep: Fix -x option
Denys Vlasenko
vda.linux at googlemail.com
Thu Feb 28 11:43:19 UTC 2013
On Tue, Feb 5, 2013 at 6:27 PM, Bernhard Walle <bernhard at bwalle.de> wrote:
> Because when -x is used (exact match), then we cannot compile the
> regular expression with REG_NOSUB. The manual page regcomp(3) states
> in section "Byte offsets":
>
> Unless REG_NOSUB was set for the compilation of the pattern
> buffer, it is possible to obtain substring match addressing
> information.
>
> The problem was detected on an ARM system with glibc 2.16.
>
> Signed-off-by: Bernhard Walle <bernhard at bwalle.de>
Applied, thanks!
More information about the busybox
mailing list