DragonFly-2.3.0.12.g1c6a6 master contrib/bsdinstaller-1.1.6/src/lib/libinstaller survey.c

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Tue Feb 10 01:50:40 PST 2009


Matthew Dillon wrote:
:    installer: Use unsigned long for holding hw.physmem's value.
:    
:    The previous signed long led to the wrong calculation of default swap size
:    on machines with >2GB main memory.
:
:Summary of changes:
: .../src/lib/libinstaller/survey.c                  |    2 +-
: 1 files changed, 1 insertions(+), 1 deletions(-)
:-- 
:DragonFly BSD source repository

    Might as well make it a 64 bit int.
the MD kernel code uses a int for i386, and the data is copied binary.

cheers
  simon
--
  <3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /"\
  rock the past  +++  space for low €€€ NOW!1  +++     Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \





More information about the Commits mailing list