Mail Archives: cygwin-developers/1998/09/20/00:20:57
On Sun, 20 Sep 1998, Sergey Okhapkin wrote:
> Christopher Faylor wrote:
> > Ok. I played with this a little. This seems to fix things. I don't
> know
> > why. I just did it for debugging purposes and everything started
> working.
> >
> > -#define WINSOCK_FD_ZERO(set) ((set)->fd_count=0)
> > +#define WINSOCK_FD_ZERO(set) memset ((set), 0, sizeof (*(set)))
>
> Hmmm... That works for me too! What is default structure members alignment
> for i586 in egcs-1.1? 8 byte alignment explains the problem! Does egcs 1.1
> support
> #pragms pack(4) or something similar?
My version, which includes Nick Clifton's pragma patches, does. Looks like
Geoffrey has added them to b20alpha as well, even though the ChangeLog
doesn't show.
Regards,
Mumit
- Raw text -