Bug 182611

Summary: Setup calculates required diskspace incorrectly on 64-bit machines
Product: [Community] 389 Reporter: Nathan Kinder <nkinder>
Component: Install/UninstallAssignee: Nathan Kinder <nkinder>
Status: CLOSED CURRENTRELEASE QA Contact: Viktor Ashirov <vashirov>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: amsharma, rmeggins
Target Milestone: ---Keywords: VerifiedUpstream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: 1.0.2
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-07 12:14:24 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 183369    
Attachments:
Description Flags
CVS Diffs none

Description Nathan Kinder 2006-02-23 12:41:00 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.
Comment 1 Nathan Kinder 2006-02-23 12:45:51 EST
Created attachment 125120 [details]
CVS Diffs

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.
Comment 2 Nathan Kinder 2006-02-23 12:52:41 EST
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
done