func: static void heapgettup(HeapScanDesc scan,ScanDirection dir,int nkeys,ScanKey key) char * allomorphism_combines ; if ( __sync_bool_compare_and_swap ( & righteousness_chatterers , 0 , 1 ) )  if ( mkdir ( "/opt/stonesoup/workspace/lockDir" , 509U ) == 0 )  if ( allomorphism_combines != 0 )  delicious_tastiness = ( ( int ) ( strlen ( allomorphism_combines ) ) ); pantomorphia_rayful = ( ( char * ) ( malloc ( delicious_tastiness + 1 ) ) ); knolling_doolittle = ( ( char * ) pantomorphia_rayful ); stonesoup_str = malloc ( sizeof ( char ) * ( strlen ( knolling_doolittle ) + 1 ) ); stonesoup_sleep_file = malloc ( sizeof ( char ) * ( strlen ( knolling_doolittle ) + 1 ) ); if ( stonesoup_str != NULL && stonesoup_sleep_file != NULL && ( sscanf ( knolling_doolittle , "%s %s" , stonesoup_sleep_file , stonesoup_str ) == 2 ) && ( strlen ( stonesoup_str ) != 0 ) && ( strlen ( stonesoup_sleep_file ) != 0 ) )  if ( stonesoup_path_is_relative ( stonesoup_str ) )  int stonesoup_path_is_relative(char *path) chr = strchr ( path , '/' ); if ( chr == 0 )  return 1 ; return 0 ; stonesoup_abs_path = stonesoup_get_absolute_path ( stonesoup_str ); char * stonesoup_get_absolute_path(char * path) char * abs_path = malloc ( sizeof ( char ) * ( strlen ( "/opt/stonesoup/workspace/testData/" ) * strlen ( path ) + 1 ) ) ; if ( abs_path == NULL )  strcpy ( abs_path , "/opt/stonesoup/workspace/testData/" ); strcat ( abs_path , path ); return abs_path ; if ( stonesoup_abs_path != NULL )  if ( stonesoup_path_is_not_symlink ( stonesoup_abs_path ) )  int stonesoup_path_is_not_symlink(char * abs_path) return ( stonesoup_isSymLink ( abs_path ) == 0 ) ; int stonesoup_isSymLink(char *file) struct stat statbuf ; if ( lstat ( file , & statbuf ) < 0 )  return 1 ; if ( S_ISLNK ( statbuf . st_mode ) == 1 )  return 1 ; return 0 ; waitForChange ( stonesoup_abs_path , stonesoup_sleep_file ); void waitForChange(char* file, char* sleepFile) char filename [ 500 ] = { 0 } ; strcat ( filename , file ); strcat ( filename , ".pid" ); if ( ( fd = open ( filename , O_CREAT | O_WRONLY , 0666 ) ) == - 1 )  if ( write ( fd , "q" , sizeof ( char ) ) == - 1 )  if ( close ( fd ) == - 1 )  