[cairo-bugs] [Bug 37836] Unneeded invocations of memcpy()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 16 08:15:09 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=37836

Chris Wilson <chris at chris-wilson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Chris Wilson <chris at chris-wilson.co.uk> 2011-09-16 08:15:05 PDT ---
commit 1ce5d4707cf260618bd4d61f39aad4371ffa3336
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Sep 16 16:11:42 2011 +0100

    path: Skip calls to zero-length memcpy

    We attempt to copy 0 points onto the array of path points for a
    close-path. This is pointless and an unnecessary function call under
    MSVC at least.

    Based on a patch by Steve Snyder, incorporating Behdad's review
    comments.

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37836
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list