Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2007-04-17 04:19:35


Bugs item #1702032, was opened at 2007-04-17 01:19
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1702032&group_id=7586

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: filesystem
Group: None
Status: Open
Resolution: None
Priority: 5
Private: Yes
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Beman Dawes (beman_dawes)
Summary: [1.33.1]Paths not equivalent on Windows when casing differs

Initial Comment:
If the casing differs of the native paths stored in boost::filesystem::path objects. Casing should not matter on Windows. The code snippet below demonstrates the problem:

    path p1( "C:\\Windows", native );
    path p2( "C:\\Windows", native );
    path p3( "c:\\Windows", native );

    set<path> paths;

    paths.insert( p1 );

    // This one is fine. If the casing of the
    // native paths is the same, it is found
    // in the set
    assert( paths.end() != paths.find( p2 ) );
    // This one fires, although it shouldn't
    // on Windows. The paths are equivalent
    assert( paths.end() != paths.find( p3 ) );

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1702032&group_id=7586

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


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