postgres.git / summary / log / commit / refs

commit    6a56a38f017718f23b001050e3a69662b83373da
Author:   Andrew Dunstan <andrew@dunslane.net>
Date:     Fri Aug 26 14:21:43 2011 +0000
First released in: 9.2.0

    Unbreak MSVC build broken by my port of flex check.
    
    flex puts lex.backup in the current working directory regardless
    of where the input and output are.


src/tools/msvc/pgflex.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/msvc/pgflex.pl b/src/tools/msvc/pgflex.pl index 36636ccaf35..f48ce6b900a 100644 --- a/src/tools/msvc/pgflex.pl +++ b/src/tools/msvc/pgflex.pl @@ -67,7 +67,7 @@ if ($? == 0) } if ($flexflags =~ /\s-b\s/) { - my $lexback = dirname($input) . "/lex.backup"; + my $lexback = "lex.backup"; open($lfile,$lexback) || die "opening $lexback for reading: $!"; my $lexbacklines = <$lfile>; close($lfile); [parent: 6f9afc351b81]