Ticket #301: patch3.patch

File patch3.patch, 589 bytes (added by Charlie Hull, 16 years ago)

patch to fix test on windows

  • api_wrdb.cc

     
    19561956
    19571957    db.flush();
    19581958
    1959     string cmd = "../bin/xapian-check .flint/dbw__cursordelbug1";
    1960 #ifdef __WIN32__
    1961     cmd += " >nul";
     1959#ifdef WIN32
     1960    string cmd = "..\\win32\\release\\xapian-check .flint\\dbw__cursordelbug1 >nul";
    19621961#else
    1963     cmd += " >/dev/null";
    1964 #endif
     1962    string cmd = "../bin/xapian-check .flint/dbw__cursordelbug1 >/dev/null";
     1963#endif 
    19651964    if (system(cmd.c_str()) != 0)
    19661965        return false;
    19671966