develooper Front page | perl.perl5.porters | Postings from November 2013

[perl #120645] [PATCH] Porting Cwd.pm´s patch in https://rt.cpan.org/Ticket/Display.html?id=39260 to bleadperl

Thread Previous
From:
shlomif @ shlomifish . org
Date:
November 29, 2013 10:04
Subject:
[perl #120645] [PATCH] Porting Cwd.pm´s patch in https://rt.cpan.org/Ticket/Display.html?id=39260 to bleadperl
Message ID:
rt-4.0.18-31519-1385719436-696.120645-75-0@perl.org
# New Ticket Created by  shlomif@shlomifish.org 
# Please include the string:  [perl #120645]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=120645 >


Hi all,

Attached is a patch for Cwd.pm’s
bug at https://rt.cpan.org/Ticket/Display.html?id=39260 :

[QUOTE]
As can be seen here:

http://www.nntp.perl.org/group/perl.cpan.testers/2008/09/msg2204098.html

There's an incompatibility between the XS abs_path() and _perl_abs_path(): if
one references a non-existent filename of an existing directory, then the XS
abs_path will return a correct results and _perl_abs_path will warn and return
nothing. This patch adds a testcase for the problem, and patches Cwd.pm to fix
it.
[/QUOTE]

There is a similar patch provided for the standalone Cwd.pm itself, but it
wasn't applied since its submission in 2008.

Thanks to Jim Keenan for his advice for sending this patch to perlbug.
 
Regards,

	Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
"Humanity" - Parody of Modern Life - http://shlom.in/humanity

Larry Wall has been changing the world. By modifying its very source code.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About