git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6f9afc3)
Unbreak MSVC build broken by my port of flex check.
2011年8月26日 14:21:43 +0000 (10:21 -0400)
2011年8月26日 14:21:43 +0000 (10:21 -0400)
flex puts lex.backup in the current working directory regardless
of where the input and output are.


diff --git a/src/tools/msvc/pgflex.pl b/src/tools/msvc/pgflex.pl
index 36636ccaf35fd91e2c5324878547b7ca9b4e0d12..f48ce6b900a0b6b20b73a91bd1e4979dbef73d46 100644 (file)
--- 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);
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /