TODO: disable 0-termination when reading / writing xattr String values (older versions will not be forwards compatible with this change)

This commit is contained in:
Reinhard Pointner 2018-06-03 18:43:19 +07:00
parent c5395e5ff1
commit 5f8fb5ad2c
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ public class MacXattrView {
public MacXattrView(Path path) {
// MacOS filesystem may require NFD unicode decomposition
this.path = Normalizer.normalize(path.toFile().getAbsolutePath(), Form.NFD);
this.path = Normalizer.normalize(path.toAbsolutePath().toString(), Form.NFD);
}
public List<String> list() {