Boost Filesystem does not work with symbolic links on Windows anymore

It seems as if

boost::filesystem::is_empty()

is not working with symbolic links on Windows anymore.

When calling the method on a SymLink it always returns true, even if there is a totally valid (and filled) file behind it. The same works for HardLinks without a problem. It also works with the default Windows links (*.lnk). This method was working back in Boost 1.46.1, I’m not sure when this issue arised.

Just created a Github project which shows the problem. Let’s see how the answers in the Boost Bugtracker and Stackoverflow are.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s