Boost logo

Boost :

From: Allmen, Michael-P57512 (Michael.Allmen_at_[hidden])
Date: 2005-12-19 09:07:16


1_33_0

-----Original Message-----
From: Allmen, Michael-P57512
Sent: Monday, December 19, 2005 7:06 AM
To: 'boost_at_[hidden]'
Subject: RE: [boost] [filesystem] problem with filename length (bug?)

Sorry, forgot that information.

Solaris 9
Boost 1.33

-----Original Message-----
From: boost-bounces_at_[hidden]
[mailto:boost-bounces_at_[hidden]] On Behalf Of Beman Dawes
Sent: Thursday, December 15, 2005 7:45 PM
To: boost_at_[hidden]
Subject: Re: [boost] [filesystem] problem with filename length (bug?)

"Allmen, Michael-P57512" <Michael.Allmen_at_[hidden]> wrote in message
news:C7FCC5C93630AB4E80049ED163FFD224B5ED0B_at_AZ25EXM04.gddsi.com...
> Here is the code I am using (the problem also occurs with the
> simple_ls.cpp sample)...
>
> #include <iostream>
> #include "boost/filesystem/operations.hpp"
> #include "boost/filesystem/path.hpp"
>
> namespace fs = boost::filesystem;
>
> int main( int argc, char* argv[] )
> {
> fs::path dir( "somedir" );
>
> fs::directory_iterator end;
> for( fs::directory_iterator i( dir ); i != end; ++i ) {
> std::cout << dir->leaf() << std::endl; }
>
> return 0;
> }
>
> The problem is that once the program finds a file at least 22
> characters long, it will not print any filenames longer than first
file correctly.

What operating system are you using?

What version of Boost?

Thanks,

--Beman

_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost


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