From: Jarkko Hietaniemi Date: Mon, 1 Oct 2001 12:27:57 +0000 (+0000) Subject: sortsv not in place anymore, noticed by John P. Linderman. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=15c782025dad5d6987b21b64d42859da9bcd79d3;p=p5sagit%2Fp5-mst-13.2.git sortsv not in place anymore, noticed by John P. Linderman. p4raw-id: //depot/perl@12291 --- diff --git a/pod/perlapi.pod b/pod/perlapi.pod index cf54c9a..a60c2c6 100644 --- a/pod/perlapi.pod +++ b/pod/perlapi.pod @@ -2024,7 +2024,7 @@ Found in file sharedsv.c =item sortsv -Sort an array in place. Here is an example: +Sort an array. Here is an example: sortsv(AvARRAY(av), av_len(av)+1, Perl_sv_cmp_locale); diff --git a/pp_ctl.c b/pp_ctl.c index 54587e9..b14e27f 100644 --- a/pp_ctl.c +++ b/pp_ctl.c @@ -4039,7 +4039,7 @@ dynprep(pTHX_ gptr *list1, gptr *list2, size_t nmemb, SVCOMPARE_t cmp) /* =for apidoc sortsv -Sort an array in place. Here is an example: +Sort an array. Here is an example: sortsv(AvARRAY(av), av_len(av)+1, Perl_sv_cmp_locale);