Bug 182611 - Setup calculates required diskspace incorrectly on 64-bit machines
Summary: Setup calculates required diskspace incorrectly on 64-bit machines
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: 389
Classification: Retired
Component: Install/Uninstall
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nathan Kinder
QA Contact: Viktor Ashirov
URL:
Whiteboard: 1.0.2
Depends On:
Blocks: 183369
TreeView+ depends on / blocked
 
Reported: 2006-02-23 17:41 UTC by Nathan Kinder
Modified: 2015-12-07 17:14 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-12-07 17:14:24 UTC
Embargoed:


Attachments (Terms of Use)
CVS Diffs (1.15 KB, patch)
2006-02-23 17:45 UTC, Nathan Kinder
no flags Details | Diff

Description Nathan Kinder 2006-02-23 17:41:00 UTC
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 17:45:51 UTC
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 17:52:41 UTC
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


Note You need to log in before you can comment on or make changes to this bug.