summaryrefslogtreecommitdiff
path: root/ext/Cwd
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-06-14 14:12:35 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-06-14 14:12:35 +0000
commitdfa4e5d386dd8c5329351699b02085856cdd140e (patch)
treed4e70decb1ca552eb4e589b36e338b3d0ac5c9e4 /ext/Cwd
parent3fa7b0d22479f5b865c94fb4e120a123ff56edf6 (diff)
downloadperl-dfa4e5d386dd8c5329351699b02085856cdd140e.tar.gz
Upgrade to PathTools 3.25
p4raw-id: //depot/perl@31382
Diffstat (limited to 'ext/Cwd')
-rw-r--r--ext/Cwd/Changes11
-rw-r--r--ext/Cwd/Cwd.xs2
-rw-r--r--ext/Cwd/Makefile.PL7
3 files changed, 14 insertions, 6 deletions
diff --git a/ext/Cwd/Changes b/ext/Cwd/Changes
index e7b54a7dd6..7558ff56fa 100644
--- a/ext/Cwd/Changes
+++ b/ext/Cwd/Changes
@@ -1,5 +1,16 @@
Revision history for Perl distribution PathTools.
+ - Added a workaround for auto-vivication-of-function-args Perl bug
+ (triggered by OS/2-specific code). [Ilya Zakharevich]
+
+ - Sync with a bleadperl change: miniperl can no longer use Win32::*
+ functions because it cannot load Win32.dll. [Jan Dubois]
+
+ - We only need to load ppport.h when building outside the core, so we
+ avoid using it when in the core.
+
+3.24 - Sun Nov 19 22:52:49 2006
+
- Fixed a bug in the $ENV{PWD}-updating of Cwd::chdir() when a
dirhandle is passed in. [Steve Peters]
diff --git a/ext/Cwd/Cwd.xs b/ext/Cwd/Cwd.xs
index 99d372cfae..7434dfa700 100644
--- a/ext/Cwd/Cwd.xs
+++ b/ext/Cwd/Cwd.xs
@@ -1,7 +1,7 @@
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
-#ifdef USE_PPPORT_H
+#ifndef NO_PPPORT_H
# define NEED_sv_2pv_nolen
# include "ppport.h"
#endif
diff --git a/ext/Cwd/Makefile.PL b/ext/Cwd/Makefile.PL
index 02e5a3b179..1e9a80d8a7 100644
--- a/ext/Cwd/Makefile.PL
+++ b/ext/Cwd/Makefile.PL
@@ -1,10 +1,7 @@
+# core-only Makefile.PL
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'Cwd',
VERSION_FROM => '../../lib/Cwd.pm',
- (
- (grep { $_ eq 'PERL_CORE=1' } @ARGV)
- ? ()
- : ('DEFINE' => '-DUSE_PPPORT_H')
- ),
+ 'DEFINE' => '-DNO_PPPORT_H',
);