small bitmap.c patch
Michael Sweet
mike at easysw.com
Sun Sep 23 04:05:01 GMT 2001
Jeremy Allison wrote:
>
> 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:-).
Then there is a lot of bad code in Linux, *BSD, etc. :)
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw.com
Printing Software for UNIX http://www.easysw.com
More information about the samba-technical
mailing list