Re: [pcre-dev] memmove() vs. bcopy()

2018-08-10 Thread Ze'ev Atlas via Pcre-dev
Sent from Yahoo Mail on Android On Fri, Aug 10, 2018 at 5:20 PM, Daniel Richard G. wrote: On Fri, 2018 Aug 10 17:36+0100, p...@hermes.cam.ac.uk wrote: > Now the emulation is in a private library function, and both pcre2test > and pcre2grep have their own static versions. It all seems

Re: [pcre-dev] memmove() vs. bcopy()

2018-08-10 Thread Daniel Richard G.
On Fri, 2018 Aug 10 17:36+0100, p...@hermes.cam.ac.uk wrote: > I have done this and tested it (!). It turned out to be not quite as > trivial as modifying the existing function, because that was defined > as a static function in pcre2_internal.h, included by all PCRE2 > modules. Only a few

Re: [pcre-dev] memmove() vs. bcopy()

2018-08-10 Thread ph10
On Thu, 9 Aug 2018, p...@hermes.cam.ac.uk wrote: > > I would suggest something like moving bcopy() into the pcre2_memmove() > > function, along the lines of > > > > Yes, good idea. I'll do it. Thanks for the diagnosis and the solution. I have done this and tested it (!). It turned out to be