Ignore:
Timestamp:
2008-11-06T15:51:46+13:00 (15 years ago)
Author:
ak19
Message:

The output for testing for perl on Linux/Mac (prior to converting txtgz to the database file) goes to stdout and ruins the page generated by the browser. Now using redirection of STDOUT to STDIN, it works on Linux. Need to test on Windows (and Mac?).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/common-src/src/lib/gdbmclass.cpp

    r17719 r17757  
    109109
    110110    // Test to make sure Perl is on the path
    111     text_t cmd_test = "perl -v";
     111    // On Linux, the output of the test goes to STDOUT so redirect it to STDERR
     112    text_t cmd_test = "perl -v 1>&2";
    112113    int rv_test = gsdl_system(cmd_test, true, cerr);
    113114    if (rv_test != 0) {
Note: See TracChangeset for help on using the changeset viewer.