On Tue, Aug 23, 2011 at 11:20 AM, David Laight david@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@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
-- David Laight: david@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.