delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/04/03/12:24:24

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3CAB3AB4.2A0D2D7E@phekda.freeserve.co.uk>
Date: Wed, 03 Apr 2002 18:24:04 +0100
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: redirection problem with perl
References: <10204031602 DOT AA18516 AT clio DOT rice DOT edu>
Reply-To: djgpp-workers AT delorie DOT com

Hello.

Charles Sandmann wrote:
[snip]
> Does the code below work on NT/Win2K/XP?  If not, the return value is
> being changed (previously 0, now -1) for that platform.

I don't know. I don't have any of these OSes.

> > +      /* FIXME: Use the data in the SFT. */
> > +      sft_entry_ptr = _get_sft_entry_ptr(fd);
> > +      if (!sft_entry_ptr)
> > +      {
> > +       /* Pass through `errno'. */
> > +       return -1;
[snip]

Doesn't the SFT exist on Windows NT/2k/XP? If not, then I guess it should
ignore this error and carry on (on those platforms).

If anyone has time to run the (patched) test program 'tfcntl' on platforms
other than Win98 SE (what my computer runs), I'd be grateful.

Thanks, bye, Rich =]

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


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