30 Aug
2010
30 Aug
'10
3:36 p.m.
AMDG Clarke, Carus V wrote:
Steven Watanabe wrote:
Your code doesn't appear to print this last line.
You are right. I added the last line after pasting in the code. Here it is:
boost_fs::file_status st = boost_fs::status(path, ec); <snip> std::cout << "Does file exist? " << boost_fs::exists(st) << std::endl; return 0; }
Is there anything I can do to make this work?
It looks like stat is setting errno to ENOENT. Do you get the same behavior if the file exists before starting the program? In Christ, Steven Watanabe