tools/winegcc: support a trailing / in paths to winebuild
bernhardloos at googlemail.com
Tue Aug 23 06:16:12 CDT 2011
On Tue, Aug 23, 2011 at 11:20 AM, David Laight <david at l8s.co.uk> wrote:
> On Mon, Aug 22, 2011 at 07:13:42PM +0200, Bernhard Loos wrote:
>> On Mon, Aug 22, 2011 at 7:02 PM, Jerome Leclanche <adys.wh at gmail.com> wrote:
>> > That's to be fixed in bash-completion, not winegcc...
>> Uhm, what's wrong with bash-completation? -B takes a directory as an
>> argument so bash adds a slash during autocomplete, that's ok.
>> gcc itself can also deal with a trailing / for -B, it's kinda
>> suprising, if this breaks in winegcc.
> bash has 'broken' many things by doing that.
> Traditionally directory paths wouldn't be expected to have a trailing '/'.
> David Laight: david at l8s.co.uk
Well, everything else accepts a trailing slash now, so tradition isn't
a good argument here.
It's higly surprising and non-obviouls to get magic behavior for
./tools/winebuild but not for ./tools/winebuild/ , especially if gcc
itself doesn't distinguish between them.
More information about the wine-devel