Changeset 3ac3773 in git


Ignore:
Timestamp:
2006-09-29T11:04:28Z (13 years ago)
Author:
Xuefer <xuefer@…>
Branches:
1.2, 1.3, 3.0, 3.1, 3.2, master, trunk
Children:
07ae7b3
Parents:
d519ff2
Message:

coverager: avoid crash when upstream failed to compile file

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coverager.c

    rcbbd772e r3ac3773  
    351351
    352352    op_array = origin_compile_file(h, type TSRMLS_CC);
    353     if (XG(coveragedumper) && XG(coverages)) {
     353    if (XG(coveragedumper) && XG(coverages) && op_array) {
    354354        xc_coverager_init_compile_result(op_array TSRMLS_CC);
    355355    }
Note: See TracChangeset for help on using the changeset viewer.