librime
librime copied to clipboard
Resolve symbolic links with Boost.Filesystem
As reported in rime/weasel#216, user directory may be placed under a symbolic link to home directory. It may cause deployment failure if the parent symbolic link is not resolved.
It's complicated. I cannot create an instant fix. Changes shall be made carefully. While trying to find a resource by file name, path is constructed by concatenating each prefix and the relative path. In some places such path strings are compared, this can be error prone (no sound proof; while I wrote the code I thought it could be dangerous): if one is resolved by following symlink, the prefix will no longer match.
No boost fs any more.