small bitmap.c patch
jra at samba.org
Sat Sep 22 16:50:02 GMT 2001
On Sat, Sep 22, 2001 at 07:33:42PM -0400, Michael Sweet wrote:
> Theoretically, yes, however no compiler I know of actually does
> this, since many data structures are used for raw "wire" or "file"
> data (i.e. TCP/IP headers, etc.) and any compiler that actually
> implemented this would instantly break existing code.
That's why we use packing/unpacking functions and never
put structures onto a wire/file.
Writing structures like that is just bad code (IMHO:-).
More information about the samba-technical