projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f9afc3
)
Unbreak MSVC build broken by my port of flex check.
author
Andrew Dunstan
<andrew@dunslane.net>
Fri, 26 Aug 2011 14:21:43 +0000
(10:21 -0400)
committer
Andrew Dunstan
<andrew@dunslane.net>
Fri, 26 Aug 2011 14:21:43 +0000
(10:21 -0400)
flex puts lex.backup in the current working directory regardless
of where the input and output are.
src/tools/msvc/pgflex.pl
patch
|
blob
|
blame
|
history
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);