delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/24/16:57:26

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <20000524205540.6045.qmail@web215.mail.yahoo.com>
Date: Wed, 24 May 2000 13:55:40 -0700 (PDT)
From: Craig Stevenson <craig_stevenson_of_socorro AT yahoo DOT com>
Reply-To: craig DOT stevenson AT ieee DOT org
Subject: in.h
To: cygwin <cygwin AT sourceware DOT cygnus DOT com>
MIME-Version: 1.0

Hi:

I have a build problem with
/usr/i686-pc-cygwin/include/cygwin/in.h

At the bottom of this file we have the following:

<snip>
/*
 *  IPv6 definitions as we start to include them. This
is just
 *  a beginning dont get excited 8)
 */

struct in6_addr
{
    unsigned char s6_addr[16];
};

struct sockaddr_in6
{
    unsigned short sin6_family;
    unsigned short sin6_port;
    unsigned long sin6_flowinfo;
    struct in_addr6 sin6_addr;
};
<snip>

The problem is with hollering about in_addr6.  It
looks like there might be a typo in the prior struct.

My solution is to change the prior struct to conform
with the second one:

<snip>
struct in_addr6
{
    unsigned char s6_addr[16];
};

struct sockaddr_in6
{
    unsigned short sin6_family;
    unsigned short sin6_port;
    unsigned long sin6_flowinfo;
    struct in_addr6 sin6_addr;
};
<snip>

My app build's now, but I wanted to report this to
ya'll.

Cheer-o.


=====
-- Craig Stevenson
-- Home Page: http://www.sdc.org/~craigs/
-- Recently computed: The 200 billionth digit of pi is 2.

__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019