Changeset ec1d554 in git


Ignore:
Timestamp:
2013-11-08T09:53:39Z (6 years ago)
Author:
Xuefer <xuefer@…>
Branches:
master, trunk
Children:
f25341f
Parents:
ffe43cb
Message:

relocate: fix for virtual_src=0

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1456 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • processor/foot.m4

    rffe43cb rec1d554  
    148148
    149149    /* diff to new_ptr */
    150     ptrdiff_t ptrdiff = ptrsub(dst, src);
     150    ptrdiff_t ptrdiff = ptrsub(dst, virtual_src);
    151151    ptrdiff_t relocatediff = (ptrdiff_t) ptradd($1 *, virtual_dst, offset);
    152     assert(ptradd($1 *, src, ptrdiff) == dst);
    153152
    154153    xc_relocate_$1(dst, ptrdiff, relocatediff TSRMLS_CC);
Note: See TracChangeset for help on using the changeset viewer.