From nobody@FreeBSD.ORG Tue Feb 23 11:24:33 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 665231112D; Tue, 23 Feb 1999 11:24:32 -0800 (PST)
Message-Id: <19990223192432.665231112D@hub.freebsd.org>
Date: Tue, 23 Feb 1999 11:24:32 -0800 (PST)
From: sdn@slip.net
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: -T and -B not implemented on filehandles for perl 5.005_02
X-Send-Pr-Version: www-1.0

>Number:         10230
>Category:       bin
>Synopsis:       -T and -B not implemented on filehandles for perl 5.005_02
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 23 11:30:00 PST 1999
>Closed-Date:    Thu Jul 13 07:09:39 PDT 2000
>Last-Modified:  Thu Jul 13 07:15:05 PDT 2000
>Originator:     Steve Davidson
>Release:        2.2.8-RELEASE
>Organization:
>Environment:
FreeBSD greystone.tpg-sgt.com 2.2.8-RELEASE
perl -v
This is perl, version 5.005_02 built for i386-freebsd
>Description:
-T and -B are not implemented on filehandles for perl 5.005_02.
How can I get these features?
>How-To-Repeat:
Run a perl program with '-T file' in it.
>Fix:
Is there a newer version of perl5?

>Release-Note:
>Audit-Trail:

From: Nate Williams <nate@mt.sri.com>
To: sdn@slip.net
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: bin/10230: -T and -B not implemented on filehandles for perl 5.005_02
Date: Tue, 23 Feb 1999 12:41:41 -0700

 > >Number:         10230
 > >Category:       bin
 > >Synopsis:       -T and -B not implemented on filehandles for perl 5.005_02
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    freebsd-bugs
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          change-request
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Tue Feb 23 11:30:00 PST 1999
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Steve Davidson
 > >Release:        2.2.8-RELEASE
 > >Organization:
 > >Environment:
 > FreeBSD greystone.tpg-sgt.com 2.2.8-RELEASE
 > perl -v
 > This is perl, version 5.005_02 built for i386-freebsd
 > >Description:
 > -T and -B are not implemented on filehandles for perl 5.005_02.
 > How can I get these features?
 
 The functionality was added by me in response to patches by Gary Kline.
 The diffs to these lives in the Attic of perl4.  Check out revision 1.2
 of perl/perl/tdoio.c and 1.4 of doio.c.
 
 (I don't even have a 3.* system to see how easily the patches would port
 to perl5.)
 
 
 Nate
 

From: sdn@slip.net (Steve Davidson)
To: Nate Williams <nate@mt.sri.com>, sdn@slip.net
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: bin/10230: -T and -B not implemented on filehandles for perl 5.005_02
Date: Fri, 26 Mar 1999 16:44:33 -0800

 > > perl -v
 > > This is perl, version 5.005_02 built for i386-freebsd
 > > >Description:
 > > -T and -B are not implemented on filehandles for perl 5.005_02.
 > > How can I get these features?
 > 
 > The functionality was added by me in response to patches by Gary Kline.
 > The diffs to these lives in the Attic of perl4.  Check out revision 1.2
 > of perl/perl/tdoio.c and 1.4 of doio.c.
 > 
 > (I don't even have a 3.* system to see how easily the patches would port
 > to perl5.)
 > 
 > 
 > Nate
 > 
 
 -T and -B are not implemented on the "perl" that comes with Freebsd 3.1
 
 % uname -a
 FreeBSD 3.1-RELEASE
 % perl -v
 This is perl, version 5.005_02 built for i386-freebsd
 
 Can you please tell me why this is the case?
 Where these features excised for a reason?
 In the solution still to go find and apply patches?
 What about a simple "ports" recompile?
 
 Steve
 

From: Nate Williams <nate@mt.sri.com>
To: sdn@slip.net (Steve Davidson)
Cc: Nate Williams <nate@mt.sri.com>, freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: bin/10230: -T and -B not implemented on filehandles for perl 5.005_02
Date: Fri, 26 Mar 1999 19:11:33 -0700

 > > > This is perl, version 5.005_02 built for i386-freebsd
 > > > >Description:
 > > > -T and -B are not implemented on filehandles for perl 5.005_02.
 > > > How can I get these features?
 > > 
 > > The functionality was added by me in response to patches by Gary Kline.
 > > The diffs to these lives in the Attic of perl4.  Check out revision 1.2
 > > of perl/perl/tdoio.c and 1.4 of doio.c.
 > > 
 > > (I don't even have a 3.* system to see how easily the patches would port
 > > to perl5.)
 > > 
 > > 
 > 
 > -T and -B are not implemented on the "perl" that comes with Freebsd 3.1
 
 That's right.
 
 > % perl -v
 > This is perl, version 5.005_02 built for i386-freebsd
 
 Perl5 does not have this functionality.
 
 > Can you please tell me why this is the case?
 > Where these features excised for a reason?
 
 No, they have never been part of Perl on *BSD, but we had local patches
 that implemented the feature in Perl4.
 
 > In the solution still to go find and apply patches?
 
 The solution is to do what I stated above.  You need to take the Perl4
 patches and modify them to work in Perl5, which is a non-trivial job.  I
 looked into for about 30 minutes, and then gave up and decided it was
 too much work.
 
 But, feel free to submit patches tha work.
 
 
 Nate
 
State-Changed-From-To: open->feedback 
State-Changed-By: nbm 
State-Changed-When: Thu Jul 13 07:08:53 PDT 2000 
State-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=10230 
State-Changed-From-To: feedback->closed 
State-Changed-By: nbm 
State-Changed-When: Thu Jul 13 07:09:39 PDT 2000 
State-Changed-Why:  
Perl 5 seems to have this ability since at least 3.3-RELEASE 

http://www.freebsd.org/cgi/query-pr.cgi?pr=10230 
>Unformatted:
