This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author fbvortex
Recipients fbvortex
Date 2007-11-20.00:50:01
SpamBayes Score 0.046102513
Marked as misclassified No
Message-id <1195519801.6.0.573676343438.issue1471@psf.upfronthosting.co.za>
In-reply-to
Content
The following C code, when compiled with -lutil runs without reporting
any errors on both the sparc64 and i386 platforms on OpenBSD:

#include <util.h>
#include <utmp.h>
#include <termios.h>
#include <sys/ioctl.h>
#include <stdio.h>
 
int main(void)
{
        int fd;
        struct winsize w;
 
        w.ws_row = 25;
        w.ws_col = 80;
        w.ws_xpixel = w.ws_ypixel = 0;
 
        forkpty(&fd, NULL, NULL, NULL);
        if (ioctl(fd,TIOCSWINSZ, &w) == -1)
                perror("ioctl");
        return 0;
}
History
Date User Action Args
2007-11-20 00:50:01fbvortexsetspambayes_score: 0.0461025 -> 0.046102513
recipients: + fbvortex
2007-11-20 00:50:01fbvortexsetspambayes_score: 0.0461025 -> 0.0461025
messageid: <1195519801.6.0.573676343438.issue1471@psf.upfronthosting.co.za>
2007-11-20 00:50:01fbvortexlinkissue1471 messages
2007-11-20 00:50:01fbvortexcreate