- Fixed modular arithmetic and potential divide by zero when handling MBR
commit3e8401819236831cb1d08863a130f2a3a3ee7781
authorneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Wed, 1 Nov 2006 02:29:34 +0000 (1 02:29 +0000)
committerneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Wed, 1 Nov 2006 02:29:34 +0000 (1 02:29 +0000)
tree13c451819e8af2b6261ee81109b7c3a5f816b35f
parentb2c99a3d378d05060cc747c83ec0bc6a71903383
 - Fixed modular arithmetic and potential divide by zero when handling MBR
   partitions that aren't on cylinder boundaries.
 - Some cylinder-to-sector arithmetic fixes.
 - Made device-name argument to OpenRootPartition() const.

git-svn-id: https://svn.aros.org:8080/svn/aros/trunk/AROS@24945 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
workbench/libs/partition/openrootpartition.c
workbench/libs/partition/partition.conf
workbench/libs/partition/partitionmbr.c