This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
spell "SSize_t" correctly
authorTony Cook <tony@develop-help.com>
Mon, 28 Jul 2014 01:46:19 +0000 (11:46 +1000)
committerTony Cook <tony@develop-help.com>
Mon, 28 Jul 2014 01:46:19 +0000 (11:46 +1000)
the same as the other place in that patch

caretx.c

index dffa445..5d3318c 100644 (file)
--- a/caretx.c
+++ b/caretx.c
@@ -99,7 +99,7 @@ Perl_set_caret_X(pTHX) {
         }
 #  elif defined(HAS_PROCSELFEXE)
         char buf[MAXPATHLEN];
-        Ssize_t len = readlink(PROCSELFEXE_PATH, buf, sizeof(buf) - 1);
+        SSize_t len = readlink(PROCSELFEXE_PATH, buf, sizeof(buf) - 1);
         /* NOTE: if the length returned by readlink() is sizeof(buf) - 1,
          * it is impossible to know whether the result was truncated. */