summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-08-26 21:19:31 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-08-27 18:21:39 -0400
commit7b8859761ccc5fc2a43ad05e5fa84e3041fe1be3 (patch)
treeebddf6727f6e28db7eb56013c4d85980dd5a00b0
parentf410e802720b8edaf0128f0af008ac504e9d98bf (diff)
downloadperl-7b8859761ccc5fc2a43ad05e5fa84e3041fe1be3.tar.gz
Comment tweak.
-rw-r--r--sv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sv.c b/sv.c
index 7c334d0661..69e7eedea7 100644
--- a/sv.c
+++ b/sv.c
@@ -2804,9 +2804,9 @@ S_uiv_2buf(char *const buf, const IV iv, UV uv, const int is_uv, char **const pe
}
/* Helper for sv_2pv_flags and sv_vcatpvfn_flags. If the NV is an
- * infinity or a not-a-number, writes the approrpriate strings to the
- * buffer, including a zero byte. Returns the written length,
- * excluding the zero byte, or zero. */
+* infinity or a not-a-number, writes the appropriate strings to the
+* buffer, including a zero byte. On success returns the written length,
+* excluding the zero byte, on failure returns zero. */
STATIC size_t
S_infnan_copy(NV nv, char* buffer, size_t maxlen) {
if (maxlen < 4)