Boost logo

Boost :

From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2005-06-02 12:20:04


Beman Dawes wrote:
> "Jeff Flinn" <TriumphSprint2000_at_[hidden]> wrote in message
> news:d7n2rh$v06$1_at_sea.gmane.org...
>> Beman Dawes wrote:
>> ...
>>
>>> Question: what should path("foo//bar//").string() yield?
>>>
>>> 1) "foo//bar//"
>>> 2) "foo/bar/"
>>> 3) "foo/bar/."
>>
>> I personally prefer 2, and already filter these beasties using the
>> string_algo library when I get them from environment variables.
>
> Interesting. I don't think I've ever seen these in practice.

Yeah, interesting here's some examples(names changed to protect the not so
innocent):

xxx_DOS_HOME=g:\\release\\winnt\\advdev\\
xxx_yyy_DOS_ROOT=g:\\release\\winnt\\xxx\\yyy\\v7.0
xxx_yyy_aa_DOS_ROOT=g:\\release\\winnt\\xxx\\yyy\\v7.0
xxx_yyy_aa_ROOT=g://release//winnt//xxx////yyy//v7.0
xxx_yyy_ROOT=g://release//winnt//xxx////yyy//v7.0
xxx_yyy_bb_DOS_ROOT=g:\\release\\winnt\\xxx\\yyy\\v7.0
xxx_yyy_bb_ROOT=g://release//winnt//xxx////yyy//v7.0

and my favorite:

xxx_cc_DOS_HOME=g:\\release\\winnt\\advdev\\//xxx//cc//bin

>> Although, I've been told the multiple slashes are required by our
>> legacy nut-cracker laden dlls that front-end a fairly old version of
>> gnumake. I've no idea why they are needed though.
>
> That makes me nervous. Is there any chance you could find out why they
> are/were needed?

I'll try to find an answer this afternoon.

Jeff Flinn


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk