Red Hat Bugzilla – Bug 182611
Setup calculates required diskspace incorrectly on 64-bit machines
Last modified: 2015-12-07 12:14:24 EST
When running setup of 64-bit Directory Server on my FC4 x86_64 machine, setup
complains that there is not enough available diskspace when I actually have
90+GB available on the installation partition.
Created attachment 125120 [details]
We were using fscanf to read in the total unzipped size of our zip archives
incorrectly. It was scanning for a normal int, but storing it in a long. The
compiler was not automatically converting types correctly which would cause the
required space to be a huge number. The proper thing to do is to have fscanf
read in a long.
Checked into setuputil (HEAD).
Checking in product.cc;
/cvs/dirsec/setuputil/installer/unix/product.cc,v <-- product.cc
new revision: 1.4; previous revision: 1.3