diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2011-08-26 10:21:43 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2011-08-26 10:21:43 -0400 |
commit | 6a56a38f017718f23b001050e3a69662b83373da (patch) | |
tree | 039f6cff19f7199dd7e442541aae94dbb4f17371 | |
parent | 6f9afc351b81a46ce9dc0f48c8a4c0af3de924e9 (diff) | |
download | postgresql-6a56a38f017718f23b001050e3a69662b83373da.tar.gz postgresql-6a56a38f017718f23b001050e3a69662b83373da.zip |
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.
-rw-r--r-- | src/tools/msvc/pgflex.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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); |