Mercurial > hg > xemacs-beta
comparison src/sysdep.c @ 286:57709be46d1b r21-0b41
Import from CVS: tag r21-0b41
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:35:03 +0200 |
parents | 558f606b08ae |
children | e11d67e05968 |
comparison
equal
deleted
inserted
replaced
285:9a3756523c1b | 286:57709be46d1b |
---|---|
1007 { | 1007 { |
1008 int filedesc = DEVICE_INFD (d); | 1008 int filedesc = DEVICE_INFD (d); |
1009 | 1009 |
1010 #if defined (FIOSSAIOOWN) | 1010 #if defined (FIOSSAIOOWN) |
1011 { /* HPUX stuff */ | 1011 { /* HPUX stuff */ |
1012 int owner = getpid (); | |
1013 int ioctl_status; | 1012 int ioctl_status; |
1014 if (DEVICE_TTY_P (d)) | 1013 if (DEVICE_TTY_P (d)) |
1015 { | 1014 { |
1016 ioctl_status = ioctl (filedesc, FIOSSAIOOWN, | 1015 ioctl_status = ioctl (filedesc, FIOSSAIOOWN, |
1017 &DEVICE_OLD_FCNTL_OWNER (d)); | 1016 &DEVICE_OLD_FCNTL_OWNER (d)); |