summaryrefslogtreecommitdiff
path: root/perlapi.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2001-07-02 08:03:55 +0000
committerGurusamy Sarathy <gsar@cpan.org>2001-07-02 08:03:55 +0000
commit894237640a8731055a749592e01318892443c38d (patch)
treecc8c55e633728ba8f48fa340a50ae81dda851e26 /perlapi.c
parent25716404fbbde2ca91832aab8c9157aafcdcc7e8 (diff)
downloadperl-894237640a8731055a749592e01318892443c38d.tar.gz
rename s/sv_getcwd/getcwd_sv/ for better conformance to existing
naming discipline win32 fix: enable getcwd_sv() to work on windows (POSIX.t was failing because of this) fix a warning about "fd" being used without being set in Cwd.xs p4raw-id: //depot/perl@11067
Diffstat (limited to 'perlapi.c')
-rw-r--r--perlapi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/perlapi.c b/perlapi.c
index b554ed539a..df16150c70 100644
--- a/perlapi.c
+++ b/perlapi.c
@@ -3002,11 +3002,11 @@ Perl_sv_compile_2op(pTHXo_ SV* sv, OP** startp, char* code, AV** avp)
return ((CPerlObj*)pPerl)->Perl_sv_compile_2op(sv, startp, code, avp);
}
-#undef Perl_sv_getcwd
+#undef Perl_getcwd_sv
int
-Perl_sv_getcwd(pTHXo_ SV* sv)
+Perl_getcwd_sv(pTHXo_ SV* sv)
{
- return ((CPerlObj*)pPerl)->Perl_sv_getcwd(sv);
+ return ((CPerlObj*)pPerl)->Perl_getcwd_sv(sv);
}
#undef Perl_sv_dec