Re: Using filenames starting with a dot
28 May
2004
28 May
'04
5:54 p.m.
I wanted to create a hidden files (for configuration etc) by starting the filename with a dot on a Linux system. The following line aborts the program when filename is a std::string starting with a dot:
boost::filesystem::path filename_complete = basepath / filename;
Are there any tricks for that?
I think in fact an exception is being thrown. Wrap it in a try block to find out what is getting thrown. Once you know, you will find that the code has traits to control the behavior in regards to non-standard naming conventions. Woolie
7487
Age (days ago)
7487
Last active (days ago)
0 comments
1 participants
participants (1)
-
Steven Woolgar