[GitHub] activemq-cpp pull request #3: slight fixes for "templatized" arraycopy stati...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] activemq-cpp pull request #3: slight fixes for "templatized" arraycopy stati...

asfgit
GitHub user devnexen opened a pull request:

    https://github.com/apache/activemq-cpp/pull/3

     slight fixes for "templatized" arraycopy static methods.

    - source pointers were tested twice.
    - source and destination can still possibly overlap dest = src + 1 for example,
    thus might be safer to just use memmove regardless of the situation.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/devnexen/activemq-cpp master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-cpp/pull/3.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3
   
----
commit bea9ffa3d0049b851ee85c85cffe110f9d679a06
Author: David Carlier <[hidden email]>
Date:   2017-05-10T13:20:45Z

     slight fixes for "templatized" arraycopy static methods.
   
    - source pointers were tested twice.
    - source and destination can still possibly overlap dest = src + 1 for example,
    thus might be safer to just use memmove regardless of the situation.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [hidden email] or file a JIRA ticket
with INFRA.
---