CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2021/10/18 10:12:02

Modified files:
        sbin/fdisk     : part.c 

Log message:
r1.66 (May 2014) introduced a two #if 0/#else/#endif chunks to avoid "over
optimistic alignment expectations" when extracting a uint32_t field from a
packed struct.

r1.70 (March 2015) removed one of the two #if 0 chunks, realizing there was no
real gain to be had even if various compilers were ever able to intuit the
expected alignment.

Belatedly nuke the other #if 0 chunk and always memcpy() the uint32_t values out
of the struct.

Reply via email to