delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/08/16:55:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-AuthUser: gerrit:koeln.convey.de
Date: Sun, 8 Jun 2003 22:59:32 +0200
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <163358779087.20030608225932@familiehaase.de>
To: Bob DOT Smart AT csiro DOT au
CC: cygwin AT cygwin DOT com, ptk AT lists DOT stanford DOT edu, poe AT perl DOT org
Subject: Re: file event in perl-Tk on cygwin (using POE)
In-Reply-To: <CCB2683E47559142B2DFE0768181A5BBD82429@campaspe-cq.vic.cmis.CSIRO.AU>
References:
<CCB2683E47559142B2DFE0768181A5BBD82429 AT campaspe-cq DOT vic DOT cmis DOT CSIRO DOT AU>
MIME-Version: 1.0

Hallo Bob,

[...]

> What happens there is that a sub FILENO:

>         sub FILENO
>         {
>          my $obj = shift;
>          my $h = $obj->handle;
>          return fileno($h);
>         }

> the final call to fileno actually goes straight
> back into FILENO. [I tried putting CORE:: in front
> but that made no difference]. So it looks like
> $obj->handle returns $obj instead of something
> more basic. I've tried both win32 and x11 versions
> of Tk800.023-1 which seems to be the last cygwin
> compatible version.

[...]

> So I guess my questions are:

> 1. Will I do better with other versions of cygwin,
>    perl, perl-Tk, POE?

> 2. Any suggestions for fixes?

Is there a sub fileno and a sub FILENO?

> 3. Any suggestions for workarounds?

Try to rename fileno() or FILENO() to s.th different.

> 4. Any suggestions for where to look to try to fix it?

See 3.


Gerrit
-- 
=^..^=


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