delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/22/11:07:00

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
Date: Mon, 22 Nov 2004 11:06:36 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: select() read() and write() on /dev/console
Message-ID: <20041122160636.GC31237@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <Pine DOT LNX DOT 4 DOT 44 DOT 0411191834400 DOT 1687-100000 AT centurai DOT sps DOT mot DOT com> <20041119183842 DOT GB26102 AT trixie DOT casa DOT cgf DOT cx> <loom DOT 20041122T151333-846 AT post DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <loom.20041122T151333-846@post.gmane.org>
User-Agent: Mutt/1.4.1i

On Mon, Nov 22, 2004 at 02:53:20PM +0000, Jason Curl wrote:
>Christopher Faylor <cgf-no-personal-reply-please <at> cygwin.com> writes:
>>On Fri, Nov 19, 2004 at 06:46:56PM +0100, Jason Curl wrote:
>>>My question, how do I go about investigating what the root cause is?
>>>Has anybody else seen similar issues and been able to work around it?
>>>I'm stuck and I've never seen the source code to cygwin before.
>>
>>If you suspect a problem with the cygwin DLL then you can build a
>>debugging version of the cygwin DLL and debug it using gdb.
>>
>>Most of the console handling is in fhandler_console.cc.  The select
>>handling is in select.cc.  Look for the string "console" there.
>>
>>Instructions for building the DLL are in the FAQ:
>>
>>http://cygwin.com/faq/faq_3.html#SEC101
>
>In the function select.cc (v1.102.2.2): peek_console() there is a
>reference to the function fh->get_readahead_valid().  I don't see how
>'fh' is assigned.

In dtable::select_{read,write,except} .

cgf

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