$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Peng Yu (pengyu.ut_at_[hidden])
Date: 2007-01-30 15:30:11
Hi,
The following program gives some error. Can somebody let me know if it
is possible to open filenames starting with "."?
Thanks,
Peng
int main()
{
boost::filesystem::ofstream file(".abc");
}
$ ./main-g.exe
terminate called after throwing an instance of
'boost::filesystem::filesystem_error'
what(): boost::filesystem::path: invalid name ".abc" in path: ".abc"
Aborted