diff options
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 32 |
1 files changed, 1 insertions, 31 deletions
@@ -9297,7 +9297,7 @@ rb_io_fcntl(int argc, VALUE *argv, VALUE io) * +String+ objects or +Integer+ objects. A +String+ object is passed * as a pointer to the byte sequence. An +Integer+ object is passed * as an integer whose bit size is same as a pointer. - * Up to nine parameters may be passed (14 on the Atari-ST). + * Up to nine parameters may be passed. * * The function identified by _num_ is system * dependent. On some Unix systems, the numbers may be obtained from a @@ -9321,11 +9321,7 @@ rb_io_fcntl(int argc, VALUE *argv, VALUE io) static VALUE rb_f_syscall(int argc, VALUE *argv) { -#ifdef atarist - VALUE arg[13]; /* yes, we really need that many ! */ -#else VALUE arg[8]; -#endif #if SIZEOF_VOIDP == 8 && defined(HAVE___SYSCALL) && SIZEOF_INT != 8 /* mainly *BSD */ # define SYSCALL __syscall # define NUM2SYSCALLID(x) NUM2LONG(x) @@ -9404,32 +9400,6 @@ rb_f_syscall(int argc, VALUE *argv) case 8: retval = SYSCALL(num, arg[0],arg[1],arg[2],arg[3],arg[4],arg[5],arg[6]); break; -#ifdef atarist - case 9: - retval = SYSCALL(num, arg[0],arg[1],arg[2],arg[3],arg[4],arg[5],arg[6], - arg[7]); - break; - case 10: - retval = SYSCALL(num, arg[0],arg[1],arg[2],arg[3],arg[4],arg[5],arg[6], - arg[7], arg[8]); - break; - case 11: - retval = SYSCALL(num, arg[0],arg[1],arg[2],arg[3],arg[4],arg[5],arg[6], - arg[7], arg[8], arg[9]); - break; - case 12: - retval = SYSCALL(num, arg[0],arg[1],arg[2],arg[3],arg[4],arg[5],arg[6], - arg[7], arg[8], arg[9], arg[10]); - break; - case 13: - retval = SYSCALL(num, arg[0],arg[1],arg[2],arg[3],arg[4],arg[5],arg[6], - arg[7], arg[8], arg[9], arg[10], arg[11]); - break; - case 14: - retval = SYSCALL(num, arg[0],arg[1],arg[2],arg[3],arg[4],arg[5],arg[6], - arg[7], arg[8], arg[9], arg[10], arg[11], arg[12]); - break; -#endif } if (retval == -1) |