• René Scharfe's avatar
    use COPY_ARRAY · 45ccef87
    René Scharfe authored
    Add a semantic patch for converting certain calls of memcpy(3) to
    COPY_ARRAY() and apply that transformation to the code base.  The result
     shorter and safer code.  For now only consider calls where source and
    destination have the same type, or in other words: easy cases.
    Signed-off-by: default avatarRene Scharfe <l.s.r@web.de>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
pack-revindex.c 5.65 KB