Re: ext/Encode/t/Tcl.t on VMS @15173
[p5sagit/p5-mst-13.2.git] / perl.c
diff --git a/perl.c b/perl.c
index 4138e1b..fddaf53 100644 (file)
--- a/perl.c
+++ b/perl.c
@@ -3443,11 +3443,11 @@ S_procself_val(pTHX_ SV *sv, char *arg0)
     int len = readlink(PROCSELFEXE_PATH, buf, sizeof(buf) - 1);
     /* FreeBSD's implementation is acknowledged to be imperfect, sometimes
        returning the text "unknown" from the readlink rather than the path
-       to the exacutable (or returing an error from the readlink).  Any valid
+       to the executable (or returning an error from the readlink).  Any valid
        path has a '/' in it somewhere, so use that to validate the result.
        See http://www.freebsd.org/cgi/query-pr.cgi?pr=35703
     */
-    if (len > 0 && memchr (buf, '/', len)) {
+    if (len > 0 && memchr(buf, '/', len)) {
        sv_setpvn(sv,buf,len);
     }
     else {