if ( index < 0 ) index = 0; 
/** For first range index negative values are ok. For second return value of 0 means don't use second bound. We need to make it -1 so that all elements are skipped. */ if ( index == 0 ) index = -1; 
static int adjust_index( int index, int length ){    if ( index < 0 )        index = length + 1 + index;    if ( index < 0 )        index = 0;    return index;}
2658	/local/tlutelli/issta_data/temp/c/2005_temp/2005/2658/2b1d5b3fbb395f7a46c816bde95217fd6f29ef67/expand.c/buggy/src/engine/expand.c