set file_size in read mode
authorEd Bordin <edbordin@gmail.com>
Sun, 26 Jul 2020 03:24:50 +0000 (13:24 +1000)
committerGitHub <noreply@github.com>
Sun, 26 Jul 2020 03:24:50 +0000 (13:24 +1000)
commit9c05b10b12bec1e4d0b432aa0c7c39531fe58e19
tree10ce231dc6cee52d899649688181b20ecc0da9bd
parent20a4fce7ed30d67a2da594b934b013d1f7a0dc20
set file_size in read mode

currently it stays set to -1 and ecpprog reports e.g. "reading..    4190208/4294967295" (the latter number being 0xFFFFFFFF)
ecpprog/ecpprog.c