1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 08:18:52 -05:00

MACOS BREAKING CHANGE: 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-11 14:19:41 +07:00
parent 89dc1d9864
commit b5d7f7c3bc

View File

@ -1,15 +1,12 @@
package net.filebot.platform.mac; package net.filebot.platform.mac;
// TODO: disable 0-termination when reading / writing xattr String values (older versions will not be forwards-compatible with this change) import static net.filebot.platform.mac.xattr.XAttrUtil.*;
// import static net.filebot.platform.mac.xattr.XAttrUtil.*;
import java.nio.file.Path; import java.nio.file.Path;
import java.text.Normalizer; import java.text.Normalizer;
import java.text.Normalizer.Form; import java.text.Normalizer.Form;
import java.util.List; import java.util.List;
import static com.sun.jna.platform.mac.XAttrUtil.*;
public class MacXattrView { public class MacXattrView {
private final String path; private final String path;