Changeset 5e2a56b in git


Ignore:
Timestamp:
2006-09-18T06:05:46Z (13 years ago)
Author:
Xuefer <xuefer@…>
Branches:
1.2, 1.3, 3.0, 3.1, 3.2, master, trunk
Children:
c55a3bd
Parents:
eb41ec3
Message:

fix assertion

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mmap.c

    r42efedb r5e2a56b  
    8585{
    8686    if (shm->diff) {
    87         assert(xc_mmap_is_readonly(p));
     87        assert(xc_mmap_is_readonly(shm, p));
    8888        p = PTR_SUB(p, shm->diff);
    8989    }
    90     assert(xc_mmap_is_readwrite(p));
     90    assert(xc_mmap_is_readwrite(shm, p));
    9191    return p;
    9292}
     
    9494static XC_SHM_TO_READONLY(xc_mmap_to_readonly) /* {{{ */
    9595{
    96     assert(xc_shm_is_readwrite(p));
     96    assert(xc_mmap_is_readwrite(shm, p));
    9797    if (shm->diff) {
    9898        p = PTR_ADD(p, shm->diff);
    99         assert(xc_mmap_is_readonly(p));
     99        assert(xc_mmap_is_readonly(shm, p));
    100100    }
    101101    return p;
Note: See TracChangeset for help on using the changeset viewer.