mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Remove listxattr assertion
It appears that sometimes, listxattr() returns a different value for the query case (i.e. when the buffer size is 0).
This commit is contained in:
parent
c96e8cd097
commit
52fec8dde8
1 changed files with 0 additions and 2 deletions
|
@ -424,8 +424,6 @@ static void canonicalisePathMetaData_(const Path & path, uid_t fromUid, InodesSe
|
|||
for (auto & eaName: tokenizeString<Strings>(std::string(eaBuf.data(), eaSize), std::string("\000", 1)))
|
||||
if (lremovexattr(path.c_str(), eaName.c_str()) == -1)
|
||||
throw SysError("removing extended attribute ‘%s’ from ‘%s’", eaName, path);
|
||||
|
||||
assert(llistxattr(path.c_str(), nullptr, 0) == 0);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue