if(select(ccm_fd + 1, &rset, NULL,NULL,NULL) == -1){ perror("select"); return(1); 
rc = select(ccm_fd + 1, &rset, NULL,NULL,NULL); if(rc == -1){ perror("select failed"); if(errno == EINTR) { crm_debug("Retry..."); continue; }  } else if(oc_ev_handle_event(ccm_token) != 0){ crm_err("oc_ev_handle_event failed"); 
main(int argc, char ** argv){	int flag;	int argerr = 0;	int ccm_fd = 0;	fd_set rset;		oc_ev_t *ccm_token = NULL;		crm_log_init(crm_system_name);	while ((flag = getopt(argc, argv, OPTARGS)) != EOF) {		switch(flag) {			case 'V':				cl_log_enable_stderr(TRUE);				alter_debug(DEBUG_INC);				break;			case 'h':		/* Help message */				usage(crm_system_name, LSB_EXIT_OK);				break;			case 'p':			case 'e':					case 'q':						command = flag;				break;			default:				++argerr;				break;		}	}    	if (optind > argc) {		++argerr;	}    	if (argerr) {		usage(crm_system_name,LSB_EXIT_GENERIC);	}	if(ccm_age_connect(&ccm_fd)) {		for (;;) {			FD_ZERO(&rset);			FD_SET(ccm_fd, &rset);			if(select(ccm_fd + 1, &rset, NULL,NULL,NULL) == -1){				perror("select");				return(1);			}			if(oc_ev_handle_event(ccm_token)){				crm_err("terminating");				return(1);			}		}	}	return(1);    }
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/c35d2883dbc0d190da58917e7c87ba449f0eeed2/ccm_epoche.c/buggy/crm/admin/ccm_epoche.c