MSVC: Repair libpq.rc generator.

It generates an empty file, so libpq.dll advertises no version
information.  Commit facde2a98f0b5f7689b4e30a9e7376e926e733b8
mistranslated "print O;" in this one place.
This commit is contained in:
Noah Misch 2017-07-09 00:43:17 -07:00
parent ec4073f641
commit 3381898f98

View File

@ -392,7 +392,7 @@ s{PG_VERSION_STR "[^"]+"}{PG_VERSION_STR "PostgreSQL $self->{strver}$extraver, c
while (<$i>)
{
s/(VERSION.*),0/$1,$d/;
print $o;
print $o $_;
}
close($i);
close($o);