rem: struct fd_set read_mask;
add: fd_set read_mask;
context: int ComGetConn(int *max_pkt_size){  int i;  int fd, fdType = -1;  int addrlen;  struct fd_set read_mask;  struct timeval tval;  int nfds;    fd = 0;  for (i = 0; i < size; i ++) {    if (fdTable[i].fd == -1) {      fd ++;    }  }  if (fd < 1) {    fprintf(stderr,            "Error ComGetConn: pid %ld no faTable entry for the pair",           ACE_OS::getpid ());    return -1;  }    FD_ZERO(&read_mask);  if (fd_inet >= 0) FD_SET(fd_inet, &read_mask);  if (fd_unix >= 0) FD_SET(fd_unix, &read_mask);  if (fd_atm  >= 0) FD_SET(fd_atm,  &read_mask);  tval.tv_sec = 1;   /* wait at most 1 second */  tval.tv_usec = 0;  nfds = fd_inet;  if (fd_unix > nfds) nfds = fd_unix;  if (fd_atm > nfds) nfds = fd_atm;  nfds ++;  errno = 0;#ifdef _HPUX_SOURCE  if ((fd = select(nfds, (int *)&read_mask, NULL, NULL, &tval)) == -1)#else  if ((fd = select(nfds, &read_mask, NULL, NULL, &tval)) == -1)#endif  {        if (errno == EINTR) return -1;        fprintf(stderr,            "Error ComGetConn: pid %ld failed on select():",           ACE_OS::getpid ());   ACE_OS::perror ("");    return -1;  }  if (fd == 0) return -1; /* time expire */  fd = -1;  if (fd == -1 && fd_unix >= 0 && FD_ISSET(fd_unix, &read_mask)) {    struct sockaddr_un peeraddr_un;    fprintf(stderr, "Server to accept a UNIX connection.\n");    addrlen = sizeof(struct sockaddr_un);    fd = accept(fd_unix, (struct sockaddr *)&peeraddr_un, &addrlen);    if (fd == -1) {      fprintf(stderr,              "Error ComGetConn: pid %ld failed to accpet on fd_unix:",             ACE_OS::getpid ());     ACE_OS::perror ("");    }    else fdType = CONN_UNIX;    *max_pkt_size = 0;  }  if (fd == -1 && fd_inet >= 0 && FD_ISSET(fd_inet, &read_mask)) {    struct sockaddr_in peeraddr_in;    fprintf(stderr, "Server to accept a INET connection.\n");    addrlen = sizeof(struct sockaddr_in);    fd = accept(fd_inet, (struct sockaddr *)&peeraddr_in, &addrlen);    if (fd == -1) {      fprintf(stderr,              "Error ComGetConn: pid %ld failed to accpet on fd_inet:",             ACE_OS::getpid ());     ACE_OS::perror ("");    }    else fdType = CONN_INET;    *max_pkt_size = 0;  }  if (fd == -1 && fd_atm >= 0 && FD_ISSET(fd_atm, &read_mask)) {#ifdef NATIVE_ATM    fd = ATMaccept(fd_atm, max_pkt_size);    fdType = CONN_ATM;#else    fprintf(stderr,            "Error ComGetConn: pid %ld CONN_ATM not supported.\n",           ACE_OS::getpid ());#endif  }  if (fd == -1) return -1;  for (i = 0; i < size; i ++) {    if (fdTable[i].fd == -1) break;  }  if (i < size) {    fdTable[i].fd = fd;    fdTable[i].type = fdType;    fdTable[i].stime = get_sec();    fdTable[i].state = STATE_SINGLE;    return fd;  }  else {    fprintf(stderr, "Weird\n");    ComCloseConn(fd);    return -1;  }}