On Thu, Sep 08, 2016 at 09:33:29AM +0200, Johannes Schindelin wrote:
> On Thu, 8 Sep 2016, Johannes Schindelin wrote:
>
> > We solve this by introducing a helper, regexec_buf(), that takes a
> > pointer and a length instead of a NUL-terminated string.
>
> BTW I should have clarified why I decide
Hi,
On Thu, 8 Sep 2016, Johannes Schindelin wrote:
> We solve this by introducing a helper, regexec_buf(), that takes a
> pointer and a length instead of a NUL-terminated string.
BTW I should have clarified why I decided on another name than regexecn()
(I had considered this even before reading
This patch series addresses a problem where `git diff` is called using
`-G` or `-S --pickaxe-regex` on new-born files that are configured
without user diff drivers, and that hence get mmap()ed into memory.
The problem with that: mmap()ed memory is *not* NUL-terminated, yet the
pickaxe code calls r
3 matches
Mail list logo