msvc patch for pgbison.bat

Started by Joachim Wielandalmost 20 years ago2 messagespatches
Jump to latest
#1Joachim Wieland
joe@mcknight.de

This is a patch for building pgsql with msvc. For some reason, if you tell
my bison to work on file /some/path/foo.y it will put the resulting files
into the current directory while Magnus' bison puts them into /some/path.

The attached patch makes both kinds work by setting the destination file
explicitly.

Joachim

Attachments:

pgbison.bat.difftext/x-diff; NAME=pgbison.bat.diff; charset=us-asciiDownload+14-14
#2Andrew Dunstan
andrew@dunslane.net
In reply to: Joachim Wieland (#1)
Re: msvc patch for pgbison.bat

Joachim Wieland wrote:

This is a patch for building pgsql with msvc. For some reason, if you tell
my bison to work on file /some/path/foo.y it will put the resulting files
into the current directory while Magnus' bison puts them into /some/path.

The attached patch makes both kinds work by setting the destination file
explicitly.

Applied, because it seems to be correct, even though I am still having
trouble with this build.

Please note that patches should ideally be generated from the pgsql root
and not some higher directory - that makes them easier to apply without
having to work out what needs to be stripped from the front of the path.

cheers

andrew