Boost logo

Boost :

From: (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:

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:

This 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.
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at