From: ceriel Date: Thu, 23 Apr 1987 16:14:13 +0000 (+0000) Subject: minor correction to sgtty.h, the 4.2 codes where wrong X-Git-Tag: release-5-5~4184 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=3fbe8fa7c1d1d94e4cac4a04a3ded833e0944e23;p=ack.git minor correction to sgtty.h, the 4.2 codes where wrong --- diff --git a/include/_tail_cc/sgtty.h b/include/_tail_cc/sgtty.h index 22275e360..83daab3f8 100644 --- a/include/_tail_cc/sgtty.h +++ b/include/_tail_cc/sgtty.h @@ -8,8 +8,8 @@ struct sgttyb { }; #ifdef __BSD4_2 -#define TIOCGETP ((('t'<<8)|8)|(sizeof(struct sgttyb)<<16)) -#define TIOCSETN ((('t'<<8)|10)|(sizeof(struct sgttyb)<<16)) +#define TIOCGETP ((('t'<<8)|8)|(sizeof(struct sgttyb)<<16)|0x80000000) +#define TIOCSETN ((('t'<<8)|10)|(sizeof(struct sgttyb)<<16)|0x40000000) #else #define TIOCGETP (('t'<<8)|8) #define TIOCSETN (('t'<<8)|10)