Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > Angus> It's exactly what I was looking for. Thanks. Could you try out > Angus> the attached patch to package.C? Here it gives:
> +string const append_trailing_slash(string const & input) > +{ > + return suffixIs(input, '/') ? input : input + '/'; > +} > + > Wouldn't it be safer to guard against empty input here? "" and "/" are > pretty different... Then you could avoid the test later in your patch. Nice idea. Nonetheless, Luis, if you find time to test the patch as it is, that'd be great. Once you confirm that it works for you on Cygwin and on your various flavours of Windows, I'll commit the patch (suitably modified to include Jean-Marc's suggestion) to both the trunk and 1_3_x branch. Angus