Skip to content
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

fix cwd to absolute path when current directory is not at root, make perl 5.26 compliant #1

Merged
merged 2 commits into from May 8, 2017
Merged

Conversation

djerius
Copy link
Contributor

@djerius djerius commented May 4, 2017

When changing directory to an absolute path, if the current directory was not at the ftp root, it would append the segments of the new path to the current directory path instead of the ftp root.

Perl 5.26 will not include '.' by default in @inc for security reasons. I've sprinkled some
use lib '.'; statements where required to get it to compile under the latest developer version of Perl (5.25.12).

@tsucchi tsucchi merged commit 74ea125 into tsucchi:master May 8, 2017
tsucchi added a commit that referenced this pull request May 8, 2017
Changelog diff is:

diff --git a/Changes b/Changes
index a5d0b52..8f64ba5 100755
--- a/Changes
+++ b/Changes
@@ -1,5 +1,7 @@
 {{$NEXT}}

+0.03 2017-05-08T22:51:16Z
+
     - migrate to minilla
 	- Merge pull request #1 from djerius/cwd_abs_below_root
       - fix cwd to absolute path when current directory is not at root, make perl 5.26 compliant
@djerius djerius deleted the cwd_abs_below_root branch April 9, 2018 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants