Branch: Tag:

2001-06-10

2001-06-10 16:02:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Yet another bugfix.

Rev: src/combine_path.h:1.4

1:   /* -  * $Id: combine_path.h,v 1.3 2001/06/10 14:53:29 grubba Exp $ +  * $Id: combine_path.h,v 1.4 2001/06/10 16:02:40 grubba Exp $    *    * Combine path template.    *
145:    tmp++;    }    -  if(index_shared_string(s->s,tmp)=='.' && -  index_shared_string(s->s,tmp+1)=='.' && +  if ((tmp+2 < s->s->len) && +  (index_shared_string(s->s,tmp)=='.') && +  (index_shared_string(s->s,tmp+1)=='.') &&    ( IS_SEP(index_shared_string(s->s,tmp+2)) ||    !index_shared_string(s->s,tmp+2)))    break;