Ticket #301: patch

File patch, 565 bytes (added by Richard Boulton, 16 years ago)

Backport of fix to 1.0 branch

  • tests/api_wrdb.cc

     
    2929
    3030#include <xapian.h>
    3131
     32#include "backendmanager.h" // For XAPIAN_BIN_PATH.
    3233#include "omtime.h"
    3334#include "testsuite.h"
    3435#include "testutils.h"
     
    19561957
    19571958    db.flush();
    19581959
    1959     string cmd = "../bin/xapian-check .flint/dbw__cursordelbug1";
     1960    string cmd = XAPIAN_BIN_PATH"xapian-check .flint/dbw__cursordelbug1";
    19601961#ifdef __WIN32__
    19611962    cmd += " >nul";
    19621963#else