Bernhard Walle 47f8558eee pgrep: fix -x option
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@bwalle.de>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2013-02-28 12:42:38 +01:00
..
2012-04-01 16:23:23 +02:00
2013-01-14 15:57:44 +01:00
2013-02-28 12:42:38 +01:00
2013-01-14 01:34:48 +01:00
2013-01-26 14:21:15 +01:00
2006-11-05 00:47:38 +00:00
2011-03-12 18:13:15 +01:00
2013-01-14 01:34:48 +01:00
2013-01-22 10:13:52 +01:00
2011-08-10 13:00:04 +02:00