delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/25/10:14:10

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
Date: Thu, 25 May 2000 16:12:44 +0200 (MET DST)
From: Stefan Ondrejicka <ondrej AT idata DOT sk>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Minor typo in /usr/i686-pc-cygwin/include/cygwin/in.h
Message-ID: <Pine.OSF.4.10.10005251606581.17407-100000@corwin.idata.sk>
MIME-Version: 1.0

Hello,

I have just downloaded and installed latest netinstall version of cygwin.
I tryied to compile my program which is using sockets for network
communication. It refuzes to compile because of one typo in header file
mentioned in subject.

The typo is in declaration of structure for IPv6 socket address.

currently it is

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

and should be 

struct sockaddr_in6
{
        unsigned short sin6_family;
        unsigned short sin6_port;
        unsigned long sin6_flowinfo;
        struct in6_addr sin6_addr;
};


The typo is in last field of structure :-)

I was sending this message originaly to cygwin-developers list, but I am
not subscribed to that list, so my message was rejected. I hope someone
authorized will read this email at least this way.

With best regards,
Stevo.

P.S. Thanks for such great environment for easy porting of unix programs 
     to win32.

-- 
Stefan Ondrejicka <ondrej AT idata DOT sk>
Beethovenova 11, 917 08 Trnava, Slovakia
http://www.idata.sk/~ondrej/





--
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