[issue1471] ioctl doesn't work properly on 64-bit OpenBSD

2007-11-19 Thread fbvortex
New submission from fbvortex: The following lines of code work on Linux platforms (amd64), and 32-bit OpenBSD (i386), but not on 64-bit OpenBSD platforms (at least not on amd64 or sparc64): import fcntl,os,pty,termios,select,sys,struct,pwd,signal,os pid,fd=pty.fork() fcntl.ioctl(fd

[issue1471] ioctl doesn't work properly on 64-bit OpenBSD

2007-11-19 Thread fbvortex
fbvortex added the comment: The following C code, when compiled with -lutil runs without reporting any errors on both the sparc64 and i386 platforms on OpenBSD: #include #include #include #include #include int main(void) { int fd; struct winsize w; w.ws_row = 25