In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/3f66cd9441293fe8889cc565af7cf06351e97088?hp=b1fc363696b1a308e6bce75eb292bacc8f2c9833>
- Log ----------------------------------------------------------------- commit 3f66cd9441293fe8889cc565af7cf06351e97088 Author: Jan Dubois <[email protected]> Date: Thu May 14 09:55:15 2009 -0700 WIN32 preprocessor symbols is usually tested with #ifdef, not #if Doesn't really make a difference as WIN32 is defined as '1' when it is defined, but there is something to be said for consistent usage. ----------------------------------------------------------------------- Summary of changes: pp_ctl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pp_ctl.c b/pp_ctl.c index dc8f0da..e0c98ba 100644 --- a/pp_ctl.c +++ b/pp_ctl.c @@ -4935,7 +4935,7 @@ S_path_is_absolute(const char *name) PERL_ARGS_ASSERT_PATH_IS_ABSOLUTE; if (PERL_FILE_IS_ABSOLUTE(name) -#if WIN32 +#ifdef WIN32 || (*name == '.' && ((name[1] == '/' || (name[1] == '.' && name[2] == '/')) || (name[1] == '\\' || -- Perl5 Master Repository
