change didn't work: bufffer vs. buffer
authorStefan Vogel <sv@exept.de>
Thu, 24 Mar 2016 16:31:51 +0100
changeset 19434 fee1fbb3d8e5
parent 19433 2bb4959d41ad
child 19435 d410a2d70d68
child 19477 af82888ceb72
change didn't work: bufffer vs. buffer
UnixOperatingSystem.st
--- a/UnixOperatingSystem.st	Thu Mar 24 14:40:01 2016 +0100
+++ b/UnixOperatingSystem.st	Thu Mar 24 16:31:51 2016 +0100
@@ -9156,7 +9156,7 @@
 %{
 #if defined(LINUX)
 # include <sys/syscall.h>
-# if defined(SYS_getrandom) // getrandom(2) is upported starting with linux 3.17 (2014-10-05)     
+# if defined(SYS_getrandom) // getrandom(2) is supported starting with linux 3.17 (2014-10-05)     
 
 # if 1 || !(defined(__GLIBC__) && __GLIBC_PREREQ(2, 23))
     // getrandom() appears first in GLIBC 2.23
@@ -9170,7 +9170,7 @@
 
     size_t wanted, cnt, gotSoFar = 0;
     char *buffer;
-    INT intBufffer = 0;
+    INT intBuffer = 0;
     int wantInteger = 0;
     
     if (__isSmallInteger(bufferOrInteger)) {
@@ -9199,7 +9199,7 @@
         }
     } while (gotSoFar < wanted);
     if (wantInteger) {
-        RETURN(__mkSmallInteger(intBufffer & _MAX_INT));
+        RETURN(__mkSmallInteger(intBuffer & _MAX_INT));
     }
     RETURN(bufferOrInteger);
 # endif // SYS_getrandom