comparison src/process-unix.c @ 274:ca9a9ec9c1c1 r21-0b35

Import from CVS: tag r21-0b35
author cvs
date Mon, 13 Aug 2007 10:29:42 +0200
parents c5d627a313b1
children 90d73dddcdc4
comparison
equal deleted inserted replaced
273:411aac7253ef 274:ca9a9ec9c1c1
1356 { 1356 {
1357 /* gid may be a pid, or minus a pgrp's number */ 1357 /* gid may be a pid, or minus a pgrp's number */
1358 #if defined (TIOCSIGNAL) || defined (TIOCSIGSEND) 1358 #if defined (TIOCSIGNAL) || defined (TIOCSIGSEND)
1359 if (current_group) 1359 if (current_group)
1360 { 1360 {
1361 #ifdef (TIOCSIGNAL) 1361 #ifdef TIOCSIGNAL
1362 kill_retval = ioctl (UNIX_DATA(p)->infd, TIOCSIGNAL, signo); 1362 kill_retval = ioctl (UNIX_DATA(p)->infd, TIOCSIGNAL, signo);
1363 #else /* ! defined (TIOCSIGNAL) */ 1363 #else /* ! defined (TIOCSIGNAL) */
1364 kill_retval = ioctl (UNIX_DATA(p)->infd, TIOCSIGSEND, signo); 1364 kill_retval = ioctl (UNIX_DATA(p)->infd, TIOCSIGSEND, signo);
1365 #endif /* ! defined (TIOCSIGNAL) */ 1365 #endif /* ! defined (TIOCSIGNAL) */
1366 } 1366 }