• R
    use COPY_ARRAY · 45ccef87
    René Scharfe 提交于
    Add a semantic patch for converting certain calls of memcpy(3) to
    COPY_ARRAY() and apply that transformation to the code base.  The result
    is
     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: NRene Scharfe <l.s.r@web.de>
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    45ccef87
pack-revindex.c 5.7 KB