Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.sbin/sysinst



> Module Name:	src
> Committed By:	martin
> Date:		Tue Jun 21 15:42:44 UTC 2022
> 
> Modified Files:
> 	src/usr.sbin/sysinst: disklabel.c
> 
> Log Message:
> Fix free space accounting for partition size changes and deletions.
> Part of PR 56886.

@@ -822,6 +824,15 @@
>  			was_inst_target = parts->l.d_partitions[part].p_offset
>  			    == parts->install_target;
>  			parts->l.d_partitions[part].p_offset = info->start;
> +			if (part != RAW_PART
> +#if RAW_PART == 3
> +				|| part == RAW_PART-1
> +#endif
> +							) {

Shouldn't this part be '&& part != RAW_PART - 1' ?

It looks we cannot choose RAW_PART (and RAW_PART-1 on MBR ports)
on the inner editor, though.

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index