1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-07 00:36:50 +03:00

Added SCO support, from Daniel Harris.

This commit is contained in:
Bruce Momjian
1997-07-28 00:57:08 +00:00
parent 5a38a119b2
commit 79e78f0b80
20 changed files with 335 additions and 251 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.16 1997/04/17 20:38:16 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.17 1997/07/28 00:54:18 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -493,7 +493,9 @@ pq_regoob(void (*fptr)())
int fd = fileno(Pfout);
#if defined(hpux)
ioctl(fd, FIOSSAIOOWN, getpid());
#else /* hpux */
#elif defined(sco)
ioctl(fd, SIOCSPGRP, getpid());
#else
fcntl(fd, F_SETOWN, getpid());
#endif /* hpux */
(void) pqsignal(SIGURG,fptr);