enca
enca copied to clipboard
enconv truncates file to 0 bytes
Arch linux enca 1.19 from distro repo
enconv "$FILENAME"
truncates that file to 0 bytes and exits with 0 (success) code. After enconv exits temporary file /tmp/enca?????
with recoded content remains, but it does not get copied to target file.
Looks like this is related to #28
#28 seems to be solved by recode rrthomas/recode#4.
I also use Arch and was able to build working version of the enca by not applying the patch which is enclosed with the PKGBUILD. (The patch was created by me and it was a workaround rather than a solution. And it seems to not longer work).
I will send email to the maintainer of the PKGBUILD.
I think this issue can be closed now. It is fixed in newest Arch Linux PKGBUILD for enca 1.19-5. See https://bugs.archlinux.org/task/78620.