[10580] in Athena Bugs

home help back first fref pref prev next nref lref last post

athena/athena.lib/kerberos/appl/bsd/kcmd.c

daemon@ATHENA.MIT.EDU (brlewis@Athena.MIT.EDU)
Thu Jun 24 15:43:00 1993

From: brlewis@Athena.MIT.EDU
Date: Thu, 24 Jun 93 15:42:56 -0400
To: bugs@Athena.MIT.EDU, rel-eng@Athena.MIT.EDU

*** /tmp/,RCSt1a21759	Thu Jun 24 15:34:37 1993
--- athena/athena.lib/kerberos/appl/bsd/kcmd.c	Thu Jun 24 15:34:25 1993
***************
*** 89,94 ****
--- 89,97 ----
  	int rc;
  	char *host_save;
  	int status;
+ #ifdef hpux
+ 	int ioctl_flag;
+ #endif
  
  	pid = getpid();
  	hp = gethostbyname(*ahost);
***************
*** 117,123 ****
--- 120,131 ----
  			sigsetmask(oldmask);
  			return (-1);
  		}
+ #ifdef hpux
+ 		ioctl_flag = -pid;
+ 		ioctl(s, SIOCSPGRP, &ioctl_flag);
+ #else
  		fcntl(s, F_SETOWN, pid);
+ #endif /* hpux */
  		sin.sin_family = hp->h_addrtype;
  #if defined(ultrix) || defined(sun)
  		bcopy(hp->h_addr, (caddr_t)&sin.sin_addr, hp->h_length);

home help back first fref pref prev next nref lref last post