diff options
author | David Mitchell <davem@iabyn.com> | 2012-07-24 11:21:25 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2012-07-24 11:21:25 +0100 |
commit | bbe42f07d969063aabc8ae4605c000d8a83105fd (patch) | |
tree | c215129466e6d7e0bf6239a6d7171a7c0c3fcc0c /pod/perlclib.pod | |
parent | 3bc368822f6e07fb23107aaf5ab239b91e9157e3 (diff) | |
download | perl-bbe42f07d969063aabc8ae4605c000d8a83105fd.tar.gz |
[perl #114248] Newxz? doc wrong in perlclib.pod
Commit 9f653bb54868b8547466924d4ce483acb8987efb changed the docs from
New/Newz to the newer Newx/Newxz, but forgot to remove the
no-longer-present 'id' arg.
Diffstat (limited to 'pod/perlclib.pod')
-rw-r--r-- | pod/perlclib.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlclib.pod b/pod/perlclib.pod index 0785577dac..ef0b6b0234 100644 --- a/pod/perlclib.pod +++ b/pod/perlclib.pod @@ -99,8 +99,8 @@ There is no equivalent to C<fgets>; one should use C<sv_gets> instead: Instead Of: Use: - t* p = malloc(n) Newx(id, p, n, t) - t* p = calloc(n, s) Newxz(id, p, n, t) + t* p = malloc(n) Newx(p, n, t) + t* p = calloc(n, s) Newxz(p, n, t) p = realloc(p, n) Renew(p, n, t) memcpy(dst, src, n) Copy(src, dst, n, t) memmove(dst, src, n) Move(src, dst, n, t) |