[SSSD] [PATCH] change alignment safe macros

Simo Sorce ssorce at redhat.com
Mon Mar 1 21:49:01 UTC 2010


The main reason for this patch is to allow George to use them also
where we don't actually need to increase a counter (just set the
pointer to the counter to NULL).

I also decided to change the naming of both the macros and their
variables to make them, hopefully, more clearear.

The "safealign" prefix in particular should hint the causal reader
about the reason we use them instead of a using normal cast like we
were doing before.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Improve-safe-alignment-buffer-handling-macros.patch
Type: text/x-patch
Size: 12695 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100301/9335fdfc/attachment.bin>


More information about the sssd-devel mailing list