https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195929

Mikhail Teterin <m...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #172615|0                           |1
        is obsolete|                            |

--- Comment #31 from Mikhail Teterin <m...@freebsd.org> ---
Created attachment 172616
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=172616&action=edit
Updated patch

(In reply to Mikhail Teterin from comment #30)
> The recently-introduced bug must be in the process.c somewhere:

Yes, it would seem, the bug was introduced in base r300555. The check for
finding the right number of re-occurences is off by one. With this hunk added,
things seem to work:

        /* Did not find the requested number of matches. */
-       if (n > 1)
+       if (n > 0)
                return (0);

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to