From a9987ab57042ce755261492d93cb54d9ff10fc35 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 12 Jul 2009 22:52:13 +0000 Subject: Fix a few compiler errors reported correctly my MSVC 9.0. Fix libtests test suites to pass on Windows, mostly by dealing with ascii vs. binary and NL vs. CRNL change ($td->NORMALIZE_NEWLINES). Convert some test suites to use fread instead of read. PCRE.hh: define PCRE_STATIC if on Windows. Provide cross-platform function for getting current time instead of using time(0). git-svn-id: svn+q:///qpdf/trunk@678 71b93d88-0707-0410-a8cf-f5a4172ac649 --- libtests/qtest/pcre.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtests/qtest/pcre.test') diff --git a/libtests/qtest/pcre.test b/libtests/qtest/pcre.test index cf0418da..89a1d83c 100644 --- a/libtests/qtest/pcre.test +++ b/libtests/qtest/pcre.test @@ -16,7 +16,7 @@ $td->runtest("PCRE", $td->NORMALIZE_NEWLINES); chop(my $supported = `pcre --unicode-classes-supported`); -if ($supported) +if ($supported =~ m/^1/) { $td->runtest("unicode character classes", {$td->COMMAND => "pcre --unicode-classes"}, -- cgit v1.2.3-54-g00ecf