~ubuntu-branches/ubuntu/jaunty/clamav/jaunty-backports

« back to all changes in this revision

Viewing changes to clambc/bcrun.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-10-02 17:11:00 UTC
  • mfrom: (0.3.1 lucid-proposed)
  • Revision ID: james.westby@ubuntu.com-20101002171100-0erjjoucua6kw2pc
Tags: 0.96.3+dfsg-2ubuntu0.10.04.1~jaunty1
* Source backport for Jaunty
  - Change build-dep on libtdl-dev to libtdl7-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
295
295
    if (optget(opts, "force-interpreter")->enabled) {
296
296
        bcs.engine = NULL;
297
297
    } else {
298
 
        rc = cli_bytecode_init(&bcs, BYTECODE_ENGINE_MASK);
 
298
        rc = cli_bytecode_init(&bcs);
299
299
        if (rc != CL_SUCCESS) {
300
300
            fprintf(stderr,"Unable to init bytecode engine: %s\n", cl_strerror(rc));
301
301
            optfree(opts);
339
339
            optfree(opts);
340
340
            exit(4);
341
341
        }
342
 
        rc = cli_bytecode_prepare(&bcs, BYTECODE_ENGINE_MASK);
 
342
        rc = cli_bytecode_prepare2(engine, &bcs, BYTECODE_ENGINE_MASK);
343
343
        if (rc != CL_SUCCESS) {
344
344
            fprintf(stderr,"Unable to prepare bytecode: %s\n", cl_strerror(rc));
345
345
            optfree(opts);