tools/winegcc: support a trailing / in paths to winebuild
Alexandre Julliard
julliard at winehq.org
Mon Aug 22 10:35:11 CDT 2011
Bernhard Loos <bernhardloos at googlemail.com> writes:
> diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c
> index 284223e..3a7e93a 100644
> --- a/tools/winegcc/winegcc.c
> +++ b/tools/winegcc/winegcc.c
> @@ -1326,6 +1326,7 @@ int main(int argc, char **argv)
> {
> case 'B':
> str = strdup(option_arg);
> + if (strendswith(str, "/")) str[strlen(str) - 1] = 0;
Why would you want to append a slash to winebuild?
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list