-
Notifications
You must be signed in to change notification settings - Fork 51
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
Selective cperl core cherries 20210408 #156
Selective cperl core cherries 20210408 #156
Conversation
Closes Coverity CID #165315 Signed-off-by: James E Keenan <[email protected]>
Signed-off-by: James E Keenan <[email protected]>
Said to be needed by Win32 cmd.exe Adapted from timbunce@485d6e2, with one correction.
for all Currently a developer-only test checks Signed-off-by: James E Keenan <[email protected]>
Derived from rurban/75133d3fd0eaf9a8a681d8856ca5fb2438efbfe2.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clearly okay, but all things considered; is there a benefit to adding the ./
? Really just asking for my own information.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to look up File::Spec
, and indeed the intent is for this to be cross platform (and is consistent with the intent implied in the commit message).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this just fixing an accidentally redundant check?
I tried it with a single |
Which |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
@@ -9,7 +9,7 @@ eval "use autodie; 1" | |||
|
|||
print "autodie $autodie::VERSION $INC{'autodie.pm'}\n"; | |||
|
|||
plan skip_all => "Currently a developer-only test" unless -d '.svn'; | |||
plan skip_all => "Currently a developer-only test" unless -d '../.git'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesn't seem right. wouldn't .git be in the current working directory? in which case we'd remove ../
The purpose of this pull request is to pick some low-hanging fruit from a larger p.r. submitted in 2019 by @rurban.
3 of the commits are straightforward cherry-picks; 2 required slight corrections or adaptations.
I hope to work through the balance of the 44 commits and incorporate them into thematically grouped pull requests.
Thank you very much.
Jim Keenan