delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/28/08:25:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Dave Korn" <dk AT artimi DOT com>
To: "'Cygwin forum'" <cygwin AT cygwin DOT com>
Subject: RE: "select" returns error "Bad file descriptor" when called with a copy of "svc_fdset" (defined at "rpc.h") as it's readfds argument
Date: Mon, 28 Jun 2004 13:23:37 +0100
MIME-Version: 1.0
In-Reply-To: <001a01c45d05$21f43a50$b90d72d9@lsp>
Message-ID: <NUTMEG0JFaTijlqzUrI00000593@NUTMEG.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 28 Jun 2004 12:23:37.0296 (UTC) FILETIME=[BCDE5500:01C45D0A]

> -----Original Message-----
> From: cygwin-owner On Behalf Of Lev Pliner
> Sent: 28 June 2004 12:38

> I once again ask you to help me to solve my problem. I 
> attached an easy
> example that works under Linux and FreeBSD.


  Your code doesn't even compile.  There's no such include file as rpc/rpc.h
on cygwin.  You'll have to come up with a valid testcase.  The fact that it
does compile on your system suggests that you've been hacking around with
your cygwin installation and messed it up.

  In particular you'll get into trouble if you try and mix up posix fd_sets
with win32 fd_sets; they're completely different structures internally.


    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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