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:
parent
c5395e5ff1
commit
5f8fb5ad2c
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue