[ros-dev] Re: [ros-diffs] [navaraf] 19636: Don't make cells smaller
than they are.
Hartmut Birr
osexpert at googlemail.com
Sat Nov 26 16:53:29 CET 2005
navaraf at svn.reactos.com wrote:
> Don't make cells smaller than they are.
> Modified: trunk/reactos/ntoskrnl/cm/regfile.c
>
> ------------------------------------------------------------------------
> *Modified: trunk/reactos/ntoskrnl/cm/regfile.c*
> --- trunk/reactos/ntoskrnl/cm/regfile.c 2005-11-26 13:26:48 UTC (rev 19635)
> +++ trunk/reactos/ntoskrnl/cm/regfile.c 2005-11-26 15:21:44 UTC (rev 19636)
> @@ -3431,7 +3431,7 @@
>
> RtlZeroMemory(*Cell,
> CellSize);
>
> - ((PCELL_HEADER) (*Cell))->CellSize = -CellSize;
>
> + ((PCELL_HEADER) (*Cell))->CellSize *= -1;
>
> }
>
> return STATUS_SUCCESS;
>
This change is wrong. Possible we have split the cell. In this case, we
have to set the new cell size.
- Hartmut
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-dev/attachments/20051126/e31b05a4/attachment.html
More information about the Ros-dev
mailing list