New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid perl code with find2perl #7244
Comments
From @eserteThis is a bug report for perl from slaven@rezic.de, Some invocations of find2perl cause wrong perl code to be created, e.h. find2perl . or find2perl . -follow -type d -print No fix here, but an additional test which could go to t/x2p/f2p.t: #!./perl -w BEGIN { use Test::More; plan tests => 4; my $f2p = File::Spec->catfile( File::Spec->updir(), 'x2p', 'find2perl' ); TODO: { check_syntax("."); check_syntax(". -print"); sub check_syntax { Flags: Site configuration information for perl v5.8.0: Configured by davidk at Sun Apr 6 15:15:05 CEST 2003. Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Locally applied patches: @INC for perl v5.8.0: Environment for perl v5.8.0: |
From @rgsslaven@rezic.de (via RT) wrote:
I've committed a hackish fix as change Change 22749 by rgs@valis on 2004/04/28 18:28:07 Fix for [perl #28963]: find2perl was sometimes generating Affected files ... ... //depot/perl/x2p/find2perl.PL#23 edit Differences ... ==== //depot/perl/x2p/find2perl.PL#23 (text) ==== @@ -266,7 +266,9 @@ if ($print_needed) { Your test file is nice, but I suspect it's highly unportable.
|
The RT System itself - Status changed from 'new' to 'open' |
@rgs - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#28963 (status was 'resolved')
Searchable as RT28963$
The text was updated successfully, but these errors were encountered: