b5c94a24efc541faf72d45a37b311113a186180f
When rescue spmsync truncates the temp file to zero bytes before writing XPAK metadata, calling get_binpkg_format() triggers seek(-16, 2) on an empty file which prints an [Errno 22] stderr warning for every package. Skip the format detection when the file is empty — it can only be xpak. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Entropy
Entropy is the binary package management of Sabayon Linux.
License
GPL v2. See COPYING for details.
Description
Languages
Python
98.8%
Shell
0.7%
Makefile
0.4%