diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-20 13:07:18 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-20 13:07:18 +0000 |
commit | 8f95b30d1b432a64a1797b0957af01437ea8f0d4 (patch) | |
tree | 8035060ff97328c780ce76ecd35e0d4ffb9eb6ca /proto.h | |
parent | a957f605ba75f16b2eb6f85e3cfffa325e8c9168 (diff) | |
download | perl-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |