summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-20 13:07:18 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-20 13:07:18 +0000
commit8f95b30d1b432a64a1797b0957af01437ea8f0d4 (patch)
tree8035060ff97328c780ce76ecd35e0d4ffb9eb6ca /proto.h
parenta957f605ba75f16b2eb6f85e3cfffa325e8c9168 (diff)
downloadperl-8f95b30d1b432a64a1797b0957af01437ea8f0d4.tar.gz
No point in going into memory-saving contortions
with getcwd() since there's a danger of buffer overflow. Also make the POSIX extension to use sv_getcwd(). Finally, a missed proto.h fragment. p4raw-id: //depot/perl@10748
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index 927f3b5bbe..eaa6ed7c4f 100644
--- a/proto.h
+++ b/proto.h
@@ -780,7 +780,7 @@ PERL_CALLCONV void Perl_sv_pos_b2u(pTHX_ SV* sv, I32* offsetp);
PERL_CALLCONV char* Perl_sv_pvn_force(pTHX_ SV* sv, STRLEN* lp);
PERL_CALLCONV char* Perl_sv_pvutf8n_force(pTHX_ SV* sv, STRLEN* lp);
PERL_CALLCONV char* Perl_sv_pvbyten_force(pTHX_ SV* sv, STRLEN* lp);
-PERL_CALLCONV int Perl_sv_realpath(pTHX_ SV* sv, char *path, STRLEN len);
+PERL_CALLCONV int Perl_sv_realpath(pTHX_ SV* sv, char *path, STRLEN maxlen);
PERL_CALLCONV char* Perl_sv_reftype(pTHX_ SV* sv, int ob);
PERL_CALLCONV void Perl_sv_replace(pTHX_ SV* sv, SV* nsv);
PERL_CALLCONV void Perl_sv_report_used(pTHX);