Falk Hueffner wrote:
> > struct PACKET_HEADER
> > {
> > le length;
> > MD5Hash setid;
> > } __attribute__ ((packed));
> >
> > struct MAINPACKET
> > {
> > PACKET_HEADER header;
> > MD5Hash fileid[0];
> > } __attribute__ ((packed));
> >
> > const MD5Hash& FileId(const char *packetdata, int f
Ben Hutchings <[EMAIL PROTECTED]> writes:
> Falk Hueffner wrote:
>> Note also that the program will not work as intended, because (as soon
>> as gcc is fixed) all the packedness is ignored. So I clone this bug.
>
> Thanks for the confirmation. Personally I think packed structures are a
> horrible
2 matches
Mail list logo